Source: audit
Version: 1:2.8.4-1
Severity: serious

The latest upload of audit FTBFS on various architectures.  It looks like
a test program is built twice in parallel and make stumbles upon that[1]:

,----
| make[5]: Entering directory '/<<PKGBUILDDIR>>/debian/build/auparse/test'
| gcc -DHAVE_CONFIG_H -I. -I../../../../auparse/test -I../..  
-I../../../../auparse -I../../../../lib -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -c -o auparse_test.o 
../../../../auparse/test/auparse_test.c
| ../../../../auparse/test/auparselol_test.c: In function 'main':
| ../../../../auparse/test/auparselol_test.c:219:46: warning: format '%lu' 
expects argument of type 'long unsigned int', but argument 4 has type 'unsigned 
int' [-Wformat=]
|                  "%s: No memory to allocate %lu bytes\n",
|                                             ~~^
|                                             %u
|                  argv[0], sizeof(int));
|                           ~~~~~~~~~~~          
| /bin/bash ../../libtool  --tag=CC   --mode=link gcc  -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -static -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o 
auparselol_test auparselol_test.o ../../auparse/libauparse.la 
../../lib/libaudit.la 
| libtool: link: gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro 
-Wl,-z -Wl,now -Wl,--as-needed -o auparselol_test auparselol_test.o  
../../auparse/.libs/libauparse.a 
/<<PKGBUILDDIR>>/debian/build/lib/.libs/libaudit.a ../../lib/.libs/libaudit.a 
-lcap-ng
| /bin/bash ../../libtool  --tag=CC   --mode=link gcc  -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -static -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o 
auparse_test auparse_test.o ../../auparse/libauparse.la ../../lib/libaudit.la 
| gcc -DHAVE_CONFIG_H -I. -I../../../../auparse/test -I../..  
-I../../../../auparse -I../../../../lib -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -c -o auparselol_test.o 
../../../../auparse/test/auparselol_test.c
| gcc -DHAVE_CONFIG_H -I. -I../../../../auparse/test -I../..  
-I../../../../auparse -I../../../../lib -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -c -o lookup_test.o 
../../../../auparse/test/lookup_test.c
| make[5]: Nothing to be done for '../../../../auparse/test/auparse_test.py'.
| ../../../../auparse/test/auparselol_test.c: In function 'main':
| ../../../../auparse/test/auparselol_test.c:219:46: warning: format '%lu' 
expects argument of type 'long unsigned int', but argument 4 has type 'unsigned 
int' [-Wformat=]
|                  "%s: No memory to allocate %lu bytes\n",
|                                             ~~^
|                                             %u
|                  argv[0], sizeof(int));
|                           ~~~~~~~~~~~          
| libtool: link: gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro 
-Wl,-z -Wl,now -Wl,--as-needed -o auparse_test auparse_test.o  
../../auparse/.libs/libauparse.a 
/<<PKGBUILDDIR>>/debian/build/lib/.libs/libaudit.a ../../lib/.libs/libaudit.a 
-lcap-ng
| /bin/bash ../../libtool  --tag=CC   --mode=link gcc  -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -static -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o 
auparse_test auparse_test.o ../../auparse/libauparse.la ../../lib/libaudit.la 
| /bin/bash ../../libtool  --tag=CC   --mode=link gcc  -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -static -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o 
auparselol_test auparselol_test.o ../../auparse/libauparse.la 
../../lib/libaudit.la 
| libtool: link: gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro 
-Wl,-z -Wl,now -Wl,--as-needed -o auparselol_test auparselol_test.o  
../../auparse/.libs/libauparse.a 
/<<PKGBUILDDIR>>/debian/build/lib/.libs/libaudit.a ../../lib/.libs/libaudit.a 
-lcap-ng
| libtool: link: gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro 
-Wl,-z -Wl,now -Wl,--as-needed -o auparse_test auparse_test.o  
../../auparse/.libs/libauparse.a 
/<<PKGBUILDDIR>>/debian/build/lib/.libs/libaudit.a ../../lib/.libs/libaudit.a 
-lcap-ng
| /bin/bash ../../libtool  --tag=CC   --mode=link gcc  -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security  -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o lookup_test 
lookup_test.o ../../auparse/libauparse.la ../../lib/libaudit.la 
| libtool: link: gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro 
-Wl,-z -Wl,now -Wl,--as-needed -o .libs/lookup_test lookup_test.o  
../../auparse/.libs/libauparse.so ../../lib/.libs/libaudit.so
| /usr/bin/ld: lookup_test.o: file not recognized: file truncated
`----

Can you please have a look?


1. 
https://buildd.debian.org/status/fetch.php?pkg=audit&arch=i386&ver=1%3A2.8.4-1&stamp=1535453217&raw=0

Reply via email to