Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 320437 - net-libs/libproxy-0.4.1 fails w/ cannot find -lmozjs
Summary: net-libs/libproxy-0.4.1 fails w/ cannot find -lmozjs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-18 17:59 UTC by Justin Lecher (RETIRED)
Modified: 2010-05-21 14:35 UTC (History)
19 users (show)

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


Attachments
/var/tmp/portage/net-libs/libproxy-0.4.1/temp/build.log (build.log,11.66 KB, text/plain)
2010-05-18 17:59 UTC, Justin Lecher (RETIRED)
Details
LIBRARIES to LDFLAGS fix (mozjs.patch,657 bytes, patch)
2010-05-21 11:55 UTC, Andrew John Hughes
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Lecher (RETIRED) gentoo-dev 2010-05-18 17:59:12 UTC
[100%] Building C object bindings/perl/src/CMakeFiles/PLlibproxy.dir/Libproxy.c.o
Libproxy.c: In function ‘void boot_Net__Libproxy(CV*)’:
Libproxy.c:189: warning: deprecated conversion from string constant to ‘char*’
Libproxy.c:198: warning: deprecated conversion from string constant to ‘char*’
Libproxy.c:199: warning: deprecated conversion from string constant to ‘char*’
Libproxy.c:200: warning: deprecated conversion from string constant to ‘char*’
Linking C shared library ../../../perl/blib/arch/auto/Net/Libproxy.so
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lmozjs
collect2: ld returned 1 exit status
make[2]: *** [perl/blib/arch/auto/Net/Libproxy.so] Error 1
make[1]: *** [bindings/perl/src/CMakeFiles/PLlibproxy.dir/all] Error 2
make: *** [all] Error 2
 * ERROR: net-libs/libproxy-0.4.1 failed:
 *   Make failed!
 * 
 * Call stack:
 *     ebuild.sh, line   48:  Called src_compile
 *   environment, line 5062:  Called cmake-utils_src_compile
 *   environment, line 1336:  Called _execute_optionaly 'src_compile'
 *   environment, line  489:  Called enable_cmake-utils_src_compile
 *   environment, line 1695:  Called cmake-utils_src_make



