Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86361 - Error compiling Mozilla 1.7.6
Summary: Error compiling Mozilla 1.7.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
: 86382 86573 86786 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-03-23 02:47 UTC by Emilio Pavia
Modified: 2005-03-26 11:36 UTC (History)
6 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Emilio Pavia 2005-03-23 02:47:20 UTC
I get an error upgrading mozilla to 1.7.6 with ldap support enabled.

Reproducible: Always
Steps to Reproduce:
1. emerge mozilla
Actual Results:  
======= making ./libldap50.so
ld -shared -Wl,-soname -Wl,libldap50.so    -o libldap50.so ./abandon.o ./add.o
./bind.o ./cache.o ./charray.o ./charset.o ./compare.o ./compat.o ./control.o
./countvalues.o ./delete.o ./disptmpl.o ./dsparse.o ./error.o ./extendop.o
./free.o ./freevalues.o ./friendly.o ./getattr.o ./getdn.o ./getdxbyname.o
./getentry.o ./getfilter.o ./getoption.o ./getvalues.o ./memcache.o ./message.o
./modify.o ./open.o ./os-ip.o ./proxyauthctrl.o ./psearch.o ./referral.o
./regex.o ./rename.o ./request.o ./reslist.o ./result.o ./saslbind.o ./sbind.o
./search.o ./setoption.o ./sort.o ./sortctrl.o ./srchpref.o ./tmplout.o ./ufn.o
./unbind.o ./unescape.o ./url.o ./utf8.o ./vlistctrl.o 
-L/var/tmp/portage/mozilla-1.7.6/work/mozilla/dist/lib -llber50
ld: unrecognized option '-Wl,-soname'
ld: use the --help option for usage information
gmake[5]: *** [libldap50.so] Error 1
gmake[5]: *** Waiting for unfinished jobs....
gmake[5]: Leaving directory
`/var/tmp/portage/mozilla-1.7.6/work/mozilla/directory/c-sdk/ldap/libraries/libldap'
gmake[4]: *** [export] Error 2
gmake[4]: Leaving directory
`/var/tmp/portage/mozilla-1.7.6/work/mozilla/directory/c-sdk/ldap/libraries'
gmake[3]: *** [export] Error 2
gmake[3]: Leaving directory
`/var/tmp/portage/mozilla-1.7.6/work/mozilla/directory/c-sdk/ldap'
gmake[2]: *** [export] Error 2
gmake[2]: Leaving directory
`/var/tmp/portage/mozilla-1.7.6/work/mozilla/directory/c-sdk'
gmake[1]: *** [ldap] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/mozilla-1.7.6/work/mozilla'
make: *** [default] Error 2

