Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75954 - ufed loses currently used flags. ugly
Summary: ufed loses currently used flags. ugly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-28 15:09 UTC by Eero Volotinen
Modified: 2005-04-06 08:53 UTC (History)
3 users (show)

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


Attachments
UFED support for stacked profiles' make.defaults (ufed-stacked-defaults.patch,1.50 KB, patch)
2004-12-31 03:39 UTC, William Blew
Details | Diff
revised UFED support for stacked profiles' make.defaults (ufed-stacked-defaults-r1.patch,1.47 KB, patch)
2005-04-03 14:03 UTC, Zac Medico
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eero Volotinen 2004-12-28 15:09:48 UTC
ufed loses currently used flags. ugly. this should be fixed?


Reproducible: Always
Steps to Reproduce:
1.emerge ufed
2.ufed
3.save -> old USE flags from /etc/make.conf is lost
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2004-12-28 15:37:04 UTC
Since ufed doesn't work with stacked profiles and empty make.defaults, I for one think a warning is in order and ufed should be hard masked.
Comment 2 William Blew 2004-12-31 03:39:18 UTC
Created attachment 47273 [details, diff]
UFED support for stacked profiles' make.defaults

This patch provides ufed with preliminary support for stacked profiles, in that
it follows the profiles' parent links, during its parsing of the make.default
files.

This includes ignoring any empty make.defaults files.

I'd think that more work on handling /etc/portage/* and package use flags is
still required. Like ufed this patch is distributed under the terms of the
GPLv2
Comment 3 groepaz 2005-03-14 23:55:51 UTC
ufed still doesnt work correctly for me (the -r3 release) ... need to touch /etc/make.profile/make.defaults before running it, else it would spit out a bunch of errors (indicating that the above file is missing), and then start up showing bogus flags :( this is on ppc, using the 2005.0 profile
Comment 4 Josh Nichols (RETIRED) gentoo-dev 2005-03-31 14:43:28 UTC
If you lost your USE flags from this, one way be to run:

emerge -pvN world|grep \*

-v shows the use flags that are used by packages, and there will be an * by ones that have changed since they were compiled.
-N will only emerge packages that have changed

So this should give you a good idea of what flags you lost. This wouldn't, however, help with use flags that the system hasn't actually made use of.
Comment 5 Zac Medico gentoo-dev 2005-04-03 14:03:07 UTC
Created attachment 55230 [details, diff]
revised UFED support for stacked profiles' make.defaults

This is a revised version of the stacked profiles patch. It simply adds a test
if ( -e "$path/$file" ) inside sub inherit_parent.  This seems to correct the
issue reported in comment #3.
Comment 6 Harald van Dijk (RETIRED) gentoo-dev 2005-04-06 08:53:34 UTC
Should be working with ufed 0.36. Please reopen if that still has problems.