Package: src:xkeycaps
Version: 2.47-8
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules build
dh build
   dh_update_autotools_config
   dh_autoreconf
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
xmkmf
imake -DUseInstalled -I/usr/lib/X11/config
dh_auto_build -- CDEBUGFLAGS="-g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection 
-Wformat -Werror=format-security -fcf-protection"
        make -j2 "INSTALL=install --strip-program=true" "CDEBUGFLAGS=-g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection"
make[2]: Entering directory '/<<PKGBUILDDIR>>'
gcc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection    -I./kbds      
-Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L                             -D_POSIX_SOURCE 
-D_XOPEN_SOURCE                                 -D_BSD_SOURCE -D_SVID_SOURCE                
                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64                                 
                                  -DFUNCPROTO=15 -DNARROWPROTO       -Wdate-time 
-D_FORTIFY_SOURCE=2  -c -o xkeycaps.o xkeycaps.c
gcc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection    -I./kbds      
-Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L                             -D_POSIX_SOURCE 
-D_XOPEN_SOURCE                                 -D_BSD_SOURCE -D_SVID_SOURCE                
                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64                                 
                                  -DFUNCPROTO=15 -DNARROWPROTO       -Wdate-time 
-D_FORTIFY_SOURCE=2  -c -o KbdWidget.o KbdWidget.c
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:28,
                 from KbdWidget.c:13:
/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are 
deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use 
_DEFAULT_SOURCE"
      |   ^~~~~~~
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:28,
                 from xkeycaps.c:15:
/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are 
deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use 
_DEFAULT_SOURCE"
      |   ^~~~~~~
gcc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection    -I./kbds      
-Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L                             -D_POSIX_SOURCE 
-D_XOPEN_SOURCE                                 -D_BSD_SOURCE -D_SVID_SOURCE                
                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64                                 
                                  -DFUNCPROTO=15 -DNARROWPROTO       -Wdate-time 
-D_FORTIFY_SOURCE=2  -c -o KeyWidget.o KeyWidget.c
In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25,
                 from /usr/include/X11/Xlib.h:38,
                 from /usr/include/X11/Intrinsic.h:53,
                 from KeyWidget.c:14:
/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are 
deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use 
_DEFAULT_SOURCE"
      |   ^~~~~~~
gcc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection    -I./kbds      
-Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L                             -D_POSIX_SOURCE 
-D_XOPEN_SOURCE                                 -D_BSD_SOURCE -D_SVID_SOURCE                
                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64                                 
                                  -DFUNCPROTO=15 -DNARROWPROTO       -Wdate-time 
-D_FORTIFY_SOURCE=2  -c -o info.o info.c
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:28,
                 from info.c:13:
/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are 
deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use 
_DEFAULT_SOURCE"
      |   ^~~~~~~
gcc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection    -I./kbds      
-Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L                             -D_POSIX_SOURCE 
-D_XOPEN_SOURCE                                 -D_BSD_SOURCE -D_SVID_SOURCE                
                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64                                 
                                  -DFUNCPROTO=15 -DNARROWPROTO       -Wdate-time 
-D_FORTIFY_SOURCE=2  -c -o actions.o actions.c
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:28,
                 from actions.c:13:
/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are 
deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use 
_DEFAULT_SOURCE"
      |   ^~~~~~~
info.c: In function ‘describe_key’:
info.c:469:22: warning: ‘  0x’ directive writing 4 bytes into a region of size 
between 1 and 255 [-Wformat-overflow=]
  469 |     sprintf (buf, "%s  0x%02X  %u  0%02o", buf2, ascii, ascii, ascii);
      |                      ^~~~
info.c:469:19: note: directive argument in the range [1, 255]
  469 |     sprintf (buf, "%s  0x%02X  %u  0%02o", buf2, ascii, ascii, ascii);
      |                   ^~~~~~~~~~~~~~~~~~~~~~~
info.c:469:19: note: directive argument in the range [1, 255]
info.c:469:19: note: directive argument in the range [1, 255]
In file included from /usr/include/stdio.h:970:
In function ‘sprintf’,
    inlined from ‘describe_key’ at info.c:469:5:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: 
‘__builtin___sprintf_chk’ output between 15 and 272 bytes into a destination of 
size 255
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
gcc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection    -I./kbds      
-Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L                             -D_POSIX_SOURCE 
-D_XOPEN_SOURCE                                 -D_BSD_SOURCE -D_SVID_SOURCE                
                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64                                 
                                  -DFUNCPROTO=15 -DNARROWPROTO       -Wdate-time 
-D_FORTIFY_SOURCE=2  -c -o commands.o commands.c
In file included from /usr/include/unistd.h:25,
                 from commands.c:14:
/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are 
deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use 
_DEFAULT_SOURCE"
      |   ^~~~~~~
commands.c: In function ‘button_write’:
commands.c:710:15: warning: ‘XKeycodeToKeysym’ is deprecated 
[-Wdeprecated-declarations]
  710 |               ks = XKeycodeToKeysym (XtDisplay (widget), added [i][j], 
0);
      |               ^~
