FTBFS with boost 1.71

Bug #1863371 reported by Andreas Hasenack
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
icinga2 (Ubuntu)
Fix Released
High
Andreas Hasenack

Bug Description

CMake Error at third-party/cmake/BoostTestTargets.cmake:56 (message):
  NOTE: boost::test-based targets and tests cannot be added: boost >= 1.34.0
  required but not found. (found: '1.71.0' want >=103400) You may disable
  BUILD_TESTING to continue without the tests.
Call Stack (most recent call first):
  test/CMakeLists.txt:3 (include)

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Robie Basak provided a patch which I'm uploading

Changed in icinga2 (Ubuntu):
status: New → In Progress
assignee: nobody → Andreas Hasenack (ahasenack)
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

There is a further failure on s390x only:
cd /<<PKGBUILDDIR>>/obj-s390x-linux-gnu/plugins && /usr/bin/cmake -E cmake_link_script CMakeFiles/check_nscp_api.dir/link.txt --verbose=1
/usr/bin/c++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -pthread -Winvalid-pch -std=c++0x -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/check_nscp_api.dir/check_nscp_api.cpp.o ../third-party/mmatch/CMakeFiles/mmatch.dir/mmatch.c.o ../third-party/socketpair/CMakeFiles/socketpair.dir/socketpair.c.o ../lib/base/CMakeFiles/base.dir/application-version.cpp.o ../lib/base/CMakeFiles/base.dir/base_unity.cpp.o ../third-party/execvpe/CMakeFiles/execvpe.dir/execvpe.c.o ../lib/config/CMakeFiles/config.dir/config_lexer.cc.o ../lib/config/CMakeFiles/config.dir/config_parser.cc.o ../lib/config/CMakeFiles/config.dir/config_unity.cpp.o ../lib/remote/CMakeFiles/remote.dir/remote_unity.cpp.o -o ../Bin/None/check_nscp_api -Wl,-rpath,:::::::::::::::::::::::::::::::: -ldl /usr/lib/s390x-linux-gnu/libboost_context.so.1.71.0 /usr/lib/s390x-linux-gnu/libboost_coroutine.so.1.71.0 /usr/lib/s390x-linux-gnu/libboost_date_time.so.1.71.0 /usr/lib/s390x-linux-gnu/libboost_filesystem.so.1.71.0 /usr/lib/s390x-linux-gnu/libboost_thread.so.1.71.0 /usr/lib/s390x-linux-gnu/libboost_system.so.1.71.0 /usr/lib/s390x-linux-gnu/libboost_program_options.so.1.71.0 /usr/lib/s390x-linux-gnu/libboost_regex.so.1.71.0 -lssl -lcrypto -lsystemd -ledit -ltermcap /usr/lib/s390x-linux-gnu/libboost_context.so.1.71.0 -lpthread /usr/lib/s390x-linux-gnu/libboost_atomic.so.1.71.0 /usr/lib/s390x-linux-gnu/libboost_chrono.so.1.71.0
/usr/bin/ld: /usr/lib/s390x-linux-gnu/libboost_coroutine.so.1.71.0: undefined reference to `jump_fcontext'
/usr/bin/ld: /usr/lib/s390x-linux-gnu/libboost_coroutine.so.1.71.0: undefined reference to `make_fcontext'
collect2: error: ld returned 1 exit status
make[3]: *** [plugins/CMakeFiles/check_nscp_api.dir/build.make:

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package icinga2 - 2.11.2-1ubuntu1

---------------
icinga2 (2.11.2-1ubuntu1) focal; urgency=medium

  * d/p/disable-boost-version-check: fix FTBFS by removing an old Boost
    version check as also applied upstream. (LP: #1863371)

 -- Robie Basak <email address hidden> Mon, 17 Feb 2020 14:01:04 +0000

Changed in icinga2 (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.