Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 393473 - dev-libs/gjs-1.30.0, missing javascript dependency
Summary: dev-libs/gjs-1.30.0, missing javascript dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-07 07:40 UTC by Brian Dolbec
Modified: 2011-12-07 23:52 UTC (History)
0 users

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


Attachments
build.log (build.log,8.33 KB, text/plain)
2011-12-07 07:40 UTC, Brian Dolbec (RETIRED)
Details
build environment (environment,229.53 KB, text/plain)
2011-12-07 08:08 UTC, Brian Dolbec (RETIRED)
Details
config.log (config.log,39.29 KB, text/plain)
2011-12-07 16:13 UTC, Brian Dolbec (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Dolbec (RETIRED) gentoo-dev 2011-12-07 07:40:56 UTC
Created attachment 295047 [details]
build.log

As part of my reluctant gnome3 upgrade, ...


big_daddy brian # emerge -uv =gnome-base/gdm-3.2.1.1-r1

...

>>> Emerging (1 of 20) dev-libs/gjs-1.30.0
>>> Failed to emerge dev-libs/gjs-1.30.0, Log file:
>>>  '/tmp/portage/dev-libs/gjs-1.30.0/temp/build.log'
>>> Jobs: 0 of 20 complete, 1 failed                Load avg: 2.16, 1.67, 3.00

...

checking for malloc.h... yes
checking for mallinfo... yes
checking for standalone mozjs185... no
configure: error: No appropriate JavaScript package found

!!! Please attach the following file when seeking support:
!!! /tmp/portage/dev-libs/gjs-1.30.0/work/gjs-1.30.0/config.log
 * ERROR: dev-libs/gjs-1.30.0 failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *          ebuild.sh, line   84:  Called src_configure
 *        environment, line 5783:  Called gnome2_src_configure
 *        environment, line 3137:  Called econf '--with-js-package=mozjs185' '--disable-systemtap' '--disable-dtrace' '--disable-coverage' '--disable-maintainer-mode'
 *   phase-helpers.sh, line  461:  Called die
 * The specific snippet of code:
 *   			die "econf failed"
 * 
 * If you need support, post the output of 'emerge --info =dev-libs/gjs-1.30.0',
 * the complete build log and the output of 'emerge -pqv =dev-libs/gjs-1.30.0'.
 * The complete build log is located at '/tmp/portage/dev-libs/gjs-1.30.0/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/dev-libs/gjs-1.30.0/temp/environment'.
 * S: '/tmp/portage/dev-libs/gjs-1.30.0/work/gjs-1.30.0'



big_daddy brian # emerge --info dev-libs/gjc
Portage 2.2.0_alpha79_p22 (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.3, glibc-2.14.1-r1, 2.6.39-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.39-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q8400_@_2.66GHz-with-gentoo-2.1
Timestamp of tree: Tue, 06 Dec 2011 07:45:01 +0000
ccache version 3.1.6 [enabled]
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.4.6, 2.5.4-r4, 2.6.7-r2, 2.7.2-r3, 3.1.4-r3, 3.2.2
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68::<unknown repository>
sys-devel/automake:       1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3::<unknown repository>, 1.11.1-r1
sys-devel/binutils:       2.22
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r1
Repositories: gentoo ferringb mgorny multimedia sunrise science The-Pit gentoo-guis
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 AdobeFlash-*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core2 -mtune=core2 -mmmx -msse -msse2 -msse3 -msse4.1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
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="-O2 -pipe -march=core2 -mtune=core2 -mmmx -msse -msse2 -msse3 -msse4.1"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n --complete-graph"
FEATURES="assume-digests binpkg-logs buildpkg ccache distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.osuosl.org/ "
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS=""
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/ferringb /var/lib/layman/mgorny /var/lib/layman/multimedia /var/lib/layman/sunrise /var/lib/layman/science /usr/local/portage /home/brian/Dev/git/gentoo-guis"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi adns alsa amd64 avahi berkdb bidi bluetooth bonobo branding bzip2 cairo cdda cddb cdr cleartype cli colord consolekit cracklib crypt css cups curl cxx dbus dlloader dri dts dv dvd dvdr dvdread eds emboss encode evo exif fam fame fbcon ffmpeg flac fortran ftp gconf gdbm gdu gecko gif gimpprint gnome gnome-keyring gnome-online-accounts gpm gs gstreamer gtk gtk2 gtkhtml h323 howl iconv imagemagic imap imlib2 innodb ipv6 java javascript jikes joystick jpeg lcms ldap libnotify lm_sensors mad md5sum messages mime mmx mng modules moxnomail mozdevelop mp3 mp4 mpeg mpi mplayer mudflap multilib mysql nautilus ncurses nfs nls no-old-linux nptl nptlonly nptonly numeric nvidia ogg opengl openmp pam pango pcre pda pdf plugin png policykit posix ppds pppd pulseaudio python qt3support readline rtc samba sdl session shm sndfile socialweb sox speex spell sqlite sqlite3 sse sse2 sse3 ssl startup-notification svg swat sysfs syslog tcpd threadsonly thumbnail thunar-vfs tiff tk transcode truetype udev unicode usb utf8 v4l v4l2 vcd vdpau vorbis x264 xcb xine xml xorg xosd xpm xulrunner xv xvid xvmc zlib zvbi" 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" 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 ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

big_daddy brian # java-config -L
The following VMs are available for generation-2:
*)	IcedTea JDK 7.2.0 [icedtea-7]
2)	IcedTea JDK 6.1.10.4 [icedtea-bin-6]
3)	IcedTea JDK 7.2.0 [icedtea-bin-7]
Comment 1 Brian Dolbec (RETIRED) gentoo-dev 2011-12-07 07:48:44 UTC
It fails the same for icedtea-bin-6 and icedtea-bin-7
Comment 2 Brian Dolbec (RETIRED) gentoo-dev 2011-12-07 08:08:15 UTC
Created attachment 295049 [details]
build environment
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-12-07 08:22:16 UTC
(In reply to comment #0)
> !!! Please attach the following file when seeking support:
> !!! /tmp/portage/dev-libs/gjs-1.30.0/work/gjs-1.30.0/config.log

Please attach it :)

