<?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>120973</bug_id>
          
          <creation_ts>2006-01-30 13:01 0000</creation_ts>
          <short_desc>profuse saying USE flags enabled when disabled.</short_desc>
          <delta_ts>2006-02-26 16:07:31 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>Ebuilds</component>
          <version>2005.1</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>TEST-REQUEST</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>122447</dependson>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>avuton@gmail.com</reporter>
          <assigned_to>dams@gentoo.org</assigned_to>
          <cc>fuzzyray@gentoo.org</cc>
    
    <cc>truedfx@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>avuton@gmail.com</who>
            <bug_when>2006-01-30 13:01:31 0000</bug_when>
            <thetext>profuse says USE flags are enabled when they aren&apos;t and probably visa versa. It&apos;s very unreliable and should be masked atm. It has caused me to misconfigure 3 of my computers, and added alot of work for me to do. ufed seems to work fine and I have since switched over. Thank You.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dams@gentoo.org</who>
            <bug_when>2006-01-30 13:52:52 0000</bug_when>
            <thetext>can you give me more information? which version do you use, which USE flag is badly handled ?

thanks</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>avuton@gmail.com</who>
            <bug_when>2006-01-30 13:56:20 0000</bug_when>
            <thetext>I&apos;ve tried 0.23.0 and 0.24.0 and found both php and flac (among others, which I can&apos;t remember) were both marked as enabled and in reality they were disabled. (I was wondering for the longest time why oggenc&apos;s flac plugin wasn&apos;t working!)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dams@gentoo.org</who>
            <bug_when>2006-01-30 15:20:40 0000</bug_when>
            <thetext>Created an attachment (id=78531)
patch to correctly expand virtual package names

This patch has been created on 0.25.1, but can be applied to 0.24.0 too.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dams@gentoo.org</who>
            <bug_when>2006-01-30 15:23:28 0000</bug_when>
            <thetext>added patch regarding virtuals.

This might be one part of the solution : some flags in use.defaults are referring to virtuals, but I forgot to expand the virtuals to the actually installed package. This caused some false negatives : flags were seen as _not_ set where they were set.

Could you apply and test? On my system, ufed results and profuse are exactly the same, with the path applied.

Thanks for your feedback</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>truedfx@gentoo.org</who>
            <bug_when>2006-01-30 23:06:51 0000</bug_when>
            <thetext>&gt; some flags in use.defaults

portage 2.1* doesn&apos;t use use.defaults anymore; if profuse does use it (and it seems so), there&apos;s the problem :)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dams@gentoo.org</who>
            <bug_when>2006-01-31 04:30:15 0000</bug_when>
            <thetext>Avuton, could you check profuse-0.25.2 ?

It includes use.defaults fix, and disable use.defaults support for portage &gt; 2.0.54 (which version of portage do you actually use ?)
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>avuton@gmail.com</who>
            <bug_when>2006-01-31 12:25:20 0000</bug_when>
            <thetext>Everything appears to be fixed now! Thanks :), Although I must request that old versions be removed, and mark the new one stable ASAP, otherwise what happened to me could happen elsewhere. Once again, thanks.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fuzzyray@gentoo.org</who>
            <bug_when>2006-02-14 11:41:33 0000</bug_when>
            <thetext>profuse-0.25.2 is not working correctly with portage-2.0.54 as that version of portage is still using the use.defaults file.  As a quick test, I emerged dev-libs/gmp which turns on the gmp USE flag.  When I started profuse-0.25.2, it did not show the flag as set.  Here is my emerge info on the relevant system.

Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) M processor 1.86GHz
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-O2 -march=i686 -pipe&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-O2 -march=i686 -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoconfig ccache collision-protect distlocks fixpackages sandbox sfperms strict stricter userpriv usersandbox&quot;
GENTOO_MIRRORS=&quot;http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;x86 X alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cups curl eds emboss encode esd exif expat fam foomaticdb fortran gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml idn imlib ipv6 jpeg kde lcms ldap libg++ libwww mad mikmod mng motif mozilla mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pcre pdflib perl png python qt quicktime readline sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts udev vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc&quot;
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fuzzyray@gentoo.org</who>
            <bug_when>2006-02-14 11:42:22 0000</bug_when>
            <thetext>Sorry for the bug spam, I forgot to add myself to the CC</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dams@gentoo.org</who>
            <bug_when>2006-02-14 14:19:12 0000</bug_when>
            <thetext>Indeed, use.defaults is removed in portage &gt;= 2.1.0 instead of &gt; 2.0.54. I corrected, please try profuse 0.25.3</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dams@gentoo.org</who>
            <bug_when>2006-02-26 16:07:31 0000</bug_when>
            <thetext>it&apos;s corrected in profuse 0.25.3, works for me at least. Please try it</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>78531</attachid>
            <date>2006-01-30 15:20 0000</date>
            <desc>patch to correctly expand virtual package names</desc>
            <filename>profuse_virtuals.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIHByb2Z1c2UKKysrIHByb2Z1c2UKQEAgLTI1MSw2ICsyNTEsNyBAQAogbXkgJXVzZV9kZWZh
dWx0X2ZsYWdzOwogd2hpbGUgKG15ICgkZmxhZywgJHBhY2thZ2UpID0gZWFjaCAleyRwcm9maWxl
LT57dXNlX2RlZmF1bHRzfX0pIHsKICAgICBpZiAoZGVmaW5lZCgkcGFja2FnZSkpIHsKKyAgICAg
ICAgJHBhY2thZ2UgPX4gbXxedmlydHVhbC98IGFuZCAkcGFja2FnZSA9ICRwcm9maWxlLT57dmly
dHVhbHN9LT57JHBhY2thZ2V9OwogICAgICAgICBteSBAZ2xvYiA9IGdsb2IoIi92YXIvZGIvcGtn
LyRwYWNrYWdlLVswLTldKiIpOwogICAgICAgICBAZ2xvYiA+IDAgYW5kICR1c2VfZGVmYXVsdF9m
bGFnc3skZmxhZ30gPSAnKyc7CiAgICAgfQoK
</data>        

          </attachment>
    </bug>

</bugzilla>