From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BC9C0138334 for ; Fri, 20 Sep 2019 16:42:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 60FA9E08D9; Fri, 20 Sep 2019 16:42:07 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0F2F0E089D for ; Fri, 20 Sep 2019 16:42:07 +0000 (UTC) Received: from mail-io1-f48.google.com (mail-io1-f48.google.com [209.85.166.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: floppym) by smtp.gentoo.org (Postfix) with ESMTPSA id AA08034B406 for ; Fri, 20 Sep 2019 16:42:05 +0000 (UTC) Received: by mail-io1-f48.google.com with SMTP id k5so17626529iol.5 for ; Fri, 20 Sep 2019 09:42:05 -0700 (PDT) X-Gm-Message-State: APjAAAXNBPq6bjrUL9yAObtUrtfnVJZ97EBrmOYIrViJtr1G4gqjoGE+ s4RNYzZT46JpjUMqgN3WYg2BdlbHkiv3cm+J230= X-Google-Smtp-Source: APXvYqyab8K+ZPkPjeHIYfXkbLauRD0feIJ3Ml1NYM7sb1yixVBQ9PI2/PF3M7sA1S7LmV+YBO/0I9TpuvF+TrcjHLU= X-Received: by 2002:a5d:8f02:: with SMTP id f2mr2207893iof.272.1568997723677; Fri, 20 Sep 2019 09:42:03 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 References: <5fc919ec85751bd88d4bf0775ba1733584f92dc2.camel@gentoo.org> In-Reply-To: <5fc919ec85751bd88d4bf0775ba1733584f92dc2.camel@gentoo.org> From: Mike Gilbert Date: Fri, 20 Sep 2019 12:41:52 -0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [gentoo-dev] Underscores in USE flags To: Gentoo Dev Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Archives-Salt: c46c3bff-2eb5-42a4-9ad8-9ac71f01705e X-Archives-Hash: 8faa7c9e482ac6df8094b337fc08ca2b On Fri, Sep 20, 2019 at 12:11 PM Micha=C5=82 G=C3=B3rny = wrote: > > On Fri, 2019-09-20 at 11:46 -0400, Mike Gilbert wrote: > > Recently, a large number of bugs were filed against packages that have > > USE flag names which contain underscores. Apparently PMS prohibits > > this except when the USE flag is part of a USE_EXPAND variable. > > > > https://projects.gentoo.org/pms/7/pms.html#x1-200003.1.4 > > > > I'm not certain when this text was added to PMS, or how many of the > > affected USE flags pre-date this policy. > > > > Portage seems to have no issue dealing with underscores, so this > > doesn't seem to be solving any technical problem. > > > > I am pretty sure that renaming a bunch of USE flags will cause some > > amount of end-user confusion, for very little benefit. Is enforcing > > this part of PMS really worth it? > > And having packages with pretended-USE_EXPAND-that-does-not-work-as- > USE_EXPAND is less confusing to the users? I doubt users immediately think "USE_EXPAND" when they see an underscore. Portage's seems fairly unambiguous to me. For example: % emerge -pv1O app-misc/foo These are the packages that would be merged, in order: [ebuild N ] app-misc/foo-0::local USE=3D"-modern_kernel" PYTHON_TARGETS=3D"python3_7" VIDEO_CARDS=3D"radeon" 0 KiB Total: 1 package (1 new), Size of downloads: 0 KiB I don't think anyone would mistake "modern_kernel" for a USE_EXPAND value given the above.