Also, please verify that you have dev-lang/spidermonkey-1.8.5-r1 installed and /usr/lib/pkgconfig/mozjs185.pc present in your filesystem.
Comment 4 Brian Dolbec (RETIRED) gentoo-dev 2011-12-07 16:11:07 UTC
I have spidermonkey-1.9.2.15 installed which I see is no longer in the tree.

It has installed:

/usr/lib64/libjs_static.a
/usr/lib64/libmozjs.so


And no mozjs185.pc is not in .../pkgconfig.  It contains mozilla-js.pc.
Comment 5 Brian Dolbec (RETIRED) gentoo-dev 2011-12-07 16:13:33 UTC
Created attachment 295087 [details]
config.log

sorry, missed that one :/
Comment 6 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-12-07 18:26:58 UTC
You need to upgrade to spidermonkey-1.8.5-r1.

Spidermonkey-1.9.2.x was renamed to 1.8.2.x in June 2011, and >=spidermonkey-1.8.5 was package.masked from 2 July until 24 November. As far as I can tell, in order to encounter this issue, you would have had to do have forgotten to do "emerge --update --deep" on a Gentoo system that is updated less than 3 times per year :/

I have now added =dev-lang/spidermonkey-1.9.2* to package.mask, so the problem should be fixed.
Comment 7 Brian Dolbec (RETIRED) gentoo-dev 2011-12-07 21:48:09 UTC
Yes, I saw in the changelog about the rename now.  I do update at least once a month, usually around 2-3 weeks.  I had been trying -uD, but due to blocks and conflicts, had to unmerge gdm and merge gdm-3 specifically.  I believe the last --deep was just before that gjs was masked.  I have been slackin on the updates recently, not cleared out dead ebuilds/pkgs for awhile.

Thank you.  I found a forum post with the same problem, but was due to an overlay version.  I'll add this info in case anyone else has this problem (bound to happen).
Comment 8 Brian Dolbec (RETIRED) gentoo-dev 2011-12-07 23:52:58 UTC
OK, turns out pkgcore's pmerge was not picking up the downgraded (version number) due to having the binpkgs for the 1.9* versions.  So it was just wanting to re-install from the binpkg.  

Emerge was picking up the downgrade due to the non-availability of the 1.9* version.

Once I deleted the 1.9* binpkgs. pmerge was doing the correct up/downgrade.