[Debian-med-packaging] Bug#1054684: spdlog: FTBFS: includes.h:3:10: fatal error: catch2/catch.hpp: No such file or directory

Lucas Nussbaum lucas at debian.org
Fri Oct 27 20:15:58 BST 2023


Source: spdlog
Version: 1:1.10.0+ds-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++ -DFMT_SHARED -DSPDLOG_FMT_EXTERNAL -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=c++11 -MD -MT tests/CMakeFiles/spdlog-utests-ho.dir/test_misc.cpp.o -MF CMakeFiles/spdlog-utests-ho.dir/test_misc.cpp.o.d -o CMakeFiles/spdlog-utests-ho.dir/test_misc.cpp.o -c /<<PKGBUILDDIR>>/tests/test_misc.cpp
> In file included from /<<PKGBUILDDIR>>/tests/test_daily_logger.cpp:4:
> /<<PKGBUILDDIR>>/tests/includes.h:3:10: fatal error: catch2/catch.hpp: No such file or directory
>     3 | #include <catch2/catch.hpp>
>       |          ^~~~~~~~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/tests/test_file_logging.cpp:4:
> /<<PKGBUILDDIR>>/tests/includes.h:3:10: fatal error: catch2/catch.hpp: No such file or directory
>     3 | #include <catch2/catch.hpp>
>       |          ^~~~~~~~~~~~~~~~~~
> compilation terminated.
> compilation terminated.
> make[3]: *** [tests/CMakeFiles/spdlog-utests-ho.dir/build.make:107: tests/CMakeFiles/spdlog-utests-ho.dir/test_daily_logger.cpp.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2023/10/27/spdlog_1.10.0+ds-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-med-packaging mailing list