Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 453314 - net-mail/notmuch-0.15 - parallel build fails with: g++: error: parse-time-string/libparse-time-string.a: No such file or directory
Summary: net-mail/notmuch-0.15 - parallel build fails with: g++: error: parse-time-str...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Amadeusz Żołnowski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-21 10:23 UTC by Olivier Huber
Modified: 2013-01-22 16:50 UTC (History)
0 users

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


Attachments
build.log (net-mail:notmuch-0.15:20130121-095518.log,6.59 KB, text/plain)
2013-01-21 10:23 UTC, Olivier Huber
Details
0001-lib-Makefile.local-depend-on-libs-we-are-linking-wit.patch (0001-lib-Makefile.local-depend-on-libs-we-are-linking-wit.patch,1.02 KB, patch)
2013-01-21 19:55 UTC, Amadeusz Żołnowski (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Huber 2013-01-21 10:23:42 UTC
Created attachment 336326 [details]
build.log

from build.log:
CC -march=native -O2 -pipe parse-time-string/parse-time-string.o
AR util/libutil.a
sh ./lib/gen-version-script.sh lib/notmuch.h lib/filenames.o lib/string-list.o lib/libsha1.o lib/message-file.o lib/messages.o lib/sha1.o lib/tags.o lib/database.o lib/parse-time-vrp.o lib/directory.o lib/index.o lib/message.o lib/query.o lib/thread.o > notmuch.sym
AR lib/libnotmuch.a
CXX -march=native -O2 -pipe lib/libnotmuch.so.3.0.0
g++: error: parse-time-string/libparse-time-string.a: No such file or directory
make: *** [lib/libnotmuch.so.3.0.0] Error 1
make: *** Waiting for unfinished jobs....

If I restrict the build to be sequential, it builds fine, eg 
MAKEOPTS=-j1 emerge -v1 notmuch
is successful

# emerge --info net-mail/notmuch
Portage 2.2.0_alpha158 (default/linux/amd64/10.0/developer, gcc-4.7.2, glibc-2.16.0, 3.7.1-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.7.1-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_W3520_@_2.67GHz-with-gentoo-2.2
KiB Mem:     8162832 total,   1259280 free
KiB Swap:    2097148 total,    173920 free
Timestamp of tree: Mon, 21 Jan 2013 08:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p42
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/cmake:           2.8.10.2-r1
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6, 1.12.6, 1.13.1
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.4.7, 4.6.3, 4.7.2, 4.8.0_alpha20121104::toolchain
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo science sage-on-gentoo toolchain local
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.3 Intel-SDP skype-4.0.0.7-copyright"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /var/lib/hsqldb"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n "
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms sign splitdebug strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles ftp://mirror.ovh.net/gentoo-distfiles"
LANG="en_US.utf-8"
LC_ALL="en_US.utf-8"
LDFLAGS="-Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,--hash-style=gnu"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/scratch/portage_hdd"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/sci /usr/local/overlays/sage-on-gentoo /usr/local/overlays/toolchain /usr/local/overlays/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aacplus abook acl acpi alsa amd64 apron bash-completion berkdb bitmap bluetooth boost bzip2 cairo canberra caps cdda cdr cli clucene colord consolekit coq cpudetection cracklib crypt cuda cups curl custom-cflags custom-optimization cxx dane dbus dirac djvu dot double-precision dri dts dvd dvdr ebook ecls eigen emboss encode epspdf excel exif expat extensions faac fam ffmpeg fftw firefox flac fontconfig fontforge fortran fortran95 frei0r g3dvl gappa gbm gd-external gdbm gif gles gles1 gles2 gmp gnuplot gold gpg gpm graphics graphite graphviz gssapi gtk gtk3 hyperestraier iconv icu idn imap inotify int64 iproute2 ipv6 ipython ithreads javascript jemalloc jpeg jpeg2k json kde kpathsea lapack latex lcms ldap ldap-sasl ldns libkms libnotify logrotate lpsol lua lzma mad man matplotlib mbox metis minizip mktemp mmx mmxext mng modules mozilla mp3 mp4 mpc mpeg mudflap multilib muparser music mutt ncurses nettle nfs nis nls nntp nptl nsplugin ntl ntlm numpy ocaml ogg opencl opengl openmp openntpd openssl openvg optimization pam pango passwdqc pcre pcre16 pdf pdfannotextractor perl pff pgf phonon plotutils png policykit pop postproc postscript ppds prison pstricks publishers pyglet python qd qhull qt3support qt4 readline reencrypt rfc3779 rtmp ruby sage sasl schroedinger science sdl se3 semantic-desktop session shared-dricore sidebar simage slp smime smp smtp snmp sparse speex spell sqlite sqlite3 sse sse2 sse3 sse41 sse42 sse4_1 ssl ssse3 startup-notification subversion svg syslog system-jpeg system-sqlite tcpd theora thin-splines threads tiff tokyocabinet tools truetype type3 udev udisks unicode upower usb utils uuid vdpau vim vim-syntax vorbis vpx webkit winbind x264 xattr xcb xetex xft xml xv xvfb xvid xvmc zeitgeist zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="authn_core authz_core socache_shmcb unixd 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer pdfimport" LINGUAS="en" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nouveau nvidia" 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"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

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

net-mail/notmuch-0.15 was built with the following:
USE="bash-completion crypt (multilib) mutt python vim -debug -doc -emacs -nmbug -pick -test -zsh-completion"
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-01-21 12:51:57 UTC
It also uses g++ directly, then. :)
Comment 2 Amadeusz Żołnowski (RETIRED) gentoo-dev 2013-01-21 19:55:22 UTC
Created attachment 336386 [details, diff]
0001-lib-Makefile.local-depend-on-libs-we-are-linking-wit.patch

I was unable to reproduce your problem with -j5. Could you test with this patch?
Comment 3 Olivier Huber 2013-01-21 20:13:13 UTC
(In reply to comment #2)
> Created attachment 336386 [details, diff] [details, diff]
> 0001-lib-Makefile.local-depend-on-libs-we-are-linking-wit.patch
> 
> I was unable to reproduce your problem with -j5. Could you test with this
> patch?

It works with the patch (and I'm always able to reproduce the bug without it).
Thank you very much !
Comment 4 Amadeusz Żołnowski (RETIRED) gentoo-dev 2013-01-22 16:50:37 UTC
Thank you for report and testing!

+  22 Jan 2013; Amadeusz Żołnowski <aidecoe@gentoo.org> notmuch-0.15.ebuild,
+  +files/0.15-0001-lib-Makefile.local-depend-on-libs-we-a.patch:
+  Patch fixing parallel build. It is already accepted by upstream. Fixes bug
+  #453314.
+