<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>221151</bug_id>
          
          <creation_ts>2008-05-10 04:17 0000</creation_ts>
          <short_desc>app-portage/ufed-0.40-r8 needs update for new profile layout</short_desc>
          <delta_ts>2008-08-01 16:01:03 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Eclasses and Profiles</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>dirtyepic@gentoo.org</reporter>
          <assigned_to>truedfx@gentoo.org</assigned_to>
          <cc>gassaf@gmx.de</cc>
    
    <cc>toralf.foerster@gmx.de</cc>

      

      
          <long_desc isprivate="0">
            <who>dirtyepic@gentoo.org</who>
            <bug_when>2008-05-10 04:17:32 0000</bug_when>
            <thetext>ufed doesn&apos;t list the ssse3 USE flag, i&apos;m guessing because it&apos;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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dirtyepic@gentoo.org</who>
            <bug_when>2008-05-10 04:18:14 0000</bug_when>
            <thetext>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=&quot;amd64 ~amd64&quot;
CBUILD=&quot;x86_64-pc-linux-gnu&quot;
CFLAGS=&quot;-O3 -march=core2 -fomit-frame-pointer -pipe -fdirectives-only&quot;
CHOST=&quot;x86_64-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config&quot;
CONFIG_PROTECT_MASK=&quot;/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&quot;
CXXFLAGS=&quot;-O3 -march=core2 -fomit-frame-pointer -pipe -fdirectives-only&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;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&quot;
GENTOO_MIRRORS=&quot;http://gentoo.mirrors.tera-byte.com/ http://gentoo.osuosl.org http://distfiles.gentoo.org&quot;
LANG=&quot;en_US.utf8&quot;
LDFLAGS=&quot;-Wl,-O1&quot;
LINGUAS=&quot;en&quot;
MAKEOPTS=&quot;-j4&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_RSYNC_OPTS=&quot;--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/layman/mozilla /home/dirtyepic/overlay /home/dirtyepic/svn/dirtyepic /home/dirtyepic/svn/gcc-porting&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;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&quot; ALSA_CARDS=&quot;hda-intel&quot; ALSA_PCM_PLUGINS=&quot;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&quot; APACHE2_MODULES=&quot;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&quot; ELIBC=&quot;glibc&quot; INPUT_DEVICES=&quot;mouse keyboard synaptics&quot; KERNEL=&quot;linux&quot; LCD_DEVICES=&quot;bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text&quot; LINGUAS=&quot;en&quot; USERLAND=&quot;GNU&quot; VIDEO_CARDS=&quot;i810&quot;
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vaeth@mathematik.uni-wuerzburg.de</who>
            <bug_when>2008-05-10 08:50:31 0000</bug_when>
            <thetext>Created an attachment (id=152725)
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 &quot;parent&quot; (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).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>truedfx@gentoo.org</who>
            <bug_when>2008-05-10 16:39:18 0000</bug_when>
            <thetext>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&apos;m not sure hardcoding such limits is a good idea, so I haven&apos;t put that part in, but parent profiles work the same way as in portage now (tested with default/linux/x86/2008.0/developer).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>truedfx@gentoo.org</who>
            <bug_when>2008-07-23 18:44:02 0000</bug_when>
            <thetext>*** Bug 232750 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vaeth@mathematik.uni-wuerzburg.de</who>
            <bug_when>2008-08-01 16:01:03 0000</bug_when>
            <thetext>*** Bug 233578 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>152725</attachid>
            <date>2008-05-10 08:50 0000</date>
            <desc>Parse all parents in profile</desc>
            <filename>ufed-0.40-parents.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIFBvcnRhZ2UucG0KKysrIFBvcnRhZ2UucG0KQEAgLTI3LDYgKzI3LDcgQEAKIHN1YiByZWFk
X21ha2VfZGVmYXVsdHMoKTsKIHN1YiByZWFkX21ha2VfZ2xvYmFscygpOwogc3ViIHJlYWRfcGFj
a2FnZXMoKTsKK3N1YiByZWFkX3BhcmVudHNfcHVzaGluZygkJCk7CiBzdWIgcmVhZF9wcm9maWxl
cygpOwogc3ViIHJlYWRfc2goJCk7CiBzdWIgcmVhZF91c2VfZGVmYXVsdHMoKTsKQEAgLTIwMywx
NiArMjA0LDIwIEBACiAJY2xvc2VkaXIgJHBrZ2RpcjsKIH0KIAorc3ViIHJlYWRfcGFyZW50c19w
dXNoaW5nKCQkKSB7CisJbXkgKCRkaXJuYW1lLCAkY291bnQpID0gQF87CisJZGllICJUb28gbWFu
eSBwYXJlbnRzIGluIHByb2ZpbGUuXG4iIHVubGVzcyAkY291bnQ7CisJZm9yKG5vbmNvbW1lbnRz
ICIkZGlybmFtZS9wYXJlbnQiKSB7CisJCXJlYWRfcGFyZW50c19wdXNoaW5nIG5vcm1fcGF0aCgk
ZGlybmFtZSwgJF8pLCAkY291bnQgLSAxOworCX0KKwlwdXNoIEBwcm9maWxlcywgJGRpcm5hbWU7
Cit9CisKIHN1YiByZWFkX3Byb2ZpbGVzKCkgewogCSRfID0gcmVhZGxpbmsgJy9ldGMvbWFrZS5w
cm9maWxlJzsKIAlkaWUgIi9ldGMvbWFrZS5wcm9maWxlIGlzIG5vdCBhIHN5bWxpbmtcbiIgaWYg
bm90IGRlZmluZWQgJF87Ci0JQHByb2ZpbGVzID0gbm9ybV9wYXRoICcvZXRjJywgJF87Ci0JUEFS
RU5UOiB7Ci0JCWZvcihub25jb21tZW50cyAiJHByb2ZpbGVzWzBdL3BhcmVudCIpIHsKLQkJCXVu
c2hpZnQgQHByb2ZpbGVzLCBub3JtX3BhdGggJHByb2ZpbGVzWzBdLCAkXzsKLQkJCXJlZG8gUEFS
RU5UOwotCQl9Ci0JfQorCUBwcm9maWxlcyA9ICgpOworCXJlYWRfcGFyZW50c19wdXNoaW5nIG5v
cm1fcGF0aCgnL2V0YycsICRfKSwgMTAwMDsKIAlwdXNoIEBwcm9maWxlcywgJy9ldGMvcG9ydGFn
ZS9wcm9maWxlJzsKIH0KIAo=
</data>        

          </attachment>
    </bug>

</bugzilla>