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

Bug 455058

Summary: media-video/gxine with dev-lang/spidermonkey-1.8.8 - build fails to find mozjs
Product: Gentoo Linux Reporter: Berthold Humkamp <Timewulf>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Severity: normal CC: Storklerk
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: build.log media-video/gxine-0.5.907 vs dev-lang/spidermonkey-17.0.0

Description Berthold Humkamp 2013-02-01 21:46:34 UTC
gxine looks for mozjs185. spidermonkey-1.8.8 offers mozjs188
revdep-rebuild fails
manually downgrading of spidermonkey helps with gxine
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-02-02 17:06:10 UTC
1) Please post your `emerge --info media-video/gxine dev-lang/spidermonkey'
   output in a comment.
2) Please attach the entire media-video/gxine build log to this bug report.
Comment 2 Berthold Humkamp 2013-02-02 21:29:41 UTC
Sorry, I haven't got those files any more and I don't want to unmerge spidermonkey-1.8.5-r4 again, because that means a non-functional gdm / gnome for me again. One of those parts have the same problem. I think it was gnome-shell or the gnome-shell-extensions.

So I can only describe what happened in detail:

World update installed spidermonkey-1.8.8. I'm not sure if that was an update or if my next command "emerge --depclean" unmerged spidermonkey-1.8.5-r4.

After that I got some rumor on my gnome desktop: I've got 2 displays and the background of not actively used display got black.

I started revdep-rebuild, that shows 3 broken packages:

gjs, gxine, gnome-shell

All packages couldn't be emerged with the hint, they need

Before I could do anything more, my gnome broke down with an unrecoverable error. After reboot, gdm doesn't work: no greeter

The next I had to do from console and with manually "startx".

Google as good friend and porthole helped me, to find dependency to spidermonkey-1.8.5.

I installed the last revision (spidermonkey-1.8.5-r4) again, thereafter revdep-rebuild worked and could emerge all 3 packages.

All problems are gone. In the moment I prevent update to spidermonkey-1.8.8 in package.keywords.
Comment 3 Berthold Humkamp 2013-02-02 21:34:30 UTC
For gjs there is a known bug, because of this, my report was a dup.

For gnome-shell I don't know, because I couldn't resolve if the problem on my system was got from gnome-shell or gnome-shell-extensions.
Comment 4 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-02-03 01:12:22 UTC
> I don't want to unmerge spidermonkey-1.8.5-r4 again

You could capture them as binary packages which will make re-installing them extremely easy, that way you don't lose too much time to replicate this and get your system back in its corrected state.

If you can't, the best we can hope for is for someone else to be able to replicate this.

Comment 5 Berthold Humkamp 2013-02-03 05:06:19 UTC
Normally that's no problem, I like to try out much, even if it smashs my system for a while, but in the moment this system is my only system, because my default production system has hardware problems.

But you can do something, you need not to wait, because the error is specific enough:

Change the dependency from 

     >= spidermonkey-1.8.5

     >= spidermonkey-1.8.5 and < spidermonkey-1.8.6

or alternatively:

     needs spidermonkey slot=0/mozjs185

Similar problems occured with the earlier spidermonkey-versions, dropping in favour of newer or

I think, this is why spidermonkey got slotted in gentoo.

As far as I can see, that's because some developer teams wait for google marking the newer libs stable, before updating there code.

I accept, you want asure the problem depends on this: If so,
google for "gjs not found" and you'll find enough specific links, hinting for this.
Comment 6 Torsten Kaiser 2013-06-08 18:48:36 UTC
Created attachment 350426 [details]
build.log media-video/gxine-0.5.907 vs dev-lang/spidermonkey-17.0.0

I'm not sure if this helps, but after upgrading to dev-lang/spidermonkey-17.0.0 via the mozilla-overlay, I also have gxine failing to compile.

I'm attaching the build.log, maybe it's the same problem.

Portage (default/linux/amd64/13.0, gcc-4.7.3, glibc-2.17, 3.10.0-rc4 x86_64)
                         System Settings
System uname: Linux-3.10.0-rc4-x86_64-AMD_Phenom-tm-_II_X6_1090T_Processor-with-gentoo-2.2
KiB Mem:    12282652 total,   2417260 free
KiB Swap:   25165756 total,  25165756 free
Timestamp of tree: Sat, 08 Jun 2013 17:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0::java
dev-lang/python:          2.7.5, 3.3.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6, 1.12.6, 1.13.2
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.4, 4.7.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo x11 sunrise java mozilla local
ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-pipe -march=amdfam10 -O3 -fomit-frame-pointer -fweb -frename-registers -ftracer"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind /var/lib/hsqldb"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-pipe -march=amdfam10 -O3 -fomit-frame-pointer -fweb -frename-registers -ftracer"
EMERGE_DEFAULT_OPTS="--with-bdeps y --jobs=6 --load-average=7 --keep-going"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans"
FFLAGS="-O2 -pipe"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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"
PORTDIR_OVERLAY="/usr/portage-local/layman/x11 /usr/portage-local/layman/sunrise /usr/portage-local/layman/java /usr/portage-local/layman/mozilla /root/ebuilds"
USE="3dnow 3dnowext 7zip S3TC X a52 aac aalib ace acl acpi ads aften aio alisp alsa altenburgcards amarok amd64 amr amrnb amrr amrwb animgif ao apache2 apng aqua_theme archive async audacious audiofile autoipd avahi bcel bcp bdf beagle berkdb bigpatch binfilter bittorrent bl blas blender-game bluetooth bonusscripts boost bzip2 c++ cairo calendar caps carbone_theme cblas-external cdda cdio cdparanoia cdr cgi chm chroot cifsupcall cisco cli clucene cmdctrl cmdsubmenu compress connectionstatus consolekit contactnotes corefonts cpio cpufreq cracklib crypt cryptsetup cscope css ctype cups curl cutterlimit cutterqueue cuttime cvs cvsgraph cxx dar64 dbase dbm dbus dbx dc1394 declarative demo device-mapper divx djvu dlz dmi dmx dnotify doc domainkeys dot double-precision dpmod dri dts dv dvb dvbplayer dvd dvdarchive dvdchapjump dvdr dvdread dvi ecc editor egl elf emoticon encode enscript equalizer excel exif exiv2 expat extensions extra extra-algorithms extra-cardsets extraengine extras fam fat fbcon festival ffmpeg fftw file file-icons flac fluidsynth fmod font-server fontconfig fortran fping fpx ftp fts3 fuse g3dvl gcj gd gdbm gecko geoip gflags gif gimp git gkrellm gles1 gles2 glib glibc-omitfp glitz glsa glut gmedia gmp gnutls gopher gpac gpg gpgme gphoto2 gpm graphics graphite graphviz gs gstreamer gtk gtk3 gudev gutenprint gzip hddtemp hdri highlight history html htmlhandbook http httpd hvm hwdb ical iceweasel iconv icq icu id3 id3tag ide idea ieee1394 image imagemagick imap infowidget inherit-graph inkjar innodb inotify ipfilter ipsec iptc ipv6 irc irrlicht ithreads jabber jack jad jadetex java java-external java6 jce jingle jit jni john jpeg jpeg2k juju jumpplay kde kdecards kdepim kerberos kexi kipi kmid kpathsea ktts kvm latex lcms ldap libcaca libkms libmpeg2 libmysqlclient libnotify libsamplerate libsexy libssh2 libvisual libwww liemikuutio lights lirc lircsettings livebuffer llvm lm_sensors logrotate logviewer loop-playback lua lucene lyx lzma lzo mad magic mail mailwrapper mainmenuhooks maps masquerade math matroska maya-shaderlibrary mbox mbrola md5sum mdev mdnsresponder-compat meanwhile menu-plugin menubar menuorg metric mhash midi mikmod mime mimencode minizip mixer mjpeg mmap mmx mmxext mng mod modplug modules mounts-check mozdevelop mozdom mozilla mp2 mp3 mp4 mp4live mpd mpeg mpeg2 mpg123 mplayer mppe-mppc mpu401 mschap msn mtp mudflap multilib multiprocess musepack music mysql mysqli mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh nat ncurses net netjack netmeeting network network-cron networkmanager nfs nfsidmap nfsv4 nfsv41 nls nntp normalize nova nptl nsplugin nspr nss ntfs ntfsprogs nuv offensive ogg ogg123 ole opcache openexr opengl openmp openssh openssl openvg openvpn opus osmesa pam pango pascal pcap pcre pda pdf pdfimport perl php physfs pixmaps pkcs11 plasma player pmu png policykit posix postfix postscript povray pptp pth pulseaudio python qemu qt3support qt4 query-browser quicktime radio rar raw rc5 rdesktop readline realmedia remix replaygain restrict-javascript rle rpc rss rtc rtmp rtsp samba sasl sbig scanner screen script sdk sdl sdl-image sdl-sound sdlaudio seamonkey search secure-delete semantic-desktop sensord server session shared-dricore shorten shout sid signatures simplexml skins smime smp smtp sndfile sockets socks5 solver songs sortrecords sound soundex sounds sox speech speedo speex spell spice sql sqlite sqlite3 sse sse2 sse3 sse4a ssl stars stats stemmer stlport stream submenu subtitles subversion suhosin svg svgz swat sylpheed sysfs syslog system-cairo system-jpeg system-libvncserver system-sqlite systray sysvipc szip t1lib taglib tagwriting tb4 tcpd teletext tetex tex texteffect textures tftp tga themes theora thesaurus threads threadsafe tidy tiff timercmd timerinfo tk tls toolbar tools transcode trayicon truetype tta ttxtsubs twolame ui unicode unlock-notify upcall usb usbredir userfiles utils uudeview uuencode v4l v4l2 vaapi valgrind vamp vcd vcdx vdpau vdr video videos vim-syntax visualization vlm vnc vncviewer voice volctrl vorbis vorbis-psy vpx wav wavpack web webdav webinterface webkit webm webp wifi winpopup wireshark wma wmf wmp wxwidgets x264 xa xanim xcb xcf xcomposite xext xface xforms xfs xft xhtml xine xinerama xml xorg xosd xplanet xpm xrandr xrender xscreensaver xsl xslt xspice xv xvfb xvid xvmc xvnc yahoo yv12 zip zlib zrtp zvbi" ABI_X86="32 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 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" APACHE2_MPMS="worker" 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" CURL_SSL="nss" 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 en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="x86_64 alpha arm cris i386 m68k ppc ppc64 ppcemb s390x sh4 sh4eb sparc sparc64" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="dummy fbdev v4l vesa radeon r600" 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"

                        Package Settings

dev-lang/spidermonkey-17.0.0 was built with the following:
USE="jit -debug -minimal -static-libs -test" ELIBC="glibc" KERNEL="linux" USERLAND="GNU"

media-video/gxine-0.5.907 was built with the following:
USE="lirc (multilib) nls nsplugin xcb xinerama -gnome-screensaver -udev" ELIBC="glibc" KERNEL="linux" LINGUAS="de -cs" USERLAND="GNU"
Comment 7 Alexander Tsoy 2013-08-13 13:43:55 UTC
(In reply to Torsten Kaiser from comment #6)

Deps was fixed by this commit:
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2013-08-13 15:36:51 UTC
(In reply to Alexander Tsoy from comment #7)
> (In reply to Torsten Kaiser from comment #6)
> Deps was fixed by this commit:
> gxine-0.5.907.ebuild?r1=1.8&r2=1.9

Looks like it. Thanks.