Uploaded image for project: 'Snowstorm'
  1. Snowstorm
  2. STORM-1132

(standalone) bitpack_test.o: No such file or directory

    XMLWordPrintableJSON

    Details

    • Type: Defect
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Sprint 13
    • Labels:
      None
    • Environment:
    • Approvals:
      Code Review, Product Owner
    • Acceptance Criteria:
      See Test Plan...
    • Test Plan:
      Hide

      Doesn't affect Linden builds. No test plan then beyond "does it build?".

      Show
      Doesn't affect Linden builds. No test plan then beyond "does it build?".

      Description

      To reproduce

      1. Make sure you do a clean rebuild
        • e.g. by creating a fresh build dir:

          mkdir OPEN-39-build && cd OPEN-39-build

      2. Configure for STANDALONE:

        cmake ${PATH_TO_YOUR_VIEWER_SOURCE_TREE}/indra -DSTANDALONE=ON -DFMOD=OFF

      3. 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)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                boroondas.gupte Boroondas Gupte
                Prod Owner Approved:
                Merov Linden
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 hour
                  1h
                  Remaining:
                  Remaining Estimate - 1 hour
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified