Thanks for the investigative work, Athos.

As we discussed in private, I'm going to do a sync of sane-airscan from
Debian experimental, which contains the patch necessary for this fix.
The sync should also close this bug.

Cheers.

** Changed in: sane-airscan (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to sane-airscan in Ubuntu.
https://bugs.launchpad.net/bugs/1939916

Title:
  FTBFS 0.99.25-0ubuntu1 error: ‘__builtin_memcpy’ writing 5 bytes into
  a region of size 0 overflows the destination [-Werror=stringop-
  overflow=]

Status in sane-airscan package in Ubuntu:
  Fix Released

Bug description:
  https://people.canonical.com/~doko/ftbfs-report/test-
  rebuild-20210805-impish-impish.html

  https://launchpadlibrarian.net/552666330/buildlog_ubuntu-impish-
  amd64.sane-airscan_0.99.25-0ubuntu1_BUILDING.txt.gz

  In function ‘strcpy’,
      inlined from ‘trace_open’ at airscan-trace.c:113:5:
  /usr/include/x86_64-linux-gnu/bits/string_fortified.h:79:10: error: 
‘__builtin_memcpy’ writing 5 bytes into a region of size 0 overflows the 
destination [-Werror=stringop-overflow=]
     79 |   return __builtin___strcpy_chk (__dest, __src, __glibc_objsize 
(__dest));
        |          ^
  lto1: all warnings being treated as errors
  make[2]: *** [/tmp/ccRt7B21.mk:2: /tmp/cc0DKpF3.ltrans0.ltrans.o] Error 1
  lto-wrapper: fatal error: make returned 2 exit status
  compilation terminated.
  /usr/bin/ld: error: lto-wrapper failed
  collect2: error: ld returned 1 exit status
  make[1]: *** [Makefile:167: test-zeroconf] Error 1

  Upstream patch is available at https://github.com/alexpevzner/sane-
  airscan/commit/0b9be6d0c5cce6f8717eae51c218d4e8f967e79b

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sane-airscan/+bug/1939916/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to