Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1091

qmake build sometimes fails: different blackbox .pro files compile the same code

    XMLWordPrintable

Details

    • 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
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kandeler Christian Kandeler
            mandriver Dmitry Shachnev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes