Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40941 - Emerge pretend doesn't work as expected with per-package use flags when normal user
Summary: Emerge pretend doesn't work as expected with per-package use flags when norma...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-08 23:47 UTC by Giovanni Ferri
Modified: 2004-02-09 06:00 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Giovanni Ferri 2004-02-08 23:47:40 UTC
I see inconsistencies between emerge -pv as root 

---------------

marlboro@arcana marlboro $ emerge mozilla -pv
 
These are the packages that I would merge, in order:
 
Calculating dependencies ...done!
[ebuild   R   ] net-www/mozilla-1.6  +crypt -debug +gnome +gtk2 +ipv6 +java +ldap -mozaccess -mozcalendar +moznocompose +moznoirc +moznomail -moznoxft -mozxmlterm +ssl  0 kB
 
Total size of downloads: 0 kB
 
marlboro@arcana marlboro $ sudo emerge mozilla -pv
 
These are the packages that I would merge, in order:
 
Calculating dependencies ...done!
[ebuild   R   ] net-www/mozilla-1.6  +crypt -debug +gnome +gtk2 +ipv6 +java -ldap -mozaccess +mozcalendar +moznocompose +moznoirc -moznomail -moznoxft -mozxmlterm +ssl  0 kB
 
Total size of downloads: 0 kB
 
marlboro@arcana marlboro $ sudo cat /etc/portage/package.use |grep mozilla
net-www/mozilla gtk gtk2 -ldap -moznomail mozcalendar
-----------------

Info on my Emerge ambient:

marlboro@arcana marlboro $ emerge info
Portage 2.0.50 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.3_pre20040117-r0, 2.6.2-rc2-love4)
=================================================================
System uname: 2.6.2-rc2-love4 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz
Gentoo Base System version 1.4.3.13
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O1 -march=pentium4 -fPIC -fomit-frame-pointer -mfpmath=sse -msse -msse2 -mmmx -mno-3dnow -ffast-math -fforce-mem -fforce-addr  -freorder-blocks -frename-registers -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /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="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache clean digest sandbox"
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/ http://gentoo.tiscali.nl/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/home/portage/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/portage"
SYNC="rsync://rsync1.it.gentoo.org/gentoo-portage"
USE="X X509 aalib acl acpi acpi4linux adns alsa apache2 avi berkdb breakme ccache cdr clamav composite crypt cups curl dga directfb distcc divx dri dvd dvdr encode esd ethereal evo faad fam fbdev ffmpeg flac foomaticdb gd gd-external gdbm gif gnome gpm gstreamer gtk2 guile hotplug i8x0 imap imlib ipalias ipv6 irda irmc java javascript joystick jpeg kerberos ldap libg++ libgda libwww linguas_it lirc mad maildir md5sum memlimit menu mikmod mmx motif mozilla moznocompose moznoirc moznomail mpeg mysql ncurses nls nptl nvidia offensive oggvorbis opengl openssh pam pcap pcmcia pda pdflib perl physfs pic png pnp ppds python qt quicktime readline samba scanner sdl slang snmp socks5 speex spell sse ssl svga tcltk tcpd threads transcode transparent-proxy truetype trusted unicode usb wavelan x86 xfs xine xml xml2 xvid zlib"


Reproducible: Always
Steps to Reproduce:
1.edit /etc/portage/package.use with different use flags than make.conf ones
2.as user:emerge -pv package
3.as root:emerge -pv package
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2004-02-08 23:49:48 UTC
permissions for package.use ?
Comment 2 Giovanni Ferri 2004-02-09 06:00:29 UTC
right, chmoded 644 and it works :)

Thanks.