Bug#1119740: gupnp-tools: FTBFS: ../src/common/pretty-print.c:47:9: error: '__xmlIndentTreeOutput' is deprecated: See https://gnome.pages.gitlab.gnome.org/libxml2/html/deprecated.html [-Werror=deprecated-declarations]
Santiago Vila
sanvila at debian.org
Fri Oct 31 11:28:33 GMT 2025
Package: src:gupnp-tools
Version: 0.12.2-1
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202510/
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 cannot 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:gupnp-tools, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
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
The Meson build system
Version: 1.9.1
Source dir: /<<PKGBUILDDIR>>
Build dir: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
Build type: native build
../meson_options.txt:1: WARNING: Project does not target a minimum version but uses feature deprecated since '1.1.0': "boolean option" keyword argument "value" of type str. use a boolean, not a string
../meson_options.txt:2: WARNING: Project does not target a minimum version but uses feature deprecated since '1.1.0': "boolean option" keyword argument "value" of type str. use a boolean, not a string
Project name: gupnp-tools
Project version: 0.12.2
C compiler for the host machine: cc (gcc 15.2.0 "cc (Debian 15.2.0-7) 15.2.0")
C linker for the host machine: cc ld.bfd 2.45
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: YES (/usr/bin/pkg-config) 1.8.1
Run-time dependency gssdp-1.6 found: YES 1.6.4
Run-time dependency gupnp-1.6 found: YES 1.6.9
Run-time dependency libsoup-3.0 found: YES 3.6.5
Run-time dependency gupnp-av-1.0 found: YES 0.14.4
Run-time dependency gtk+-3.0 found: YES 3.24.51
Run-time dependency glib-2.0 found: YES 2.86.1
Run-time dependency gio-2.0 found: YES 2.86.1
Run-time dependency libxml-2.0 found: YES 2.15.1
Run-time dependency gobject-2.0 found: YES 2.86.1
Run-time dependency gtksourceview-4 found: YES 4.8.4
../meson.build:31: WARNING: Project does not target a minimum version but uses feature deprecated since '0.56.0': meson.source_root. use meson.project_source_root() or meson.global_source_root() instead.
Compiler for C supports arguments -Werror=deprecated-declarations: YES
Configuring config.h using configuration
Configuring didl-lite-dialog.ui using configuration
Program msgfmt found: YES (/usr/bin/msgfmt)
Dependency gio-2.0 found: YES 2.86.1 (cached)
Program /usr/bin/glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
Dependency gio-2.0 found: YES 2.86.1 (cached)
Program /usr/bin/glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
../src/av-cp/meson.build:12: WARNING: Project does not target a minimum version but uses feature deprecated since '0.56.0': gui_app arg in executable. Use 'win_subsystem' instead
Dependency gio-2.0 found: YES 2.86.1 (cached)
Program /usr/bin/glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
../src/network-light/meson.build:11: WARNING: Project does not target a minimum version but uses feature deprecated since '0.56.0': gui_app arg in executable. Use 'win_subsystem' instead
Dependency gio-2.0 found: YES 2.86.1 (cached)
Program /usr/bin/glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
../src/universal-cp/meson.build:11: WARNING: Project does not target a minimum version but uses feature deprecated since '0.56.0': gui_app arg in executable. Use 'win_subsystem' instead
Program msginit found: YES (/usr/bin/msginit)
Program msgmerge found: YES (/usr/bin/msgmerge)
Program xgettext found: YES (/usr/bin/xgettext)
Build targets in project: 46
WARNING: Deprecated features used:
* 0.56.0: {'gui_app arg in executable', 'meson.source_root'}
* 1.1.0: {'"boolean option" keyword argument "value" of type str'}
gupnp-tools 0.12.2
User defined options
buildtype : plain
libdir : lib/x86_64-linux-gnu
localstatedir : /var
prefix : /usr
python.bytecompile: -1
sysconfdir : /etc
wrap_mode : nodownload
Found ninja-1.12.1 at /usr/bin/ninja
dh_auto_build
cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j2 -v
[1/74] /usr/bin/glib-compile-resources /<<PKGBUILDDIR>>/data/org.gupnp.Tools.Common.gresource.xml --sourcedir /<<PKGBUILDDIR>>/data --sourcedir ../src/common --c-name gupnp_tools_common --generate --target src/common/common-resource.h --manual-register
[2/74] /usr/bin/glib-compile-resources /<<PKGBUILDDIR>>/data/org.gupnp.Tools.Common.gresource.xml --sourcedir /<<PKGBUILDDIR>>/data --sourcedir ../src/common --c-name gupnp_tools_common --generate --target src/common/common-resource.c --manual-register --dependency-file src/common/common-resource.c.d
[3/74] cc -Isrc/common/libutil.a.p -Isrc/common -I../src/com [too-long-redacted] -c src/common/common-resource.c
[4/74] cc -Isrc/common/libutil.a.p -Isrc/common -I../src/com [too-long-redacted] -c ../src/common/pretty-print.c
FAILED: src/common/libutil.a.p/pretty-print.c.o
cc -Isrc/common/libutil.a.p -Isrc/common -I../src/common -I. [too-long-redacted] -c ../src/common/pretty-print.c
../src/common/pretty-print.c: In function âpretty_print_xmlâ:
../src/common/pretty-print.c:47:9: error: â__xmlIndentTreeOutputâ is deprecated: See https://gnome.pages.gitlab.gnome.org/libxml2/html/deprecated.html [-Werror=deprecated-declarations]
47 | old_value = xmlIndentTreeOutput;
| ^~~~~~~~~
In file included from /usr/include/libxml2/libxml/HTMLparser.h:22,
from /usr/include/libxml2/libxml/globals.h:21,
from ../src/common/pretty-print.c:25:
/usr/include/libxml2/libxml/parser.h:1286:16: note: declared here
1286 | XMLPUBFUN int *__xmlIndentTreeOutput(void);
| ^~~~~~~~~~~~~~~~~~~~~
../src/common/pretty-print.c:48:9: error: â__xmlIndentTreeOutputâ is deprecated: See https://gnome.pages.gitlab.gnome.org/libxml2/html/deprecated.html [-Werror=deprecated-declarations]
48 | xmlIndentTreeOutput = 1;
| ^~~~~~~~~~~~~~~~~~~
/usr/include/libxml2/libxml/parser.h:1286:16: note: declared here
1286 | XMLPUBFUN int *__xmlIndentTreeOutput(void);
| ^~~~~~~~~~~~~~~~~~~~~
../src/common/pretty-print.c:54:9: error: â__xmlIndentTreeOutputâ is deprecated: See https://gnome.pages.gitlab.gnome.org/libxml2/html/deprecated.html [-Werror=deprecated-declarations]
54 | xmlIndentTreeOutput = old_value;
| ^~~~~~~~~~~~~~~~~~~
/usr/include/libxml2/libxml/parser.h:1286:16: note: declared here
1286 | XMLPUBFUN int *__xmlIndentTreeOutput(void);
| ^~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
[5/74] cc -Isrc/common/libutil.a.p -Isrc/common -I../src/com [too-long-redacted] ns.c.o -c ../src/common/icons.c
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:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
More information about the pkg-gnome-maintainers
mailing list