Bug#1054712: ensmallen: FTBFS: adam_test.cpp:17:10: fatal error: catch2/catch.hpp: No such file or directory

Lucas Nussbaum lucas at debian.org
Fri Oct 27 20:14:35 BST 2023


Source: ensmallen
Version: 2.20.0-1
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 && /usr/bin/c++  -I/<<PKGBUILDDIR>>/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -Wall -Wpedantic -Wunused-parameter -MD -MT tests/CMakeFiles/ensmallen_tests.dir/adam_test.cpp.o -MF CMakeFiles/ensmallen_tests.dir/adam_test.cpp.o.d -o CMakeFiles/ensmallen_tests.dir/adam_test.cpp.o -c /<<PKGBUILDDIR>>/tests/adam_test.cpp
> /<<PKGBUILDDIR>>/tests/adam_test.cpp:17:10: fatal error: catch2/catch.hpp: No such file or directory
>    17 | #include <catch2/catch.hpp>
>       |          ^~~~~~~~~~~~~~~~~~
> compilation terminated.
> /<<PKGBUILDDIR>>/tests/active_cmaes_test.cpp:12:10: fatal error: catch2/catch.hpp: No such file or directory
>    12 | #include <catch2/catch.hpp>
>       |          ^~~~~~~~~~~~~~~~~~
> compilation terminated.
> make[5]: *** [tests/CMakeFiles/ensmallen_tests.dir/build.make:177: tests/CMakeFiles/ensmallen_tests.dir/adam_test.cpp.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2023/10/27/ensmallen_2.20.0-1_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 debian-science-maintainers mailing list