Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 566024 - sys-apps/portage: @world update misses media-video/vlc upgrade that would trigger rebuild of media-libs/phonon-vlc due to subslot change
Summary: sys-apps/portage: @world update misses media-video/vlc upgrade that would tri...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Dependencies (show other bugs)
Hardware: All Linux
: Highest normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS, REGRESSION
: 569242 571146 (view as bug list)
Depends on:
Blocks: 155723 549914
  Show dependency tree
 
Reported: 2015-11-17 08:14 UTC by Anton Bolshakov
Modified: 2016-03-14 02:51 UTC (History)
3 users (show)

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


Attachments
debug.log (debug.log.xz,348.95 KB, application/x-xz)
2015-11-25 01:38 UTC, Anton Bolshakov
Details
config.tar.xz (config2.tar.xz,607.29 KB, application/x-xz)
2015-12-07 07:28 UTC, Anton Bolshakov
Details
too_deep_bug566024.patch (p.patch,671 bytes, patch)
2015-12-14 02:09 UTC, Anton Bolshakov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Bolshakov 2015-11-17 08:14:49 UTC
emerge -DNUupv --with-bdeps=y world

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

Calculating dependencies... done!

Total: 0 packages, Size of downloads: 0 KiB

----------

emerge -pv vlc

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

Calculating dependencies... done!
[ebuild  rR    ] media-libs/phonon-vlc-0.7.2::gentoo  USE="qt4 -debug -qt5" 0 KiB
[ebuild  r  U  ]  media-video/vlc-2.2.1-r1:0/5-8::gentoo [2.1.5-r1:0/5-7::gentoo] USE="X a52 alsa avcodec avformat cdda dbus dts dvbpsi encode ffmpeg flac fontconfig gcrypt httpd jpeg%* kde libav libnotify libsamplerate* live lua matroska mp3 mpeg ncurses ogg opengl png qt4 rtsp run-as-root samba sdl svg swscale theora truetype udev v4l vaapi vorbis x264 xcb xml xv -aalib (-altivec) -atmo (-audioqueue) -bidi -bluray -cddb -chromaprint -dc1394 -debug -directfb (-directx) -dvb -dvd (-dxva2) -faad -fdk -fluidsynth -gme -gnome -gnutls -growl -ieee1394 -jack -kate -libass -libcaca -libtar -libtiger -linsys -lirc (-macosx-dialog-provider) (-macosx-eyetv) (-macosx-qtkit) (-macosx-quartztext) (-media-library) -modplug -mtp -musepack (-neon) -omxil -opencv -optimisememory (-opus) -postproc* -projectm -pulseaudio -qt5% -rdp -schroedinger -sdl-image -sftp -shout -sid -skins -speex -taglib {-test} -tremor -twolame -upnp -vcdx -vdpau -vlm -vnc -vpx% -wma-fixed -x265% -zeroconf% -zvbi (-avahi%) (-dirac%) (-egl%) (-ios-vout%) (-macosx%) (-macosx-audio%) (-macosx-vout%)" CPU_FLAGS_X86="mmx sse" 20450 KiB

Total: 2 packages (1 upgrade, 1 reinstall), Size of downloads: 20450 KiB

The following packages are causing rebuilds:

  (media-video/vlc-2.2.1-r1:0/5-8::gentoo, ebuild scheduled for merge) causes rebuilds for:
    (media-libs/phonon-vlc-0.7.2:0/0::gentoo, ebuild scheduled for merge)

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

emerge --info
Portage 2.2.24 (python 3.4.3-final-0, hardened/linux/amd64, gcc-4.9.3, glibc-2.21-r1, 4.0.8-pentoo x86_64)
=================================================================
System uname: Linux-4.0.8-pentoo-x86_64-Intel-R-_Core-TM-_i5-3320M_CPU_@_2.60GHz-with-gentoo-2.2
KiB Mem:     7981368 total,   2909584 free
KiB Swap:    4194300 total,   4194252 free
Timestamp of repository gentoo: Mon, 16 Nov 2015 13:15:01 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p39::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.jp.gentoo.org/gentoo-portage
    priority: -1000

steam-overlay
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 0

pentoo
    location: /var/lib/layman/pentoo
    masters: gentoo
    priority: 1

local-overlay
    location: /usr/local/portage
    masters: gentoo
    priority: 2

ABI="amd64"
ABI_X86="64"
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA PUEL AdobeFlash-11.x Google-TOS dlj-1.1 google-chrome Oracle-BCLA-JavaSE Intel-SDP skype-4.0.0.7-copyright baudline"
ACCEPT_PROPERTIES="*"
ACCEPT_RESTRICT="*"
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"
ANDROID_HOME="/opt/android-sdk-update-manager"
ANDROID_SWT="/usr/share/swt-3.7/lib"
ANT_HOME="/usr/share/ant"
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"
ARCH="amd64"
AUTOCLEAN="yes"
BOOTSTRAP_USE="cxx unicode internal-glib python_targets_python3_4 python_targets_python2_7 multilib hardened pax_kernel pic xtpax -jit -orc"
CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author"
CAMERAS="ptp2"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CFLAGS_amd64="-m64"
CFLAGS_x32="-mx32"
CFLAGS_x86="-m32"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x32="x86_64-pc-linux-gnux32"
CHOST_x86="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
COLLISION_IGNORE="/lib/modules/* *.py[co] *$py.class */dropin.cache"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /opt/sonar/conf /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"
CXXFLAGS="-march=native -O2 -pipe"
DEFAULT_ABI="amd64"
DISPLAY=":0"
DISTDIR="/usr/portage/distfiles"
EDITOR="/usr/bin/mcedit"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS=" --ask-enter-invalid --keep-going=y --binpkg-respect-use=y --tree --verbose --with-bdeps=y --autounmask=n --buildpkg-exclude "sys-kernel/compat-drivers sys-kernel/ax88179_178a x11-drivers/ati-drivers x11-drivers/nvidia-drivers sys-fs/zfs-kmod sys-kernel/spl                        sys-power/bbswitch pentoo/pentoo-installer x11-drivers/xf86-video-virtualbox app-emulation/virtualbox-guest-additions                      app-emulation/virtualbox-modules app-emulation/vmware-modules app-emulation/open-vm-tools-kmod sys-kernel/genkernel sys-kernel/pentoo-sources" --usepkg-exclude "sys-kernel/compat-drivers sys-kernel/ax88179_178a x11-drivers/ati-drivers x11-drivers/nvidia-drivers sys-fs/zfs-kmod sys-kernel/spl                  sys-power/bbswitch pentoo/pentoo-installer x11-drivers/xf86-video-virtualbox app-emulation/virtualbox-guest-additions                      app-emulation/virtualbox-modules app-emulation/vmware-modules app-emulation/open-vm-tools-kmod sys-kernel/genkernel sys-kernel/pentoo-sources""
EMERGE_WARNING_DELAY="10"
EPREFIX=""
Comment 1 Michael Palimaka (kensington) gentoo-dev 2015-11-18 11:57:06 UTC
Where is the error?
Comment 2 Anton Bolshakov 2015-11-18 12:55:32 UTC
There is no error.

"emerge world" does not detected that vlc can be updated. See two outputs above for details.
Comment 3 Anton Bolshakov 2015-11-18 13:31:00 UTC
I should probably mentioned that VLC is not listed in the world file.

It's getting pulled as a dependence of KDE due to "vlc" flag enabled:

[nomerge       ]   kde-apps/kdebase-meta-4.14.3:4::gentoo  USE="display-manager wallpapers (-aqua) -minimal" 
[nomerge       ]    kde-apps/kdebase-runtime-meta-4.14.3:4::gentoo  USE="handbook (-aqua) -crash-reporter -minimal" 
[nomerge       ]     kde-apps/keditfiletype-4.14.3:4/4.14::gentoo  USE="(-aqua) -debug" 
[nomerge       ]      kde-base/kdelibs-4.14.8:4/4.14::gentoo  USE="acl alsa bzip2 crypt handbook nls opengl policykit spell ssl udev udisks upower (-altivec) (-aqua) -debug -doc (-fam) -jpeg2k -kerberos -lzma -openexr {-test} -zeroconf" CPU_FLAGS_X86="mmx sse sse2 -3dnow" 
[nomerge       ]       media-libs/phonon-4.7.2::gentoo  USE="qt4 vlc (-aqua) -debug -designer -gstreamer -pulseaudio -qt5 (-zeitgeist)" 
[nomerge       ]        media-libs/phonon-vlc-0.7.2::gentoo  USE="qt4 -debug -qt5" 
[ebuild   R    ]         media-video/vlc-2.1.5-r1:0/5-7
Comment 4 Anton Bolshakov 2015-11-24 09:42:24 UTC
Guys,

