[Bug 1992179] [NEW] shim FTBFS in Kinetic

Graham Inggs 1992179 at bugs.launchpad.net
Fri Oct 7 14:58:23 UTC 2022


Public bug reported:

I've copied what I hope is the relevant part of the log below.

In file included from /usr/include/string.h:535,
                 from /<<PKGBUILDDIR>>/include/system/string.h:3,
                 from shim.h:48,
                 from test-str.c:14:
In function ‘strncpy’,
    inlined from ‘test_strncpy’ at test-str.c:936:2:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:95:10: error: ‘strncpy’ destination unchanged after copying no bytes [-Werror=stringop-truncation]
   95 |   return __builtin___strncpy_chk (__dest, __src, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   96 |                                   __glibc_objsize (__dest));
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strncpy’,
    inlined from ‘test_strncpy’ at test-str.c:936:2:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:95:10: error: ‘strncpy’ destination unchanged after copying no bytes [-Werror=stringop-truncation]
   95 |   return __builtin___strncpy_chk (__dest, __src, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   96 |                                   __glibc_objsize (__dest));
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

** Affects: shim (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: ftbfs

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

Title:
  shim FTBFS in Kinetic

Status in shim package in Ubuntu:
  New

Bug description:
  I've copied what I hope is the relevant part of the log below.

  In file included from /usr/include/string.h:535,
                   from /<<PKGBUILDDIR>>/include/system/string.h:3,
                   from shim.h:48,
                   from test-str.c:14:
  In function ‘strncpy’,
      inlined from ‘test_strncpy’ at test-str.c:936:2:
  /usr/include/x86_64-linux-gnu/bits/string_fortified.h:95:10: error: ‘strncpy’ destination unchanged after copying no bytes [-Werror=stringop-truncation]
     95 |   return __builtin___strncpy_chk (__dest, __src, __len,
        |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     96 |                                   __glibc_objsize (__dest));
        |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~
  In function ‘strncpy’,
      inlined from ‘test_strncpy’ at test-str.c:936:2:
  /usr/include/x86_64-linux-gnu/bits/string_fortified.h:95:10: error: ‘strncpy’ destination unchanged after copying no bytes [-Werror=stringop-truncation]
     95 |   return __builtin___strncpy_chk (__dest, __src, __len,
        |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     96 |                                   __glibc_objsize (__dest));
        |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~
  cc1: all warnings being treated as errors

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




More information about the foundations-bugs mailing list