Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 221151 - app-portage/ufed-0.40-r8 needs update for new profile layout
Summary: app-portage/ufed-0.40-r8 needs update for new profile layout
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Harald van Dijk (RETIRED)
URL:
Whiteboard:
Keywords:
: 232750 233578 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-05-10 04:17 UTC by Ryan Hill (RETIRED)
Modified: 2008-08-01 16:01 UTC (History)
2 users (show)

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


Attachments
Parse all parents in profile (ufed-0.40-parents.patch,929 bytes, patch)
2008-05-10 08:50 UTC, Martin Väth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Hill (RETIRED) gentoo-dev 2008-05-10 04:17:32 UTC
ufed doesn't list the ssse3 USE flag, i'm guessing because it's masked in base/use.mask and then unmasked in {arch,default-linux}/{amd64,x86}/use.mask.  is there a way it could handle this case?  everytime i use ufed i have to re-add ssse3 to make.conf.
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2008-05-10 04:18:14 UTC
Portage 2.2_pre6 (default/linux/amd64/2008.0/developer, gcc-4.3.1-pre20080430, glibc-2.7-r2, 2.6.25-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r2 x86_64 Intel(R) Core(TM)2 Duo CPU T9300 @ 2.50GHz
Timestamp of tree: Sat, 10 May 2008 02:05:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.3
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18.50.0.6
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=core2 -fomit-frame-pointer -pipe -fdirectives-only"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O3 -march=core2 -fomit-frame-pointer -pipe -fdirectives-only"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache collision-protect cvs digest distlocks fixpackages multilib-strict parallel-fetch preserve-libs sandbox sfperms sign splitdebug strict test unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.mirrors.tera-byte.com/ http://gentoo.osuosl.org http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/layman/mozilla /home/dirtyepic/overlay /home/dirtyepic/svn/dirtyepic /home/dirtyepic/svn/gcc-porting"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi akode alsa amd64 audiofile avahi bash-completion berkdb bluetooth bzip2 cairo cdr cli consolekit cpudetection cracklib crypt css curl dbus dri dts dvd dvdr dvdread eds emboss encode evo exif expat fam ffmpeg fftw flac fontconfig gdbm gif gmp gpgme gphoto2 gstreamer gtk hal hdaps howl-compat hpn iconv id3tag ieee1394 imap imlib ipw4965 isdnlog jpeg kde kdeenablefinal kdehiddenvisibility lame laptop libffi libwww mad mdnsresponder-compat midi mikmod mmap mmx mozilla mp3 mpeg multilib ncurses network-cron nntp nptl nptlonly nsplugin ogg opengl openmp pam pch pcre pdf perl pic png pop ppds pppd pth python qt3 qt3support quicktime readline reflection rtc sasl session smapi smime smp smtp sndfile spell spl sse sse2 ssl startup-notification svg tcpd theora threads tiff truetype unicode urandom usb utempter vim-syntax vorbis wifi x264 xcb xcomposite xine xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="mouse keyboard synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Martin Väth 2008-05-10 08:50:31 UTC
Created attachment 152725 [details, diff]
Parse all parents in profile

It is not only ssse3 useflag but practically all useflags and defaults are false when you use 2008 profile.

The reason is that actually only the first entry in "parent" (instead of a
full recursion for each entry) is used when finding out the profile directories which is necessary for the 2008 profiles.

The attached patch should fix the problem. Note that the order should be correct (i.e. parents are sorted before children).
Comment 3 Harald van Dijk (RETIRED) gentoo-dev 2008-05-10 16:39:18 UTC
Thanks Ryan for the report and Martin for the analysis. This is fixed in ufed-0.40-r9. While I appreciate the handling of bogus profiles with a clean error, I'm not sure hardcoding such limits is a good idea, so I haven't put that part in, but parent profiles work the same way as in portage now (tested with default/linux/x86/2008.0/developer).
Comment 4 Harald van Dijk (RETIRED) gentoo-dev 2008-07-23 18:44:02 UTC
*** Bug 232750 has been marked as a duplicate of this bug. ***
Comment 5 Martin Väth 2008-08-01 16:01:03 UTC
*** Bug 233578 has been marked as a duplicate of this bug. ***