Details
-
Bug
-
Resolution: Done
-
P2: Important
-
1.7.0
-
None
-
Observed on [Debian|https://buildd.debian.org/status/package.php?p=qbs&suite=experimental].
-
0b6d23e67521e0d166704ce50ed26d340853db98
Description
There are three .pro files which try to compile the same source files:
- tests/auto/blackbox/blackbox.pro
- tests/auto/blackbox/blackbox-clangdb.pro
- tests/auto/blackbox/blackbox-java.pro
All these .pro files have tst_blackboxbase.h in HEADERS and tst_blackboxbase.cpp in SOURCES.
On parallel builds, this leads to race conditions and errors like this one:
tst_blackboxbase.o: file not recognized: File truncated collect2: error: ld returned 1 exit status Makefile.blackbox-java:141: recipe for target '../../../bin/tst_blackbox-java' failed
or this one:
moc_tst_blackboxbase.o: file not recognized: File truncated collect2: error: ld returned 1 exit status Makefile.blackbox-java:141: recipe for target '../../../bin/tst_blackbox-java' failed