Bug#1117362: pixelize: FTBFS: src/main.c:86:11: error: 'gdk_pixbuf_new_from_xpm_data' is deprecated [-Werror=deprecated-declarations]
Santiago Vila
sanvila at debian.org
Sun Oct 5 15:14:56 BST 2025
Package: src:pixelize
Version: 2.0.0~git20220108.d1f9da9-2
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:pixelize, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/make clean
make[2]: Entering directory '/<<PKGBUILDDIR>>'
python3 ./tools/glade2c -i glade/pixelize.glade -o include/pixelize_model.h
clang-format -i include/pixelize_model.h
gcc -MM -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Iinclude -I/usr/X11R6/include `pkg-config --cflags gtk+-3.0` -g -O2 -fPIE -Wl,--export-dynamic -DGSEAL_ENABLE -DGTK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED -Wall -Wextra -Werror -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 src/cursor.c src/display.c src/draw_image.c src/file_dialog.c src/find_match.c src/globals.c src/highlight.c src/info_popup.c src/main.c src/make_db.c src/menu.c src/options.c src/read_db.c src/render.c src/render_image.c src/stats.c src/status.c > depend
rm -rf obj/cursor.o obj/display.o obj/draw_image.o obj/file_dialog.o obj/find_match.o obj/globals.o obj/highlight.o obj/info_popup.o obj/main.o obj/make_db.o obj/menu.o obj/options.o obj/read_db.o obj/render.o obj/render_image.o obj/stats.o obj/status.o pixelize make_db core depend include/pixelize_model.h
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
dh_auto_build
make -j2 INSTALL="install --strip-program=true"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
python3 ./tools/glade2c -i glade/pixelize.glade -o include/pixelize_model.h
clang-format -i include/pixelize_model.h
gcc -MM -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Iinclude -I/usr/X11R6/include `pkg-config --cflags gtk+-3.0` -g -O2 -fPIE -Wl,--export-dynamic -DGSEAL_ENABLE -DGTK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED -Wall -Wextra -Werror -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 src/cursor.c src/display.c src/draw_image.c src/file_dialog.c src/find_match.c src/globals.c src/highlight.c src/info_popup.c src/main.c src/make_db.c src/menu.c src/options.c src/read_db.c src/render.c src/render_image.c src/stats.c src/status.c > depend
mkdir obj
gcc -c -o obj/make_db.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Iinclude -I/usr/X11R6/include `pkg-config --cflags gtk+-3.0` -g -O2 -fPIE -Wl,--export-dynamic -DGSEAL_ENABLE -DGTK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED -Wall -Wextra -Werror -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 src/make_db.c
gcc -c -o obj/read_db.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Iinclude -I/usr/X11R6/include `pkg-config --cflags gtk+-3.0` -g -O2 -fPIE -Wl,--export-dynamic -DGSEAL_ENABLE -DGTK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED -Wall -Wextra -Werror -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 src/read_db.c
gcc -c -o obj/cursor.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Iinclude -I/usr/X11R6/include `pkg-config --cflags gtk+-3.0` -g -O2 -fPIE -Wl,--export-dynamic -DGSEAL_ENABLE -DGTK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED -Wall -Wextra -Werror -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 src/cursor.c
gcc -c -o obj/display.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Iinclude -I/usr/X11R6/include `pkg-config --cflags gtk+-3.0` -g -O2 -fPIE -Wl,--export-dynamic -DGSEAL_ENABLE -DGTK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED -Wall -Wextra -Werror -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 src/display.c
gcc -c -o obj/draw_image.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Iinclude -I/usr/X11R6/include `pkg-config --cflags gtk+-3.0` -g -O2 -fPIE -Wl,--export-dynamic -DGSEAL_ENABLE -DGTK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED -Wall -Wextra -Werror -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 src/draw_image.c
gcc -c -o obj/file_dialog.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Iinclude -I/usr/X11R6/include `pkg-config --cflags gtk+-3.0` -g -O2 -fPIE -Wl,--export-dynamic -DGSEAL_ENABLE -DGTK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED -Wall -Wextra -Werror -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 src/file_dialog.c
gcc -c -o obj/find_match.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Iinclude -I/usr/X11R6/include `pkg-config --cflags gtk+-3.0` -g -O2 -fPIE -Wl,--export-dynamic -DGSEAL_ENABLE -DGTK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED -Wall -Wextra -Werror -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 src/find_match.c
gcc -c -o obj/globals.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Iinclude -I/usr/X11R6/include `pkg-config --cflags gtk+-3.0` -g -O2 -fPIE -Wl,--export-dynamic -DGSEAL_ENABLE -DGTK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED -Wall -Wextra -Werror -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 src/globals.c
gcc -c -o obj/highlight.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Iinclude -I/usr/X11R6/include `pkg-config --cflags gtk+-3.0` -g -O2 -fPIE -Wl,--export-dynamic -DGSEAL_ENABLE -DGTK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED -Wall -Wextra -Werror -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 src/highlight.c
gcc -c -o obj/info_popup.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Iinclude -I/usr/X11R6/include `pkg-config --cflags gtk+-3.0` -g -O2 -fPIE -Wl,--export-dynamic -DGSEAL_ENABLE -DGTK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED -Wall -Wextra -Werror -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 src/info_popup.c
gcc -c -o obj/main.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Iinclude -I/usr/X11R6/include `pkg-config --cflags gtk+-3.0` -g -O2 -fPIE -Wl,--export-dynamic -DGSEAL_ENABLE -DGTK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED -Wall -Wextra -Werror -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 src/main.c
gcc -c -o obj/menu.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Iinclude -I/usr/X11R6/include `pkg-config --cflags gtk+-3.0` -g -O2 -fPIE -Wl,--export-dynamic -DGSEAL_ENABLE -DGTK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED -Wall -Wextra -Werror -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 src/menu.c
src/main.c: In function âmainâ:
src/main.c:86:11: error: âgdk_pixbuf_new_from_xpm_dataâ is deprecated [-Werror=deprecated-declarations]
86 | gdk_pixbuf_new_from_xpm_data((const char **)pixelize_xpm);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:34,
from /usr/include/gtk-3.0/gdk/gdkpixbuf.h:33,
from /usr/include/gtk-3.0/gdk/gdkcairo.h:29,
from /usr/include/gtk-3.0/gdk/gdk.h:33,
from /usr/include/gtk-3.0/gtk/gtk.h:30,
from include/display.h:26,
from src/main.c:27:
/usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:292:12: note: declared here
292 | GdkPixbuf *gdk_pixbuf_new_from_xpm_data (const char **data);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[1]: *** [Makefile:44: obj/main.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 INSTALL="install --strip-program=true" returned exit code 2
make: *** [debian/rules:10: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
More information about the Pkg-phototools-devel
mailing list