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

Bug 432336

Summary: portage requires me to unmask dev-libs/glib-2.32.4 for packages that don't need it
Product: Portage Development Reporter: kipplasterjoe
Component: Core - Interface (emerge)Assignee: Portage team <dev-portage>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description kipplasterjoe 2012-08-22 18:06:10 UTC
Today I updated my portage tree and portage version. I cannot do an upgrade because of the following problem:

The following keyword changes are necessary to proceed:
#required by net-libs/farsight2-0.0.29, required by net-im/pidgin-2.10.6[gstreamer], required by @selected, required by @world (argument)
=dev-libs/glib-2.32.4 ~amd64

I figured out that neither net-libs/farsight2-0.0.29 nor net-im/pidgin-2.10.6[gstreamer] require glib-2.32.4!

in the farsight2 ebuild there is ">=dev-libs/glib-2.26:2" required, Pidgin 2.10.6 only needs ">=dev-libs/glib-2.16".

Also i can upgrade the two packages by doing emerge -C and reemerging them. In that case, portage doesn't want glib-2.32.4.

Reproducible: Always

Steps to Reproduce:
1. run emerge -avuDN world
Actual Results:  
portage should keep dev-libs/glib-2.30.3

Expected Results:  
portage requires dev-libs/glib-2.32.4

Portage 2.1.11.9 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.14.1-r3, 3.3.8-gentoo x86_64)
=================================================================
System uname: Linux-3.3.8-gentoo-x86_64-AMD_Phenom-tm-_II_X4_920_Processor-with-gentoo-2.1
Timestamp of tree: Wed, 22 Aug 2012 17:00:01 +0000
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.6
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA IBM-J1.6 AdobeFlash-10.3 googleearth Q3AEULA ETQW skype-4.0.0.7-copyright Nero-EULA-US RTCW-ETEULA sun-bcla-java-vm dlj-1.1 PUEL"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 ao avahi bash-completion berkdb bluray branding bzip2 cairo cdda cddb cdio cjk cli consolekit cracklib crypt css cups curl cxx dbi dbus dga dri dts dv dvb dvd encode exif ffmpeg fftw flac fontconfig fortran frei0r ftp gcj gd gdbm gif gnutls gpm gstreamer gtk iconv icu imagemagick imap ipv6 jpeg jpeg2k ladspa lame lcms libsamplerate lzo matroska mikmod mmx mmxext mng modplug modules mp3 mplayer mudflap multilib musepack mysql ncurses nls nntp nptl nsplugin objc objc++ objc-gc ogg openal opengl openmp openvg pam pcre pdf plotutils png policykit ppds pppd projectm qt4 quicktime readline rtf scanner schroedinger sdl session smime smp speex spell sqlite sse sse2 sse3 sse4a ssl ssse3 startup-notification svg tcpd theora threads tiff timidity truetype udev unicode usb v4l vdpau vorbis vpx webkit wmf wxwidgets x264 xattr xcomposite xml xv xvid zlib" ALSA_CARDS="hda-intel usb-audio" 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 authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="caps crypt" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" LIRC_DEVICES="all" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Zac Medico gentoo-dev 2012-08-23 02:24:09 UTC
If you can reproduce the problem then please attach a debug log, created as follows:

   emerge -avuDN world --debug &> debug.log
Comment 2 kipplasterjoe 2012-08-23 09:41:11 UTC
I solved a part of the problem by running "emerge -avuDNt world", x11-misc/lightdm was unmasked on my system and requires dev-libs/glib-2.32.4. Now I did a downgrade to stable lightdm and no longer have the problem.

I think portage should display only packages actually triggering the unmask request.
At the moment it says:

The following keyword changes are necessary to proceed:
#required by net-libs/farsight2-0.0.29, required by net-im/pidgin-2.10.6[gstreamer], required by @selected, required by @world (argument)
=dev-libs/glib-2.32.4 ~amd64

but it means:

The following keyword changes are necessary to proceed:
#required by x11-misc/lightdm-1.3.2, required by @selected, required by @world (argument)
=dev-libs/glib-2.32.4 ~amd64

This is a problem, the user doesn't now which package is responsible for requiring dev-libs/glib-2.32.4.
Comment 3 Zac Medico gentoo-dev 2012-08-23 15:04:18 UTC
(In reply to comment #2)
> I think portage should display only packages actually triggering the unmask
> request.

Yes, that seems like a case of bug 419381.

*** This bug has been marked as a duplicate of bug 419381 ***