$ einfo
Portage 2.2_rc67 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.11.1-r0, 2.6.33-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.33-gentoo-r2-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 18 May 2010 17:30:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.5.4-r4, 2.6.5-r2, 3.1.2-r3
dev-python/pycrypto: 2.1.0_beta1
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.6.3-r1, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ABI="amd64"
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
ACCEPT_PROPERTIES="*"
ALSA_CARDS="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"
ANT_HOME="/usr/share/ant"
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 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"
ARCH="amd64"
ARIA2="//usr/lib64/python2.6/site-packages/aria"
ASFLAGS_x86="--32"
AUTOCLEAN="yes"
BINSORT_SCR="/tmp/justin"
BINTYPE="linux9"
BLASTDB="/usr/share/ncbi/formatdb"
BLASTMAT="/usr/share/ncbi/data"
CBIN="/usr/bin"
CBUILD="x86_64-pc-linux-gnu"
CCACHE_DIR="/home/ccache64"
CCACHE_SIZE="3G"
CDEFINE_amd64="__x86_64__"
CDEFINE_x86="__i386__"
CDOC="/usr/doc"
CETC="/usr/etc"
CEXAM="/usr/examples"
CFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer -mssse3 -mcx16 -mmmx -frecord-gcc-switches -g"
CFLAGS_x86="-m32"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x86="i686-pc-linux-gnu"
CHTML="/usr/html"
CINCL="/usr/share/ccp4/include"
CLASSPATH="/usr/bin:/usr/bin:"
CLEAN_DELAY="5"
CLIB="/usr/lib64"
CLIBD="/usr/share/ccp4/data"
CLIBD_MON="/usr/share/ccp4/data/monomers/"
CLIBS="/usr/lib/src"
COLLISION_IGNORE="/lib/modules"
COLORFGBG="7;0"
COLORTERM="rxvt"
COLUMNS="279"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/hddtemp/ /usr/share/nano /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/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
COOT_REFMAC_LIB_DIR="/usr/share/ccp4/"
COOT_REF_STRUCTS="/usr/share/coot/reference-structures/"
CPROG="/usr/src"
CRANK="/usr/ccp4i/crank"
CVS_RSH="ssh"
CXXFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer -mssse3 -mcx16 -mmmx -frecord-gcc-switches -g"
DBCCP4I_TOP="/usr/share/ccp4/dbccp4i"
DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-2wERp5M541,guid=0ca76cb1a45159b233b27d690000013a"
DCCC_PATH="/usr/lib64/distcc/bin"
DEFAULT_ABI="amd64"
DESKTOP_SESSION="gnome"
DESKTOP_STARTUP_ID="quick-lounge-applet-7255-whitebox-urxvt-0_TIME457665"
DISPLAY=":0.0"
DISTCC_LOG=""
DISTCC_VERBOSE=""
DISTDIR="/usr/portage/distfiles"
DYLD_LIBRARY_PATH="/usr/lib64:/usr/lib64:"
EBUILD_DEFAULT_OPTS="--skip-manifest"
EBZR_STORE_DIR="/data/bzr-src/"
ECHANGELOG_USER="Justin Lecher <jlec@gentoo.org>"
EDITOR="/bin/nano"
EGIT_STORE_DIR="/data/git-src/"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--verbose --jobs=7 --load-average=8 --keep-going -t"
EMERGE_WARNING_DELAY="10"
EPREFIX=""
EROOT="/"
ESVN_STORE_DIR="/data/svn-src/"
FCFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer -mssse3 -mcx16 -mmmx -frecord-gcc-switches -g"
FEATURES="assume-digests buildsyspkg ccache collision-protect distlocks fixpackages multilib-strict news noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms sign splitdebug strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FETCHCOMMAND="/usr/bin/axel -a -o ${DISTDIR}/${FILE} ${URI}"
FFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer -mssse3 -mcx16 -mmmx -frecord-gcc-switches -g"
GCC_SPECS=""
GDK_USE_XFT="1"
GDMSESSION="gnome"
GDM_LANG="en_GB.UTF-8"
GDM_XSERVER_LOCATION="local"
GENTOO_MIRRORS="http://gentoo.j-schmitz.net/mirror/ 	ftp://ftp.gentoo.mesh-solutions.com/gentoo/ 	ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ 	ftp://de-mirror.org/distro/gentoo/ 	ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/"
GFORTRAN_UNBUFFERED_ALL="Y"
GNOME_DESKTOP_SESSION_ID="this-is-deprecated"
GNOME_KEYRING_PID="7016"
GNOME_KEYRING_SOCKET="/tmp/keyring-9Dizyp/socket"
GPG_AGENT_INFO="/tmp/seahorse-1XtuLB/S.gpg-agent:7173:1"
GTK_RC_FILES="/etc/gtk/gtkrc:/home/justin/.gtkrc-1.2-gnome2"
GUILE_LOAD_PATH="/usr/share/guile/1.8"
HARVESTHOME="/home/justin"
HISTCONTROL="ignoredups"
HISTFILESIZE="2000"
HISTIGNORE="fg:bg"
HISTSIZE="2000"
HOME="/home/justin"
IMOSFLM_VERSION="1.0.4"
INFOPATH="/usr/share/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.20.1/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.3/info"
INPUT_DEVICES="keyboard mouse evdev"
I_KNOW_WHAT_I_AM_DOING="yes"
JAVAC="/home/justin/.gentoo/java-config-2/current-user-vm/bin/javac"
JAVACC_HOME="/usr/share/javacc/"
JAVA_HOME="/home/justin/.gentoo/java-config-2/current-user-vm"
JDK_HOME="/home/justin/.gentoo/java-config-2/current-user-vm"
KERNEL="linux"
LANG="en_GB.UTF-8"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LC_CTYPE="en_GB.UTF-8"
LDFLAGS="-Wl,-O1,--hash-style=gnu,--sort-common"
LDFLAGS_x86="-m elf_i386"
LD_AS_NEEDED="1"
LD_LIBRARY_PATH="/usr/lib64:/usr/lib64/ncbi-tools++"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LIBDIR_amd64="lib64"
LIBDIR_amd64_fbsd="lib64"
LIBDIR_ppc="lib32"
LIBDIR_ppc64="lib64"
LIBDIR_sparc32="lib32"
LIBDIR_sparc64="lib64"
LIBDIR_x86="lib32"
LIBDIR_x86_fbsd="lib32"
LINES="79"
LINGUAS="en"
LOGNAME="justin"
LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:"
MAKEOPTS="-j12 -l8"
MANPATH="/home/justin/.gentoo/java-config-2/current-user-vm/man:/usr/man:/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.20.1/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.3/man:/etc/java-config/system-vm/man/:/opt/nmrpipe/man"
MARSHOME="/opt/mars"
MMCIFDIC="/usr/lib64/cif_mmdic.lib"
MOLREPLIB="/usr/share/ccp4/data/monomers/"
MOSFLM_EXEC="/usr/bin/ipmosflm"
MOSFLM_WISH="/usr/bin/wish"
MP_SET_NUMTHREADS="1"
MULTILIB_ABIS="amd64 x86"
MULTILIB_STRICT_DENY="64-bit.*shared object"
MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib"
MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage)"
NCBI="/etc/ncbi"
NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml"
NMRBASE="/opt/nmrpipe"
NMRTXT="/opt/nmrpipe/nmrtxt"
NOCOLOR="true"
OMP_NUM_THREADS="4"
OPENGL_PROFILE="nvidia"
ORBIT_SOCKETDIR="/tmp/orbit-justin"
PAGER="/usr/bin/less"
PISA_CONF_FILE="/usr/share/pisa/pisa.cfg"
PKGDIR="/usr/portage/packages"
PLOT_COMMAND="lp -s"
PORTAGE_ARCHLIST="ppc x86-openbsd ppc-openbsd ppc64 x86-winnt x86-fbsd ppc-aix alpha arm x86-freebsd s390 amd64 arm-linux x86-macos x64-openbsd ia64-hpux hppa x86-netbsd amd64-linux ia64-linux x86 sparc-solaris x64-freebsd sparc64-solaris x86-linux x64-macos sparc m68k-mint ia64 mips ppc-macos x86-interix hppa-hpux amd64-fbsd x64-solaris mips-irix m68k sh x86-solaris sparc-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib64/portage/bin"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="info warn error log qa *"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save echo"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_GPG_DIR="~/.gnupg/"
PORTAGE_GPG_KEY="70EB7916"
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_PYM_PATH="/usr/lib64/portage/pym"
PORTAGE_REPO_DUPLICATE_WARN="0"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_RSYNC_RETRIES="3"
PORTAGE_SYNC_STALE="30"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/data/layman/sunrise /data/layman/science /data/local/allenjb /data/local/portage-overlay"
PRELINK_PATH_MASK="/lib/modules:/usr/lib/locale:/usr/lib/wine:/usr/lib/valgrind:*.la:*.png:*.py:*.pl:*.pm:*.sh:*.xml:*.xslt:*.a:*.js:/usr/lib64/klibc"
PRINT_COMMAND="lp -s"
PROFILE_ONLY_VARIABLES="ARCH ELIBC KERNEL USERLAND"
PUBLIC_FONT84="/usr/lib64/font84.dat"
PWD="/data/scripts"
PYMOL_DATA="/usr/share/pymol/data"
PYMOL_PATH="//usr/lib64/python2.6/site-packages/pymol"
PYMOL_SCRIPTS="/usr/share/pymol/scripts"
PYTHONDONTWRITEBYTECODE="1"
PYTHONPATH="/usr/share/ccp4/smartie:/usr/lib64/ccp4/ccp4i/python:/usr/share/ccp4/smartie:/usr/lib64/ccp4/ccp4i/python:"
QEMU_SOFTMMU_TARGETS="i386 x86_64"
QEMU_USER_TARGETS="i386 x86_64"
QUICKPKG_DEFAULT_OPTS="--umask=0011 --include-config=y"
RASMOLPATH="/usr/x-windows/RasMol"
RESUMECOMMAND="/usr/bin/axel -a -o ${DISTDIR}/${FILE} ${URI}"
ROOT="/"
ROOTPATH="/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.3:/data/scripts/"
RPMDIR="/usr/portage/rpm"
RUBY_TARGETS="ruby18"
R_HOME="/usr/lib64/R"
SESSION_MANAGER="local/whitebox:@/tmp/.ICE-unix/7163,unix/whitebox:/tmp/.ICE-unix/7163"
SHELL="/bin/bash"
SHLVL="3"
SOLVEDIR="//opt/solve-resolve/lib/"
SSH_AGENT_PID="7174"
SSH_AUTH_SOCK="/tmp/keyring-9Dizyp/socket.ssh"
STAGE1_USE="multilib nptl nptlonly unicode"
SURF_DIR="/opt/nmrpipe/dynamo/surface"
SYMINFO="/usr/share/ccp4/data/syminfo.lib"
SYMLINK_LIB="yes"
SYMOP="/usr/share/ccp4/data/symop.lib"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
TCLPATH="/opt/nmrpipe/com"
TERM="rxvt-unicode"
USE="7zip X acl acpi additions alsa amd64 apbs automount bash-completion berkdb blas branding bzip2 cairo cblas cleartype cli cracklib cups custom-optimization cxx dbus deprecated discouraged double-precision dri dts dvdr emboss fastcgi fbcon fbcondecor fbsplash fftw fortran gd gdbm gecko gif glibc-omitfp gmp gnome gnome-keyring gpm grub gtk hal hddtemp icc iconv ifc imlib java javascript jpeg lapack largefile ldap libsexy libv4l2 lm_sensors md5sum mmap mmx mmxext modules mp3 mudflap multicall multilib multiprocess multiuser nano-syntax ncurses network-cron networking nls nptl nptlonly nsplugin numpy nvidia opengl openmp openssl optimize-cflags pam pcre perl png pppd pymol python qt-static qt3support readline reflection rrdcgi rtsp sdl sensord session smp spl sse sse2 ssl ssse3 startup-notification svg svgz swat sysfs system-sqlite tcpd tiff truetype type1 unicode v4l v4l2 vorbis x264 xcb xcomposite xinerama xorg xulrunner zlib" ALSA_CARDS="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 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia v4l" 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" 
USER="justin"
USERLAND="GNU"
USERNAME="justin"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CAMERAS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS NETBEANS_MODULES NGINX_MODULES_HTTP NGINX_MODULES_MAIL QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS RUBY_TARGETS SANE_BACKENDS USERLAND VIDEO_CARDS XTABLES_ADDONS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d"
USE_PYTHON="2.5 2.6 3.1"
VBOX_APP_HOME="/opt/VirtualBox"
VIDEO_CARDS="nvidia v4l"
WINDOWID="44040252"
WINDOWPATH="7"
XAUTHORITY="/home/justin/.Xauthority"
XCURSORS_THEME="Jimmac"
XDG_CONFIG_DIRS="/etc/xdg"
XDG_DATA_DIRS="/usr/local/share:/usr/share:/usr/share/gdm"
XDG_MENU_PREFIX="gnome-"
XDG_SESSION_COOKIE="f61380aebc7a1c37956b884349a40094-1274203742.512237-1596073107"
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"
_="/usr/bin/emerge"
_POSIX2_VERSION="199209"
bash4="4.0.37(2)-release"
oasisbin="/usr/lib64/oasis"
warpbin="/opt/arp-warp-bin/bin/bin-x86_64-Linux"
warpdoc="/usr/share/doc/arp-warp-bin-7.1/html/"
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2010-05-18 17:59:39 UTC
Created attachment 232017 [details]
/var/tmp/portage/net-libs/libproxy-0.4.1/temp/build.log

