To reproduce
- Make sure you do a clean rebuild
- e.g. by creating a fresh build dir:
mkdir OPEN-39-build && cd OPEN-39-build
|
- Configure for STANDALONE:
cmake ${PATH_TO_YOUR_VIEWER_SOURCE_TREE}/indra -DSTANDALONE=ON -DFMOD=OFF
|
- Try to perform the bitpack integration test
make INTEGRATION_TEST_bitpack
|
- Note: We do an out-of-source build, so you don't have to clean out your source checkout or freshly check out the source to follow this repro. This issue also repros for in-source builds, though.
- Note: We make only the INTEGRATION_TEST_bitpack target to keep this repro minimal. This issue also shows up when building the whole viewer with LL_TESTS set ON (default).
Expected
[...]
|
[100%] Built target llcommon
|
Scanning dependencies of target INTEGRATION_TEST_bitpack
|
[100%] Building CXX object llcommon/CMakeFiles/INTEGRATION_TEST_bitpack.dir/tests/bitpack_test.o
|
[100%] Building CXX object llcommon/CMakeFiles/INTEGRATION_TEST_bitpack.dir/__/test/test.o
|
[100%] Building CXX object llcommon/CMakeFiles/INTEGRATION_TEST_bitpack.dir/__/test/lltut.o
|
Linking CXX executable INTEGRATION_TEST_bitpack
|
LD_LIBRARY_PATH += ['/home/das-g/slsrc/hg/build/upstream/llcommon', '/usr/lib', '/usr/local/lib']
|
LD_LIBRARY_PATH = '/usr/local/lib:/home/das-g/slsrc/hg/build/upstream/llcommon:/usr/lib'
|
Running: /home/das-g/slsrc/hg/build/upstream/llcommon/INTEGRATION_TEST_bitpack
|
Unit test group_started name=LLBitPack
|
Unit test group_completed name=LLBitPack
|
Total Tests: 3
|
Passed Tests: 3 YAY!! \o/
|
[100%] Built target INTEGRATION_TEST_bitpack
|
Observed
[...]
|
[100%] Built target llcommon
|
Scanning dependencies of target INTEGRATION_TEST_bitpack
|
[100%] Building CXX object llcommon/CMakeFiles/INTEGRATION_TEST_bitpack.dir/tests/bitpack_test.o
|
c++: CMakeFiles/INTEGRATION_TEST_bitpack.dir/tests/bitpack_test.o: No such file or directory
|
make[3]: *** [llcommon/CMakeFiles/INTEGRATION_TEST_bitpack.dir/tests/bitpack_test.o] Error 1
|
make[2]: *** [llcommon/CMakeFiles/INTEGRATION_TEST_bitpack.dir/all] Error 2
|
make[1]: *** [llcommon/CMakeFiles/INTEGRATION_TEST_bitpack.dir/rule] Error 2
|
make: *** [INTEGRATION_TEST_bitpack] Error 2
|
Forensics
Revisions from (inclusive) 1013caf84c2e on are affected, while revisions before 1013caf84c2e aren't. However, I'm pretty sure I have successfully built many times since that changeset was integrated. So either something related about my system must have changed, or none of my incremental builds ever triggered the issue, while a full rebuild does. It's also interesting that many other tests don't seem to be affected, so maybe there's something special about the bitpack one? (Edited: This probably affects all tests added in indra/llcommon/CMakeLists.txt via LL_ADD_INTEGRATION_TEST)