← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2125009] [NEW] xwayland ftbfs in questing archive rebuild

 

Public bug reported:

The package fails to build in the recent archive rebuild
https://people.canonical.com/~ginggs/ftbfs-report/test-rebuild-20250910-questing-questing.html

In file included from /usr/include/string.h:548,
                 from /usr/include/X11/Xos.h:62,
                 from /usr/include/X11/Xtrans/Xtrans.h:54,
                 from /usr/include/X11/Xtrans/Xtransint.h:79,
                 from /usr/include/X11/Xtrans/transport.c:55,
                 from ../os/xstrans.c:17:
In function ‘strncpy’,
    inlined from ‘_XSERVTransGetHostname’ at /usr/include/X11/Xtrans/Xtrans.c:1343:5,
    inlined from ‘_XSERVTransConvertAddress’ at /usr/include/X11/Xtrans/Xtransutil.c:195:12:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:100:10: error: ‘strncpy’ offset [130, 319] from the object at ‘name’ is out of the bounds of referenced subobject ‘nodename’ with type ‘char[65]’ at offset 65 [-Werror=array-bounds=]
  100 |   return __builtin___strncpy_chk (__dest, __src, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  101 |                                   __glibc_objsize (__dest));
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/Xtrans/Xtransint.h:105:
/usr/include/x86_64-linux-gnu/sys/utsname.h: In function ‘_XSERVTransConvertAddress’:
/usr/include/x86_64-linux-gnu/sys/utsname.h:54:10: note: subobject ‘nodename’ declared here
   54 |     char nodename[_UTSNAME_NODENAME_LENGTH];
      |          ^~~~~~~~
cc1: some warnings being treated as errors

** Affects: xwayland (Ubuntu)
     Importance: Undecided
     Assignee: Simon Poirier (simpoir)
         Status: New


** Tags: dcr-incoming ftbfs

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to xwayland in Ubuntu.
https://bugs.launchpad.net/bugs/2125009

Title:
  xwayland ftbfs in questing archive rebuild

Status in xwayland package in Ubuntu:
  New

Bug description:
  The package fails to build in the recent archive rebuild
  https://people.canonical.com/~ginggs/ftbfs-report/test-rebuild-20250910-questing-questing.html

  In file included from /usr/include/string.h:548,
                   from /usr/include/X11/Xos.h:62,
                   from /usr/include/X11/Xtrans/Xtrans.h:54,
                   from /usr/include/X11/Xtrans/Xtransint.h:79,
                   from /usr/include/X11/Xtrans/transport.c:55,
                   from ../os/xstrans.c:17:
  In function ‘strncpy’,
      inlined from ‘_XSERVTransGetHostname’ at /usr/include/X11/Xtrans/Xtrans.c:1343:5,
      inlined from ‘_XSERVTransConvertAddress’ at /usr/include/X11/Xtrans/Xtransutil.c:195:12:
  /usr/include/x86_64-linux-gnu/bits/string_fortified.h:100:10: error: ‘strncpy’ offset [130, 319] from the object at ‘name’ is out of the bounds of referenced subobject ‘nodename’ with type ‘char[65]’ at offset 65 [-Werror=array-bounds=]
    100 |   return __builtin___strncpy_chk (__dest, __src, __len,
        |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    101 |                                   __glibc_objsize (__dest));
        |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~
  In file included from /usr/include/X11/Xtrans/Xtransint.h:105:
  /usr/include/x86_64-linux-gnu/sys/utsname.h: In function ‘_XSERVTransConvertAddress’:
  /usr/include/x86_64-linux-gnu/sys/utsname.h:54:10: note: subobject ‘nodename’ declared here
     54 |     char nodename[_UTSNAME_NODENAME_LENGTH];
        |          ^~~~~~~~
  cc1: some warnings being treated as errors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xwayland/+bug/2125009/+subscriptions