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: 
'__builtin_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
make[3]: *** [Makefile:696: xstrans.lo] Error 1

** Affects: xorg-server (Ubuntu)
     Importance: Undecided
     Assignee: Sebastien Bacher (seb128)
         Status: New


** Tags: dcr-incoming ftbfs

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2125007

Title:
  xorg-server ftbfs in questing archive rebuild

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/2125007/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to