[This bug is targeted to the upcoming trixie release]
Please keep this issue open in the bug tracker for the package it
was filed for. If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.
The package fails to build in a test rebuild on at least amd64 with
gcc-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.
The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/sa-exim_4.2.1-20_unstable_gccexp.log
The last lines of the build log are at the end of this report.
To build with GCC 14, either set CC=gcc-14 CXX=g++-14 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-14/porting_to.html
[...]
sa-exim.c:1416:142: warning: format ‘%d’ expects argument of type ‘int’, but argument 7 has type ‘time_t’ {aka ‘long int’} [-Wformat=]
1416 | log_write(0, LOG_MAIN | LOG_REJECT, "SA: Action: teergrubed sender until full configured duration of %d secs: %s (scanned in %d/%d secs | Message-Id: %s). %s", SAteergrubetime, spamstatus, scantime, fulltime, safemesgid, mailinfo);
| ~^ ~~~~~~~~
| | |
| int time_t {aka long int}
| %ld
sa-exim.c:1427:103: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘time_t’ {aka ‘long int’} [-Wformat=]
1427 | log_write(0, LOG_REJECT | LOG_MAIN, "SA: Action: silently tossed message: %s (scanned in %d/%d secs | Message-Id: %s). %s", spamstatus, scantime, fulltime, safemesgid, mailinfo);
| ~^ ~~~~~~~~
| | |
| int time_t {aka long int}
| %ld
sa-exim.c:1427:106: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘time_t’ {aka ‘long int’} [-Wformat=]
1427 | log_write(0, LOG_REJECT | LOG_MAIN, "SA: Action: silently tossed message: %s (scanned in %d/%d secs | Message-Id: %s). %s", spamstatus, scantime, fulltime, safemesgid, mailinfo);
| ~^ ~~~~~~~~
| | |
| int time_t {aka long int}
| %ld
sa-exim.c:1436:108: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘time_t’ {aka ‘long int’} [-Wformat=]
1436 | log_write(0, LOG_MAIN | LOG_REJECT, "SA: Action: permanently rejected message: %s (scanned in %d/%d secs | Message-Id: %s). %s", spamstatus, scantime, fulltime, safemesgid, mailinfo);
| ~^ ~~~~~~~~
| | |
| int time_t {aka long int}
| %ld
sa-exim.c:1436:111: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘time_t’ {aka ‘long int’} [-Wformat=]
1436 | log_write(0, LOG_MAIN | LOG_REJECT, "SA: Action: permanently rejected message: %s (scanned in %d/%d secs | Message-Id: %s). %s", spamstatus, scantime, fulltime, safemesgid, mailinfo);
| ~^ ~~~~~~~~
| | |
| int time_t {aka long int}
| %ld
sa-exim.c:1450:95: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘time_t’ {aka ‘long int’} [-Wformat=]
1450 | log_write(0, LOG_MAIN, "SA: Action: flagged as Spam but accepted: %s (scanned in %d/%d secs | Message-Id: %s). %s", spamstatus, scantime, fulltime, safemesgid, mailinfo);
| ~^ ~~~~~~~~
| | |
| int time_t {aka long int}
| %ld
sa-exim.c:1450:98: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘time_t’ {aka ‘long int’} [-Wformat=]
1450 | log_write(0, LOG_MAIN, "SA: Action: flagged as Spam but accepted: %s (scanned in %d/%d secs | Message-Id: %s). %s", spamstatus, scantime, fulltime, safemesgid, mailinfo);
| ~^ ~~~~~~~~
| | |
| int time_t {aka long int}
| %ld
sa-exim.c:1479:108: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘time_t’ {aka ‘long int’} [-Wformat=]
1479 | log_write(0, LOG_MAIN | LOG_REJECT, "SA: Action: temporarily rejected message: %s (scanned in %d/%d secs | Message-Id: %s). %s", spamstatus, scantime, fulltime, safemesgid, mailinfo);
| ~^ ~~~~~~~~
| | |
| int time_t {aka long int}
| %ld
sa-exim.c:1479:111: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘time_t’ {aka ‘long int’} [-Wformat=]
1479 | log_write(0, LOG_MAIN | LOG_REJECT, "SA: Action: temporarily rejected message: %s (scanned in %d/%d secs | Message-Id: %s). %s", spamstatus, scantime, fulltime, safemesgid, mailinfo);
| ~^ ~~~~~~~~
| | |
| int time_t {aka long int}
| %ld
sa-exim.c:1487:97: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘time_t’ {aka ‘long int’} [-Wformat=]
1487 | log_write(0, LOG_MAIN, "SA: Action: scanned but message isn't spam: %s (scanned in %d/%d secs | Message-Id: %s). %s", spamstatus, scantime, fulltime, safemesgid, mailinfo);
| ~^ ~~~~~~~~
| | |
| int time_t {aka long int}
| %ld
sa-exim.c:1487:100: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘time_t’ {aka ‘long int’} [-Wformat=]
1487 | log_write(0, LOG_MAIN, "SA: Action: scanned but message isn't spam: %s (scanned in %d/%d secs | Message-Id: %s). %s", spamstatus, scantime, fulltime, safemesgid, mailinfo);
| ~^ ~~~~~~~~
| | |
| int time_t {aka long int}
| %ld
make[1]: *** [Makefile:41: sa-exim.so] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:19: build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2