build.log
Comment 2 blackdream 2010-05-18 18:07:06 UTC
same error here.

This is my build.log

http://paste.pocoo.org/show/215369/


emerge --info =net-libs/libproxy-0.4.1 :

http://paste.pocoo.org/show/215371/
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2010-05-18 18:08:31 UTC
Please add(In reply to comment #2)
> same error here.
> 
> This is my build.log
> 
> http://paste.pocoo.org/show/215369/
> 
> 
> emerge --info =net-libs/libproxy-0.4.1 :
> 
> http://paste.pocoo.org/show/215371/
> 

Don't use pastbin please. Attach everything here as attachment.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2010-05-18 18:14:07 UTC
Here is a workaround,

LDFLAGS="`pkg-config --libs mozilla-js`" emerge -av libproxy

Or

USE="-xulrunner" emerge -av libproxy
Comment 5 Robert Cabrera 2010-05-18 21:33:56 UTC
I too have the exact same error. My arch= ~x86

Tried Samuli Suominen's work around from post #4 (LDFLAGS="`pkg-config --libs mozilla-js`" emerge -av libproxy) which worked like a charm.

So obviously the maintainers need to develop a more permanent fix than this.

Thanks Samuli for your help!
Comment 6 Matthias Fulz 2010-05-19 05:28:49 UTC
(In reply to comment #4)

Had the same error

> Here is a workaround,
> 
> LDFLAGS="`pkg-config --libs mozilla-js`" emerge -av libproxy
> 

This is working perfect - THX
> Or
> 
> USE="-xulrunner" emerge -av libproxy
> 

Comment 7 Andreas Proteus 2010-05-19 10:03:41 UTC
(In reply to comment #4)

> LDFLAGS="`pkg-config --libs mozilla-js`" emerge -av libproxy
This dint work for me:

ERROR: compile /var/tmp/portage/net-libs/libproxy-0.4.1/work/libproxy-0.4.1/libproxy/modules/pacrunner_mozjs.cpp on localhost failed
make[2]: *** [libproxy/CMakeFiles/libproxy.dir/modules/pacrunner_mozjs.o] Error 1
 
> USE="-xulrunner" emerge -av libproxy
This worked  but it breaks dev-libs/libgweather-2.30.0 and gnome-base/gnome-panel-2.28.0 which depend on it and will not compile.

arch= ~x86 here.


Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2010-05-19 10:06:41 UTC
(In reply to comment #7)
> (In reply to comment #4)
> 
> > LDFLAGS="`pkg-config --libs mozilla-js`" emerge -av libproxy
> This dint work for me:
> 
> ERROR: compile
> /var/tmp/portage/net-libs/libproxy-0.4.1/work/libproxy-0.4.1/libproxy/modules/pacrunner_mozjs.cpp
> on localhost failed
> make[2]: *** [libproxy/CMakeFiles/libproxy.dir/modules/pacrunner_mozjs.o] Error
> 1

It's only a workaround... and it's not even supposed to work with something like distcc or cross-compiling.
Comment 9 Andreas Proteus 2010-05-19 10:23:05 UTC
(In reply to comment #7)


> This worked  but it breaks dev-libs/libgweather-2.30.0 and
> gnome-base/gnome-panel-2.28.0 which depend on it and will not compile.
> 
Issuing emerge @preserve-rebuild a second time made this go away.
Comment 10 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-05-19 11:52:45 UTC
(In reply to comment #9)
> (In reply to comment #7)
> > This worked  but it breaks dev-libs/libgweather-2.30.0 and
> > gnome-base/gnome-panel-2.28.0 which depend on it and will not compile.
> > 
> Issuing emerge @preserve-rebuild a second time made this go away.

This is bug #320511
Comment 11 Roby 2010-05-19 13:43:07 UTC
It seems that libproxy is confused if you have multiple version of xulrunner when compiled with xulrunner USE flag on. Get rid of xulrunner 1.8.x and (if necessary) reinstall xulrunner 1.9.x. Libproxy 0.4.1 will compile correctly.
Comment 12 Robert Cabrera 2010-05-19 21:10:27 UTC
(In reply to comment #11)
> It seems that libproxy is confused if you have multiple version of xulrunner
> when compiled with xulrunner USE flag on. Get rid of xulrunner 1.8.x and (if
> necessary) reinstall xulrunner 1.9.x. Libproxy 0.4.1 will compile correctly.
> 

I only have one version of xulrunner, version-1.9.2.3-r1, I haven't had version-1.8.x installed for over a year. So it's impossible that this is the issue.

As I mentioned in my previous post, I was finally able to compile after using the hack provided by Samuli Suominen in post #4.

After installing there were preserved-libs so I had to emerge @preserved-libs to rebuild 3 or 4 packages, revdep-rebuild afterwards said linking was OK with nothing else to rebuild.
Comment 13 Alexandre Hannud Abdo 2010-05-20 03:56:50 UTC
Ni!

Same problem here with only a single version of xulrunner installed.

LDFLAGS workaround worked around well.

[]'s
~~
Comment 14 Andrew John Hughes 2010-05-20 08:53:40 UTC
Same failure here with just xulrunner 1.9.2.3-r1.  configure detects libmozjs correctly but it isn't correctly on the library path during build.
Comment 15 Nick Pawlowski 2010-05-21 07:19:59 UTC
I got the same problem with only xulrunner 1.9.2.3-r1. USE="-xulrunner" and LDFLAGS="`pkg-config --libs mozilla-js`" works but it breaks libgweather - it isnt able to compile. So emerge @preserved-rebuild and revdep-rebuild doenst work.
Comment 16 Tom-Steve Watzke 2010-05-21 07:54:05 UTC
Confirming bug (same error).
Workaround: create link to current xulrunner in /usr/lib

ln -svnf /usr/lib/xulrunner-1.9.2/libmozjs.so /usr/lib/libmozjs.so

By the way, when "ld" is asked for a flag (e.g. "-lmozjs") it first searches in /usr/lib ... for e.g. libmozjs.so or libmozjs.la.
Comment 17 Andrew John Hughes 2010-05-21 10:56:33 UTC
The LDFLAGS workaround seems to prevent the creation of the .la file which breaks rebuilds of e.g. epiphany. I'll try symlinking mozjs but I think this needs a proper fix as this build is clearly broken at present.
Comment 18 Andrew John Hughes 2010-05-21 10:58:57 UTC
Works with the symlink but again no .la file is being installed.

  CCLD   epiphany
libtool: link: cannot find the library `/usr/lib64/libproxy.la' or unhandled argument `/usr/lib64/libproxy.la'
make[4]: *** [epiphany] Error 1
Comment 19 Samuli Suominen (RETIRED) gentoo-dev 2010-05-21 11:12:23 UTC
(In reply to comment #17)
> The LDFLAGS workaround seems to prevent the creation of the .la file which
> breaks rebuilds of e.g. epiphany. I'll try symlinking mozjs but I think this
> needs a proper fix as this build is clearly broken at present.
> 

The libproxy.la (= libtool archive) is not supposed to get installed, 0.4.1 is using now cmake instead of autotools+libtool.  And futhermore, you don't need 
the file. See bug 320643 for instructions howto repair your system.
Comment 20 Andrew John Hughes 2010-05-21 11:31:22 UTC
As that bug notes, this should be einfoed in the post_inst of the new libproxy.

Comment 21 Andrew John Hughes 2010-05-21 11:55:52 UTC
Created attachment 232341 [details, diff]
LIBRARIES to LDFLAGS fix

Patch to fix the issue.  Use LDFLAGS rather than libraries so -L path flags are included.
Comment 22 Andrew John Hughes 2010-05-21 11:57:19 UTC
The patch I just attached fixes the issue.  MOZJS_LDFLAGS includes the paths to the xulrunner directories:

../libproxy-0.4.1_build/CMakeCache.txt:MOZJS_LDFLAGS:INTERNAL=-Wl,-R/usr/lib64;-L/usr/lib64/xulrunner-devel-1.9.2/lib;-lmozjs;-lplds4;-lplc4;-lnspr4;-lpthread

MOZJS_LIBRARIES just includes the libraries

../libproxy-0.4.1_build/CMakeCache.txt:MOZJS_LIBRARIES:INTERNAL=mozjs;plds4;plc4;nspr4;pthread
Comment 23 David Abbott (RETIRED) gentoo-dev 2010-05-21 13:08:11 UTC
0.4.2 is out seems to install and work fine;
http://code.google.com/p/libproxy/updates/list
Comment 24 Olivier Crete (RETIRED) gentoo-dev 2010-05-21 14:35:45 UTC
updated in the tree