Package: src:cronie
Version: 1.7.2-3
Severity: important
Tags: sid forky
User: [email protected]
Usertags: ftbfs-gcc-15
[This bug is NOT 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-15/g++-15, but succeeds to build with gcc-14/g++-14. The
severity of this report will be raised before the forky release.
The full build log can be found at:
http://qa-logs.debian.net/2025/02/16/amd64exp/cronie_1.7.2-3_unstable_gccexp.log.gz
The last lines of the build log are at the end of this report.
To build with GCC 15, either set CC=gcc-15 CXX=g++-15 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS.
Other 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-15/porting_to.html
[...]
| ^~~~
src/entry.c: In function ‘load_entry’:
src/entry.c:488:18: error: too many arguments to function ‘error_func’; expected 0, have 1
488 | (*error_func) (ecodes[(int) ecode]);
| ~^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~
In file included from src/funcs.h:37,
from src/database.c:47:
src/structs.h:70:9: warning: ‘security_context_t’ is deprecated [-Wdeprecated-declarations]
70 | security_context_t scontext; /* SELinux security context */
| ^~~~~~~~~~~~~~~~~~
src/funcs.h:118:26: warning: ‘security_context_t’ is deprecated [-Wdeprecated-declarations]
118 | security_context_t *rcontext,
| ^~~~~~~~~~~~~~~~~~
src/funcs.h:122:1: warning: ‘security_context_t’ is deprecated [-Wdeprecated-declarations]
122 | void free_security_context( security_context_t *scontext );
| ^~~~
In file included from src/funcs.h:37,
from src/user.c:32:
src/structs.h:70:9: warning: ‘security_context_t’ is deprecated [-Wdeprecated-declarations]
70 | security_context_t scontext; /* SELinux security context */
| ^~~~~~~~~~~~~~~~~~
src/funcs.h:118:26: warning: ‘security_context_t’ is deprecated [-Wdeprecated-declarations]
118 | security_context_t *rcontext,
| ^~~~~~~~~~~~~~~~~~
src/funcs.h:122:1: warning: ‘security_context_t’ is deprecated [-Wdeprecated-declarations]
122 | void free_security_context( security_context_t *scontext );
| ^~~~
In file included from src/funcs.h:37,
from src/env.c:33:
src/structs.h:70:9: warning: ‘security_context_t’ is deprecated [-Wdeprecated-declarations]
70 | security_context_t scontext; /* SELinux security context */
| ^~~~~~~~~~~~~~~~~~
src/user.c: In function ‘load_user’:
src/user.c:145:54: error: passing argument 2 of ‘load_entry’ from incompatible pointer type [-Wincompatible-pointer-types]
145 | e = load_entry(file, log_error, pw, envp);
| ^~~~~~~~~
| |
| void (*)(const char *)
src/funcs.h:92:37: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(const char *)’
92 | entry *load_entry(FILE *, void (*)(), struct passwd *, char **);
| ^~~~~~~~~~
src/user.c:38:1: note: ‘log_error’ declared here
38 | log_error (const char *msg)
| ^~~~~~~~~
src/funcs.h:118:26: warning: ‘security_context_t’ is deprecated [-Wdeprecated-declarations]
118 | security_context_t *rcontext,
| ^~~~~~~~~~~~~~~~~~
src/funcs.h:122:1: warning: ‘security_context_t’ is deprecated [-Wdeprecated-declarations]
122 | void free_security_context( security_context_t *scontext );
| ^~~~
In file included from src/funcs.h:37,
from src/misc.c:57:
src/structs.h:70:9: warning: ‘security_context_t’ is deprecated [-Wdeprecated-declarations]
70 | security_context_t scontext; /* SELinux security context */
| ^~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:743: src/user.o] Error 1
make[2]: *** Waiting for unfinished jobs....
src/funcs.h:118:26: warning: ‘security_context_t’ is deprecated [-Wdeprecated-declarations]
118 | security_context_t *rcontext,
| ^~~~~~~~~~~~~~~~~~
src/funcs.h:122:1: warning: ‘security_context_t’ is deprecated [-Wdeprecated-declarations]
122 | void free_security_context( security_context_t *scontext );
| ^~~~
make[2]: *** [Makefile:743: src/entry.o] Error 1
make[2]: Leaving directory '/build/reproducible-path/cronie-1.7.2'
make[1]: *** [Makefile:492: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/cronie-1.7.2'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:54: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.