Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 310037 - dev-cpp/muParser-1.32: fails to build in parallel
Summary: dev-cpp/muParser-1.32: fails to build in parallel
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-18 09:52 UTC by Dustin Polke
Modified: 2010-03-20 19:51 UTC (History)
1 user (show)

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


Attachments
adding epatch (muParser-1.32.diff,359 bytes, patch)
2010-03-18 20:55 UTC, Kacper Kowalik (Xarthisius) (RETIRED)
Details | Diff
fixing parallel build (muParser-1.32-parallel-build.patch,680 bytes, patch)
2010-03-18 20:55 UTC, Kacper Kowalik (Xarthisius) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dustin Polke 2010-03-18 09:52:27 UTC
muParser-1.32 fails linking with more then one compile job.

make -j5 
/var/tmp/portage/dev-cpp/muParser-1.32/work/muparser_v132/bk-deps x86_64-pc-linux-gnu-g++ -c -o muParser_dll_muParser.o -DNDEBUG -DMUPARSER_DLL -DMUPARSERLIB_EXPORTS -I./include -fPIC -DPIC  -march=core2 -O2 -pipe -msse4.1 -O2 ./src/muParser.cpp
/var/tmp/portage/dev-cpp/muParser-1.32/work/muparser_v132/bk-deps x86_64-pc-linux-gnu-g++ -c -o muParser_dll_muParserBase.o -DNDEBUG -DMUPARSER_DLL -DMUPARSERLIB_EXPORTS -I./include -fPIC -DPIC  -march=core2 -O2 -pipe -msse4.1 -O2 ./src/muParserBase.cpp
/var/tmp/portage/dev-cpp/muParser-1.32/work/muparser_v132/bk-deps x86_64-pc-linux-gnu-g++ -c -o muParser_dll_muParserBytecode.o -DNDEBUG -DMUPARSER_DLL -DMUPARSERLIB_EXPORTS -I./include -fPIC -DPIC  -march=core2 -O2 -pipe -msse4.1 -O2 ./src/muParserBytecode.cpp
/var/tmp/portage/dev-cpp/muParser-1.32/work/muparser_v132/bk-deps x86_64-pc-linux-gnu-g++ -c -o muParser_dll_muParserCallback.o -DNDEBUG -DMUPARSER_DLL -DMUPARSERLIB_EXPORTS -I./include -fPIC -DPIC  -march=core2 -O2 -pipe -msse4.1 -O2 ./src/muParserCallback.cpp
/var/tmp/portage/dev-cpp/muParser-1.32/work/muparser_v132/bk-deps x86_64-pc-linux-gnu-g++ -c -o muParser_dll_muParserComplex.o -DNDEBUG -DMUPARSER_DLL -DMUPARSERLIB_EXPORTS -I./include -fPIC -DPIC  -march=core2 -O2 -pipe -msse4.1 -O2 ./src/muParserComplex.cpp
/var/tmp/portage/dev-cpp/muParser-1.32/work/muparser_v132/bk-deps x86_64-pc-linux-gnu-g++ -c -o muParser_dll_muParserDLL.o -DNDEBUG -DMUPARSER_DLL -DMUPARSERLIB_EXPORTS -I./include -fPIC -DPIC  -march=core2 -O2 -pipe -msse4.1 -O2 ./src/muParserDLL.cpp
/var/tmp/portage/dev-cpp/muParser-1.32/work/muparser_v132/bk-deps x86_64-pc-linux-gnu-g++ -c -o muParser_dll_muParserError.o -DNDEBUG -DMUPARSER_DLL -DMUPARSERLIB_EXPORTS -I./include -fPIC -DPIC  -march=core2 -O2 -pipe -msse4.1 -O2 ./src/muParserError.cpp
/var/tmp/portage/dev-cpp/muParser-1.32/work/muparser_v132/bk-deps x86_64-pc-linux-gnu-g++ -c -o muParser_dll_muParserInt.o -DNDEBUG -DMUPARSER_DLL -DMUPARSERLIB_EXPORTS -I./include -fPIC -DPIC  -march=core2 -O2 -pipe -msse4.1 -O2 ./src/muParserInt.cpp
/var/tmp/portage/dev-cpp/muParser-1.32/work/muparser_v132/bk-deps x86_64-pc-linux-gnu-g++ -c -o muParser_dll_muParserTest.o -DNDEBUG -DMUPARSER_DLL -DMUPARSERLIB_EXPORTS -I./include -fPIC -DPIC  -march=core2 -O2 -pipe -msse4.1 -O2 ./src/muParserTest.cpp
/var/tmp/portage/dev-cpp/muParser-1.32/work/muparser_v132/bk-deps x86_64-pc-linux-gnu-g++ -c -o muParser_dll_muParserTokenReader.o -DNDEBUG -DMUPARSER_DLL -DMUPARSERLIB_EXPORTS -I./include -fPIC -DPIC  -march=core2 -O2 -pipe -msse4.1 -O2 ./src/muParserTokenReader.cpp
/var/tmp/portage/dev-cpp/muParser-1.32/work/muparser_v132/bk-deps x86_64-pc-linux-gnu-g++ -c -o example1_Example1.o -DNDEBUG -I./include  -march=core2 -O2 -pipe -msse4.1 -O2 ./samples/example1/Example1.cpp
x86_64-pc-linux-gnu-g++ -o samples/example1/example1 example1_Example1.o -L./lib   -L./lib -Wl,-O1 -Wl,--as-needed -Wl,-z,relro -Wl,-z,now  -lmuparser 
example1_Example1.o: In function `Splash()':
Example1.cpp:(.text+0x96a): undefined reference to `mu::ParserBase::GetVersion() const'
example1_Example1.o: In function `CheckKeywords(char const*, mu::Parser&)':
Example1.cpp:(.text+0x1372): undefined reference to `mu::Parser::ResetLocale()'
collect2: ld returned 1 exit status
make: *** [samples/example1/example1] Error 1
make: *** Waiting for unfinished jobs....

