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

Bug 519536

Summary: =sys-apps/portage-2.2.11-r1: emerge -uDN world ignores x11-base/xorg-server USE changes
Product: Portage Development Reporter: Amadeusz Sławiński <amade>
Component: UnclassifiedAssignee: Portage team <dev-portage>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bkohler
Priority: Normal    
Version: 2.2   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Amadeusz Sławiński 2014-08-09 21:02:46 UTC
[ebuild   R    ] sys-apps/portage-2.2.11-r1  USE="(ipc) (selinux) (xattr) -build -doc -epydoc (-pypy) -python2 -python3" LINGUAS="-ru" PYTHON_TARGETS="python2_7 python3_4 -pypy -python3_2 -python3_3" 0 KiB


# emerge xorg-server -av

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

Calculating dependencies... done!
[ebuild   R    ] x11-base/xorg-server-1.16.0:0/1.16.0  USE="ipv6 nptl (selinux) udev wayland xorg -dmx -doc (-glamor) -kdrive -minimal -static-libs -suid -systemd -tslib -unwind -xnest -xvfb" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No] n

Quitting.

# USE="-wayland" emerge -uDN world -pv

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

Calculating dependencies... done!
[ebuild   R    ] x11-libs/libva-1.3.1  USE="X drm opengl vdpau -egl -wayland*" ABI_X86="(64) -32 (-x32)" VIDEO_CARDS="-dummy -fglrx -intel -nvidia" 0 KiB
[ebuild   R    ] media-libs/libsdl2-2.0.3-r200  USE="X alsa dbus joystick mmx opengl sound sse sse2 threads udev video xinerama -3dnow (-altivec) (-custom-cflags) -fusionsound -gles -haptic -nas -oss -pulseaudio -static-libs -tslib -wayland* -xscreensaver" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ] media-video/mpv-0.3.11  USE="X alsa cdio dvd enca iconv jpeg libass mpg123 opengl postproc quvi (selinux) shm v4l vaapi vdpau xinerama xv -bluray -bs2b -doc-pdf -dvb -dvdnav -encode -jack -joystick -ladspa -lcms -libcaca -libguess -lirc -lua -luajit -openal -oss -portaudio -pulseaudio -pvr -radio -samba -sdl -vcd -vf-dlopen -wayland* -xscreensaver" 0 KiB

Total: 3 packages (3 reinstalls), Size of downloads: 0 KiB

WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:

media-libs/mesa:0

  (media-libs/mesa-10.2.4:0/0::gentoo, ebuild scheduled for merge) conflicts with
    media-libs/mesa[wayland] required by (dev-libs/weston-1.5.0:0/0::gentoo, installed)
                    ^^^^^^^ 
    media-libs/mesa[gles2,wayland] required by (dev-libs/weston-1.5.0:0/0::gentoo, installed)
                          ^^^^^^^ 

Notice that in -uDN world listing there is no xorg-server, I've to emerge it explicitly so it gets new USE flags.


Reproducible: Always




Portage 2.2.11-r1 (python 2.7.8-final-0, hardened/linux/amd64/selinux, gcc-4.9.0, glibc-2.19-r1, 3.15.8-hardened x86_64)
=================================================================
System uname: Linux-3.15.8-hardened-x86_64-Intel-R-_Core-TM-_i3_CPU_M_350_@_2.27GHz-with-gentoo-2.2
KiB Mem:     2996896 total,    819276 free
KiB Swap:    5242860 total,   5217916 free
Timestamp of tree: Sat, 09 Aug 2014 00:45:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.2_p47
dev-lang/python:          2.7.8, 3.4.1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          9999
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.9.0
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo x11 local-overlay
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-11.x google-chrome skype-4.0.0.7-copyright"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -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/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox selinux sesandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-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="/var/lib/layman/x11 /home/amade/overlay"
SYNC=""
USE="X aac acl acpi alsa amd64 apache2 audit berkdb bzip2 caps cli cracklib crypt cxx dbus dri dvd ffmpeg flac gdbm gif git gnutls gold gpg hardened iconv icu ipv6 jpeg jpeg2k justify mmx mmxext mng modules mp3 multilib mysql mysqli ncurses nls nptl ogg open_perms opengl openmp pam pax_kernel pcre png qt3support readline selinux session sse sse2 sse4_1 sse4_2 ssl ssse3 svg tcpd theora threads thunar tiff udev unicode urandom usb v4l vaapi vdpau vim-syntax vorbis wayland x264 xattr xcb xft xinerama xpm xtpax zlib zsh-completion" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 author" CAMERAS="ptp2" 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 ublox ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB pl" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="x86_64 ppc" RUBY_TARGETS="ruby20" USERLAND="GNU" VIDEO_CARDS="nouveau" 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 Ben Kohler gentoo-dev 2014-08-09 21:06:15 UTC
I have noticed a similar issue with an xorg-server upgrade not being pulled in even when xorg-server is in world directly, and I do "emerge -uDN world".  Can you test with --ignore-built-slot-operator-deps=y and see if xorg-server is pulled in? Oh, and xorg-server *is* in world, right?
Comment 2 Amadeusz Sławiński 2014-08-12 07:23:35 UTC
Oh, mail delay, anyway:

I uninstalled dev-libs/weston so it's clearer to see
# USE="-wayland" emerge -uDN @world -av                                    

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

Calculating dependencies... done!
[ebuild   R    ] media-libs/mesa-10.2.4  USE="classic egl gallium gbm gles2 llvm nptl pax_kernel pic (selinux) vdpau -bindist -debug -dri3 -gles1 -opencl -openmax -openvg -osmesa -r600-llvm-compiler -wayland* -xa -xvmc" ABI_X86="(64) -32 (-x32)" VIDEO_CARDS="nouveau (-freedreno) -i915 -i965 -ilo -intel -r100 -r200 -r300 -r600 -radeon -radeonsi -vmware" 0 KiB
[ebuild   R    ] media-libs/libsdl2-2.0.3-r200  USE="X alsa dbus joystick mmx opengl sound sse sse2 threads udev video xinerama -3dnow (-altivec) (-custom-cflags) -fusionsound -gles -haptic -nas -oss -pulseaudio -static-libs -tslib -wayland* -xscreensaver" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ] x11-libs/libva-1.3.1  USE="X drm opengl vdpau -egl -wayland*" ABI_X86="(64) -32 (-x32)" VIDEO_CARDS="-dummy -fglrx -intel -nvidia" 0 KiB
[ebuild   R    ] media-video/mpv-0.3.11  USE="X alsa cdio dvd enca iconv jpeg libass mpg123 opengl postproc quvi (selinux) shm v4l vaapi vdpau xinerama xv -bluray -bs2b -doc-pdf -dvb -dvdnav -encode -jack -joystick -ladspa -lcms -libcaca -libguess -lirc -lua -luajit -openal -oss -portaudio -pulseaudio -pvr -radio -samba -sdl -vcd -vf-dlopen -wayland* -xscreensaver" 0 KiB

Total: 4 packages (4 reinstalls), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No] 
# USE="-wayland" emerge -uDN @world --ignore-built-slot-operator-deps=y -av

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

Calculating dependencies... done!
[ebuild   R    ] media-libs/mesa-10.2.4  USE="classic egl gallium gbm gles2 llvm nptl pax_kernel pic (selinux) vdpau -bindist -debug -dri3 -gles1 -opencl -openmax -openvg -osmesa -r600-llvm-compiler -wayland* -xa -xvmc" ABI_X86="(64) -32 (-x32)" VIDEO_CARDS="nouveau (-freedreno) -i915 -i965 -ilo -intel -r100 -r200 -r300 -r600 -radeon -radeonsi -vmware" 0 KiB
[ebuild   R    ] x11-base/xorg-server-1.16.0:0/1.16.0  USE="ipv6 nptl (selinux) udev xorg -dmx -doc (-glamor) -kdrive -minimal -static-libs -suid -systemd -tslib -unwind -wayland* -xnest -xvfb" 0 KiB
[ebuild   R    ] media-libs/libsdl2-2.0.3-r200  USE="X alsa dbus joystick mmx opengl sound sse sse2 threads udev video xinerama -3dnow (-altivec) (-custom-cflags) -fusionsound -gles -haptic -nas -oss -pulseaudio -static-libs -tslib -wayland* -xscreensaver" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ] x11-libs/libva-1.3.1  USE="X drm opengl vdpau -egl -wayland*" ABI_X86="(64) -32 (-x32)" VIDEO_CARDS="-dummy -fglrx -intel -nvidia" 0 KiB
[ebuild   R    ] media-video/mpv-0.3.11  USE="X alsa cdio dvd enca iconv jpeg libass mpg123 opengl postproc quvi (selinux) shm v4l vaapi vdpau xinerama xv -bluray -bs2b -doc-pdf -dvb -dvdnav -encode -jack -joystick -ladspa -lcms -libcaca -libguess -lirc -lua -luajit -openal -oss -portaudio -pulseaudio -pvr -radio -samba -sdl -vcd -vf-dlopen -wayland* -xscreensaver" 0 KiB

Total: 5 packages (5 reinstalls), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No]

# grep xorg /var/lib/portage/world
x11-base/xorg-server

There is also similar problem when changing VIDEO_CARDS between nouveau and nvidia, causing it to not automatically changing drivers.
Comment 3 Kobboi 2014-08-23 10:00:00 UTC
Still present in portage 2.2.12.
Comment 4 Kobboi 2014-08-23 10:03:44 UTC
I actually meant to update bug #508762, but they seem to talk about a similar issue.
Comment 5 Zac Medico gentoo-dev 2014-09-20 23:46:26 UTC
(In reply to Amadeusz Sławiński from comment #2)
> # grep xorg /var/lib/portage/world
> x11-base/xorg-server

Since it's in your world file, it's almost certainly a duplicate of bug 522084.

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