Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 333567 - [mozilla-overlay] net-libs/libproxy-0.4.2: cannot find -lmozjs with =net-libs/xulrunner-2*
Summary: [mozilla-overlay] net-libs/libproxy-0.4.2: cannot find -lmozjs with =net-libs...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-20 06:24 UTC by fkhp
Modified: 2011-02-10 13:44 UTC (History)
2 users (show)

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


Attachments
paludis build log (1282305583-install-net-libs_libproxy-0.4.2:0::gentoo.out,12.09 KB, text/plain)
2010-08-20 12:01 UTC, fkhp
Details
net-libs/libproxy-0.4.6-r1 (net-libs/libproxy-0.4.6-r1,12.44 KB, text/plain)
2011-02-10 13:41 UTC, marg1
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fkhp 2010-08-20 06:24:19 UTC
[ 85%] Building CXX object libproxy/CMakeFiles/libproxy.dir/modules/wpad_dns_alias.cpp.o
Linking CXX shared library libproxy.so
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lmozjs
collect2: ld return 1
make[2]: *** [libproxy/libproxy.so.1.0.0] ERROR 1
make[1]: *** [libproxy/CMakeFiles/libproxy.dir/all] ERROR 2
make: *** [all] ERROR 2
 * ERROR: net-libs/libproxy-0.4.2 failed:
 *   Make failed!


Reproducible: Always




# emerge --info  libproxy
Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.5.0, glibc-2.12.1-r1, 2.6.35-ccs-r2 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.35-ccs-r2-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 20 Aug 2010 04:00:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.2
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r1, 4.5.0
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=core2 -march=core2 -O2 -msse4.1 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/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="-mtune=core2 -march=core2 -O2 -msse4.1 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests collision-protect distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.netnitco.net/ "
LANG="zh_CN.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="zh_CN en_US zh en"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /var/lib/layman/x11 /var/lib/layman/vmware /var/lib/layman/gentoo-china /var/lib/layman/gentoo-taiwan /var/lib/layman/sunrise /var/lib/layman/gnome /var/lib/layman/mozilla /var/lib/layman/init6"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility acl acpi alsa amd64 ao apache2 avahi bash-completion berkdb branding bzip2 cairo caps cdr cjk cli consolekit cracklib crypt cups cxx dbus dga djvu doc dri dts dvd dvdr eds emboss encode evo examples exif fam ffmpeg firefox flac fortran gdbm gdu gif gimp gnome gnome-keyring gphoto2 gpm gstreamer gtk guile i18n iconv icu introspection ipv6 jadetex java jpeg jpeg2k latex lcms ldap libnotify mad midi mikmod mmap mmx mng modules mp3 mp4 mpeg mudflap multilib mysql nas nautilus ncurses networkmanager nfs nls nntp nptl nptlonly nsplugin nvidia ogg opengl openmp pam pango pch pcre pda pdf perl php png policykit ppds pppd pulseaudio python qt3support qt4 readline reflection samba scsi sdl session smp snmp spell spl sqlite sse sse2 sse3 ssl ssse3 startup-notification suid svg sysfs tcpd threads tiff tk truetype unicode usb v4l2 vim-syntax vorbis x264 xattr xcb xml xmp xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="ens1370 hda-intel" 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" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="zh_CN en_US zh en" QEMU_SOFTMMU_TARGETS="x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vmwgfx vmwlegacy nouveau nvidia nv vmware vesa svga" XTABLES_ADDONS="cui gfw zhang ipset" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

