Public bug reported:
Currently cyrus-sasl2 FTBFS with gcc-15 in questing archive rebuild on every
arch:
https://launchpad.net/ubuntu/+archive/test-rebuild-20250910-questing/+packages?field.name_filter=cyrus-sasl2&field.status_filter=published&field.series_filter=
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H
-DSASLAUTHD_CONF_FILE_DEFAULT=\"/etc/saslauthd.conf\" -I. -I../../saslauthd
-I.. -I. -I../../saslauthd -I.. -I../../include -I../include -I../common
-I../../common -Wdate-time -D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto
-ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/cyrus-sasl2-2.1.28+dfsg1-9
-I/usr/include/heimdal -c -o auth_ldap.o ../../saslauthd/auth_ldap.c
../../saslauthd/auth_sasldb.c:45:9: warning: ‘RETURN’ redefined
45 | #define RETURN(x) return strdup(x)
| ^~~~~~
In file included from ../../saslauthd/auth_sasldb.c:44:
../../saslauthd/../lib/saslint.h:77:9: note: this is the location of the
previous definition
77 | #define RETURN(conn, val) { if(conn && (val) < SASL_OK) \
| ^~~~~~
../../saslauthd/auth_sasldb.c: In function ‘lame_getcallback’:
../../saslauthd/auth_sasldb.c:68:16: error: assignment to ‘int (*)(void)’ from
incompatible pointer type ‘int (*)(void *, char *, int)’
[-Wincompatible-pointer-types]
68 | *pproc = vf;
| ^
../../saslauthd/auth_sasldb.c:54:1: note: ‘vf’ declared here
54 | vf(void *context __attribute__((unused)),
| ^~
make[4]: *** [Makefile:554: auth_sasldb.o] Error 1
make[4]: *** Waiting for unfinished jobs....
../../saslauthd/lak.c: In function ‘lak_config_read’:
../../saslauthd/lak.c:335:5: warning: this ‘if’ clause does not guard...
[-Wmisleading-indentation]
335 | if ( ISSET(conf->group_filter) &&
| ^~
../../saslauthd/lak.c:340:9: note: ...this statement, but the latter is
misleadingly indented as if it were guarded by the ‘if’
340 | fclose(infile);
| ^~~~~~
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-heimdal/saslauthd'
make[3]: *** [Makefile:682: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build-heimdal'
make[2]: *** [Makefile:550: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build-heimdal'
dh_auto_build: error: cd build-heimdal && make -j4
sasldir=/usr/lib/x86_64-linux-gnu/sasl2 returned exit code 2
make[1]: *** [debian/rules:162: override_dh_auto_build-arch] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:117: binary] Error 2
dpkg-buildpackage.pl: error: debian/rules binary subprocess returned exit
status 2
This issue is probably due to gcc-15's strict type checking. For a workaround,
adding -std=gnu17 as an extra CFLAG in d/rules should solve this issue
I have uploaded the package with the changes in this ppa for testing:
https://launchpad.net/~0xnishit/+archive/ubuntu/devel-packages-ppa
** Affects: cyrus-sasl2 (Ubuntu)
Importance: Undecided
Status: New
** Tags: ftbfs
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2124256
Title:
FTBFS cyrus-sasl2 2.1.28+dfsg1-9 on questing
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cyrus-sasl2/+bug/2124256/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs