Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 350151 - media-video/gpac-0.4.5-r3 fails to link due to missing libjs.so
Summary: media-video/gpac-0.4.5-r3 fails to link due to missing libjs.so
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 361023 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-12-30 13:44 UTC by David Kredba
Modified: 2011-05-05 19:14 UTC (History)
7 users (show)

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


Attachments
gpac-0.4.5 spidermonkey update (gpac-0.4.5-spidermonkey-update.patch,483 bytes, patch)
2011-01-01 20:42 UTC, Jory A. Pratt
Details | Diff
Build.log (build.log,163.15 KB, text/plain)
2011-01-04 21:04 UTC, David Kredba
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Kredba 2010-12-30 13:44:16 UTC
Media-video/gpac-0.4.5-r3 fails to link due to missing libjs.so.
Lokks like that 

Reproducible: Always

Steps to Reproduce:
1.USE: a52 aac alsa amd64 elibc_glibc ffmpeg javascript jpeg jpeg2k kernel_linux mad multilib opengl png sdl ssl theora truetype userland_GNU vorbis xml xvid emerge --oneshot =media-video/gpac-0.4.5-r3 with dev-lang/spidermonkey-1.9.2.13 installed
2.
3.

Actual Results:  
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -ljs

Expected Results:  
Links fine.

Mozilla XUL/GECKO support: no

** Extra Libraries used **
SpiderMonkey: system


Gpac have probably to look for (/usr/lib64/)libmozjs.so from spidermonkey package instead of libjs.so. It probably needs the spidermonkey package version detection (libjs -> libmozjs).

Thank you.

emerge --info:

Portage 2.1.9.26 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.2, glibc-2.12.1-r3, 2.6.36-gentoo-r5-1d x86_64)
=================================================================
System uname: Linux-2.6.36-gentoo-r5-1d-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9550_@_2.83GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 30 Dec 2010 13:00:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1, 3.1.3
dev-util/cmake:      2.8.3-r1
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.8
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /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"
CXXFLAGS="-O2 -pipe -march=core2"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe -march=core2"
GENTOO_MIRRORS="ftp://ftp.fi.muni.cz/pub/linux/gentoo/ ftp://gentoo.mirror.web4u.cz/"
LANG="cs_CZ.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="cs en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="echo"
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="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo caps cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gdu gif gmp gpm gtk iconv idn ithreads java jpeg jpeg2k kde lcms ldap libnotify lzma mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly objc objc++ objc-gc odbc ogg openexr opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support qt4 readline samba sdl session slang speex spell sqlite sse sse2 ssl ssse3 svg sysfs tcl tcpd threads tiff tk truetype udev unicode usb vorbis wavpack x264 xattr xcb xinerama xml xorg xulrunner xv xvid xvmc zlib" 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" 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" APACHE2_MODULES="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" 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 keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs en" LIRC_DEVICES="inputlirc pctv hauppauge hauppauge_dvb devinput" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa" 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_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Fabio Coatti 2010-12-30 16:13:39 UTC
Confirmed here, same behaviour.
Portage 2.2.0_alpha10 (default/linux/amd64/10.0, gcc-4.4.5, glibc-2.12.1-r3, 2.6.36.2 x86_64)
=================================================================
System uname: Linux-2.6.36.2-x86_64-Intel-R-_Core-TM-_i5_CPU_M_520_@_2.40GHz-with-gentoo-2.0.1
Comment 2 Jory A. Pratt gentoo-dev 2011-01-01 20:38:09 UTC
Attach a full build log please.
Comment 3 Jory A. Pratt gentoo-dev 2011-01-01 20:42:08 UTC
Created attachment 258590 [details, diff]
gpac-0.4.5 spidermonkey update

This should resolve the issue feel free to report your findings.
Comment 4 Robert Malek 2011-01-02 20:32:15 UTC
gpac-0.4.5 spidermonkey patch works fine for me. 


Comment 5 David Kredba 2011-01-04 21:04:38 UTC
Created attachment 258850 [details]
Build.log

Requested build.log.

Your patch works for me. Thank you.
Comment 6 Alessandro Surace 2011-01-10 13:48:58 UTC
It works for me.
Should be updated the official ebuild.
Comment 7 Jory A. Pratt gentoo-dev 2011-01-10 16:23:02 UTC
-r4 is in tree for ~arch users.
Comment 8 Jory A. Pratt gentoo-dev 2011-01-10 16:23:25 UTC
Err should have closed.
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2011-03-31 19:22:04 UTC
*** Bug 361023 has been marked as a duplicate of this bug. ***
Comment 10 Lars 2011-05-05 19:14:25 UTC
the same happend to me with gpac-0.4.5-r1 , i.e. it does not compile. however, -r4 does.