Bug#493390: xapian-core: FTBFS with parallel in DEB_BUILD_OPTIONS
On Saturday 02 August 2008 18:21:46 Olly Betts wrote: On Sat, Aug 02, 2008 at 09:46:00AM -0700, Daniel Schepler wrote: From my pbuilder build log, with DEB_BUILD_OPTIONS set to parallel=3: ... g++ -DHAVE_CONFIG_H -I. -I.. -I../common -I../include -I./include - I../languages -Ilanguages -I../queryparser -Wall -W -Wredundant-decls - Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long -Wformat-security - Wconversion -fno-gnu-keywords -Wundef -Wshadow -Winit-self -Wstrict-overflow=5 -fvisibility=hidden -O2 -c ../unicode/utf8itor.cc -o unicode/utf8itor.o /dev/null 21 libtool: link: `backends/flint/flint_check.lo' is not a valid libtool object make[3]: *** [libflintcheck.la] Error 1 What are the contents of backends/flint/flint_check.lo? Is this from a clean build tree, or had a previous build been interrupted? I've found libtool can sometimes leave a partial file behind if killed. Otherwise this is very puzzling, as I parallel build xapian-core several times a day and never hit issues. If it's not an unclean tree issue, then could you attach the full build log to this bug? Cheers, Olly This was a build in a clean pbuilder chroot, which I've reproduced several times here (on a dual-core amd64 machine). Here's the full build log. -- Daniel Schepler xapian-core-build-log.bz2 Description: application/bzip
Bug#493390: xapian-core: FTBFS with parallel in DEB_BUILD_OPTIONS
On Sat, Aug 02, 2008 at 11:22:02PM -0700, Daniel Schepler wrote: This was a build in a clean pbuilder chroot, which I've reproduced several times here (on a dual-core amd64 machine). Here's the full build log. Thanks. I've located the problem - make -j2 all check tries to make all and check concurrently, which causes problems because libquartzcheck.la is referred to by two different relative paths from the all build and the check build. That should be fixed in the upstream build system really, but the simple fix for debian/rules is to do the optional make check with a separate make invocation. Cheers, Olly -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#493390: xapian-core: FTBFS with parallel in DEB_BUILD_OPTIONS
Package: xapian-core Version: 1.0.7-2 Severity: important From my pbuilder build log, with DEB_BUILD_OPTIONS set to parallel=3: ... g++ -DHAVE_CONFIG_H -I. -I.. -I../common -I../include -I./include - I../languages -Ilanguages -I../queryparser -Wall -W -Wredundant-decls - Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long -Wformat-security - Wconversion -fno-gnu-keywords -Wundef -Wshadow -Winit-self -Wstrict-overflow=5 -fvisibility=hidden -O2 -c ../unicode/utf8itor.cc -o unicode/utf8itor.o /dev/null 21 libtool: link: `backends/flint/flint_check.lo' is not a valid libtool object make[3]: *** [libflintcheck.la] Error 1 make[3]: /bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H - I. -I.. -I../common -I../include -I./include -I../languages -Ilanguages - I../queryparser-Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual - Wcast-align -Wno-long-long -Wformat-security -Wconversion -fno-gnu-keywords - Wundef -Wshadow -Winit-self -Wstrict-overflow=5 -fvisibility=hidden -O2 -c -o matcher/exactphrasepostlist.lo ../matcher/exactphrasepostlist.cc *** Waiting for unfinished jobs g++ -DHAVE_CONFIG_H -I. -I.. -I../common -I../include -I./include - I../languages -Ilanguages -I../queryparser -Wall -W -Wredundant-decls - Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long -Wformat-security - Wconversion -fno-gnu-keywords -Wundef -Wshadow -Winit-self -Wstrict-overflow=5 -fvisibility=hidden -O2 -c ../matcher/emptysubmatch.cc -o matcher/emptysubmatch.o /dev/null 21 make[3]: Leaving directory `/tmp/buildd/xapian-core-1.0.7/build' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/tmp/buildd/xapian-core-1.0.7/build' make[1]: *** [all] Error 2 make[1]: /bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H - I. -I.. -I../common -I../include -I./include -I../languages -Ilanguages - I../queryparser-Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual - Wcast-align -Wno-long-long -Wformat-security -Wconversion -fno-gnu-keywords - Wundef -Wshadow -Winit-self -Wstrict-overflow=5 -fvisibility=hidden -O2 -c -o matcher/localmatch.lo ../matcher/localmatch.cc *** Waiting for unfinished jobs g++ -DHAVE_CONFIG_H -I. -I.. -I../common -I../include -I./include - I../languages -Ilanguages -I../queryparser -Wall -W -Wredundant-decls - Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long -Wformat-security - Wconversion -fno-gnu-keywords -Wundef -Wshadow -Winit-self -Wstrict-overflow=5 -fvisibility=hidden -O2 -c ../matcher/exactphrasepostlist.cc -fPIC -DPIC -o matcher/.libs/exactphrasepostlist.o ... /bin/bash ./libtool --tag=CXX --mode=link g++ -Wall -W -Wredundant-decls - Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long -Wformat-security - Wconversion -fno-gnu-keywords -Wundef -Wshadow -Winit-self -Wstrict-overflow=5 -fvisibility=hidden -O2 -o libflintcheck.la backends/flint/flint_check.lo /bin/bash ./libtool --tag=CXX --mode=link g++ -Wall -W -Wredundant-decls - Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long -Wformat-security - Wconversion -fno-gnu-keywords -Wundef -Wshadow -Winit-self -Wstrict-overflow=5 -fvisibility=hidden -O2 -o libquartzcheck.la backends/quartz/btreecheck.lo libtool: link: `backends/quartz/btreecheck.lo' is not a valid libtool object make[3]: *** [libquartzcheck.la] Error 1 make[3]: *** Waiting for unfinished jobs libtool: link: `backends/flint/flint_check.lo' is not a valid libtool object make[3]: *** [libflintcheck.la] Error 1 make[3]: Leaving directory `/tmp/buildd/xapian-core-1.0.7/build' make[2]: *** [check-recursive] Error 1 make[2]: Leaving directory `/tmp/buildd/xapian-core-1.0.7/build' make[1]: *** [check] Error 2 make[1]: Leaving directory `/tmp/buildd/xapian-core-1.0.7/build' make: *** [build-stamp] Error 2 dpkg-buildpackage: failure: debian/rules build gave error exit status 2 -- Daniel Schepler -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#493390: xapian-core: FTBFS with parallel in DEB_BUILD_OPTIONS
On Sat, Aug 02, 2008 at 09:46:00AM -0700, Daniel Schepler wrote: From my pbuilder build log, with DEB_BUILD_OPTIONS set to parallel=3: ... g++ -DHAVE_CONFIG_H -I. -I.. -I../common -I../include -I./include - I../languages -Ilanguages -I../queryparser -Wall -W -Wredundant-decls - Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long -Wformat-security - Wconversion -fno-gnu-keywords -Wundef -Wshadow -Winit-self -Wstrict-overflow=5 -fvisibility=hidden -O2 -c ../unicode/utf8itor.cc -o unicode/utf8itor.o /dev/null 21 libtool: link: `backends/flint/flint_check.lo' is not a valid libtool object make[3]: *** [libflintcheck.la] Error 1 What are the contents of backends/flint/flint_check.lo? Is this from a clean build tree, or had a previous build been interrupted? I've found libtool can sometimes leave a partial file behind if killed. Otherwise this is very puzzling, as I parallel build xapian-core several times a day and never hit issues. If it's not an unclean tree issue, then could you attach the full build log to this bug? Cheers, Olly -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]