Package: src:libxml++2.6
Version: 2.42.3-2
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 --buildsystem=meson --without autoreconf
   dh_auto_clean -O--buildsystem=meson
   dh_clean -O--buildsystem=meson
 debian/rules binary
dh binary --buildsystem=meson --without autoreconf
   dh_update_autotools_config -O--buildsystem=meson
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure -- -Dmaintainer-mode=true
        cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb LC_ALL=C.UTF-8 
meson setup .. --wrap-mode=nodownload --buildtype=plain --prefix=/usr 
--sysconfdir=/etc --localstatedir=/var --libdir=lib/x86_64-linux-gnu 
-Dpython.bytecompile=-1 -Dmaintainer-mode=true
The Meson build system
Version: 1.7.0
Source dir: /<<PKGBUILDDIR>>
Build dir: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
Build type: native build
Project name: libxml++
Project version: 2.42.3
C++ compiler for the host machine: c++ (gcc 14.2.0 "c++ (Debian 14.2.0-19) 
14.2.0")
C++ linker for the host machine: c++ ld.bfd 2.44
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program python3 found: YES 3.13.2 3.13.2 (/usr/bin/python3)
Found pkg-config: YES (/usr/bin/pkg-config) 1.8.1
Run-time dependency libxml-2.0 found: YES 2.9.14
Run-time dependency glibmm-2.4 found: YES 2.66.8
Program mm-common-get found: YES (/usr/bin/mm-common-get)
Program doxygen found: YES (/usr/bin/doxygen)
Program dot found: NO
Program xsltproc found: YES (/usr/bin/xsltproc)
Message: The 'dot' command is not found.
  This will affect the look of the inheritance diagrams in the documentation.
Configuring libxml++-2.6.pc using configuration
Configuring libxml++config.h using configuration
Configuring libxml++.rc using configuration
Configuring libxml++config.h using configuration
Run-time dependency mm-common-libstdc++ found: YES 1.0.6
Run-time dependency sigc++-2.0 found: YES 2.12.1
Dependency glibmm-2.4 found: YES 2.66.8 (cached)
Configuring Doxyfile using configuration
Program xmllint found: YES (/usr/bin/xmllint)
Program dblatex found: NO
Program fop found: NO
../docs/manual/meson.build:41: WARNING: Can't validate XML file.
xmllint does not support Relax NG schemas and DocBook V5.0.
DocBook V5.0 support may require docbook5-xml, docbook5-schemas or a similar 
package.
Message: 
------
libxml++ 2.42.3

         Maintainer mode: true
       Compiler warnings: min (warning_level: 1, werror: false)
    Build deprecated API: true
Build HTML documentation: if-maintainer-mode (true)
          Build tutorial: true
          XML validation: false (requires xmllint with Relax NG and DocBook 
V5.0 support)
               Build PDF: false
  Build example programs: true
     Build test programs: true
Directories:
                  prefix: /usr
              includedir: /usr/include
         includexmlxxdir: /usr/include/libxml++-2.6
                  libdir: /usr/lib/x86_64-linux-gnu
        includeconfigdir: /usr/lib/x86_64-linux-gnu/libxml++-2.6/include
            pkgconfigdir: /usr/lib/x86_64-linux-gnu/pkgconfig
                 datadir: /usr/share
                  docdir: /usr/share/doc/libxml++-2.6
              devhelpdir: /usr/share/devhelp/books/libxml++-2.6
             tutorialdir: /usr/share/doc/libxml++-2.6/manual
------
Build targets in project: 24

libxml++ 2.42.3

  User defined options
    buildtype         : plain
    libdir            : lib/x86_64-linux-gnu
    localstatedir     : /var
    maintainer-mode   : true
    prefix            : /usr
    python.bytecompile: -1
    sysconfdir        : /etc
    wrap_mode         : nodownload

Found ninja-1.12.1 at /usr/bin/ninja
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_build -O--buildsystem=meson
        cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j2 -v
[1/93] c++ -Ilibxml++/libxml++-2.6.so.2.0.7.p -I. -I.. -I/usr/include/libxml2 
-I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include 
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
-I/usr/include/sysprof-6 -I/usr/include/sigc++-2.0 
-I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -fdiagnostics-color=always 
-D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++11 
-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -DLIBXMLPP_BUILD=1 -MD -MQ 
libxml++/libxml++-2.6.so.2.0.7.p/attributedeclaration.cc.o -MF 
libxml++/libxml++-2.6.so.2.0.7.p/attributedeclaration.cc.o.d -o 
libxml++/libxml++-2.6.so.2.0.7.p/attributedeclaration.cc.o -c 
../libxml++/attributedeclaration.cc
FAILED: libxml++/libxml++-2.6.so.2.0.7.p/attributedeclaration.cc.o 
c++ -Ilibxml++/libxml++-2.6.so.2.0.7.p -I. -I.. -I/usr/include/libxml2 
-I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include 
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
-I/usr/include/sysprof-6 -I/usr/include/sigc++-2.0 
-I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -fdiagnostics-color=always 
-D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++11 
-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -DLIBXMLPP_BUILD=1 -MD -MQ 
libxml++/libxml++-2.6.so.2.0.7.p/attributedeclaration.cc.o -MF 
libxml++/libxml++-2.6.so.2.0.7.p/attributedeclaration.cc.o.d -o 
libxml++/libxml++-2.6.so.2.0.7.p/attributedeclaration.cc.o -c 
../libxml++/attributedeclaration.cc
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 /usr/include/libxml2/libxml/globals.h:18,
                 from /usr/include/libxml2/libxml/threads.h:35,
                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
                 from /usr/include/libxml2/libxml/tree.h:1307,
                 from ../libxml++/attributedeclaration.cc:9:
/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);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
[2/93] c++ -Ilibxml++/libxml++-2.6.so.2.0.7.p -I. -I.. -I/usr/include/libxml2 
-I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include 
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
-I/usr/include/sysprof-6 -I/usr/include/sigc++-2.0 
-I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -fdiagnostics-color=always 
-D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++11 
-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -DLIBXMLPP_BUILD=1 -MD -MQ 
libxml++/libxml++-2.6.so.2.0.7.p/attribute.cc.o -MF 
libxml++/libxml++-2.6.so.2.0.7.p/attribute.cc.o.d -o 
libxml++/libxml++-2.6.so.2.0.7.p/attribute.cc.o -c ../libxml++/attribute.cc
FAILED: libxml++/libxml++-2.6.so.2.0.7.p/attribute.cc.o 
c++ -Ilibxml++/libxml++-2.6.so.2.0.7.p -I. -I.. -I/usr/include/libxml2 
-I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include 
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
-I/usr/include/sysprof-6 -I/usr/include/sigc++-2.0 
-I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -fdiagnostics-color=always 
-D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++11 
-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -DLIBXMLPP_BUILD=1 -MD -MQ 
libxml++/libxml++-2.6.so.2.0.7.p/attribute.cc.o -MF 
libxml++/libxml++-2.6.so.2.0.7.p/attribute.cc.o.d -o 
libxml++/libxml++-2.6.so.2.0.7.p/attribute.cc.o -c ../libxml++/attribute.cc
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 /usr/include/libxml2/libxml/globals.h:18,
                 from /usr/include/libxml2/libxml/threads.h:35,
                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
                 from /usr/include/libxml2/libxml/tree.h:1307,
                 from ../libxml++/attribute.cc:10:
/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);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.
dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j2 -v 
returned exit code 1
make: *** [debian/rules:8: binary] Error 25
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:libxml++2.6, so that this is still
visible in the BTS web page for this package.

Thanks.

Reply via email to