!!! ERROR: net-www/mozilla-1.7.6 failed.
!!! Function src_compile, Line 154, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.


Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20041102-r1,
2.6.11.4 i686)
=================================================================
System uname: 2.6.11.4 i686 AMD Athlon(tm) XP 3000+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  7 2005, 21:14:22)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.6.3, 1.9.4, 1.5
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/"LANG="it_IT@euro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X aac alsa avi berkdb bitmap-fonts cdr crypt cups curl dvd dvdr
emboss encode esd fam flac flash foomaticdb fortran gdbm gif gnome gpm gstreamer
gtk gtk2 imagemagick imlib ipv6 java jpeg ldap libg++ libwww mad mikmod mmx
motif mozilla mp3 mpeg mysql ncurses nls nptl oggvorbis opengl pam pdflib perl
png python quicktime readline real scanner sdl spell sse ssl svga tcpd tiff
truetype truetype-fonts type1-fonts unicode usb xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
Comment 1 lukenshiro 2005-03-23 03:06:45 UTC
I've the same error, with ldap USE enabled

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r4 i686)
=================================================================
System uname: 2.6.11-gentoo-r4 i686 AMD Athlon(TM) XP 2000+
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 21:19:17)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-tbird -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-tbird -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages sandbox sfperms"
GENTOO_MIRRORS="ftp://gentoo.blueyonder.co.uk/mirrors/gentoo http://gentoo.mirror.icd.hu/ http://mir.zyrianes.net/gentoo/ http://mirror.uni-c.dk/gentoo/"
LANG="it_IT@euro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 16bit 3dnow 3dnowext 3ds X X509 Xaw3d a52 aac aalib aavm accessibility accounting acpi activefilter aim alsa arts artworkextra async athena auctex audiofile avi bcmath beep beepmp berkdb bidi bitmap-fonts bonobo bzlib cairo calendar caps ccache cdparanoia cdr cdrom chroot clamav clisp codecs crypt css ctype cups curl curlwrappers dbx dga dillo dio disablexmb divx4linux dnd doc dts dv dvd dvdread emacs emacs-w3 emboss encode escreen esd ethereal examples exif extensions f2c faac faad fam fame fdftk festival ffmpeg fftw firebird flac flash flood font-server foomaticdb foreign-package fortran freetype ftp gb gcj gcl gd gdbm gif gimp gimpprint gkrellm glade glep glut gmp gnome gnomedb gnuplot gnustep gnutls gphoto2 gpm graphviz gs gsl gsnd gstreamer gtk gtk2 gtkhtml guile iconv icq ide image imagemagick imlib imlib2 ipv6 jabber java javacomm javadoc javascript jbig jikes jp2 jpeg jpeg2k junit justify kde kdeenablefinal kdexdeltas koffice-plugin latex lcms ldap leim lesstif libcaca libclamav libdsk libg++ libgda libwww lids live lua lzo lzw mad maildir mapeditor maps matroska mbrola mcal mdb memlimit messages mhash mikmod mime mimencode ming mixer mjpeg mmap mmx mmx2 mng monkey motif mozilla mozp3p mozsvg mp3 mpeg mpeg4 mpi mplayer msn mule music mysql mythtv nas ncurses neXt net network nls nowin nptl ntlm nvidia oav objc ocaml odbc offensive oggvorbis openal opengl oscar oss pam parse-clocks pcre pdf pdflib perl pic pie plotutils png portaudio posix postgres postgresql ppds prelude print pthreads python qemu-fast qt quicktime readline real recode rogue rplay rrdtool rtc ruby scanner sdl sharedmem silc silverxp slang smartcard smime sndfile snmp snortsam sounds sox speex spell sqlite sqlite3 sse ssl stats stencil-buffer stroke svg svga sysvipc t1lib tcltk tcpd tetex tga theora thumbnail tidy tiff timidity tools transcode transparent-proxy truetype truetype-fonts type1 type1-fonts usb uudeview v4l v4l2 vcdimager vdesktop videos vim vim-pager vim-with-x wmf wsconvert wxwindows xanim xatrix xchattext xemacs xforms xine xml xml2 xmms xosd xpm xprint xrandr xscreensaver xsl xv xvid yahoo yv12 zlib zvbi linguas_it"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
Comment 2 Pantelis Panayiotou 2005-03-23 05:38:37 UTC
Same thing here:

root@caronia root $ emerge info
Portage 2.0.51.19 (default-linux/x86/2004.0, gcc-3.3.5, glibc-2.3.3.20040420-r2, 2.4.26-gentoo-r6 i686)
=================================================================
System uname: 2.4.26-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  9 2005, 16:04:34)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -pipe -march=pentium4"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -pipe -march=pentium4"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.osuosl.org// http://adelie.polymtl.ca// ftp://cs.ubishops.ca/pub/gentoo/ ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo// ftp://gentoo.risq.qc.ca/"
LANG="el_GR.UTF-8"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 16bit X Xaw3d aac aalib acpi acpi4linux adabas aim alsa apache2 apm arts asterisk async audiofile avi bash-completion berkdb bindist birdstep bitmap-fonts bmp bzlib calendar cdb cddb cdparanoia cdr cdrom cgi chroot clamav clanJavaScript clanVoice cpdflib crypt ctype cups curl curlwrappers db2 dba dbase dbm dbmaker dbx dga dhcp dio directfb divx4linux dnd doc dv dvb dvd dvdr dvdread empress encode erandom escreen exif fam fastcgi fbcon fbdev fdftk ffmpeg fftw fileproflac flash flatfile fluidsynth foomaticdb freetds freetype frontbase ftp gd gdbm ggi gif gimp gimpprint glgd glut gphoto2 gpm gs gstreamer gtk2 gtkhtml iconv icq ieee1394 image imagemagick imap imlib informix ingres innodb interbase iodbc jabber java javacomm javadoc javamail javascript jboss jce jikes jp2 jpeg kde ladcca lcms ldap libcaca libgda libwww lzw lzw-tiff mad matroska mbox mcal md5sum mhash migemo mikmod mime ming mixer mng mono motif mozilla mozp3p mozsvg mozxmlterm mpeg mpeg4 mplayer mppe-mppc msdav msn msql mssql music mysql mysqli ncursesnet netcdf nls nptl oci8 odbc offensive ofx oggvorbis openal opengl openssh operanom2 oracle7 oscar oss ovrimos pam pcntl pcre pda pdflib pear-db pfpro php plotutils png portaudio posix print pthreads python qdbm qt quicktime quotes readline recode samba sapdb sasl sdl servlet-2.3 servlet-2.4 session shaper shared sharedmem simplexml skey slp smartcard sndfile soap sockets socks5 solid sox spamassassin speedo speex spell spl sqlite ssl stroke svg sybase sysvipc szip tetex theora tidy tiff timidity tokenizer transcode transparent-proxy truetype truetype-fonts type1 type1-fonts ucs4 unicode usb uudeview v4l v4l2 vim-with-x winbind wmf wxwindows xforms xine xml xml2 xmlrpc xmms xpm xprint xsl xv xvid yahoo yaz yv12zlib zlib zvbi video_cards_radeon"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 3 Mr. Borje Holmberg 2005-03-23 05:42:39 UTC
Had the same problem. I did 'emerge unmerge openldap' and then 'emerge mozilla'. After that I emerged openldap.

Worked for me.

But from now on I will only 'emerge sync' once a week.

regards,

linfan
Comment 4 Carsten Lohrke (RETIRED) gentoo-dev 2005-03-23 06:35:40 UTC
*** Bug 86382 has been marked as a duplicate of this bug. ***
Comment 5 Vincent van de Camp 2005-03-23 08:18:40 UTC
It appears USE flag ldap causes this error, because unmerging openldap in itself was not enough to get around this, I had to remove ldap from the USE list. 
Comment 6 Serge 2005-03-23 15:04:21 UTC
same proble with www-client/mozilla-1.7.6 and www-client/mozilla-1.7.6-r1  (x86, openldap installed without ldap use flag in make .conf) :

======= making ./libldap50.so
ld -shared -Wl,-soname -Wl,libldap50.so    -o libldap50.so ./abandon.o ./add.o ./bind.o ./cache.o ./charray.o ./charset.o ./compare.o ./compat.o ./control.o ./countvalues.o ./delete.o ./disptmpl.o ./dsparse.o ./error.o ./extendop.o ./free.o ./freevalues.o ./friendly.o ./getattr.o ./getdn.o ./getdxbyname.o ./getentry.o ./getfilter.o ./getoption.o ./getvalues.o ./memcache.o ./message.o ./modify.o ./open.o ./os-ip.o ./proxyauthctrl.o ./psearch.o ./referral.o ./regex.o ./rename.o ./request.o ./reslist.o ./result.o ./saslbind.o ./sbind.o ./search.o ./setoption.o ./sort.o ./sortctrl.o ./srchpref.o ./tmplout.o ./ufn.o ./unbind.o ./unescape.o ./url.o ./utf8.o ./vlistctrl.o  -L/var/tmp/portage/mozilla-1.7.6-r1/work/mozilla/dist/lib -llber50
ld: unrecognized option '-Wl,-soname'
ld: use the --help option for usage information
gmake[5]: *** [libldap50.so] Error 1
gmake[5]: *** Waiting for unfinished jobs....

Comment 8 Aron Griffis (RETIRED) gentoo-dev 2005-03-24 17:03:48 UTC
*** Bug 86573 has been marked as a duplicate of this bug. ***
Comment 9 Carsten Lohrke (RETIRED) gentoo-dev 2005-03-26 11:36:17 UTC
*** Bug 86786 has been marked as a duplicate of this bug. ***