[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/bcron_0.11-23_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
[...]
echo exec `head -n 1 conf-ld` -L. '-o "$main" "$main.o" ${1+"$@"}'; \
) >load
python3 -c 'import shlex; line=shlex.split(open("conf-sendmail").readline().strip()); print("const char* sendmail[] = { "+",".join(["\"%s\""%a for a in line])+",NULL };")' >conf_sendmail.c
makeinfo bcron.texi
makeinfo --html --no-split bcron.texi
chmod 755 compile
chmod 755 load
man --html='cat %s' ./bcron-update.8 > bcron-update.8.html
./compile chdir.c
./compile connection.c
./compile crontab.c
./compile crontabs.c
In file included from crontab.c:1:
/usr/include/bglibs/sysdeps.h:91:12: error: conflicting types for ‘select’; have ‘int(void)’
91 | extern int select();
| ^~~~~~
In file included from crontabs.c:1:
/usr/include/bglibs/sysdeps.h:91:12: error: conflicting types for ‘select’; have ‘int(void)’
91 | extern int select();
| ^~~~~~
In file included from connection.c:1:
/usr/include/bglibs/sysdeps.h:91:12: error: conflicting types for ‘select’; have ‘int(void)’
91 | extern int select();
| ^~~~~~
In file included from /usr/include/x86_64-linux-gnu/sys/types.h:179,
from /usr/include/bglibs/sysdeps.h:5:
/usr/include/x86_64-linux-gnu/sys/select.h:102:12: note: previous declaration of ‘select’ with type ‘int(int, fd_set * restrict, fd_set * restrict, fd_set * restrict, struct timeval * restrict)’
102 | extern int select (int __nfds, fd_set *__restrict __readfds,
| ^~~~~~
In file included from /usr/include/x86_64-linux-gnu/sys/types.h:179,
from /usr/include/bglibs/sysdeps.h:5:
/usr/include/x86_64-linux-gnu/sys/select.h:102:12: note: previous declaration of ‘select’ with type ‘int(int, fd_set * restrict, fd_set * restrict, fd_set * restrict, struct timeval * restrict)’
102 | extern int select (int __nfds, fd_set *__restrict __readfds,
| ^~~~~~
In file included from /usr/include/x86_64-linux-gnu/sys/types.h:179,
from /usr/include/bglibs/sysdeps.h:5:
/usr/include/x86_64-linux-gnu/sys/select.h:102:12: note: previous declaration of ‘select’ with type ‘int(int, fd_set * restrict, fd_set * restrict, fd_set * restrict, struct timeval * restrict)’
102 | extern int select (int __nfds, fd_set *__restrict __readfds,
| ^~~~~~
./compile job.c
In file included from chdir.c:1:
/usr/include/bglibs/sysdeps.h:91:12: error: conflicting types for ‘select’; have ‘int(void)’
91 | extern int select();
| ^~~~~~
In file included from /usr/include/x86_64-linux-gnu/sys/types.h:179,
from /usr/include/bglibs/sysdeps.h:5:
/usr/include/x86_64-linux-gnu/sys/select.h:102:12: note: previous declaration of ‘select’ with type ‘int(int, fd_set * restrict, fd_set * restrict, fd_set * restrict, struct timeval * restrict)’
102 | extern int select (int __nfds, fd_set *__restrict __readfds,
| ^~~~~~
make[2]: *** [Makefile:104: crontabs.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [Makefile:101: crontab.o] Error 1
make[2]: *** [Makefile:95: connection.o] Error 1
In file included from job.c:1:
/usr/include/bglibs/sysdeps.h:91:12: error: conflicting types for ‘select’; have ‘int(void)’
91 | extern int select();
| ^~~~~~
In file included from /usr/include/x86_64-linux-gnu/sys/types.h:179,
from /usr/include/bglibs/sysdeps.h:5:
/usr/include/x86_64-linux-gnu/sys/select.h:102:12: note: previous declaration of ‘select’ with type ‘int(int, fd_set * restrict, fd_set * restrict, fd_set * restrict, struct timeval * restrict)’
102 | extern int select (int __nfds, fd_set *__restrict __readfds,
| ^~~~~~
make[2]: *** [Makefile:75: chdir.o] Error 1
make[2]: *** [Makefile:113: job.o] Error 1
make[2]: Leaving directory '/build/reproducible-path/bcron-0.11'
dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" returned exit code 2
make[1]: *** [debian/rules:21: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/bcron-0.11'
make: *** [debian/rules:15: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2