net-libs/libproxy-0.4.2 was built with the following:
USE="gnome networkmanager perl python webkit xulrunner -debug -kde -vala" ALSA_CARDS="ens1370 hda-intel" 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" INPUT_DEVICES="evdev synaptics" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US zh zh_CN" QEMU_SOFTMMU_TARGETS="x86_64" RUBY_TARGETS="ruby18" VIDEO_CARDS="nouveau nv nvidia (svga) vesa vmware vmwgfx vmwlegacy" XTABLES_ADDONS="account chaos condition delude dhcpmac fuzzy geoip iface ipmark ipp2p ipset ipv4options length2 logmark lscan pknock psd quota2 rawnat steal sysrq tarpit tee" 
CFLAGS="-mtune=core2 -march=core2 -O2 -msse4.1 -pipe -ftracer"
CXXFLAGS="-mtune=core2 -march=core2 -O2 -msse4.1 -pipe -ftracer"
LDFLAGS="-Wl,-O1"
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-08-20 10:34:37 UTC
Need full build.log attached and output of (qlist is part of portage-utils):

# qlist -CIv xulrunner
Comment 2 fkhp 2010-08-20 12:01:52 UTC
Created attachment 243685 [details]
paludis build log

# qlist -CIv xulrunner
net-libs/xulrunner-2.0_beta5_pre
Comment 3 Cyprien Nicolas (fulax) 2010-08-20 13:15:00 UTC
That won't be fixed, xulrunner-2.0 is still p.mask'd.

