Source: cyrus-sasl2 Version: 2.1.28+dfsg1-4 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): > x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../lib -I.. > -DLIBSASL_EXPORTS=1 -I../../include -I../../plugins -I../include > -I../../sasldb -I../../common > -DCONFIGDIR='"/etc/sasl2:/etc/sasl:/usr/lib/x86_64-linux-gnu/sasl2:/usr/lib/sasl2"' > -DPLUGINDIR='"/usr/lib/x86_64-linux-gnu/sasl2"' -Wdate-time > -D_FORTIFY_SOURCE=2 -DOBSOLETE_CRAM_ATTR=1 -DOBSOLETE_DIGEST_ATTR=1 > -I/usr/include -I/usr/include/mysql -I/usr/include/postgresql -I/usr/include > -Wall -W -g -O2 -Werror=implicit-function-declaration > -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong > -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection > -Wall -pedantic -I/usr/include/heimdal -c -o gs2.o gs2.c > gssapi.c: In function ‘gssapi_server_mech_authneg’: > gssapi.c:909:35: warning: assignment discards ‘const’ qualifier from pointer > target type [-Wdiscarded-qualifiers] > 909 | cb.application_data.value = params->cbinding->data; > | ^ > gssapi.c: In function ‘gssapiv2_server_plug_init’: > gssapi.c:1588:58: warning: ISO C does not support the ‘%m’ gnu_printf format > [-Wformat=] > 1588 | "Could not find keytab file: %s: %m", keytab); > | ^ > gssapi.c:1600:9: error: implicit declaration of function > ‘gsskrb5_register_acceptor_identity’ [-Werror=implicit-function-declaration] > 1600 | gsskrb5_register_acceptor_identity(keytab_path); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > gssapi.c: In function ‘gssapi_client_mech_step’: > gssapi.c:1842:39: warning: assignment discards ‘const’ qualifier from pointer > target type [-Wdiscarded-qualifiers] > 1842 | cb.application_data.value = params->cbinding->data; > | ^ > otp.c: In function ‘parse_secret’: > otp.c:709:32: warning: format ‘%d’ expects argument of type ‘int *’, but > argument 4 has type ‘unsigned int *’ [-Wformat=] > 709 | sscanf(secret, "%s\t%04d\t%s\t%s\t%020ld", > | ~~~^ > | | > | int * > | %04d > 710 | alg, seq, seed, buf, timeout); > | ~~~ > | | > | unsigned int * > x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../lib -I.. > -DLIBSASL_EXPORTS=1 -I../../include -I../../plugins -I../include > -I../../sasldb -I../../common > -DCONFIGDIR='"/etc/sasl2:/etc/sasl:/usr/lib/x86_64-linux-gnu/sasl2:/usr/lib/sasl2"' > -DPLUGINDIR='"/usr/lib/x86_64-linux-gnu/sasl2"' -Wdate-time > -D_FORTIFY_SOURCE=2 -DOBSOLETE_CRAM_ATTR=1 -DOBSOLETE_DIGEST_ATTR=1 > -I/usr/include -I/usr/include/mysql -I/usr/include/postgresql -I/usr/include > -Wall -W -g -O2 -Werror=implicit-function-declaration > -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong > -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection > -Wall -pedantic -I/usr/include/heimdal -c -o plain.o plain.c > libtool: compile: x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../lib -I.. > -DLIBSASL_EXPORTS=1 -I../../include -I../../plugins -I../include > -I../../sasldb -I../../common > -DCONFIGDIR=\"/etc/sasl2:/etc/sasl:/usr/lib/x86_64-linux-gnu/sasl2:/usr/lib/sasl2\" > -DPLUGINDIR=\"/usr/lib/x86_64-linux-gnu/sasl2\" -Wdate-time > -D_FORTIFY_SOURCE=2 -DOBSOLETE_CRAM_ATTR=1 -DOBSOLETE_DIGEST_ATTR=1 > -I/usr/include -I/usr/include/mysql -I/usr/include/postgresql -I/usr/include > -Wall -W -g -O2 -Werror=implicit-function-declaration > -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong > -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection > -Wall -pedantic -I/usr/include/heimdal -c ../../lib/server.c -o server.o > >/dev/null 2>&1 > x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../lib -I.. > -DLIBSASL_EXPORTS=1 -I../../include -I../../plugins -I../include > -I../../sasldb -I../../common > -DCONFIGDIR='"/etc/sasl2:/etc/sasl:/usr/lib/x86_64-linux-gnu/sasl2:/usr/lib/sasl2"' > -DPLUGINDIR='"/usr/lib/x86_64-linux-gnu/sasl2"' -Wdate-time > -D_FORTIFY_SOURCE=2 -DOBSOLETE_CRAM_ATTR=1 -DOBSOLETE_DIGEST_ATTR=1 > -I/usr/include -I/usr/include/mysql -I/usr/include/postgresql -I/usr/include > -Wall -W -g -O2 -Werror=implicit-function-declaration > -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong > -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection > -Wall -pedantic -I/usr/include/heimdal -c -o anonymous.o anonymous.c > x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../lib -I.. > -DLIBSASL_EXPORTS=1 -I../../include -I../../plugins -I../include > -I../../sasldb -I../../common > -DCONFIGDIR='"/etc/sasl2:/etc/sasl:/usr/lib/x86_64-linux-gnu/sasl2:/usr/lib/sasl2"' > -DPLUGINDIR='"/usr/lib/x86_64-linux-gnu/sasl2"' -Wdate-time > -D_FORTIFY_SOURCE=2 -DOBSOLETE_CRAM_ATTR=1 -DOBSOLETE_DIGEST_ATTR=1 > -I/usr/include -I/usr/include/mysql -I/usr/include/postgresql -I/usr/include > -Wall -W -g -O2 -Werror=implicit-function-declaration > -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong > -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection > -Wall -pedantic -I/usr/include/heimdal -c -o login.o login.c > x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../lib -I.. > -DLIBSASL_EXPORTS=1 -I../../include -I../../plugins -I../include > -I../../sasldb -I../../common > -DCONFIGDIR='"/etc/sasl2:/etc/sasl:/usr/lib/x86_64-linux-gnu/sasl2:/usr/lib/sasl2"' > -DPLUGINDIR='"/usr/lib/x86_64-linux-gnu/sasl2"' -Wdate-time > -D_FORTIFY_SOURCE=2 -DOBSOLETE_CRAM_ATTR=1 -DOBSOLETE_DIGEST_ATTR=1 > -I/usr/include -I/usr/include/mysql -I/usr/include/postgresql -I/usr/include > -Wall -W -g -O2 -Werror=implicit-function-declaration > -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong > -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection > -Wall -pedantic -I/usr/include/heimdal -c -o ntlm.o ntlm.c > ntlm.c: In function ‘E’: > ntlm.c:365:9: warning: ‘DES_set_odd_parity’ is deprecated: Since OpenSSL 3.0 > [-Wdeprecated-declarations] > 365 | des_set_odd_parity(&K64); /* XXX is this necessary? */ > | ^~~~~~~~~~~~~~~~~~ > In file included from ntlm.c:86: > /usr/include/openssl/des.h:176:28: note: declared here > 176 | OSSL_DEPRECATEDIN_3_0 void DES_set_odd_parity(DES_cblock *key); > | ^~~~~~~~~~~~~~~~~~ > ntlm.c:366:9: warning: ‘DES_set_key’ is deprecated: Since OpenSSL 3.0 > [-Wdeprecated-declarations] > 366 | des_set_key(&K64, ks); > | ^~~~~~~~~~~ > /usr/include/openssl/des.h:186:5: note: declared here > 186 | int DES_set_key(const_DES_cblock *key, DES_key_schedule *schedule); > | ^~~~~~~~~~~ > ntlm.c:370:13: warning: ‘DES_ecb_encrypt’ is deprecated: Since OpenSSL 3.0 > [-Wdeprecated-declarations] > 370 | des_ecb_encrypt((void *) Dp, (void *) out, ks, > DES_ENCRYPT); > | ^~~~~~~~~~~~~~~ > /usr/include/openssl/des.h:105:6: note: declared here > 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, > | ^~~~~~~~~~~~~~~ > ntlm.c: In function ‘P16_nt’: > ntlm.c:402:9: warning: ‘MD4’ is deprecated: Since OpenSSL 3.0 > [-Wdeprecated-declarations] > 402 | MD4((unsigned char *) *buf, 2 * passwd->len, P16); > | ^~~ > In file included from ntlm.c:80: > /usr/include/openssl/md4.h:53:38: note: declared here > 53 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD4(const unsigned char *d, > size_t n, > | ^~~ > ntlm.c: In function ‘_plug_HMAC_CTX_new’: > ntlm.c:433:5: warning: ‘HMAC_CTX_new’ is deprecated: Since OpenSSL 3.0 > [-Wdeprecated-declarations] > 433 | return HMAC_CTX_new(); > | ^~~~~~ > In file included from ntlm.c:85: > /usr/include/openssl/hmac.h:33:33: note: declared here > 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); > | ^~~~~~~~~~~~ > ntlm.c: In function ‘_plug_HMAC_CTX_free’: > ntlm.c:444:5: warning: ‘HMAC_CTX_free’ is deprecated: Since OpenSSL 3.0 > [-Wdeprecated-declarations] > 444 | HMAC_CTX_free(ctx); > | ^~~~~~~~~~~~~ > /usr/include/openssl/hmac.h:35:28: note: declared here > 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); > | ^~~~~~~~~~~~~ > ntlm.c: In function ‘V2’: > ntlm.c:488:9: warning: ‘HMAC_CTX_reset’ is deprecated: Since OpenSSL 3.0 > [-Wdeprecated-declarations] > 488 | HMAC_CTX_reset(ctx); > | ^~~~~~~~~~~~~~ > /usr/include/openssl/hmac.h:34:27: note: declared here > 34 | OSSL_DEPRECATEDIN_3_0 int HMAC_CTX_reset(HMAC_CTX *ctx); > | ^~~~~~~~~~~~~~ > ntlm.c:489:9: warning: ‘HMAC_Init_ex’ is deprecated: Since OpenSSL 3.0 > [-Wdeprecated-declarations] > 489 | HMAC_Init_ex(ctx, hash, len, EVP_md5(), NULL); > | ^~~~~~~~~~~~ > /usr/include/openssl/hmac.h:43:27: note: declared here > 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void > *key, int len, > | ^~~~~~~~~~~~ > ntlm.c:490:9: warning: ‘HMAC_Update’ is deprecated: Since OpenSSL 3.0 > [-Wdeprecated-declarations] > 490 | HMAC_Update(ctx, challenge, NTLM_NONCE_LENGTH); > | ^~~~~~~~~~~ > /usr/include/openssl/hmac.h:45:27: note: declared here > 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned > char *data, > | ^~~~~~~~~~~ > ntlm.c:491:9: warning: ‘HMAC_Update’ is deprecated: Since OpenSSL 3.0 > [-Wdeprecated-declarations] > 491 | HMAC_Update(ctx, blob, bloblen); > | ^~~~~~~~~~~ > /usr/include/openssl/hmac.h:45:27: note: declared here > 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned > char *data, > | ^~~~~~~~~~~ > ntlm.c:492:9: warning: ‘HMAC_Final’ is deprecated: Since OpenSSL 3.0 > [-Wdeprecated-declarations] > 492 | HMAC_Final(ctx, V2, &len); > | ^~~~~~~~~~ > /usr/include/openssl/hmac.h:47:27: note: declared here > 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, > | ^~~~~~~~~~ > ntlm.c: At top level: > ntlm.c:605:35: warning: ISO C restricts enumerator values to range of ‘int’ > before C2X [-Wpedantic] > 605 | SMB_CAP_EXTENDED_SECURITY = 0x80000000, > | ^~~~~~~~~~ > x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../lib -I.. > -DLIBSASL_EXPORTS=1 -I../../include -I../../plugins -I../include > -I../../sasldb -I../../common > -DCONFIGDIR='"/etc/sasl2:/etc/sasl:/usr/lib/x86_64-linux-gnu/sasl2:/usr/lib/sasl2"' > -DPLUGINDIR='"/usr/lib/x86_64-linux-gnu/sasl2"' -Wdate-time > -D_FORTIFY_SOURCE=2 -DOBSOLETE_CRAM_ATTR=1 -DOBSOLETE_DIGEST_ATTR=1 > -I/usr/include -I/usr/include/mysql -I/usr/include/postgresql -I/usr/include > -Wall -W -g -O2 -Werror=implicit-function-declaration > -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong > -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection > -Wall -pedantic -I/usr/include/heimdal -c -o sql.o sql.c > x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../lib -I.. > -DLIBSASL_EXPORTS=1 -I../../include -I../../plugins -I../include > -I../../sasldb -I../../common > -DCONFIGDIR='"/etc/sasl2:/etc/sasl:/usr/lib/x86_64-linux-gnu/sasl2:/usr/lib/sasl2"' > -DPLUGINDIR='"/usr/lib/x86_64-linux-gnu/sasl2"' -Wdate-time > -D_FORTIFY_SOURCE=2 -DOBSOLETE_CRAM_ATTR=1 -DOBSOLETE_DIGEST_ATTR=1 > -I/usr/include -I/usr/include/mysql -I/usr/include/postgresql -I/usr/include > -Wall -W -g -O2 -Werror=implicit-function-declaration > -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong > -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection > -Wall -pedantic -I/usr/include/heimdal -c -o ldapdb.o ldapdb.c > cc1: some warnings being treated as errors > make[5]: *** [Makefile:592: gssapi.o] Error 1 The full build log is available from: http://qa-logs.debian.net/2024/03/13/cyrus-sasl2_2.1.28+dfsg1-4_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.