Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 386829 - emerge --newuse doesn't update use flags on emerged ebuilds and tries to emerge always the same packages
Summary: emerge --newuse doesn't update use flags on emerged ebuilds and tries to emer...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 381649
  Show dependency tree
 
Reported: 2011-10-11 18:44 UTC by Giuseppe Foti
Modified: 2013-07-10 01:05 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 Giuseppe Foti 2011-10-11 18:44:48 UTC
Hi, I got a problem with LINGUAS settings (I think). In /etc/make.conf I've set LINGUAS="it".
When I try emerge -auDvN world, portage lists some packages, indicating that this packages will be emerged for changes in the LINGUAS settings [LINGUAS="(-it%)].
After I emerge world, if I ask for emerge -puDvN world again, portage proposes me to emerge the same packages again.
I'm not sure if this is a problem of some package I emerged or if it's a problem of my configuration, of something else.
Thanks for you attention

Reproducible: Always

Steps to Reproduce:
1.emerge -auDvN world
2.
3.
Actual Results:  
root@peppebook src # emerge -auDvN world

These are the packages that would be merged, in order:

Calculating dependencies ... done!                              
[ebuild   R    ] net-wireless/wpa_supplicant-0.7.3-r2  USE="dbus qt4 readline ssl -debug -eap-sim -fasteap -gnutls -madwifi (-ps3) -wimax -wps" LINGUAS="(-it%)" 1,600 kB
[ebuild   R    ] app-doc/doxygen-1.7.3  USE="qt4 -debug -doc -latex -nodot -tcl" LINGUAS="(-it%)" 0 kB
[ebuild   R    ] dev-python/PyQt4-4.8.4  USE="X dbus opengl sql svg webkit -assistant -debug -declarative -doc -examples -kde -multimedia -phonon -xmlpatterns" LINGUAS="(-it%)" 0 kB
[ebuild   R    ] x11-libs/qscintilla-2.5.1  USE="python -doc" LINGUAS="(-it%)" 2,577 kB
[ebuild     U  ] dev-texlive/texlive-basic-2010 [2008-r1] USE="-doc -source" 0 kB
[ebuild     U  ] dev-texlive/texlive-latex-2010 [2008-r2] USE="-doc -source" 0 kB
[blocks b      ] <dev-texlive/texlive-latex-2009 ("<dev-texlive/texlive-latex-2009" is blocking dev-texlive/texlive-basic-2010)
[ebuild  N     ] dev-texlive/texlive-fontutils-2010-r1  USE="-doc -source" 0 kB
[ebuild     U  ] dev-texlive/texlive-latexrecommended-2010 [2008-r2] USE="-doc -source" 0 kB
[blocks b      ] <dev-texlive/texlive-latexrecommended-2009 ("<dev-texlive/texlive-latexrecommended-2009" is blocking dev-texlive/texlive-basic-2010, dev-texlive/texlive-latex-2010)

Total: 8 packages (3 upgrades, 1 new, 4 reinstalls), Size of downloads: 4,177 kB
Conflict: 2 blocks



Expected Results:  
root@peppebook src # emerge -auDvN world

These are the packages that would be merged, in order:

Calculating dependencies ... done!                              
[ebuild     U  ] dev-texlive/texlive-basic-2010 [2008-r1] USE="-doc -source" 0 kB
[ebuild     U  ] dev-texlive/texlive-latex-2010 [2008-r2] USE="-doc -source" 0 kB
[blocks b      ] <dev-texlive/texlive-latex-2009 ("<dev-texlive/texlive-latex-2009" is blocking dev-texlive/texlive-basic-2010)
[ebuild  N     ] dev-texlive/texlive-fontutils-2010-r1  USE="-doc -source" 0 kB
[ebuild     U  ] dev-texlive/texlive-latexrecommended-2010 [2008-r2] USE="-doc -source" 0 kB
[blocks b      ] <dev-texlive/texlive-latexrecommended-2009 ("<dev-texlive/texlive-latexrecommended-2009" is blocking dev-texlive/texlive-basic-2010, dev-texlive/texlive-latex-2010)

Total: 4 packages (3 upgrades, 1 new), Size of downloads: ...


# emerge --info
Portage 2.1.10.11 (default/linux/x86/10.0/desktop, gcc-4.4.5, glibc-2.12.2-r0, 2.6.36-tuxonice-r3 i686)
=================================================================
System uname: Linux-2.6.36-tuxonice-r3-i686-Mobile_AMD_Athlon-tm-_XP_2800+-with-gentoo-2.0.3
Timestamp of tree: Sat, 08 Oct 2011 09:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.5.4-r4, 2.6.6-r2, 2.7.1-r1, 3.1.3-r1
dev-util/ccache:          2.4-r9
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.13::<unknown repository>, 2.68
sys-devel/automake:       1.4_p6-r1, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.20.1-r1
sys-devel/gcc:            4.4.5, 4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo sunrise x-portage
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/tomoyo/conf /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs candy ccache distlocks ebuild-locks fixlafiles fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://ftp.klid.dk/gentoo/ rsync://mirror.opteamax.de/gentoo/ ftp://mirrors.linuxant.fr/distfiles.gentoo.org/ ftp://ftp.halifax.rwth-aachen.de/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo"
LANG="it_IT.UTF-8"
LC_ALL="it_IT@euro"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="it"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa apache2 apm arts audiofile avahi berkdb bluetooth branding bzip2 cairo cdda cddb cdr cli consolekit cracklib crypt cups curl cxx dbus directfb dri dts dvb dvd dvdr eds emacs emboss encode esd exif expat fam fbcon fbsplash ffmpeg firefox flac flash fortran fpx gb gd gdbm gdu gif glut gpm gstreamer gtk iconv idn imagemagick imlib ipod ipv6 java jbig joystick jpeg jpeg2k kerberos laptop lcms ldap libcaca libnotify lirc live lm_sensors mad matroska mhash mikmod mmx mng modules motif mp3 mp4 mpeg mplayer mudflap musicbrainz mysql nas ncurses network nls nodrm nptl nptlonly nsplugin offensive ogg openal openexr opengl openmp oss pam pango pcre pda pdf perl php png policykit ppds pppd python qt3 qt3support qt4 quicktime readline recode rtsp samba scanner sdl session shout slang snmp speex spell sqlite ssl startup-notification suexec svg svga sysfs tcpd theora thumbnail tidy tiff truetype udev unicode usb userlocales v4l vcd vhosts vorbis win32codecs wmf x264 x86 xcb xcomposite xine xinerama xml xmms xorg xscreensaver xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2 spca50x" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse aiptek synaptics joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa fbdev radeon vga vmware v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Zac Medico gentoo-dev 2011-10-11 19:18:30 UTC
You probably set the LANGS variable, which interferes with qt4-r2.eclass:

http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/qt4-r2.eclass?view=markup

Other people have reported this, and the solution is to unset the LANGS variable.

Our policy in portage is to let user variables (CFLAGS, etc..) pass directly into the ebuild environment, so there's not much that portage can do to prevent interference like this.
Comment 2 Zac Medico gentoo-dev 2011-10-11 19:21:08 UTC
I think we can solve this by preventing the corrupt IUSE value from being written in the /var/db/pkg entry.
Comment 4 Zac Medico gentoo-dev 2011-10-12 02:29:09 UTC
This is fixed in 2.1.10.27 and 2.2.0_alpha67.