If you don't need xulrunner support for libproxy, I suggest that you remove the xulrunner USE for libproxy in p.use
Comment 4 Jory A. Pratt gentoo-dev 2010-08-20 13:23:01 UTC
You are playing with experimental packages that you where required to unmask in order to use. You are on your own. There will be no mozjs to link to just so you are aware.
Comment 5 fkhp 2010-08-20 14:01:07 UTC
(In reply to comment #4)
> You are playing with experimental packages that you where required to unmask in
> order to use. You are on your own. There will be no mozjs to link to just so
> you are aware.
> 

thank you very much
Comment 6 Jory A. Pratt gentoo-dev 2010-08-23 19:29:51 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > You are playing with experimental packages that you where required to unmask in
> > order to use. You are on your own. There will be no mozjs to link to just so
> > you are aware.
> > 
> 
> thank you very much
> 

I have updated the ebuild for xulrunner to include temp. support for mozjs as a shared library. If you want to test and report your finding would be great.
Comment 7 fkhp 2010-08-24 00:50:09 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > (In reply to comment #4)
> > > You are playing with experimental packages that you where required to unmask in
> > > order to use. You are on your own. There will be no mozjs to link to just so
> > > you are aware.
> > > 
> > 
> > thank you very much
> > 
> 
> I have updated the ebuild for xulrunner to include temp. support for mozjs as a
> shared library. If you want to test and report your finding would be great.
> 
emake failed

make[4]: Entering directory `/var/tmp/paludis/net-libs-xulrunner-2.0_beta5_pre-r1/work/mozilla-central/modules/libpr0n/build'
{ \
	 echo "#define IMG_BUILD_ENCODER_png" ;   echo "#define IMG_BUILD_ENCODER_jpeg" ; } > nsImgBumgBuildDefines.tmp
Creating /var/tmp/paludis/net-libs-xulrunner-2.0_beta5_pre-r1/work/mozilla-central/modules/libpr0n/build/.deps
make[4]: Leaving directory `/var/tmp/paludis/net-libs-xulrunner-2.0_beta5_pre-r1/work/mozilla-central/modules/libpr0n/build'
make[3]: Leaving directory `/var/tmp/paludis/net-libs-xulrunner-2.0_beta5_pre-r1/work/mozilla-central/modules/libpr0n'
make[2]: Leaving directory `/var/tmp/paludis/net-libs-xulrunner-2.0_beta5_pre-r1/work/mozilla-central'
make[1]: Leaving directory `/var/tmp/paludis/net-libs-xulrunner-2.0_beta5_pre-r1/work/mozilla-central'
mv: cannot stat `nsImgBuildDefines.tmp': No such file or directory
make[4]: *** [export] Error 1
make[3]: *** [export] Error 2
make[2]: *** [export_tier_platform] Error 2
make[1]: *** [tier_platform] Error 2
make: *** [default] Error 2
/usr/libexec/paludis/utils/emake: emake returned error 2

!!! ERROR in net-libs/xulrunner-2.0_beta5_pre-r1::mozilla:
!!! In default_src_compile at line 27
!!! emake failed
Comment 8 Jory A. Pratt gentoo-dev 2010-08-24 01:18:16 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > (In reply to comment #5)
> > > (In reply to comment #4)
> > > > You are playing with experimental packages that you where required to unmask in
> > > > order to use. You are on your own. There will be no mozjs to link to just so
> > > > you are aware.
> > > > 
> > > 
> > > thank you very much
> > > 
> > 
> > I have updated the ebuild for xulrunner to include temp. support for mozjs as a
> > shared library. If you want to test and report your finding would be great.
> > 
> emake failed
> 
> make[4]: Entering directory
> `/var/tmp/paludis/net-libs-xulrunner-2.0_beta5_pre-r1/work/mozilla-central/modules/libpr0n/build'
> { \
>          echo "#define IMG_BUILD_ENCODER_png" ;   echo "#define
> IMG_BUILD_ENCODER_jpeg" ; } > nsImgBumgBuildDefines.tmp
> Creating
> /var/tmp/paludis/net-libs-xulrunner-2.0_beta5_pre-r1/work/mozilla-central/modules/libpr0n/build/.deps
> make[4]: Leaving directory
> `/var/tmp/paludis/net-libs-xulrunner-2.0_beta5_pre-r1/work/mozilla-central/modules/libpr0n/build'
> make[3]: Leaving directory
> `/var/tmp/paludis/net-libs-xulrunner-2.0_beta5_pre-r1/work/mozilla-central/modules/libpr0n'
> make[2]: Leaving directory
> `/var/tmp/paludis/net-libs-xulrunner-2.0_beta5_pre-r1/work/mozilla-central'
> make[1]: Leaving directory
> `/var/tmp/paludis/net-libs-xulrunner-2.0_beta5_pre-r1/work/mozilla-central'
> mv: cannot stat `nsImgBuildDefines.tmp': No such file or directory
> make[4]: *** [export] Error 1
> make[3]: *** [export] Error 2
> make[2]: *** [export_tier_platform] Error 2
> make[1]: *** [tier_platform] Error 2
> make: *** [default] Error 2
> /usr/libexec/paludis/utils/emake: emake returned error 2
> 
> !!! ERROR in net-libs/xulrunner-2.0_beta5_pre-r1::mozilla:
> !!! In default_src_compile at line 27
> !!! emake failed
> 

try to duplicate it with normal emerge -u xulrunner, paludis is most likely the reason for your failure.
Comment 9 Jory A. Pratt gentoo-dev 2010-08-24 01:51:11 UTC
(In reply to comment #8)
> 
> try to duplicate it with normal emerge -u xulrunner, paludis is most likely the
> reason for your failure.
> 

Ignore my last, I was just bitten with same issue on wife's laptop.
Comment 10 fkhp 2010-08-30 04:11:00 UTC
libproxy installed ok with USE xulrunner after xulrunner-2.0_beta5_pre-r2 installed.

http://bugs.gentoo.org/show_bug.cgi?id=335167
Comment 11 Jory A. Pratt gentoo-dev 2010-09-16 18:35:06 UTC
resolved by mozilla change for now.
Comment 12 marg1 2011-02-10 13:41:19 UTC
Created attachment 262051 [details]
net-libs/libproxy-0.4.6-r1

USE="-xulrunner" can temporary solve this problem with  xulrunner  2.0_beta10_pre-r1 and compile libproxy.
Comment 13 marg1 2011-02-10 13:44:08 UTC
Comment on attachment 262051 [details]
net-libs/libproxy-0.4.6-r1

USE="-xulrunner" can temporary solve this problem with  xulrunner  2.0_beta10_pre-r1 and compile libproxy