Bug#1075027: gnome-shell-extension-manager: ftbfs with GCC-14
Matthias Klose
doko at debian.org
Wed Jul 3 13:28:45 BST 2024
Package: src:gnome-shell-extension-manager
Version: 0.5.1-2
Severity: important
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-14
[This bug is targeted to the upcoming trixie release]
Please keep this issue open in the bug tracker for the package it
was filed for. If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.
The package fails to build in a test rebuild on at least amd64 with
gcc-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.
The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/gnome-shell-extension-manager_0.5.1-2_unstable_gccexp.log
The last lines of the build log are at the end of this report.
To build with GCC 14, either set CC=gcc-14 CXX=g++-14 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-14/porting_to.html
[...]
../src/exm-window.c:327:23: warning: unused parameter ‘manager’ [-Wunused-parameter]
327 | on_error (ExmManager *manager,
| ~~~~~~~~~~~~^~~~~~~
../src/exm-window.c: In function ‘do_version_check’:
../src/exm-window.c:385:12: warning: variable ‘version_string’ set but not used [-Wunused-but-set-variable]
385 | gchar *version_string;
| ^~~~~~~~~~~~~~
../src/exm-window.c:382:30: warning: unused parameter ‘self’ [-Wunused-parameter]
382 | do_version_check (ExmWindow *self)
| ~~~~~~~~~~~^~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:30,
from /usr/include/glib-2.0/gobject/gbinding.h:31,
from /usr/include/glib-2.0/glib-object.h:24,
from /usr/include/gtk-4.0/gtk/css/gtkcssenumtypes.h:11,
from /usr/include/gtk-4.0/gtk/css/gtkcss.h:33,
from /usr/include/gtk-4.0/gtk/gtk.h:29,
from /usr/include/libadwaita-1/adwaita.h:9,
from ../src/exm-window.h:21,
from ../src/exm-window.c:20:
../src/exm-window.c: In function ‘exm_window_init’:
/usr/include/glib-2.0/gobject/gsignal.h:519:59: error: passing argument 3 of ‘g_signal_connect_data’ from incompatible pointer type [-Wincompatible-pointer-types]
519 | g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, (GConnectFlags) 0)
| ^~~~~~~~~~~
| |
| void (*)(ExmManager *, char *, ExmWindow *) {aka void (*)(struct _ExmManager *, char *, struct _ExmWindow *)}
../src/exm-window.c:407:5: note: in expansion of macro ‘g_signal_connect’
407 | g_signal_connect (self->manager, "error-occurred", on_error, self);
| ^~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gsignal.h:411:67: note: expected ‘GCallback’ {aka ‘void (*)(void)’} but argument is of type ‘void (*)(ExmManager *, char *, ExmWindow *)’ {aka ‘void (*)(struct _ExmManager *, char *, struct _ExmWindow *)’}
411 | GCallback c_handler,
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~
[47/75] cc -Isrc/extension-manager.p -Isrc -I../src -I/usr/include/gtk-4.0 -I/usr/include/pango-1.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/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -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/graphene-1.0 -I/usr/lib/x86_64-linux-gnu/graphene-1.0/include -I/usr/include/libadwaita-1 -I/usr/include/appstream -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libsoup-3.0 -I/usr/include/text-engine -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Werror=implicit-function-declaration -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 -mfpmath=sse -msse -msse2 -mfpmath=sse -msse -msse2 -MD -MQ src/extension-manager.p/exm-zoom-picture.c.o -MF src/extension-manager.p/exm-zoom-picture.c.o.d -o src/extension-manager.p/exm-zoom-picture.c.o -c ../src/exm-zoom-picture.c
../src/exm-zoom-picture.c: In function ‘exm_zoom_picture_finalize’:
../src/exm-zoom-picture.c:74:25: warning: unused variable ‘self’ [-Wunused-variable]
74 | ExmZoomPicture *self = (ExmZoomPicture *)object;
| ^~~~
../src/exm-zoom-picture.c: In function ‘exm_zoom_picture_get_zoom_level_max’:
../src/exm-zoom-picture.c:151:54: warning: unused parameter ‘self’ [-Wunused-parameter]
151 | exm_zoom_picture_get_zoom_level_max (ExmZoomPicture *self)
| ~~~~~~~~~~~~~~~~^~~~
../src/exm-zoom-picture.c: In function ‘exm_zoom_picture_get_zoom_level_min’:
../src/exm-zoom-picture.c:157:54: warning: unused parameter ‘self’ [-Wunused-parameter]
157 | exm_zoom_picture_get_zoom_level_min (ExmZoomPicture *self)
| ~~~~~~~~~~~~~~~~^~~~
../src/exm-zoom-picture.c: In function ‘exm_zoom_picture_get_zoom_level_step’:
../src/exm-zoom-picture.c:163:55: warning: unused parameter ‘self’ [-Wunused-parameter]
163 | exm_zoom_picture_get_zoom_level_step (ExmZoomPicture *self)
| ~~~~~~~~~~~~~~~~^~~~
../src/exm-zoom-picture.c: In function ‘on_gesture_begin’:
../src/exm-zoom-picture.c:284:53: warning: unused parameter ‘sequence’ [-Wunused-parameter]
284 | GdkEventSequence *sequence,
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
../src/exm-zoom-picture.c: In function ‘on_drag_update’:
../src/exm-zoom-picture.c:322:33: warning: unused parameter ‘gesture’ [-Wunused-parameter]
322 | on_drag_update (GtkGestureDrag *gesture,
| ~~~~~~~~~~~~~~~~^~~~~~~
[48/75] cc -Isrc/extension-manager.p -Isrc -I../src -I/usr/include/gtk-4.0 -I/usr/include/pango-1.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/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -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/graphene-1.0 -I/usr/lib/x86_64-linux-gnu/graphene-1.0/include -I/usr/include/libadwaita-1 -I/usr/include/appstream -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libsoup-3.0 -I/usr/include/text-engine -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Werror=implicit-function-declaration -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 -mfpmath=sse -msse -msse2 -mfpmath=sse -msse -msse2 -MD -MQ src/extension-manager.p/exm-comment-dialog.c.o -MF src/extension-manager.p/exm-comment-dialog.c.o.d -o src/extension-manager.p/exm-comment-dialog.c.o -c ../src/exm-comment-dialog.c
../src/exm-comment-dialog.c: In function ‘on_get_comments’:
../src/exm-comment-dialog.c:145:30: warning: cast between incompatible function types from ‘GtkWidget * (*)(ExmComment *)’ {aka ‘struct _GtkWidget * (*)(struct _ExmComment *)’} to ‘GtkWidget * (*)(void *, void *)’ {aka ‘struct _GtkWidget * (*)(void *, void *)’} [-Wcast-function-type]
145 | (GtkListBoxCreateWidgetFunc) comment_factory,
| ^
[49/75] cc -Isrc/extension-manager.p -Isrc -I../src -I/usr/include/gtk-4.0 -I/usr/include/pango-1.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/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -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/graphene-1.0 -I/usr/lib/x86_64-linux-gnu/graphene-1.0/include -I/usr/include/libadwaita-1 -I/usr/include/appstream -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libsoup-3.0 -I/usr/include/text-engine -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -Werror=implicit-function-declaration -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 -mfpmath=sse -msse -msse2 -mfpmath=sse -msse -msse2 -MD -MQ src/extension-manager.p/exm-comment-tile.c.o -MF src/extension-manager.p/exm-comment-tile.c.o.d -o src/extension-manager.p/exm-comment-tile.c.o -c ../src/exm-comment-tile.c
../src/exm-comment-tile.c: In function ‘exm_comment_tile_finalize’:
../src/exm-comment-tile.c:41:21: warning: unused variable ‘self’ [-Wunused-variable]
41 | ExmCommentTile *self = (ExmCommentTile *)object;
| ^~~~
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
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the pkg-gnome-maintainers
mailing list