Bug#1054680: newsboat: FTBFS: test/cliargsparser.cpp:1:10: fatal error: 3rd-party/catch.hpp: No such file or directory

2024-04-08 Thread Boyuan Yang
Control: forwarded -1 https://github.com/newsboat/newsboat/issues/2716

On Fri, 27 Oct 2023 21:15:28 +0200 Lucas Nussbaum 
wrote:
> Source: newsboat
> Version: 2.32-3
> Severity: serious
> Justification: FTBFS
> Tags: trixie sid ftbfs
> User: lu...@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):
> > g++ -std=c++11 -O2 -ggdb -Iinclude -Istfl -Ifilter -I. -Irss -
I/<>/target/cxxbridge/ -Werror -Wall -Wextra -Wunreachable-
code -DLOCALEDIR='"/usr/local/share/locale"' -I/usr/include/x86_64-linux-
gnu  -I/usr/include/libxml2  -I/usr/include/json-c  -D_DEFAULT_SOURCE -
D_XOPEN_SOURCE=600  -g -O2 -ffile-prefix-map=/<>=. -fstack-
protector-strong -fstack-clash-protection -Wformat -Werror=format-
security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MP -MF
.deps/test/controller.cpp -o test/controller.o -c test/controller.cpp
> > test/cliargsparser.cpp:1:10: fatal error: 3rd-party/catch.hpp: No
such file or directory
> > 1 | #include "3rd-party/catch.hpp"
> >   |  ^
> > compilation terminated.


This is caused by Debian's catch2 upgrading to v3.x. While newsboat
upstream is working on catch2 3.x support, a quickfix is to disable
the ln -sf lines in debian/rules and use the embedded catch2 2.x
headers.

Thanks,
Boyuan Yang


signature.asc
Description: This is a digitally signed message part


Bug#1054680: newsboat: FTBFS: test/cliargsparser.cpp:1:10: fatal error: 3rd-party/catch.hpp: No such file or directory

2023-10-27 Thread Lucas Nussbaum
Source: newsboat
Version: 2.32-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@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):
> g++ -std=c++11 -O2 -ggdb -Iinclude -Istfl -Ifilter -I. -Irss 
> -I/<>/target/cxxbridge/ -Werror -Wall -Wextra -Wunreachable-code 
> -DLOCALEDIR='"/usr/local/share/locale"' -I/usr/include/x86_64-linux-gnu  
> -I/usr/include/libxml2  -I/usr/include/json-c  -D_DEFAULT_SOURCE 
> -D_XOPEN_SOURCE=600  -g -O2 -ffile-prefix-map=/<>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -MD 
> -MP -MF .deps/test/controller.cpp -o test/controller.o -c test/controller.cpp
> test/cliargsparser.cpp:1:10: fatal error: 3rd-party/catch.hpp: No such file 
> or directory
> 1 | #include "3rd-party/catch.hpp"
>   |  ^
> compilation terminated.
> make[2]: *** [Makefile:175: test/cliargsparser.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2023/10/27/newsboat_2.32-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=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na=ign=7=7=only=ftbfs-20231027=lu...@debian.org=1=1=1=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.