Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 549042 - app-portage/ufed-0.92 marks local flags as global and does not recognize new package.use syntax
Summary: app-portage/ufed-0.92 marks local flags as global and does not recognize new ...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sven Eden
URL:
Whiteboard:
Keywords: InVCS, PATCH
: 649416 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-05-10 07:05 UTC by Martin Väth
Modified: 2020-05-04 07:43 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to let package.use mark the values as local (ufed-local-global.patch,238 bytes, patch)
2015-05-10 07:05 UTC, Martin Väth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Väth 2015-05-10 07:05:35 UTC
Created attachment 402928 [details, diff]
Patch to let package.use mark the values as local

If /etc/portage/package.use contains the line

app-portage/elogv -*

then falsely it is assumed that -* is set globally in USE.
IMHO the bug is that the flags from package.use are marked as "global" instead of "local"; I attach a patch which fixes the issue.

Actually, I recognized the issue only because additionally ufed does not support the new /etc/portage/package.use syntax which is available at least since portage-2.2.18: In my case the above line read

app-portage/elogv PYTHON_TARGETS: -* python2_7

meaning to unset all python_targets_* and set only python_targets_python2_7.
That in this case a global -* is assumed caused a horrible malfunction of ufed, of course...
Comment 1 Ulrich Müller gentoo-dev 2020-05-02 08:31:17 UTC
*** Bug 649416 has been marked as a duplicate of this bug. ***
Comment 2 Larry the Git Cow gentoo-dev 2020-05-02 08:38:11 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/ufed.git/commit/?id=6c38e84d36291e1bc9ebf1a924a727cf240f65f3

commit 6c38e84d36291e1bc9ebf1a924a727cf240f65f3
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2020-05-02 08:37:53 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2020-05-02 08:37:53 +0000

    Mark package.use flags as local rather than global.
    
    Thanks to Martin Väth <martin@mvath.de> for the patch.
    
    Bug: https://bugs.gentoo.org/549042
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 Portage.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 3 Larry the Git Cow gentoo-dev 2020-05-02 08:49:39 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48c7e359e038bb08e8efabebf4c7b7c651ba54f8

commit 48c7e359e038bb08e8efabebf4c7b7c651ba54f8
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2020-05-02 08:44:55 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2020-05-02 08:44:55 +0000

    app-portage/ufed: Version bump to 0.96.
    
    Closes: https://bugs.gentoo.org/549042
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 app-portage/ufed/Manifest         |  1 +
 app-portage/ufed/ufed-0.96.ebuild | 37 +++++++++++++++++++++++++++++++++++++
 2 files changed, 38 insertions(+)
Comment 4 Ulrich Müller gentoo-dev 2020-05-02 08:56:38 UTC
Stabilisation of ufed-0.96 in bug 720388.
Comment 5 Sven Eden 2020-05-03 13:18:27 UTC
I am sorry guys, this bug got past me somehow. This is quite unnerving, as the cause is a simple typo. (It should have been "local" in the first place)

How can I change my E-Mail address? The one registered with Gentoo Bugzilla is swarmed with spam, no wonder I missed that one.

Martin, Ulrich, thanks for fixing this!
Comment 6 Ulrich Müller gentoo-dev 2020-05-04 07:43:50 UTC
(In reply to Sven Eden from comment #5)
> How can I change my E-Mail address? The one registered with Gentoo Bugzilla
> is swarmed with spam, no wonder I missed that one.

Your Bugzilla e-mail address can be changed here:
https://bugs.gentoo.org/userprefs.cgi?tab=account

You'd also want to update your address in metadata.xml files, either file a bug for this, or a PR on github. (Feel free to CC me and I'll take care of it.)