Source: gcin
Version: 2.9.0+dfsg1-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240313 ftbfs-trixie ftbfs-impfuncdef

Hi,

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

This is most likely caused by a change in dpkg 1.22.6, that enabled
-Werror=implicit-function-declaration. For more information, see
https://wiki.debian.org/qa.debian.org/FTBFS#A2024-03-13_-Werror.3Dimplicit-function-declaration

Relevant part (hopefully):
> gcc -x c -std=gnu99 -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -fcommon -Wdate-time -D_FORTIFY_SOURCE=2 -DUNIX=1  -g -O 
> -I/usr/include/gtk-3.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/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/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 -pthread  -I./IMdkit/include 
> -I./im-client -DDEBUG="00" -DGCIN_TABLE_DIR=\"/usr/share/gcin/table\" 
> -DGCIN_OGG_DIR=\"/usr/share/gcin/ogg\" 
> -DDOC_DIR=\"/usr/share/doc/gcin-2.9.0\" 
> -DGCIN_ICON_DIR=\"/usr/share/icons/gcin\" 
> -DGCIN_SCRIPT_DIR=\"/usr/share/gcin/script\" -DGCIN_BIN_DIR=\"/usr/bin\" 
> -DSYS_ICON_DIR=\"/usr/share/icons\" -DFREEBSD=0 -DMAC_OS=0  -DUSE_XIM=1 
> -DTRAY_ENABLED=1 -DUSE_TSIN=1 -DUSE_GCB=1 -DUSE_INDICATOR=1 
> -I/usr/include/libayatana-appindicator3-0.1 
> -I/usr/include/libayatana-indicator3-0.4 -I/usr/include/gtk-3.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/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/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/libayatana-ido3-0.4 -I/usr/include/libdbusmenu-glib-0.4 
> -pthread  -c gcin.cpp
> In file included from gcin.h:5,
>                  from gcin.cpp:1:
> os-dep.h:45: warning: "G_CONST_RETURN" redefined
>    45 | #define G_CONST_RETURN const
>       | 
> In file included from 
> /usr/lib/x86_64-linux-gnu/glib-2.0/include/glibconfig.h:9,
>                  from /usr/include/glib-2.0/glib/gtypes.h:34,
>                  from /usr/include/glib-2.0/glib/galloca.h:34,
>                  from /usr/include/glib-2.0/glib.h:32,
>                  from os-dep.h:43:
> /usr/include/glib-2.0/glib/gmacros.h:1045: note: this is the location of the 
> previous definition
>  1045 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const)
>       | 
> gcin.cpp: In function ‘open_xim’:
> gcin.cpp:250:11: error: implicit declaration of function ‘p_err_no_alert’; 
> did you mean ‘p_err_no_alter’? [-Werror=implicit-function-declaration]
>   250 |           p_err_no_alert("IMOpenIM '%s' failed. Maybe another XIM 
> server is running.\n",
>       |           ^~~~~~~~~~~~~~
>       |           p_err_no_alter
> gcin.cpp: In function ‘delayed_start_cb’:
> gcin.cpp:501:7: error: implicit declaration of function ‘init_tray_indicator’ 
> [-Werror=implicit-function-declaration]
>   501 |       init_tray_indicator();
>       |       ^~~~~~~~~~~~~~~~~~~
> gcin.cpp: In function ‘get_dpy_xyl’:
> gcin.cpp:521:9: warning: ‘gdk_screen_width’ is deprecated 
> [-Wdeprecated-declarations]
>   521 |         dpy_xl = gdk_screen_width(), dpy_yl = gdk_screen_height();
>       |         ^~~~~~
> In file included from /usr/include/gtk-3.0/gdk/gdk.h:50,
>                  from /usr/include/gtk-3.0/gdk/gdkx.h:28,
>                  from os-dep.h:47:
> /usr/include/gtk-3.0/gdk/gdkmain.h:108:6: note: declared here
>   108 | gint gdk_screen_width  (void) G_GNUC_CONST;
>       |      ^~~~~~~~~~~~~~~~
> gcin.cpp:521:9: warning: ‘gdk_screen_height’ is deprecated 
> [-Wdeprecated-declarations]
>   521 |         dpy_xl = gdk_screen_width(), dpy_yl = gdk_screen_height();
>       |         ^~~~~~
> /usr/include/gtk-3.0/gdk/gdkmain.h:110:6: note: declared here
>   110 | gint gdk_screen_height (void) G_GNUC_CONST;
>       |      ^~~~~~~~~~~~~~~~~
> gcin.cpp: In function ‘main’:
> gcin.cpp:545:4: warning: ignoring return value of ‘chdir’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>   545 |    chdir(homedir);
>       |    ^~~~~~~~~~~~~~
> gcin.cpp:585:5: warning: ignoring return value of ‘daemon’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>   585 |     daemon(1,1);
>       |     ^~~~~~~~~~~
> cc1: some warnings being treated as errors
> make[1]: *** [suffixes-rule:4: gcin.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/gcin_2.9.0+dfsg1-2_unstable.log

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

Reply via email to