First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 122389
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Caleb Tennis <caleb@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Erik Zeek <zeekec@mad.scientist.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 122389 depends on: Show dependency tree
Bug 122389 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-02-10 09:03 0000
Emerging muParser fails in building the examples with:

<snip/>
./bk-deps i686-pc-linux-gnu-g++ -c -o muParser_dll_muParserCallback.o -DNDEBUG
-DMUPARSER_DLL -DMUPARSERLIB_EXPORTS -I./include -fPIC -DPIC  -O2
./src/muParserCallback.cpp
./bk-deps i686-pc-linux-gnu-g++ -c -o muParser_dll_muParserBase.o -DNDEBUG
-DMUPARSER_DLL -DMUPARSERLIB_EXPORTS -I./include -fPIC -DPIC  -O2
./src/muParserBase.cpp
./bk-deps i686-pc-linux-gnu-g++ -c -o example1_Example1.o -DNDEBUG -I./include 
-O2 ./samples/example1/Example1.cpp
i686-pc-linux-gnu-g++ -o samples/example1/example1 example1_Example1.o -Llib  
-L./lib  -lmuparser
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lmuparser
collect2: ld returned 1 exit status
make: *** [samples/example1/example1] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: dev-cpp/muParser-1.25 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if
relevant.


emerge info
Password:
Portage 2.1_pre4-r1 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.6-r2,
2.6.15-gentoo-r4 i686)
=================================================================
System uname: 2.6.15-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.0_pre15
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=prescott -march=prescott -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mtune=prescott -march=prescott -pipe"
DISTDIR="/home/gentoo/portage/distfiles"
FEATURES="autoconfig candy ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.mirrors.pair.com/
http://distro.ibiblio.org/pub/linux/distributions/gentoo/
http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/
http://gentoo.chem.wisc.edu/gentoo/"
LINGUAS="en-US"
MAKEOPTS="-j2"
PKGDIR="/home/gentoo/portage/packages"
PORTAGE_TMPDIR="/home/gentoo/tmp"
PORTDIR="/home/gentoo/portage"
PORTDIR_OVERLAY="/home/gentoo/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 7zip X X509 Xaw3d a52 aac aalib acl acpi activefilter ada aim aio alsa
amarok amd amr aotuv apache2 apm arts artswrappersuid artworkextra asf asm
asterisk async atlas auctex audiofile authdaemond automount avi bash-completion
bcmath bcp bdf berkdb binfilter bitmap-fonts bjam bl blas blender-game bonobo
boo bzip2 c++ cairo calendar cap caps ccache cdda cddb cdf cdio cdparanoia cdr
cdrom cgi chm clanJavaScript clanVoice cli clisp cmucl commercial corba cpdflib
cracklib crosscompile crypt cscope css ctype cups curl curlwrappers cvsgraph
daap dba dbm dbus dbx dcc debugger dga dhcp dio directfb discard-path djvu dnd
dpms dri dts dv dvd dvdr dvdread dynagraph ecc editor edl eds effects emboss
emoticon encode enscript epson erandom esd examples exif expat extrafilters
extraicons extramodules fame fat fbcon fbdev fbsplash ffmpeg fftw finger
firefox fits flac flash flatfile fltk font-server fontconfig foomaticdb
force-cgi-redirect fortran fpx freetts freetype ftp fuse gb gcc-libffi gcj gcl
gd gdal gdbm geoip geos ggi gif gimp gimpprint ginac gitsendemail gkrellm glade
glep glgd glitz glut glx gml gmp gmtfull gmthigh gmtsuppl gmttria gnome
gnome-print gnomedb gnuplot gnutls gpgme gphoto2 gpm gps graphviz grass gs gsl
gssapi gstreamer gtk gtk2 gtkhtml guile gzip hal haskell hddtemp hdf hdf5 hfs
high-ints hlapi hou hpn html httpd i8x0 iconv icq id3 ide idea idn image
imagemagick imap imlib imlib2 inifile inkjar input_devices_jamstudio
input_devices_keyboard input_devices_mouse insecure-drivers insecure-savers
ipv6 itcl jack jai jasper java javacomm javascript jbig jce jikes jimi jit jp2
jpeg jpeg2k junit jython kcal kde kdeenablefinal kdepim kdexdeltas kqemu ladcca
lame lapack largeterminal latex lcms ldap libcaca libclamav libdsk libg++
libgda libsamplerate libwww live lm_sensors logitech-mouse logrotate logwatch
lzo lzw mad mail maildir mailwrapper mapeditor maps math matroska mbrola md5sum
mhash mikmod mime ming mixer mjpeg mmap mmx mmxext mng mod mopac7 motif mozilla
moznocompose moznoirc moznomail mozsha1 mozsvg mp3 mp4live mpeg mpeg2 mpeg4
mplayer mpqc multiprocess multitarget musepack music musicbrainz mysql nas
ncurses net netcdf network new-login nfs nls no-old-linux nocd nowin nptl
nsplugin ntfs ntlm numarray numeric oav objc ocaml octave offensive ofx ogdi
ogg oggvorbis openal openbabel openexr opengl osc oss pam parse-clocks pascal
patented pcntl pcre pdf pdfkit pdflib pear perl php physfs pic player plotutils
plugin png pnp pop portaudio posix postfix povray ppds print pyste python
qemu-fast qhull qt quicktime quotas quotes rar rdesktop readline real remix rle
rogue rpc rrdtool rss rtc ruby samba sasl sbcl scanner scp screen sdk sdl seti
sftp shared sharedext sharedmem shorten shout skins slp smime smp sndfile
sockets softmmu sou sounds speedo speex spell spl sql sqlite sse sse-filters
sse2 ssl stencil-buffer stream subject-rewrite subp subtitles subversion suid
svg svgz swat symlink sysfs syslog sysvipc szip t1lib tcltk tcpd test tetex tga
theora thesaurus threads tidy tiff timidity tokenizer toolbar tools transcode
truetype truetype-fonts type1 type1-fonts ucs2 ucs4 unicode urandom usb
userlocales utf8 uudeview v4l v4l2 vcd vcdimager vfat video_cards_i810
video_cards_i830 video_cards_i915 videos vidix vim-with-x virus-scan
visualization vlm voice vorbis webdav win32codecs wmf wordperfect wv wxwindows
x264 xanim xatrix xface xforms xine xinetd xml xml2 xmldoclet xmms xosd xpm
xprint xscreensaver xsl xslt xtended xv xvid xvmc yv12 zip zlib elibc_glibc
kernel_linux linguas_en-US userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS

------- Comment #1 From Caleb Tennis 2006-02-13 04:51:37 0000 -------
I can't recreate this, it seems.

------- Comment #2 From Erik Zeek 2006-02-13 10:16:02 0000 -------
It's a race condition with: MAKEOPTS="-j2".  It hasn't finished building the
library before it tries to link against it.  I can build it with
MAKEOPTS="-j1", and then I can reemerge the ebuild with MAKEOPTS="-j2".  In
fact, I had to unmerge muParser _and_ remove the temporary directory to get it
to fail again.  If you look below you'll see that the final error message is
slightly different.  The symlinking hasn't completed before the example is
linked.  I think that is the cause of the problem.


./bk-deps i686-pc-linux-gnu-g++ -c -o muParser_dll_muParserError.o -DNDEBUG
-DMUPARSER_DLL -DMUPARSERLIB_EXPORTS -I./include -fPIC -DPIC  -O2
./src/muParserError.cpp
./bk-deps i686-pc-linux-gnu-g++ -c -o muParser_dll_muParserCallback.o -DNDEBUG
-DMUPARSER_DLL -DMUPARSERLIB_EXPORTS -I./include -fPIC -DPIC  -O2
./src/muParserCallback.cpp
./bk-deps i686-pc-linux-gnu-g++ -c -o muParser_dll_muParserBase.o -DNDEBUG
-DMUPARSER_DLL -DMUPARSERLIB_EXPORTS -I./include -fPIC -DPIC  -O2
./src/muParserBase.cpp
./bk-deps i686-pc-linux-gnu-g++ -c -o example1_Example1.o -DNDEBUG -I./include 
-O2 ./samples/example1/Example1.cpp
i686-pc-linux-gnu-g++ -shared -fPIC -o lib/libmuparser.so.0.0.0
muParser_dll_muParserBytecode.o muParser_dll_muParserTest.o
muParser_dll_muParser.o muParser_dll_muParserDLL.o muParser_dll_muParserInt.o
muParser_dll_muParserTokenReader.o muParser_dll_muParserError.o
muParser_dll_muParserCallback.o muParser_dll_muParserBase.o     
-Wl,-soname,libmuparser.so.0
i686-pc-linux-gnu-g++ -o samples/example1/example1 example1_Example1.o -Llib  
-L./lib  -lmuparser
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lmuparser
collect2: ld returned 1 exit status
make: *** [samples/example1/example1] Error 1
make: *** Waiting for unfinished jobs....
(cd lib/; rm -f libmuparser.so libmuparser.so.0; ln -s libmuparser.so.0.0.0
libmuparser.so.0; ln -s libmuparser.so.0 libmuparser.so)

!!! ERROR: dev-cpp/muParser-1.25 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if
relevant.

------- Comment #3 From Caleb Tennis 2006-02-13 10:25:33 0000 -------
Gotcha.  I added a -j1 force to the ebuild.

------- Comment #4 From Erik Zeek 2006-02-20 09:25:43 0000 -------
That did it, thanks.

First Last Prev Next    No search results available      Search page      Enter new bug