Package: src:newsboat
Version: 2.36-1.1
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
g++ -std=c++14 -O2 -ggdb -Iinclude -Istfl -Ifilter -I. -Irss 
-I/<<PKGBUILDDIR>>/target/cxxbridge/ -Werror -Wall -Wextra -Wunreachable-code 
-DLOCALEDIR='"/usr/share/locale"' -DCATCH_AMALGAMATED_CUSTOM_MAIN 
-I/usr/include/x86_64-linux-gnu -isystem /usr/include/mit-krb5 
-I/usr/include/p11-kit-1  -I/usr/include/libxml2  -I/usr/include/json-c  
-D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600  -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -MD -MP -MF .deps/src/charencoding.cpp -o 
src/charencoding.o -c src/charencoding.cpp
g++ -std=c++14 -O2 -ggdb -Iinclude -Istfl -Ifilter -I. -Irss 
-I/<<PKGBUILDDIR>>/target/cxxbridge/ -Werror -Wall -Wextra -Wunreachable-code 
-DLOCALEDIR='"/usr/share/locale"' -DCATCH_AMALGAMATED_CUSTOM_MAIN 
-I/usr/include/x86_64-linux-gnu -isystem /usr/include/mit-krb5 
-I/usr/include/p11-kit-1  -I/usr/include/libxml2  -I/usr/include/json-c  
-D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600  -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -MD -MP -MF .deps/src/colormanager.cpp -o 
src/colormanager.o -c src/colormanager.cpp
In file included from /usr/include/unicode/uenum.h:25,
                 from /usr/include/unicode/ucnv.h:52,
                 from /usr/include/libxml2/libxml/encoding.h:31,
                 from /usr/include/libxml2/libxml/parser.h:812,
                 from include/utils.h:6,
                 from src/colormanager.cpp:8:
/usr/include/unicode/localpointer.h:561:26: error: ‘auto’ parameter not 
permitted in this context
  561 | template <typename Type, auto closeFunction>
      |                          ^~~~
/usr/include/unicode/localpointer.h:573:76: error: template argument 2 is 
invalid
  573 |     explicit LocalOpenPointer(std::unique_ptr<Type, 
decltype(closeFunction)> &&p)
      |                                                                         
   ^
/usr/include/unicode/localpointer.h:583:78: error: template argument 2 is 
invalid
  583 |     LocalOpenPointer &operator=(std::unique_ptr<Type, 
decltype(closeFunction)> &&p) {
      |                                                                         
     ^
/usr/include/unicode/localpointer.h:599:59: error: template argument 2 is 
invalid
  599 |     operator std::unique_ptr<Type, decltype(closeFunction)> () && {
      |                                                           ^
/usr/include/unicode/uenum.h:69:1: note: invalid template non-type parameter
   69 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUEnumerationPointer, UEnumeration, 
uenum_close);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/unicode/ucnv.h:597:1: note: invalid template non-type parameter
  597 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUConverterPointer, UConverter, 
ucnv_close);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=c++14 -O2 -ggdb -Iinclude -Istfl -Ifilter -I. -Irss 
-I/<<PKGBUILDDIR>>/target/cxxbridge/ -Werror -Wall -Wextra -Wunreachable-code 
-DLOCALEDIR='"/usr/share/locale"' -DCATCH_AMALGAMATED_CUSTOM_MAIN 
-I/usr/include/x86_64-linux-gnu -isystem /usr/include/mit-krb5 
-I/usr/include/p11-kit-1  -I/usr/include/libxml2  -I/usr/include/json-c  
-D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600  -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -MD -MP -MF .deps/src/configcontainer.cpp -o 
src/configcontainer.o -c src/configcontainer.cpp
make[2]: *** [Makefile:178: src/colormanager.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /usr/include/unicode/uenum.h:25,
                 from /usr/include/unicode/ucnv.h:52,
                 from /usr/include/libxml2/libxml/encoding.h:31,
                 from /usr/include/libxml2/libxml/parser.h:812,
                 from include/utils.h:6,
                 from src/configcontainer.cpp:16:
/usr/include/unicode/localpointer.h:561:26: error: ‘auto’ parameter not 
permitted in this context
  561 | template <typename Type, auto closeFunction>
      |                          ^~~~
/usr/include/unicode/localpointer.h:573:76: error: template argument 2 is 
invalid
  573 |     explicit LocalOpenPointer(std::unique_ptr<Type, 
decltype(closeFunction)> &&p)
      |                                                                         
   ^
/usr/include/unicode/localpointer.h:583:78: error: template argument 2 is 
invalid
  583 |     LocalOpenPointer &operator=(std::unique_ptr<Type, 
decltype(closeFunction)> &&p) {
      |                                                                         
     ^
/usr/include/unicode/localpointer.h:599:59: error: template argument 2 is 
invalid
  599 |     operator std::unique_ptr<Type, decltype(closeFunction)> () && {
      |                                                           ^
/usr/include/unicode/uenum.h:69:1: note: invalid template non-type parameter
   69 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUEnumerationPointer, UEnumeration, 
uenum_close);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/unicode/ucnv.h:597:1: note: invalid template non-type parameter
  597 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUConverterPointer, UConverter, 
ucnv_close);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:178: src/configcontainer.o] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 "INSTALL=install --strip-program=true" 
CARGO_HOME=debian/cargo_home prefix=/usr all returned exit code 2
make[1]: *** [debian/rules:20: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:12: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202503/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:newsboat, so that this is still
visible in the BTS web page for this package.

Thanks.

Reply via email to