Source: lcmaps-plugins-jobrep Version: 1.5.6-1.1 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: lu...@debian.org Usertags: ftbfs-20240313 ftbfs-trixie ftbfs-impfuncdef
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. This is most likely caused by a change in dpkg 1.22.6, that enabled -Werror=implicit-function-declaration. For more information, see https://wiki.debian.org/qa.debian.org/FTBFS#A2024-03-13_-Werror.3Dimplicit-function-declaration Relevant part (hopefully): > /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. > -I../../src -I../../src/api -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 > -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -fstack-clash-protection -Wformat > -Werror=format-security -fcf-protection -c -o > ../api/liblcmaps_jobrep_la-jobrep_odbc_api.lo `test -f > '../api/jobrep_odbc_api.c' || echo './'`../api/jobrep_odbc_api.c > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src/api > -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration > -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong > -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c > lcmaps_jobrep.c -fPIC -DPIC -o .libs/liblcmaps_jobrep_la-lcmaps_jobrep.o > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src/api > -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration > -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong > -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c > jobrep_data_handling.c -fPIC -DPIC -o > .libs/liblcmaps_jobrep_la-jobrep_data_handling.o > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src/api > -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration > -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong > -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c > ../api/jobrep_odbc_api.c -fPIC -DPIC -o > ../api/.libs/liblcmaps_jobrep_la-jobrep_odbc_api.o > jobrep_data_handling.c: In function ‘jobrep_push_certificates’: > jobrep_data_handling.c:1187:13: warning: ‘ASN1_STRING_data’ is deprecated: > Since OpenSSL 1.1.0 [-Wdeprecated-declarations] > 1187 | not_before = > jobrep_asn1TimeToTimeT(ASN1_STRING_data(X509_get_notBefore(cert)),(size_t)0); > | ^~~~~~~~~~ > In file included from /usr/include/openssl/objects.h:21, > from /usr/include/openssl/evp.h:43, > from /usr/include/openssl/x509.h:29, > from jobrep_data_handling.h:17, > from jobrep_data_handling.c:12: > /usr/include/openssl/asn1.h:683:40: note: declared here > 683 | OSSL_DEPRECATEDIN_1_1_0 unsigned char *ASN1_STRING_data(ASN1_STRING > *x); > | ^~~~~~~~~~~~~~~~ > jobrep_data_handling.c:1195:13: warning: ‘ASN1_STRING_data’ is deprecated: > Since OpenSSL 1.1.0 [-Wdeprecated-declarations] > 1195 | not_after = > jobrep_asn1TimeToTimeT(ASN1_STRING_data(X509_get_notAfter(cert)),(size_t)0); > | ^~~~~~~~~ > /usr/include/openssl/asn1.h:683:40: note: declared here > 683 | OSSL_DEPRECATEDIN_1_1_0 unsigned char *ASN1_STRING_data(ASN1_STRING > *x); > | ^~~~~~~~~~~~~~~~ > jobrep_data_handling.c: In function ‘jobrep_get_serialnumber_as_string’: > jobrep_data_handling.c:1282:17: error: implicit declaration of function > ‘i2c_ASN1_INTEGER’; did you mean ‘i2s_ASN1_INTEGER’? > [-Werror=implicit-function-declaration] > 1282 | serialLen = i2c_ASN1_INTEGER(cert_Serial, NULL); > | ^~~~~~~~~~~~~~~~ > | i2s_ASN1_INTEGER > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src/api > -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration > -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong > -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c > lcmaps_jobrep.c -o liblcmaps_jobrep_la-lcmaps_jobrep.o >/dev/null 2>&1 > jobrep_data_handling.c: In function ‘jobrep_time_to_string’: > jobrep_data_handling.c:1340:42: warning: ‘%02d’ directive output may be > truncated writing between 2 and 11 bytes into a region of size between 8 and > 15 [-Wformat-truncation=] > 1340 | snprintf(datetime, (size_t)20, "%04d-%02d-%02d %02d:%02d:%02d", > | ^~~~ > jobrep_data_handling.c:1340:36: note: directive argument in the range > [-2147483647, 2147483647] > 1340 | snprintf(datetime, (size_t)20, "%04d-%02d-%02d %02d:%02d:%02d", > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > In file included from /usr/include/stdio.h:906, > from ../../src/api/jobrep_odbc_api.h:25, > from jobrep_data_handling.h:15: > In function ‘snprintf’, > inlined from ‘jobrep_time_to_string’ at jobrep_data_handling.c:1340:5: > /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note: > ‘__builtin___snprintf_chk’ output between 20 and 72 bytes into a destination > of size 20 > 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 55 | __glibc_objsize (__s), __fmt, > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 56 | __va_arg_pack ()); > | ~~~~~~~~~~~~~~~~~ > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src/api > -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration > -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong > -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c > ../api/jobrep_odbc_api.c -o ../api/liblcmaps_jobrep_la-jobrep_odbc_api.o > >/dev/null 2>&1 > cc1: some warnings being treated as errors > make[4]: *** [Makefile:523: liblcmaps_jobrep_la-jobrep_data_handling.lo] > Error 1 The full build log is available from: http://qa-logs.debian.net/2024/03/13/lcmaps-plugins-jobrep_1.5.6-1.1_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.