[3dprinter-general] Bug#1054697: slic3r-prusa: FTBFS: test_arrange.cpp:1:10: fatal error: catch2/catch.hpp: No such file or directory

Lucas Nussbaum lucas at debian.org
Fri Oct 27 20:04:02 BST 2023


Source: slic3r-prusa
Version: 2.6.1+dfsg-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20231027 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/libslic3r && /usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_ATOMIC_DYN_LINK -DBOOST_CHRONO_DYN_LINK -DBOOST_DATE_TIME_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_IOSTREAMS_DYN_LINK -DBOOST_LOCALE_DYN_LINK -DBOOST_LOG_DYN_LINK -DBOOST_REGEX_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DBOOST_THREAD_DYN_LINK -DCATCH_CONFIG_FAST_COMPILE -DLIBNEST2D_GEOMETRIES_libslic3r -DLIBNEST2D_OPTIMIZER_nlopt -DLIBNEST2D_STATIC -DLIBNEST2D_THREADING_tbb -DOPENVDB_ABI_VERSION_NUMBER=10 -DOPENVDB_USE_DELAYED_LOADING -DSLIC3R_GUI -DTBB_USE_CAPTURED_EXCEPTION=0 -DTEST_DATA_DIR="R\"(/<<PKGBUILDDIR>>/tests/data)\"" -DUNICODE -DUSE_TBB -DWXINTL_NO_GETTEXT_MACRO -D_UNICODE -DwxNO_UNSAFE_WXSTRING_CONV -DwxUSE_UNICODE -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/platform -I/<<PKGBUILDDIR>>/tests -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/libslic3r -I/<<PKGBUILDDIR>>/src/libnest2d/include -I/<<PKGBUILDDIR>>/src/miniz -I/<<PKGBUILDDIR>>/src/glu-libtess/include -isystem /usr/include/eigen3 -isystem /<<PKGBUILDDIR>>/src/libigl -isystem /usr/include/Imath -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fext-numeric-literals -Wall -Wno-reorder -O3 -DNDEBUG -std=gnu++17 -fPIE -fsigned-char -Werror=return-type -Wno-ignored-attributes -Wno-unknown-pragmas -MD -MT tests/libslic3r/CMakeFiles/libslic3r_tests.dir/test_3mf.cpp.o -MF CMakeFiles/libslic3r_tests.dir/test_3mf.cpp.o.d -o CMakeFiles/libslic3r_tests.dir/test_3mf.cpp.o -c /<<PKGBUILDDIR>>/tests/libslic3r/test_3mf.cpp
> /<<PKGBUILDDIR>>/tests/arrange/test_arrange.cpp:1:10: fatal error: catch2/catch.hpp: No such file or directory
>     1 | #include <catch2/catch.hpp>
>       |          ^~~~~~~~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/tests/libslic3r/libslic3r_tests.cpp:1:
> /<<PKGBUILDDIR>>/tests/catch_main.hpp:7:10: fatal error: catch2/catch.hpp: No such file or directory
>     7 | #include <catch2/catch.hpp>
>       |          ^~~~~~~~~~~~~~~~~~
> compilation terminated.
> compilation terminated.
> make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> make[3]: *** [tests/libslic3r/CMakeFiles/libslic3r_tests.dir/build.make:79: tests/libslic3r/CMakeFiles/libslic3r_tests.dir/libslic3r_tests.cpp.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2023/10/27/slic3r-prusa_2.6.1+dfsg-3_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231027;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231027&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the 3dprinter-general mailing list