Source: facter Version: 3.11.0-4.1 Severity: important Tags: sid bullseye User: team+bo...@tracker.debian.org Usertags: boost1.71
facter fails to build with boost 1.71 | Running tests... | /usr/bin/ctest --force-new-ctest-process -j5 | Test project /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu | Start 1: libfacter tests | 1/1 Test #1: libfacter tests ..................Child aborted***Exception: 1.81 sec | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | libfacter_test is a Catch v1.12.1 host application. | Run with -? for options | | ------------------------------------------------------------------------------- | Scenario: using a double fact value | When: serialized to YAML | Then: it should have the same value | ------------------------------------------------------------------------------- | /<<PKGBUILDDIR>>/lib/tests/facts/double_value.cc:27 | ............................................................................... | | /<<PKGBUILDDIR>>/lib/tests/facts/double_value.cc:30: FAILED: | REQUIRE( string(emitter.c_str()) == "42.4242" ) | with expansion: | "42.424199999999999" == "42.4242" | | free(): invalid pointer | ------------------------------------------------------------------------------- | Scenario: using the fact collection | Given: default facts | Then: facts should resolve | ------------------------------------------------------------------------------- | /<<PKGBUILDDIR>>/lib/tests/facts/collection.cc:91 | ............................................................................... | | /<<PKGBUILDDIR>>/lib/tests/facts/collection.cc:91: FAILED: | {Unknown expression after the reported line} | with expansion: | | due to a fatal error condition: | SIGABRT - Abort (abnormal termination) signal | | =============================================================================== | test cases: 7 | 5 passed | 2 failed | assertions: 141 | 139 passed | 2 failed | | | | 0% tests passed, 1 tests failed out of 1 | | Total Test time (real) = 1.81 sec | | The following tests FAILED: | 1 - libfacter tests (Child aborted) | Errors while running CTest | make[1]: *** [Makefile:133: test] Error 8 I'm not sure if this is a real issue or caused by linking boost 1.67 (via dependencies): | /usr/bin/ld: warning: libboost_locale.so.1.67.0, needed by /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libcpp-hocon.so, may conflict with libboost_locale.so.1.71.0 | /usr/bin/ld: warning: libboost_thread.so.1.67.0, needed by /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libcpp-hocon.so, may conflict with libboost_thread.so.1.71.0 | /usr/bin/ld: warning: libboost_regex.so.1.67.0, needed by /usr/lib/x86_64-linux-gnu/libleatherman_curl.so.1.4.2, may conflict with libboost_regex.so.1.71.0 | /usr/bin/ld: warning: libboost_filesystem.so.1.67.0, needed by /usr/lib/x86_64-linux-gnu/libleatherman_curl.so.1.4.2, may conflict with libboost_filesystem.so.1.71.0 | /usr/bin/ld: warning: libboost_chrono.so.1.67.0, needed by /usr/lib/x86_64-linux-gnu/libleatherman_util.so.1.4.2, may conflict with libboost_chrono.so.1.71.0 So this issue might simply disappear, once we do the rebuilds for the transition. Cheers -- Sebastian Ramacher