Package: src:cctools
Version: 7.0.0-1
Severity: important
Tags: sid buster

cctools will fail to build with glibc-2.28, seen at
https://launchpadlibrarian.net/395998064/buildlog_ubuntu-disco-amd64.cctools_7.0.0-1build1_BUILDING.txt.gz

libforce_halt_enospc.c: In function ‘open’:
/usr/include/x86_64-linux-gnu/bits/fcntl2.h:41:1: error: inlining failed in call
to always_inline ‘open.localalias.0’: redefined extern inline functions are not
considered for inlining
 open (const char *__path, int __oflag, ...)
 ^~~~
libforce_halt_enospc.c:47:12: note: called from here
   err_fd = open(filename, O_RDWR | O_CREAT);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [../../rules.mk:6: libforce_halt_enospc.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/dttools/src'


Then trying to enable a verbose build I configured with --debug (which
apparently is supposed to make the build verbose), and I get

auth_unix.c: In function 'auth_unix_accept':
auth_unix.c:82:20: error: '/challenge.' directive writing 11 bytes into a region
of size between 1 and 2048 [-Werror=format-overflow=]
   sprintf(path, "%s/challenge.%d.%d", challenge_dir, (int) getpid(), rand());
                    ^~~~~~~~~~~
In file included from /usr/include/stdio.h:873,
                 from link.h:50,
                 from auth.h:11,
                 from auth_unix.c:8:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note:
'__builtin___sprintf_chk' output between 15 and 2082 bytes into a destination of
size 2048
   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       __bos (__s), __fmt, __va_arg_pack ());
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[3]: *** [../../rules.mk:6: auth_unix.o] Error 1


because --debug also sets strict building ...

so proposing a verbose patch instead:

$ less debian/patches/verbose-build.diff
Index: b/configure
===================================================================
--- a/configure
+++ b/configure
@@ -140,6 +140,9 @@ config_openssl_path=no
 config_irods_path=no
 config_xrootd_path=no

+# verbose build by default
+optdebug=1
+
 while [ $# -gt 0 ]
 do
        opt=$1

Reply via email to