I think this is quite a major bug in the portage and I would like to help to fix it.

However, I also want to upgrade VLC and move alone.

Could you please increase the priority of this bug and so that I could provide as many information as required before it's too late?

Thanks.
Comment 5 Zac Medico gentoo-dev 2015-11-24 16:23:36 UTC
(In reply to Anton Bolshakov from comment #3)
> Could you please increase the priority of this bug and so that I could
> provide as many information as required before it's too late?

Please reproduce the problem with the --debug option, and attach a log of the output:

    emerge -DNUupv --with-bdeps=y world > debug.log 2>&1
    xz -9 debug.log
Comment 6 Zac Medico gentoo-dev 2015-11-24 16:25:16 UTC
(In reply to Zac Medico from comment #5)
I forgot to add the debug option. Should be as follows:

    emerge -DNUupv --with-bdeps=y --debug world > debug.log 2>&1
    xz -9 debug.log
Comment 7 Anton Bolshakov 2015-11-25 01:38:15 UTC
Created attachment 417804 [details]
debug.log

Here we go
Comment 8 Zac Medico gentoo-dev 2015-11-25 02:35:25 UTC
(In reply to Anton Bolshakov from comment #7)
> Created attachment 417804 [details]
> debug.log

It seems like slot_operator_update_probe is misbehaving somehow. The debug log shows that it failed to find the vlc update:

slot_operator_update_probe:
   existing child package:  (media-video/vlc-2.1.5-r1:0/5-7::gentoo, installed)
   existing parent package: (media-libs/phonon-vlc-0.7.2:0/0::gentoo, installed)
   new child package:  None
   new parent package: None
Comment 9 Anton Bolshakov 2015-12-07 00:21:12 UTC
Guys,

I'll update VLC this week. Please let me know if any further logs could be useful.

Thank you.
Comment 10 Zac Medico gentoo-dev 2015-12-07 05:45:34 UTC
Please use a command like this to create a tarball of the essential details:

tar -cJf /tmp/config.tar.xz -C / ./etc/portage ./var/db/pkg ./var/lib/portage/world --exclude CONTENTS --exclude environment.bz2 --exclude 'NEEDED*'

Hopefully we can use that tarball to reproduce your problem.
Comment 11 Zac Medico gentoo-dev 2015-12-07 07:24:13 UTC
(In reply to Zac Medico from comment #10)
> tar -cJf /tmp/config.tar.xz -C / ./etc/portage ./var/db/pkg
> ./var/lib/portage/world --exclude CONTENTS --exclude environment.bz2
> --exclude 'NEEDED*'

Also: --exclude '*.ebuild'

That makes the tarball much smaller.
Comment 12 Anton Bolshakov 2015-12-07 07:28:42 UTC
Created attachment 418702 [details]
config.tar.xz

Here we go.
Comment 13 Zac Medico gentoo-dev 2015-12-09 06:59:28 UTC
There's a working patch in the following branch:

https://github.com/zmedico/portage/tree/bug_566024

You can test it like this:

echo '=sys-apps/portage-9999 **' >> /etc/portage/package.accept_keywords
portage_LIVE_BRANCH=bug_566024 \
portage_LIVE_REPO=https://github.com/zmedico/portage.git \
emerge -1 =sys-apps/portage-9999

I've posted it for review here:

https://archives.gentoo.org/gentoo-portage-dev/message/4a5ffb2e50a98db66f759bf01793972b
Comment 15 Anton Bolshakov 2015-12-14 02:09:51 UTC
Created attachment 419140 [details, diff]
too_deep_bug566024.patch

I've backported the patch to the current stable v2.2.24 and vlc has appeared in the upgrade list (emerge -DNupv world)

Good job!
Comment 16 Zac Medico gentoo-dev 2015-12-28 17:46:31 UTC
*** Bug 569242 has been marked as a duplicate of this bug. ***
Comment 17 Alexander Tsoy 2016-01-07 20:06:12 UTC
*** Bug 571146 has been marked as a duplicate of this bug. ***
Comment 18 Zac Medico gentoo-dev 2016-03-14 02:51:20 UTC
Fixed in 2.2.27.