Bug#1073337: gupnp-tools: FTBFS: ../src/common/pretty-print.c:37:9: error: ‘xmlRecoverMemory’ is deprecated [-Werror=deprecated-declarations]

Lucas Nussbaum lucas at debian.org
Sun Jun 16 13:52:07 BST 2024


Source: gupnp-tools
Version: 0.12.1-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240615 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> cc -Isrc/common/libutil.a.p -Isrc/common -I../src/common -I. -I.. -I/usr/include/libxml2 -I/usr/include/libsoup-3.0 -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/libmount -I/usr/include/blkid -I/usr/include/gupnp-1.6 -I/usr/include/gssdp-1.6 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror=deprecated-declarations -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ src/common/libutil.a.p/pretty-print.c.o -MF src/common/libutil.a.p/pretty-print.c.o.d -o src/common/libutil.a.p/pretty-print.c.o -c ../src/common/pretty-print.c
> ../src/common/pretty-print.c: In function ‘pretty_print_xml’:
> ../src/common/pretty-print.c:37:9: error: ‘xmlRecoverMemory’ is deprecated [-Werror=deprecated-declarations]
>    37 |         doc = xmlRecoverMemory (xml, strlen (xml));
>       |         ^~~
> In file included from /usr/include/libxml2/libxml/tree.h:17,
>                  from /usr/include/libxml2/libxml/xmlreader.h:14,
>                  from ../src/common/pretty-print.c:25:
> /usr/include/libxml2/libxml/parser.h:988:17: note: declared here
>   988 |                 xmlRecoverMemory        (const char *buffer,
>       |                 ^~~~~~~~~~~~~~~~
> cc1: some warnings being treated as errors
> [10/73] cc -Isrc/common/libutil.a.p -Isrc/common -I../src/common -I. -I.. -I/usr/include/libxml2 -I/usr/include/libsoup-3.0 -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/libmount -I/usr/include/blkid -I/usr/include/gupnp-1.6 -I/usr/include/gssdp-1.6 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror=deprecated-declarations -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ src/common/libutil.a.p/meson-generated_.._common-resource.c.o -MF src/common/libutil.a.p/meson-generated_.._common-resource.c.o.d -o src/common/libutil.a.p/meson-generated_.._common-resource.c.o -c src/common/common-resource.c
> [11/73] cc -Isrc/av-cp/gupnp-av-cp.p -Isrc/av-cp -I../src/av-cp -Isrc/common -I../src/common -I. -I.. -I/usr/include/gupnp-1.6 -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/libmount -I/usr/include/blkid -I/usr/include/gssdp-1.6 -I/usr/include/libsoup-3.0 -I/usr/include/libxml2 -I/usr/include/gupnp-av-1.0 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtksourceview-4 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror=deprecated-declarations -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -MD -MQ src/av-cp/gupnp-av-cp.p/meson-generated_.._av-cp-resource.c.o -MF src/av-cp/gupnp-av-cp.p/meson-generated_.._av-cp-resource.c.o.d -o src/av-cp/gupnp-av-cp.p/meson-generated_.._av-cp-resource.c.o -c src/av-cp/av-cp-resource.c
> [12/73] cc -Isrc/av-cp/gupnp-av-cp.p -Isrc/av-cp -I../src/av-cp -Isrc/common -I../src/common -I. -I.. -I/usr/include/gupnp-1.6 -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/libmount -I/usr/include/blkid -I/usr/include/gssdp-1.6 -I/usr/include/libsoup-3.0 -I/usr/include/libxml2 -I/usr/include/gupnp-av-1.0 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtksourceview-4 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror=deprecated-declarations -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -MD -MQ src/av-cp/gupnp-av-cp.p/didl-dialog.c.o -MF src/av-cp/gupnp-av-cp.p/didl-dialog.c.o.d -o src/av-cp/gupnp-av-cp.p/didl-dialog.c.o -c ../src/av-cp/didl-dialog.c
> [13/73] cc -Isrc/av-cp/gupnp-av-cp.p -Isrc/av-cp -I../src/av-cp -Isrc/common -I../src/common -I. -I.. -I/usr/include/gupnp-1.6 -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/libmount -I/usr/include/blkid -I/usr/include/gssdp-1.6 -I/usr/include/libsoup-3.0 -I/usr/include/libxml2 -I/usr/include/gupnp-av-1.0 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtksourceview-4 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror=deprecated-declarations -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -MD -MQ src/av-cp/gupnp-av-cp.p/main.c.o -MF src/av-cp/gupnp-av-cp.p/main.c.o.d -o src/av-cp/gupnp-av-cp.p/main.c.o -c ../src/av-cp/main.c
> [14/73] cc -Isrc/av-cp/gupnp-av-cp.p -Isrc/av-cp -I../src/av-cp -Isrc/common -I../src/common -I. -I.. -I/usr/include/gupnp-1.6 -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/libmount -I/usr/include/blkid -I/usr/include/gssdp-1.6 -I/usr/include/libsoup-3.0 -I/usr/include/libxml2 -I/usr/include/gupnp-av-1.0 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtksourceview-4 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror=deprecated-declarations -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -MD -MQ src/av-cp/gupnp-av-cp.p/gui.c.o -MF src/av-cp/gupnp-av-cp.p/gui.c.o.d -o src/av-cp/gupnp-av-cp.p/gui.c.o -c ../src/av-cp/gui.c
> [15/73] cc -Isrc/common/libutil.a.p -Isrc/common -I../src/common -I. -I.. -I/usr/include/libxml2 -I/usr/include/libsoup-3.0 -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/libmount -I/usr/include/blkid -I/usr/include/gupnp-1.6 -I/usr/include/gssdp-1.6 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror=deprecated-declarations -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ src/common/libutil.a.p/icons.c.o -MF src/common/libutil.a.p/icons.c.o.d -o src/common/libutil.a.p/icons.c.o -c ../src/common/icons.c
> [16/73] cc -Isrc/av-cp/gupnp-av-cp.p -Isrc/av-cp -I../src/av-cp -Isrc/common -I../src/common -I. -I.. -I/usr/include/gupnp-1.6 -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/libmount -I/usr/include/blkid -I/usr/include/gssdp-1.6 -I/usr/include/libsoup-3.0 -I/usr/include/libxml2 -I/usr/include/gupnp-av-1.0 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtksourceview-4 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror=deprecated-declarations -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -MD -MQ src/av-cp/gupnp-av-cp.p/playlist-treeview.c.o -MF src/av-cp/gupnp-av-cp.p/playlist-treeview.c.o.d -o src/av-cp/gupnp-av-cp.p/playlist-treeview.c.o -c ../src/av-cp/playlist-treeview.c
> ninja: build stopped: subcommand failed.
> dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j8 -v returned exit code 1
> make: *** [debian/rules:7: binary] Error 25


The full build log is available from:
http://qa-logs.debian.net/2024/06/15/gupnp-tools_0.12.1-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240615;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240615&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=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.



More information about the pkg-gnome-maintainers mailing list