Details
-
Bug
-
Status: Open
-
Unset
-
Resolution: Unresolved
-
Gentoo Linux 64bit
g++ (Gentoo 4.4.5 p1.0, pie-0.4.5) 4.4.5
cmake version 2.8.4
GNU Make 3.81
Python 2.6.6
tut installed system-wide from Techwolf's portage overlay:
* Contents of dev-libs/tut-2008.11.30-r2:
/usr
/usr/include
/usr/include/tut
/usr/include/tut.h
/usr/include/tut/tut.hpp
/usr/include/tut/tut_assert.hpp
/usr/include/tut/tut_exception.hpp
/usr/include/tut/tut_posix.hpp
/usr/include/tut/tut_reporter.hpp
/usr/include/tut/tut_restartable.hpp
/usr/include/tut/tut_result.hpp
/usr/include/tut/tut_runner.hpp
/usr/include/tut_reporter.h
/usr/include/tut_restartable.hGentoo Linux 64bit g++ (Gentoo 4.4.5 p1.0, pie-0.4.5) 4.4.5 cmake version 2.8.4 GNU Make 3.81 Python 2.6.6 tut installed system-wide from Techwolf's portage overlay: * Contents of dev-libs/tut-2008.11.30-r2: /usr /usr/include /usr/include/tut /usr/include/tut.h /usr/include/tut/tut.hpp /usr/include/tut/tut_assert.hpp /usr/include/tut/tut_exception.hpp /usr/include/tut/tut_posix.hpp /usr/include/tut/tut_reporter.hpp /usr/include/tut/tut_restartable.hpp /usr/include/tut/tut_result.hpp /usr/include/tut/tut_runner.hpp /usr/include/tut_reporter.h /usr/include/tut_restartable.h
-
Tests can be built again on standalone, too.
Description
To reproduce
Try to build standalone with LL_TESTS enabled, e.g.:
- Get the fixes for
OPEN-38andOPEN-99hg clone https://bitbucket.org/boroondas/viewer-development-standalone -r f37dfe545aa8
-
cd viewer-development-standalone
- If you use a distribution for which there isn't a package for the glh header:
autobuild install glh_linear
autobuild configure -c DebugOS -- -DSTANDALONE=ON -DWORD_SIZE=64 -DGLH_INCLUDE_DIR="$(pwd)/build-linux-i686/packages/include/"
otherwise (if glh header is installed on your system) just:
autobuild configure -c DebugOS -- -DSTANDALONE=ON -DWORD_SIZE=64
(LL_TESTS defaults to ON, so we don't have to explicitly set it.)
- Try to build (non-parallel, so we get better reproducibility):
autobuild build -c DebugOS --no-configure -- -j1
Observed
[ 13%] Building CXX object llcharacter/CMakeFiles/llcharacter.dir/llvisualparam.o
|
Linking CXX static library libllcharacter.a
|
[ 13%] Built target llcharacter
|
Scanning dependencies of target INTEGRATION_TEST_bitpack
|
[ 13%] 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[2]: *** [llcommon/CMakeFiles/INTEGRATION_TEST_bitpack.dir/tests/bitpack_test.o] Error 1
|
make[1]: *** [llcommon/CMakeFiles/INTEGRATION_TEST_bitpack.dir/all] Error 2
|
make: *** [all] Error 2
|
ERROR: building default configuration returned 2
|
For more information: try re-running your command with --verbose or --debug
|
Regression
This did not happen in e67da2c6e312
Workaround
Skip building (and running) tests by configuring with -DLL_TESTS=OFF (after the --, as this option has to be passed through to CMake.)
Diagnosis
We had a similar issue in OPEN-39 (aka STORM-1132). As revealed by building with VERBOSE=1 (after the --, as this option has to be passed through to make), the direct cause is again a -I"" in the g++ call. As the fix for OPEN-39 seems to be present and intact, the root cause might be different.
Attachments
Issue Links
- related
-
STORM-1132 (standalone) bitpack_test.o: No such file or directory
-
- Closed
-