Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 80007

Summary: portage prefpane does not take into account all use flags (e.g. ncurses, png, readline,...)
Product: Gentoo/Alt Reporter: Shabba <MacShabba>
Component: Mac OSXAssignee: Michael Hanselmann (hansmi) (RETIRED) <hansmi>
Status: RESOLVED FIXED    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: PPC   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Shabba 2005-01-29 16:16:40 UTC
According to euse, the following use flags are set:

  MacShabba:/Users/shabba root# euse -a
  !!! Relying on the shell to locate gcc, this may break
  !!! DISTCC, installing gcc-config and setting your current gcc
  !!! profile will fix this
  ncurses             [+    ]  
  nls                    [+ C  ] 
  png                   [+    ] 
  ppc                   [+    ] 
  ppc-macos       [+  D ] 
  readline            [+    ] 
  ...
  Notes: euse currently only works for global flags defined
       in make.globals, make.defaults or make.conf, it doesn't handle
       use.defaults, use.mask or package.use yet (see portage(5) for details on
       these files).


But according to portage-prefpane only nls is set. 
I believe euse is more accurate then protage prefpane, as i bumped into this issue when trying to emerge package "gd", and it stated png useflag was set..


Reproducible: Always
Steps to Reproduce:
1. euse -a
2. open up portage-prefpane 
3. compare if both sets of use flags are identical
Actual Results:  
they don't match

Expected Results:  
similar use flag settings

MacShabba:/Users/shabba root# emerge info
!!! Relying on the shell to locate gcc, this may break
!!! DISTCC, installing gcc-config and setting your current gcc
!!! profile will fix this
Portage 2.0.51-r15 (default-darwin/macos/10.3, gcc-3.3, libsystem-7.1-r0, 7.7.0 Power Macintosh)
===============================================================
==
System uname: 7.7.0 Power Macintosh powerpc
macos-20041118
Python:               [2.3 (#1, Sep 13 2003, 00:49:11)]
distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled]
dev-lang/python:     [Not Present]
sys-devel/autoconf:  [Not Present]
sys-devel/automake:  [Not Present]
sys-devel/binutils:  [Not Present]
sys-devel/libtool:   [Not Present]
virtual/os-headers:  7.1
ACCEPT_KEYWORDS="ppc-macos"
AUTOCLEAN="yes"
CFLAGS=""
CHOST="powerpc-apple-darwin"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/
qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS=""
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc ncurses nls png ppc-macos readline"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS
Comment 1 Michael Hanselmann (hansmi) (RETIRED) gentoo-dev 2005-01-29 16:19:52 UTC
I think that this is my thing, reassigning.
Comment 2 Michael Hanselmann (hansmi) (RETIRED) gentoo-dev 2005-01-31 14:52:15 UTC
Found it, but no fix yet.
Comment 3 Michael Hanselmann (hansmi) (RETIRED) gentoo-dev 2005-02-01 13:05:25 UTC
Fixed in my code, will be in the next release. Thanks for reporting!