With MAKEOPTS="-j1", compilation is successful but this is not a solution. Unfortunately, I don't know anything about autotools, so I cannot a provide a patch. Maybe one of the autotools gurus know what needs to be changed.

Reproducible: Always




[ebuild     U ] dev-cpp/muParser-1.32 [1.30] USE="test%* -doc"

Portage 2.1.7.17 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r10-stable x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r10-stable-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8100_@_2.10GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 18 Mar 2010 08:45:01 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1
dev-python/pycrypto: 2.1.0_beta1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 PUEL cadsoft skype-eula"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -msse4.1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/bin/mygenkernel /usr/sbin/run-crons /usr/share/X11/xkb /usr/share/cairo-dock/plug-ins/wifi/wifi /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"
CXXFLAGS="-march=core2 -O2 -pipe -msse4.1"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests collision-protect distlocks fixpackages multilib-strict news parallel-fetch protect-owned sandbox sfperms strict test unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/     ftp://de-mirror.org/distro/gentoo/     ftp://mirror.netcologne.de/gentoo/     ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo     ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,relro -Wl,-z,now"
LINGUAS="en de"
MAKEOPTS="-j5"
PKGDIR="/home/ftp/binpkg/"
PORTAGE_COMPRESS=""
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=500"
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/g-ctan /usr/local/portage/modified /usr/local/portage/own /var/lib/layman/alon-barlev /var/lib/layman/sping /var/lib/layman/science /var/lib/layman/desktop-effects /var/lib/layman/sunrise"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X X509 Xaw3d a52 aac aalib accessibility acl acpi alsa amd64 amr amrnb amrr amrwb apm async audacious audiofile bash-completion battery berkdb bindist bl bluetooth branding bzip2 cairo cardbus cdaudio cdda cdinstall cjk cli consolekit cracklib crypt css ctype cups curl cxx dbus devil dga directfb dri dts dv dvd dvdr eds encode evo exchange exif fam fame fbcon fbcondecor fbsplash ffmpeg flac fontforge foomaticdb fortran ftp gd gdbm gif gimp git glade glitz gmp gphoto2 gs gsm gstreamer gtk gtkhtml guile hal hddtemp hdf5 iconv icq icu idn ieee1394 imagemagick imap imlib iproute2 jack java javascript jpeg jpeg2k kerberos keyscrub kino kpathsea lame lapack laptop latex lcms libcaca libnotify libsamplerate libsexy libv4l2 libwww live lm_sensors logrotate loop-aes lzma lzo mad memlimit mikmod mime mjpeg mmx mmxext mng modules mono motif mp2 mp3 mp4 mpeg mplayer mudflap multilib musepack ncurses nls nntp nowin nptl nptlonly nsplugin ntp nuv nvidia ogg opengl openmp opensslcrypt pam pch pcmcia pcre pda pdf perl plotutils png posix ppds pppd print python qt3support quicktime readline reflection rtsp ruby rubytests samba sasl schroedinger sdl server session simplexml slang sndfile soap sockets sou speex spell spl sse sse2 sse3 sse4.1 ssl ssse3 startup-notification stream subversion svg swat sysfs syslog tcpd tga theora threads tiff truetype unicode usb userlocales v4l v4l2 vcd vdpau vim-syntax vim-with-x vorbis wifi winbind wma wmf wxwindows x264 xanim xcomposite xfce xinetd xls xml xmp xorg xpm xsl xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel mpu401" 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" CAMERAS="fuji ptp2" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS_FLAGS
Comment 1 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-03-18 20:55:38 UTC
Created attachment 224185 [details, diff]
adding epatch
Comment 2 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-03-18 20:55:57 UTC
Created attachment 224187 [details, diff]
fixing parallel build
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2010-03-20 19:51:39 UTC
Thanks for the patch, fixed.