Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 519658 - sys-apps/portage-2.2.11-r1 crashes with no obvious reason
Summary: sys-apps/portage-2.2.11-r1 crashes with no obvious reason
Status: RESOLVED DUPLICATE of bug 518968
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal critical (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-11 16:56 UTC by André Terpstra
Modified: 2014-08-12 14:59 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 André Terpstra 2014-08-11 16:56:07 UTC
during a certain world update sys-apps/portage-2.2.11-r1 suddenly crashed. The command used was: 

emerge  --ask --deep --newuse --with-bdeps=y --update --keep-going --autounmask-write @world

and the output:


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

Calculating dependencies... done!
[ebuild  N     ] media-libs/libdvbpsi-1.2.0  USE="-doc -static-libs" 
[ebuild  N     ] media-fonts/dejavu-2.34  USE="X -fontforge" 
[ebuild    FU  ] dev-java/oracle-jdk-bin-1.7.0.67 [1.7.0.65]
[ebuild     U  ] net-dns/libidn-1.29 [1.28-r1]
[ebuild     U  ] app-accessibility/speech-dispatcher-0.8-r3 [0.8-r2] PYTHON_TARGETS="python3_4%*" 
[ebuild  N     ] media-video/ffmpeg-2.2.5  USE="X alsa avx bzip2 encode hardcoded-tables iconv jpeg2k mmx network opengl sse sse2 ssse3 truetype zlib -3dnow -3dnowext -aac -aacplus (-altivec) -amr -amrenc (-armv5te) (-armv6) (-armv6t2) (-armvfp) -avx2 -bindist -bluray -cdio -celt -cpudetection -debug -doc -examples -faac -fdk -flite -fma3 -fma4 -fontconfig -frei0r -gme -gnutls -gsm -iec61883 -ieee1394 -jack -ladspa -libass -libcaca -libsoxr -libv4l (-mips32r2) (-mipsdspr1) (-mipsdspr2) (-mipsfpu) -mmxext -modplug -mp3 (-neon) -openal -openssl -opus -oss -pic -pulseaudio -quvi -rtmp -schroedinger -sdl -speex -sse3 -sse4 -sse4_2 -ssh -static-libs {-test} -theora -threads -twolame -v4l -vaapi -vdpau -vorbis -vpx -wavpack -webp -x264 -x265 -xvid -zvbi" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart trasher" 
[ebuild   R    ] media-libs/phonon-4.7.2  USE="vlc* -gstreamer*" 
[ebuild  N     ] media-video/vlc-2.1.4  USE="X alsa avcodec avformat dbus dvbpsi encode ffmpeg gcrypt kde mmx ncurses ogg opengl png postproc qt4 sse swscale truetype udev vorbis xcb -a52 -aalib (-altivec) -atmo (-audioqueue) -avahi -bidi -bluray -cdda -cddb -chromaprint -dc1394 -debug -dirac -directfb (-directx) -dts -dvb -dvd (-dxva2) -egl -faad -fdk -flac -fluidsynth -fontconfig -gme -gnome -gnutls -growl -httpd -ieee1394 (-ios-vout) -jack -kate -libass -libcaca -libnotify -libsamplerate -libtar -libtiger -linsys -lirc -live -lua (-macosx) (-macosx-audio) (-macosx-dialog-provider) (-macosx-eyetv) (-macosx-qtkit) (-macosx-quartztext) (-macosx-vout) -matroska (-media-library) -modplug -mp3 -mpeg -mtp -musepack (-neon) -omxil -opencv -optimisememory -opus -projectm -pulseaudio (-qt5) -rdp -rtsp -run-as-root -samba -schroedinger -sdl -sdl-image -sftp -shout -sid -skins -speex -svg -taglib {-test} -theora -tremor -twolame -upnp -v4l -vaapi -vcdx -vdpau -vlm -vnc -wma-fixed -x264 -xml -xv -zvbi" 
[ebuild  N     ] media-libs/phonon-vlc-0.7.2  USE="qt4 -debug (-qt5)" 
[blocks B      ] media-video/ffmpeg:0 ("media-video/ffmpeg:0" is blocking media-video/libav-9.14)

Fetch instructions for dev-java/oracle-jdk-bin-1.7.0.67:
 * 
 * Oracle requires you to download the needed files manually after
 * accepting their license through a javascript capable web browser.
 * 
 * Download the following files:
 *   jdk-7u67-linux-x64.tar.gz
 * at 'http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html'
 * and move them to '/usr/portage/distfiles'
 * 

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (media-video/ffmpeg-2.2.5:0/52.55.55::gentoo, ebuild scheduled for merge) pulled in by
    >=media-video/ffmpeg-1.2:0= required by (media-video/vlc-2.1.4:0/5-7::gentoo, ebuild scheduled for merge)

  (media-video/libav-9.14:0/9::gentoo, installed) pulled in by
    >=media-video/libav-9.12[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?,X?,encode?,gsm?,jpeg2k?,mp3?,opus?,sdl?,speex?,theora?,threads?,truetype?,vaapi?,vdpau?,x264?] (>=media-video/libav-9.12[abi_x86_64(-),X,encode,jpeg2k,truetype]) required by (virtual/ffmpeg-9-r1:0/0::gentoo, installed)


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked


The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by media-libs/phonon-vlc-0.7.2
# required by media-libs/phonon-4.7.2[vlc]
# required by kde-base/dragon-4.13.3
# required by kde-base/kdemultimedia-meta-4.13.3
# required by kde-base/kde-meta-4.13.3
# required by @selected
# required by @world (argument)
=media-video/vlc-2.1.4 vorbis ogg
Traceback (most recent call last):
  File "/usr/bin/emerge", line 51, in <module>
    retval = emerge_main()
  File "/usr/lib64/portage/pym/_emerge/main.py", line 1054, in emerge_main
    return run_action(emerge_config)
  File "/usr/lib64/portage/pym/_emerge/actions.py", line 4066, in run_action
    emerge_config.args, spinner)
  File "/usr/lib64/portage/pym/_emerge/actions.py", line 327, in action_build
    mydepgraph.display_problems()
  File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 7739, in display_problems
    self._display_autounmask()
  File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 7661, in _display_autounmask
    if self.query(prompt, enter_invalid) == 'No':
TypeError: query() missing 1 required positional argument: 'enter_invalid'




Reproducible: Always



Expected Results:  
emerge ends with updating /etc/portage/package.use, and the next time at least this error would not happen again
Comment 1 André Terpstra 2014-08-11 17:00:46 UTC
manually editing /etc/portage/package.use solves the crash.
Comment 2 Jouni Kosonen 2014-08-11 19:57:41 UTC
This is dupe of bug 518968 - apparently the fix will be in 2.2.12
Comment 3 Brian Dolbec (RETIRED) gentoo-dev 2014-08-12 14:59:04 UTC

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