Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 111061 - Portage 2.0.53 ignores flags in package.use
Summary: Portage 2.0.53 ignores flags in package.use
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Configuration (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-31 14:48 UTC by kyleisme
Modified: 2005-10-31 14:56 UTC (History)
0 users

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


Attachments
contents of package.use (package.use-output,1.05 KB, text/plain)
2005-10-31 14:50 UTC, kyleisme
Details
output of emerge --pretend --verbose --update --newuse --deep world (for comparision) (emerge-pvuND-output,4.90 KB, text/plain)
2005-10-31 14:51 UTC, kyleisme
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kyleisme 2005-10-31 14:48:24 UTC
The current development version of Portage (2.0.53_rc7) isn't paying attention
to my per-package use flags in /etc/portage/package.use
It notices my global USE flags in make.conf, but not the flags in package.use

Reproducible: Always
Steps to Reproduce:
1.Run "emerge --pretend --verbose --update (optionaly also --deep and/or
--newuse) world"
2.Compare the output with package.use
3.

Actual Results:  
I had recently moved a lot of flags from make.conf to package.use and noticed
that emerge's output indicated that many of the flags that I had moved were not
selected, but they were in package.use

Expected Results:  
Picked up the right use flags.

emerge --info:
Portage 2.0.53_rc7 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r2,
2.6.13-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.13-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.0_pre9
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
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.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/
http://mirror.mcs.anl.gov/pub/gentoo/ http://gentoo.mirrors.tds.net/gentoo/"
LINGUAS="eo es ja zh_CN"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac acl acpi aim alsa apache2 arts bash-completion berkdb
bonobo browserplugin bzip2 cairo cdr cjk crypt ctype cups doc dvd dvdr encode
esd examples expat fam fbcon ffmpeg firefox flac ftp gd gif gnome gpm gtk gtk2
hal hardened howl ipv6 jabber java javascript joystick jpeg junit kde
kdeenablefinal ldap mad mime mozdevelop mozilla moznocompose moznoirc moznomail
mozsvg mp3 mpeg msn mysql ncurses nls nptl nsplugin nvidia ogg opengl pam pcre
pdflib perl php pic png python qt quicktime readline real ruby samba sdl soap
sockets spell ssl svg sysvipc tcltk theora threads tidy tiff truetype unicode
usb videos vorbis wxwindows xml2 xmlrpc xmms xsl xv xvmc yahoo zlib linguas_eo
linguas_es linguas_ja linguas_zh_CN userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 kyleisme 2005-10-31 14:50:38 UTC
Created attachment 71823 [details]
contents of package.use
Comment 2 kyleisme 2005-10-31 14:51:38 UTC
Created attachment 71824 [details]
output of emerge --pretend --verbose --update --newuse --deep world (for comparision)
Comment 3 Zac Medico gentoo-dev 2005-10-31 14:56:33 UTC
The portage manpage specified "one DEPEND atom per line with space-delimited USE
flags".  You should only have one line for each atom, with all the USE flags on
the same line.