Package: liggghts Version: 3.0.3+repack-1 Severity: serious Usertags: goto-cc
During a rebuild of all Debian packages in a clean sid chroot (using cowbuilder and pbuilder) the build failed with the following error. [...] -- Configuring done CMake Warning (dev) at src/CMakeLists.txt:26 (ADD_LIBRARY): Policy CMP0028 is not set: Double colon in target name means ALIAS or IMPORTED target. Run "cmake --help-policy CMP0028" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Target "libliggghts" links to target "Qt5::Widgets" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at src/CMakeLists.txt:48 (ADD_EXECUTABLE): Policy CMP0028 is not set: Double colon in target name means ALIAS or IMPORTED target. Run "cmake --help-policy CMP0028" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Target "liggghts" links to target "Qt5::Widgets" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at src/CMakeLists.txt:26 (ADD_LIBRARY): Policy CMP0028 is not set: Double colon in target name means ALIAS or IMPORTED target. Run "cmake --help-policy CMP0028" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Target "libliggghts" links to target "Qt5::Widgets" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at src/CMakeLists.txt:48 (ADD_EXECUTABLE): Policy CMP0028 is not set: Double colon in target name means ALIAS or IMPORTED target. Run "cmake --help-policy CMP0028" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Target "liggghts" links to target "Qt5::Widgets" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? This warning is for project developers. Use -Wno-dev to suppress it. -- Generating done [...] Linking CXX shared library libliggghts.so cd /srv/jenkins-slave/workspace/sid-goto-cc-liggghts/liggghts-3.0.3+repack/debian/build/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/libliggghts.dir/link.txt --verbose=1 /usr/bin/mpicxx -fPIC -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 ... /usr/lib/x86_64-linux-gnu/libvtkRenderingVolume-6.1.so.6.1.0 -lQt5::Widgets /usr/lib/x86_64-linux-gnu/libvtkPythonInterpreter-6.1.so.6.1.0 -lpython2.7 ld.bfd.orig: cannot find -lQt5::Widgets collect2: error: ld returned 1 exit status src/CMakeFiles/libliggghts.dir/build.make:8937: recipe for target 'src/libliggghts.so.3.0.0' failed make[3]: *** [src/libliggghts.so.3.0.0] Error 1 make[3]: Leaving directory '/srv/jenkins-slave/workspace/sid-goto-cc-liggghts/liggghts-3.0.3+repack/debian/build' CMakeFiles/Makefile2:80: recipe for target 'src/CMakeFiles/libliggghts.dir/all' failed make[2]: *** [src/CMakeFiles/libliggghts.dir/all] Error 2 make[2]: Leaving directory '/srv/jenkins-slave/workspace/sid-goto-cc-liggghts/liggghts-3.0.3+repack/debian/build' Makefile:120: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/srv/jenkins-slave/workspace/sid-goto-cc-liggghts/liggghts-3.0.3+repack/debian/build' dh_auto_build: make -j1 returned exit code 2 debian/rules:5: recipe for target 'build' failed make: *** [build] Error 2 The full build log is attached; please do let me know if the problem is unreproducible, in which case I shall try to investigate further. As speculated in #764833, however, this problem is most likely due to updates to cmake. Best, Michael
liggghts-build-log.txt.gz
Description: application/gunzip
pgpszukSCr0iA.pgp
Description: PGP signature