In file included from commands.c:30:
/usr/include/X11/Xlib.h:1683:15: note: declared here
 1683 | extern KeySym XKeycodeToKeysym(
      |               ^~~~~~~~~~~~~~~~
commands.c: In function ‘keyset_list_cb’:
commands.c:1756:36: error: passing argument 2 of ‘XawListChange’ from 
incompatible pointer type [-Wincompatible-pointer-types]
 1756 |   XawListChange (box->keysym_list, (const char **)keysym_name_buffer, 
0, 0, True);
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                    |
      |                                    const char **
In file included from commands.c:46:
/usr/include/X11/Xaw/List.h:170:26: note: expected ‘char **’ but argument is of 
type ‘const char **’
  170 |  String                 *list,
      |  ~~~~~~~~~~~~~~~~~~~~~~~~^~~~
commands.c: In function ‘keysym_list_cb’:
commands.c:1771:11: warning: cast from pointer to integer of different size 
[-Wpointer-to-int-cast]
 1771 |   int i = (int) XawToggleGetCurrent (box->keysym_buttons [0]);
      |           ^
commands.c:1783:7: warning: missing sentinel in function call [-Wformat=]
 1783 |       XtVaSetValues (button, XtNlabel, lr->string, 0);
      |       ^~~~~~~~~~~~~
commands.c: In function ‘make_edit_key_dbox’:
commands.c:2203:3: warning: missing sentinel in function call [-Wformat=]
 2203 |   XtVaSetValues (set_list, XtNwidth, set_list->core.width + 20, 0);
      |   ^~~~~~~~~~~~~
commands.c:2232:3: warning: missing sentinel in function call [-Wformat=]
 2232 |   XtVaSetValues (sym_list, XtNwidth, sym_list->core.width + 20, 0);
      |   ^~~~~~~~~~~~~
commands.c: In function ‘keyboard_list_cb’:
commands.c:2530:36: error: passing argument 2 of ‘XawListChange’ from 
incompatible pointer type [-Wincompatible-pointer-types]
 2530 |   XawListChange (box->keymap_list, (const char **) box->set->maps, 0, 
0, True);
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                    |
      |                                    const char **
/usr/include/X11/Xaw/List.h:170:26: note: expected ‘char **’ but argument is of 
type ‘const char **’
  170 |  String                 *list,
      |  ~~~~~~~~~~~~~~~~~~~~~~~~^~~~
commands.c:2552:5: warning: missing sentinel in function call [-Wformat=]
 2552 |     XtVaSetValues (box->icon, XtNbitmap, p, XtNheight, h, 0);
      |     ^~~~~~~~~~~~~
commands.c: In function ‘vendor_list_cb’:
commands.c:2601:38: error: passing argument 2 of ‘XawListChange’ from 
incompatible pointer type [-Wincompatible-pointer-types]
 2601 |   XawListChange (box->keyboard_list, (const char **)list, 0, 0, True);
      |                                      ^~~~~~~~~~~~~~~~~~~
      |                                      |
      |                                      const char **
/usr/include/X11/Xaw/List.h:170:26: note: expected ‘char **’ but argument is of 
type ‘const char **’
  170 |  String                 *list,
      |  ~~~~~~~~~~~~~~~~~~~~~~~~^~~~
commands.c: In function ‘make_select_kbd_dbox’:
commands.c:2657:3: warning: missing sentinel in function call [-Wformat=]
 2657 |   XtVaSetValues (vendor_list, XtNwidth, vendor_list->core.width + 20, 
0);
      |   ^~~~~~~~~~~~~
commands.c:2685:5: warning: missing sentinel in function call [-Wformat=]
 2685 |     XtVaSetValues (kbd_list, XtNwidth, kbd_list->core.width + 20, 0);
      |     ^~~~~~~~~~~~~
commands.c:2711:5: warning: missing sentinel in function call [-Wformat=]
 2711 |     XtVaSetValues (map_list, XtNwidth, map_list->core.width + 20, 0);
      |     ^~~~~~~~~~~~~
commands.c: In function ‘pop_up_kbd_dbox’:
commands.c:2748:3: warning: missing sentinel in function call [-Wformat=]
 2748 |   XtVaSetValues (select_kbd_box->label2, XtNlabel, choose_kbd_message, 
0);
      |   ^~~~~~~~~~~~~
commands.c: In function ‘stop_the_insanity’:
commands.c:3213:31: warning: ‘XKeycodeToKeysym’ is deprecated 
[-Wdeprecated-declarations]
 3213 |                               ? XKeycodeToKeysym (dpy, code2, column)
      |                               ^
/usr/include/X11/Xlib.h:1683:15: note: declared here
 1683 | extern KeySym XKeycodeToKeysym(
      |               ^~~~~~~~~~~~~~~~
commands.c:3279:31: warning: ‘XKeycodeToKeysym’ is deprecated 
[-Wdeprecated-declarations]
 3279 |                               ? XKeycodeToKeysym (dpy, code2, column)
      |                               ^
/usr/include/X11/Xlib.h:1683:15: note: declared here
 1683 | extern KeySym XKeycodeToKeysym(
      |               ^~~~~~~~~~~~~~~~
make[2]: *** [<builtin>: commands.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 "INSTALL=install --strip-program=true" "CDEBUGFLAGS=-g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection" returned exit code 2
make[1]: *** [debian/rules:8: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:16: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202411/

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 could not 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 affects, so that this is still visible in the BTS web
page for this package.

Thanks.

Reply via email to