Parallel build failure on gentoo
Submitted by Sebastian Müller
Assigned to Telepathy bugs list
Description
telepathy-salut-0.8.0 failed to build when using parallel build settings. Please take a look at this gentoo bug report:
With MAKEOPTS="-j1" everything goes well, when using more than one thread the build failed with the following error message:
libtool: link: x86_64-pc-linux-gnu-gcc -std=gnu99 -I .. -I .. -I ../lib -I ../lib -I ../salut -DG_LOG_DOMAIN="salut" -DPLUGIN_DIR="/usr/lib64/telepathy/salut-0/plugins" -Wall -Wextra -Wdeclaration-after-statement -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wsign-compare -Wnested-externs -Wpointer-arith -Wformat-security -Winit-self -Wno-missing-field-initializers -Wno-unused-parameter -I/usr/include/libxml2 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/var/tmp/portage/net-voip/telepathy-salut-0.8.0/work/telepathy-salut-0.8.0/lib/ext/wocky -I/var/tmp/portage/net-voip/telepathy-salut-0.8.0/work/telepathy-salut-0.8.0/lib/ext/wocky/wocky -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/telepathy-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/uuid -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -o .libs/telepathy-salut salut.o -Wl,--export-dynamic ./.libs/libsalut-convenience.a -luuid -lavahi-gobject -lavahi-common -lavahi-client /var/tmp/portage/net-voip/telepathy-salut-0.8.0/work/telepathy-salut-0.8.0/src/.libs/libsalut-plugins.so ../lib/gibber/.libs/libgibber.a /var/tmp/portage/net-voip/telepathy-salut-0.8.0/work/telepathy-salut-0.8.0/lib/ext/wocky/wocky/.libs/libwocky.so -lxml2 -lsqlite3 -lgnutls -lsoup-2.4 ../extensions/.libs/libsalut-extensions.a -ldbus-glib-1 -ldbus-1 -lgthread-2.0 -lrt -lgio-2.0 -lgobject-2.0 -lglib-2.0 -ltelepathy-glib -pthread -Wl,-rpath -Wl,/usr/lib64/telepathy/salut-0/lib
/var/tmp/portage/net-voip/telepathy-salut-0.8.0/work/telepathy-salut-0.8.0/src/.libs/libsalut-plugins.so: file not recognized: File truncated
collect2: ld returned 1 exit status
make[3]: *** [telepathy-salut] Fehler 1
make[3]: *** Warte auf noch nicht beendete Prozesse...
libtool: install: /usr/bin/install -c .libs/libsalut-plugins-0.8.0.soT /var/tmp/portage/net-voip/telepathy-salut-0.8.0/image//usr/lib64/telepathy/salut-0/lib/libsalut-plugins-0.8.0.so
libtool: install: (cd /var/tmp/portage/net-voip/telepathy-salut-0.8.0/image//usr/lib64/telepathy/salut-0/lib && { ln -s -f libsalut-plugins-0.8.0.so libsalut-plugins.so || { rm -f libsalut-plugins.so && ln -s libsalut-plugins-0.8.0.so libsalut-plugins.so; }; })
libtool: install: /usr/bin/install -c .libs/libsalut-plugins.lai /var/tmp/portage/net-voip/telepathy-salut-0.8.0/image//usr/lib64/telepathy/salut-0/lib/libsalut-plugins.la
libtool: install: warning: remember to run libtool --finish /usr/lib64/telepathy/salut-0/lib' make[3]: Leaving directory
/var/tmp/portage/net-voip/telepathy-salut-0.8.0/work/telepathy-salut-0.8.0/src'
make[2]: *** [install-am] Fehler 2
make[2]: Leaving directory /var/tmp/portage/net-voip/telepathy-salut-0.8.0/work/telepathy-salut-0.8.0/src' make[1]: *** [install] Fehler 2 make[1]: Leaving directory
/var/tmp/portage/net-voip/telepathy-salut-0.8.0/work/telepathy-salut-0.8.0/src'
make: *** [install-recursive] Fehler 1
Reproducible: Always
Version: 0.8