Summary: | profuse saying USE flags enabled when disabled. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Avuton Olrich <avuton> |
Component: | New packages | Assignee: | dams (RETIRED) <dams> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | fuzzyray, truedfx |
Priority: | High | ||
Version: | 2005.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 122447 | ||
Bug Blocks: | |||
Attachments: | patch to correctly expand virtual package names |
Description
Avuton Olrich
2006-01-30 13:01:31 UTC
can you give me more information? which version do you use, which USE flag is badly handled ? thanks 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!) 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.
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 > 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 :)
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 ?) 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. 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 Sorry for the bug spam, I forgot to add myself to the CC Indeed, use.defaults is removed in portage >= 2.1.0 instead of > 2.0.54. I corrected, please try profuse 0.25.3 it's corrected in profuse 0.25.3, works for me at least. Please try it |