[Pkg-xmpp-devel] Bug#1067259: jabberd2: FTBFS: make[3]: *** [Makefile:538: libsx_la-websocket.lo] Error 1
Lucas Nussbaum
lucas at debian.org
Wed Mar 20 21:03:33 GMT 2024
Source: jabberd2
Version: 2.7.0-4.1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240319 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[3]: Entering directory '/<<PKGBUILDDIR>>/sx'
> /bin/bash ../libtool --quiet --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -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 -funsigned-char -fdiagnostics-color -c -o libsx_la-callback.lo `test -f 'callback.c' || echo './'`callback.c
> /bin/bash ../libtool --quiet --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -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 -funsigned-char -fdiagnostics-color -c -o libsx_la-chain.lo `test -f 'chain.c' || echo './'`chain.c
> /bin/bash ../libtool --quiet --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -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 -funsigned-char -fdiagnostics-color -c -o libsx_la-client.lo `test -f 'client.c' || echo './'`client.c
> /bin/bash ../libtool --quiet --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -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 -funsigned-char -fdiagnostics-color -c -o libsx_la-env.lo `test -f 'env.c' || echo './'`env.c
> /bin/bash ../libtool --quiet --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -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 -funsigned-char -fdiagnostics-color -c -o libsx_la-error.lo `test -f 'error.c' || echo './'`error.c
> /bin/bash ../libtool --quiet --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -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 -funsigned-char -fdiagnostics-color -c -o libsx_la-io.lo `test -f 'io.c' || echo './'`io.c
> /bin/bash ../libtool --quiet --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -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 -funsigned-char -fdiagnostics-color -c -o libsx_la-server.lo `test -f 'server.c' || echo './'`server.c
> /bin/bash ../libtool --quiet --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -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 -funsigned-char -fdiagnostics-color -c -o libsx_la-sx.lo `test -f 'sx.c' || echo './'`sx.c
> /bin/bash ../libtool --quiet --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -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 -funsigned-char -fdiagnostics-color -c -o libsx_la-sasl.lo `test -f 'sasl.c' || echo './'`sasl.c
> /bin/bash ../libtool --quiet --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -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 -funsigned-char -fdiagnostics-color -c -o libsx_la-ack.lo `test -f 'ack.c' || echo './'`ack.c
> /bin/bash ../libtool --quiet --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -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 -funsigned-char -fdiagnostics-color -c -o libsx_la-ssl.lo `test -f 'ssl.c' || echo './'`ssl.c
> /bin/bash ../libtool --quiet --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -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 -funsigned-char -fdiagnostics-color -c -o libsx_la-compress.lo `test -f 'compress.c' || echo './'`compress.c
> /bin/bash ../libtool --quiet --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -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 -funsigned-char -fdiagnostics-color -c -o libsx_la-websocket.lo `test -f 'websocket.c' || echo './'`websocket.c
> [01m[Kwebsocket.c:[m[K In function ‘[01m[K_sx_websocket_http_header_field[m[K’:
> [01m[Kwebsocket.c:256:38:[m[K [01;35m[Kwarning: [m[Kpassing argument 2 of ‘[01m[Kstrunescape[m[K’ discards ‘[01m[Kconst[m[K’ qualifier from pointer target type [[01;35m[K-Wdiscarded-qualifiers[m[K]
> 256 | strunescape(sc->p, [01;35m[Kspool_print(sc->field)[m[K),
> | [01;35m[K^~~~~~~~~~~~~~~~~~~~~~[m[K
> In file included from [01m[Ksx.h:31[m[K,
> from [01m[Kwebsocket.c:25[m[K:
> [01m[K../util/util.h:135:48:[m[K [01;36m[Knote: [m[Kexpected ‘[01m[Kchar *[m[K’ but argument is of type ‘[01m[Kconst char *[m[K’
> 135 | JABBERD2_API char *strunescape(pool_t p, [01;36m[Kchar* buf[m[K);
> | [01;36m[K~~~~~~^~~[m[K
> [01m[Kwebsocket.c:257:38:[m[K [01;35m[Kwarning: [m[Kpassing argument 2 of ‘[01m[Kstrunescape[m[K’ discards ‘[01m[Kconst[m[K’ qualifier from pointer target type [[01;35m[K-Wdiscarded-qualifiers[m[K]
> 257 | strunescape(sc->p, [01;35m[Kspool_print(sc->value)[m[K));
> | [01;35m[K^~~~~~~~~~~~~~~~~~~~~~[m[K
> [01m[K../util/util.h:135:48:[m[K [01;36m[Knote: [m[Kexpected ‘[01m[Kchar *[m[K’ but argument is of type ‘[01m[Kconst char *[m[K’
> 135 | JABBERD2_API char *strunescape(pool_t p, [01;36m[Kchar* buf[m[K);
> | [01;36m[K~~~~~~^~~[m[K
> [01m[Kwebsocket.c:[m[K In function ‘[01m[K_sx_websocket_rio[m[K’:
> [01m[Kwebsocket.c:344:80:[m[K [01;31m[Kerror: [m[Kimplicit declaration of function ‘[01m[Kstrcasestr[m[K’; did you mean ‘[01m[Kstrcasecmp[m[K’? [[01;31m[K-Werror=implicit-function-declaration[m[K]
> 344 | if(j_strcmp(upgrade, "websocket") || connection == NULL || [01;31m[Kstrcasestr[m[K(connection, "Upgrade") == NULL || j_strcmp(proto, "xmpp") || version != 13) {
> | [01;31m[K^~~~~~~~~~[m[K
> | [32m[Kstrcasecmp[m[K
> [01m[Kwebsocket.c:344:114:[m[K [01;35m[Kwarning: [m[Kcomparison between pointer and integer
> 344 | if(j_strcmp(upgrade, "websocket") || connection == NULL || strcasestr(connection, "Upgrade") [01;35m[K==[m[K NULL || j_strcmp(proto, "xmpp") || version != 13) {
> | [01;35m[K^~[m[K
> [01m[Kwebsocket.c:357:21:[m[K [01;35m[Kwarning: [m[K‘[01m[KSHA1_Init[m[K’ is deprecated: Since OpenSSL 3.0 [[01;35m[K-Wdeprecated-declarations[m[K]
> 357 | [01;35m[Ksha1_init[m[K(&sha1);
> | [01;35m[K^~~~~~~~~[m[K
> In file included from [01m[K../util/sha1.h:41[m[K,
> from [01m[K../util/util.h:102[m[K:
> [01m[K/usr/include/openssl/sha.h:49:27:[m[K [01;36m[Knote: [m[Kdeclared here
> 49 | OSSL_DEPRECATEDIN_3_0 int [01;36m[KSHA1_Init[m[K(SHA_CTX *c);
> | [01;36m[K^~~~~~~~~[m[K
> [01m[Kwebsocket.c:358:21:[m[K [01;35m[Kwarning: [m[K‘[01m[KSHA1_Update[m[K’ is deprecated: Since OpenSSL 3.0 [[01;35m[K-Wdeprecated-declarations[m[K]
> 358 | [01;35m[Ksha1_append[m[K(&sha1, key, j_strlen(key));
> | [01;35m[K^~~~~~~~~~~[m[K
> [01m[K/usr/include/openssl/sha.h:50:27:[m[K [01;36m[Knote: [m[Kdeclared here
> 50 | OSSL_DEPRECATEDIN_3_0 int [01;36m[KSHA1_Update[m[K(SHA_CTX *c, const void *data, size_t len);
> | [01;36m[K^~~~~~~~~~~[m[K
> [01m[Kwebsocket.c:359:21:[m[K [01;35m[Kwarning: [m[K‘[01m[KSHA1_Update[m[K’ is deprecated: Since OpenSSL 3.0 [[01;35m[K-Wdeprecated-declarations[m[K]
> 359 | [01;35m[Ksha1_append[m[K(&sha1, websocket_guid, sizeof(websocket_guid) -1);
> | [01;35m[K^~~~~~~~~~~[m[K
> [01m[K/usr/include/openssl/sha.h:50:27:[m[K [01;36m[Knote: [m[Kdeclared here
> 50 | OSSL_DEPRECATEDIN_3_0 int [01;36m[KSHA1_Update[m[K(SHA_CTX *c, const void *data, size_t len);
> | [01;36m[K^~~~~~~~~~~[m[K
> [01m[Kwebsocket.c:360:21:[m[K [01;35m[Kwarning: [m[K‘[01m[KSHA1_Final[m[K’ is deprecated: Since OpenSSL 3.0 [[01;35m[K-Wdeprecated-declarations[m[K]
> 360 | [01;35m[Ksha1_finish[m[K(&sha1, hash);
> | [01;35m[K^~~~~~~~~~~[m[K
> [01m[K/usr/include/openssl/sha.h:51:27:[m[K [01;36m[Knote: [m[Kdeclared here
> 51 | OSSL_DEPRECATEDIN_3_0 int [01;36m[KSHA1_Final[m[K(unsigned char *md, SHA_CTX *c);
> | [01;36m[K^~~~~~~~~~[m[K
> [01m[Kssl.c:[m[K In function ‘[01m[Ksx_ssl_get_DHparams[m[K’:
> [01m[Kssl.c:97:1:[m[K [01;35m[Kwarning: [m[K‘[01m[KPEM_read_bio_DHparams[m[K’ is deprecated: Since OpenSSL 3.0 [[01;35m[K-Wdeprecated-declarations[m[K]
> 97 | [01;35m[KDECLARE_sx_ssl_getparams[m[K(DHparams, DH)
> | [01;35m[K^~~~~~~~~~~~~~~~~~~~~~~~[m[K
> In file included from [01m[K/usr/include/openssl/ssl.h:36[m[K,
> from [01m[Kplugins.h:60[m[K,
> from [01m[Ksx.h:418[m[K,
> from [01m[Kssl.c:26[m[K:
> [01m[K/usr/include/openssl/pem.h:472:1:[m[K [01;36m[Knote: [m[Kdeclared here
> 472 | [01;36m[KDECLARE_PEM_rw_attr[m[K(OSSL_DEPRECATEDIN_3_0, DHparams, DH)
> | [01;36m[K^~~~~~~~~~~~~~~~~~~[m[K
> [01m[Kssl.c:[m[K In function ‘[01m[Ksx_ssl_get_ECPKParameters[m[K’:
> [01m[Kssl.c:98:1:[m[K [01;35m[Kwarning: [m[K‘[01m[KPEM_read_bio_ECPKParameters[m[K’ is deprecated: Since OpenSSL 3.0 [[01;35m[K-Wdeprecated-declarations[m[K]
> 98 | [01;35m[KDECLARE_sx_ssl_getparams[m[K(ECPKParameters, EC_GROUP)
> | [01;35m[K^~~~~~~~~~~~~~~~~~~~~~~~[m[K
> [01m[K/usr/include/openssl/pem.h:464:1:[m[K [01;36m[Knote: [m[Kdeclared here
> 464 | [01;36m[KDECLARE_PEM_rw_attr[m[K(OSSL_DEPRECATEDIN_3_0, ECPKParameters, EC_GROUP)
> | [01;36m[K^~~~~~~~~~~~~~~~~~~[m[K
> [01m[Kssl.c:[m[K In function ‘[01m[Ksx_ssl_make_dh_params[m[K’:
> [01m[Kssl.c:114:5:[m[K [01;35m[Kwarning: [m[K‘[01m[KDH_new[m[K’ is deprecated: Since OpenSSL 3.0 [[01;35m[K-Wdeprecated-declarations[m[K]
> 114 | [01;35m[KDH[m[K *dh = DH_new();
> | [01;35m[K^~[m[K
> In file included from [01m[K/usr/include/openssl/dsa.h:31[m[K,
> from [01m[K/usr/include/openssl/x509.h:37[m[K,
> from [01m[K/usr/include/openssl/ssl.h:31[m[K:
> [01m[K/usr/include/openssl/dh.h:206:27:[m[K [01;36m[Knote: [m[Kdeclared here
> 206 | OSSL_DEPRECATEDIN_3_0 DH *[01;36m[KDH_new[m[K(void);
> | [01;36m[K^~~~~~[m[K
> [01m[Kssl.c:131:9:[m[K [01;35m[Kwarning: [m[K‘[01m[KDH_set0_pqg[m[K’ is deprecated: Since OpenSSL 3.0 [[01;35m[K-Wdeprecated-declarations[m[K]
> 131 | [01;35m[Kif[m[K (p == NULL || g == NULL || !DH_set0_pqg(dh, p, NULL, g)) {
> | [01;35m[K^~[m[K
> [01m[K/usr/include/openssl/dh.h:262:27:[m[K [01;36m[Knote: [m[Kdeclared here
> 262 | OSSL_DEPRECATEDIN_3_0 int [01;36m[KDH_set0_pqg[m[K(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
> | [01;36m[K^~~~~~~~~~~[m[K
> [01m[Kssl.c:132:13:[m[K [01;35m[Kwarning: [m[K‘[01m[KDH_free[m[K’ is deprecated: Since OpenSSL 3.0 [[01;35m[K-Wdeprecated-declarations[m[K]
> 132 | [01;35m[KDH_free[m[K(dh);
> | [01;35m[K^~~~~~~[m[K
> [01m[K/usr/include/openssl/dh.h:207:28:[m[K [01;36m[Knote: [m[Kdeclared here
> 207 | OSSL_DEPRECATEDIN_3_0 void [01;36m[KDH_free[m[K(DH *dh);
> | [01;36m[K^~~~~~~[m[K
> [01m[Kssl.c:[m[K In function ‘[01m[Ksx_ssl_free_dh_params[m[K’:
> [01m[Kssl.c:145:9:[m[K [01;35m[Kwarning: [m[K‘[01m[KDH_free[m[K’ is deprecated: Since OpenSSL 3.0 [[01;35m[K-Wdeprecated-declarations[m[K]
> 145 | [01;35m[KDH_free[m[K(dhparams[i].dh);
> | [01;35m[K^~~~~~~[m[K
> [01m[K/usr/include/openssl/dh.h:207:28:[m[K [01;36m[Knote: [m[Kdeclared here
> 207 | OSSL_DEPRECATEDIN_3_0 void [01;36m[KDH_free[m[K(DH *dh);
> | [01;36m[K^~~~~~~[m[K
> [01m[Kssl.c:[m[K In function ‘[01m[Ksx_ssl_server_addcert[m[K’:
> [01m[Kssl.c:1088:5:[m[K [01;35m[Kwarning: [m[K‘[01m[KSSL_CTX_set_tmp_dh_callback[m[K’ is deprecated: Since OpenSSL 3.0 [[01;35m[K-Wdeprecated-declarations[m[K]
> 1088 | [01;35m[KSSL_CTX_set_tmp_dh_callback[m[K(ctx, _sx_ssl_tmp_dh_callback);
> | [01;35m[K^~~~~~~~~~~~~~~~~~~~~~~~~~~[m[K
> [01m[K/usr/include/openssl/ssl.h:2230:6:[m[K [01;36m[Knote: [m[Kdeclared here
> 2230 | void [01;36m[KSSL_CTX_set_tmp_dh_callback[m[K(SSL_CTX *ctx,
> | [01;36m[K^~~~~~~~~~~~~~~~~~~~~~~~~~~[m[K
> [01m[Kssl.c:1096:9:[m[K [01;35m[Kwarning: [m[K‘[01m[KDH_bits[m[K’ is deprecated: Since OpenSSL 3.0 [[01;35m[K-Wdeprecated-declarations[m[K]
> 1096 | [01;35m[K_sx_debug[m[K(ZONE, "custom DH parameters loaded from certificate", DH_bits(dhparams));
> | [01;35m[K^~~~~~~~~[m[K
> [01m[K/usr/include/openssl/dh.h:209:27:[m[K [01;36m[Knote: [m[Kdeclared here
> 209 | OSSL_DEPRECATEDIN_3_0 int [01;36m[KDH_bits[m[K(const DH *dh);
> | [01;36m[K^~~~~~~[m[K
> [01m[Kssl.c:1101:5:[m[K [01;35m[Kwarning: [m[K‘[01m[KEC_KEY_new_by_curve_name[m[K’ is deprecated: Since OpenSSL 3.0 [[01;35m[K-Wdeprecated-declarations[m[K]
> 1101 | [01;35m[Kif[m[K((ecparams = sx_ssl_get_ECPKParameters(pemfile)) && (nid = EC_GROUP_get_curve_name(ecparams)) && (eckey = EC_KEY_new_by_curve_name(nid))) {
> | [01;35m[K^~[m[K
> In file included from [01m[K/usr/include/openssl/x509.h:33[m[K:
> [01m[K/usr/include/openssl/ec.h:1001:31:[m[K [01;36m[Knote: [m[Kdeclared here
> 1001 | OSSL_DEPRECATEDIN_3_0 EC_KEY *[01;36m[KEC_KEY_new_by_curve_name[m[K(int nid);
> | [01;36m[K^~~~~~~~~~~~~~~~~~~~~~~~[m[K
> [01m[Kssl.c:1116:5:[m[K [01;35m[Kwarning: [m[K‘[01m[KEC_KEY_free[m[K’ is deprecated: Since OpenSSL 3.0 [[01;35m[K-Wdeprecated-declarations[m[K]
> 1116 | [01;35m[KEC_KEY_free[m[K(eckey);
> | [01;35m[K^~~~~~~~~~~[m[K
> [01m[K/usr/include/openssl/ec.h:1006:28:[m[K [01;36m[Knote: [m[Kdeclared here
> 1006 | OSSL_DEPRECATEDIN_3_0 void [01;36m[KEC_KEY_free[m[K(EC_KEY *key);
> | [01;36m[K^~~~~~~~~~~[m[K
> cc1: some warnings being treated as errors
> make[3]: *** [Makefile:538: libsx_la-websocket.lo] Error 1
The full build log is available from:
http://qa-logs.debian.net/2024/03/19/jabberd2_2.7.0-4.1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240319;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240319&fusertaguser=lucas@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.
More information about the Pkg-xmpp-devel
mailing list