Package: src:loggedfs
Version: 0.9+ds-4
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

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

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   dh_auto_clean
        make -j2 clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -rf build/
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build -- easyloggingdir=/usr/include
        make -j2 "INSTALL=install --strip-program=true" 
easyloggingdir=/usr/include
make[2]: Entering directory '/<<PKGBUILDDIR>>'
mkdir build
g++ -Wdate-time -D_FORTIFY_SOURCE=2 -o build/Filter.o -c src/Filter.cpp -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall 
-ansi -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26 -DELPP_SYSLOG 
-DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -std=c++11 `xml2-config --cflags`
g++ -Wdate-time -D_FORTIFY_SOURCE=2 -o build/easylogging.o -c 
/usr/include/easylogging++.cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wall -ansi -D_FILE_OFFSET_BITS=64 
-DFUSE_USE_VERSION=26 -DELPP_SYSLOG -DELPP_NO_DEFAULT_LOG_FILE 
-DELPP_THREAD_SAFE -std=c++11 `xml2-config --cflags`
g++ -Wdate-time -D_FORTIFY_SOURCE=2 -o build/Config.o -c src/Config.cpp -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall 
-ansi -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26 -DELPP_SYSLOG 
-DELPP_NO_DEFAULT_LOG_FILE -DELPP_THREAD_SAFE -std=c++11 `xml2-config --cflags`
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 src/Config.h:30,
                 from src/Config.cpp:25:
/usr/include/unicode/localpointer.h:561:26: error: parameter declared ‘auto’
  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:20: build/Config.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/usr/include/easylogging++.cc: In member function ‘el::Logger* 
el::base::RegisteredLoggers::get(const std::string&, bool)’:
/usr/include/easylogging++.cc:1900:83: warning: loop variable ‘h’ of type 
‘const std::pair<std::__cxx11::basic_string<char>, 
std::shared_ptr<el::LoggerRegistrationCallback> >&’ binds to a temporary 
constructed from type ‘std::pair<const std::__cxx11::basic_string<char>, 
std::shared_ptr<el::LoggerRegistrationCallback> >’ [-Wrange-loop-construct]
 1900 |     for (const std::pair<std::string, 
base::type::LoggerRegistrationCallbackPtr>& h
      |                                                                         
          ^
/usr/include/easylogging++.cc:1900:83: note: use non-reference type ‘const 
std::pair<std::__cxx11::basic_string<char>, 
std::shared_ptr<el::LoggerRegistrationCallback> >’ to make the copy explicit 
or ‘const std::pair<const std::__cxx11::basic_string<char>, 
std::shared_ptr<el::LoggerRegistrationCallback> >&’ to prevent copying
/usr/include/easylogging++.cc: In member function ‘void 
el::base::LogDispatcher::dispatch()’:
/usr/include/easylogging++.cc:2492:74: warning: loop variable ‘h’ of type 
‘const std::pair<std::__cxx11::basic_string<char>, 
std::shared_ptr<el::LogDispatchCallback> >&’ binds to a temporary constructed 
from type ‘std::pair<const std::__cxx11::basic_string<char>, 
std::shared_ptr<el::LogDispatchCallback> >’ [-Wrange-loop-construct]
 2492 |   for (const std::pair<std::string, 
base::type::LogDispatchCallbackPtr>& h
      |                                                                         
 ^
/usr/include/easylogging++.cc:2492:74: note: use non-reference type ‘const 
std::pair<std::__cxx11::basic_string<char>, 
std::shared_ptr<el::LogDispatchCallback> >’ to make the copy explicit or 
‘const std::pair<const std::__cxx11::basic_string<char>, 
std::shared_ptr<el::LogDispatchCallback> >&’ to prevent copying
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 "INSTALL=install --strip-program=true" 
easyloggingdir=/usr/include returned exit code 2
make[1]: *** [debian/rules:11: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:8: 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:loggedfs, so that this is still
visible in the BTS web page for this package.

Thanks.

Reply via email to