Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 120973 - profuse saying USE flags enabled when disabled.
Summary: profuse saying USE flags enabled when disabled.
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: dams (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 122447
Blocks:
  Show dependency tree
 
Reported: 2006-01-30 13:01 UTC by Avuton Olrich
Modified: 2006-02-26 16:07 UTC (History)
2 users (show)

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


Attachments
patch to correctly expand virtual package names (profuse_virtuals.patch,369 bytes, patch)
2006-01-30 15:20 UTC, dams (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Avuton Olrich 2006-01-30 13:01:31 UTC
profuse says USE flags are enabled when they aren't and probably visa versa. It'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.
Comment 1 dams (RETIRED) gentoo-dev 2006-01-30 13:52:52 UTC
can you give me more information? which version do you use, which USE flag is badly handled ?

thanks
Comment 2 Avuton Olrich 2006-01-30 13:56:20 UTC
I've tried 0.23.0 and 0.24.0 and found both php and flac (among others, which I can't remember) were both marked as enabled and in reality they were disabled. (I was wondering for the longest time why oggenc's flac plugin wasn't working!)
Comment 3 dams (RETIRED) gentoo-dev 2006-01-30 15:20:40 UTC
Created attachment 78531 [details, diff]
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.
Comment 4 dams (RETIRED) gentoo-dev 2006-01-30 15:23:28 UTC
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
Comment 5 Harald van Dijk (RETIRED) gentoo-dev 2006-01-30 23:06:51 UTC
> some flags in use.defaults

portage 2.1* doesn't use use.defaults anymore; if profuse does use it (and it seems so), there's the problem :)
Comment 6 dams (RETIRED) gentoo-dev 2006-01-31 04:30:15 UTC
Avuton, could you check profuse-0.25.2 ?

It includes use.defaults fix, and disable use.defaults support for portage > 2.0.54 (which version of portage do you actually use ?)
Comment 7 Avuton Olrich 2006-01-31 12:25:20 UTC
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.
Comment 8 Paul Varner (RETIRED) gentoo-dev 2006-02-14 11:41:33 UTC
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="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/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"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distlocks fixpackages sandbox sfperms strict stricter userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="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"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 9 Paul Varner (RETIRED) gentoo-dev 2006-02-14 11:42:22 UTC
Sorry for the bug spam, I forgot to add myself to the CC
Comment 10 dams (RETIRED) gentoo-dev 2006-02-14 14:19:12 UTC
Indeed, use.defaults is removed in portage >= 2.1.0 instead of > 2.0.54. I corrected, please try profuse 0.25.3
Comment 11 dams (RETIRED) gentoo-dev 2006-02-26 16:07:31 UTC
it's corrected in profuse 0.25.3, works for me at least. Please try it