Bug#966814: cb2bib: frequent parallel FTBFS

Adrian Bunk bunk at debian.org
Sun Aug 2 18:51:06 BST 2020


Source: cb2bib
Version: 2.0.0-1
Severity: serious
Tags: ftbfs patch
Control: block 964269 by -1

https://buildd.debian.org/status/logs.php?pkg=cb2bib&arch=mips64el

...
g++ -pipe -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>/debian/build/src=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -Wall -Wextra -dM -E -o moc_predefs.h /usr/lib/mips64el-linux-gnuabi64/qt5/mkspecs/features/data/dummy.cpp
make[3]: *** No rule to make target 'libc2b.a', needed by '../bin/cb2bib'.  Stop.
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/build/src'
make[2]: *** [Makefile:73: sub-src-make_first] Error 2
make[2]: *** Waiting for unfinished jobs....
rm -f ../libc2b.a
ar cqs ../libc2b.a approximatePattern.o arxivXml.o authorString.o bibExtractor.o bibParser.o bibPreparser.o bibSearcher.o cb2bib_utilities.o collectionAnalyzer.o collectionIndex.o compositePattern.o coreBibParser.o crJson.o document.o documentCache.o documentParser.o heuristicBibParser.o idMaker.o journalDB.o metadataParser.o monthDB.o network.o networkQuery.o posTagger.o preprocess.o pubmedXml.o searchPattern.o settings.o substringMatcher.o texParser.o texToHtml.o triads.o wordMatcher.o wordPattern.o qrc_c2blib.o moc_bibExtractor.o moc_bibParser.o moc_bibPreparser.o moc_bibSearcher.o moc_coreBibParser.o moc_idMaker.o moc_metadataParser.o moc_network.o moc_networkQuery.o moc_preprocess.o moc_settings.o
make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/build/src/c2b'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/debian/build'
dh_auto_build: error: cd debian/build && make -j4 returned exit code 2
make[1]: *** [debian/rules:21: override_dh_auto_build] Error 25


Ideally this should be fixed, but if it cannot easily be fixed
the following would be sufficiant as workaround:

--- debian/rules.old	2020-08-02 06:44:16.845689557 +0000
+++ debian/rules	2020-08-02 06:44:28.877655791 +0000
@@ -7,7 +7,7 @@
 BUILDDIR=$(CURDIR)/debian/build
 
 %:
-	dh $@ --parallel --buildsystem=qmake --builddirectory=$(BUILDDIR)
+	dh $@ --no-parallel --buildsystem=qmake --builddirectory=$(BUILDDIR)
 
 override_dh_auto_configure:
 	mkdir -p $(BUILDDIR) && \



More information about the debian-science-maintainers mailing list