Debian Bug report logs - #1097265
librnd: ftbfs with GCC-15

version graph

Package: src:librnd; Maintainer for src:librnd is Debian Electronics Team <[email protected]>;

Reported by: Matthias Klose <[email protected]>

Date: Mon, 17 Feb 2025 17:36:32 UTC

Severity: important

Tags: forky, sid

Found in version librnd/4.3.1-3

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to Debian Electronics Team <[email protected]>:
Bug#1097265; Package src:librnd. (Mon, 17 Feb 2025 17:36:32 GMT) (full text, mbox, link).


Acknowledgement sent to Matthias Klose <[email protected]>:
New Bug report received and forwarded. Copy sent to Debian Electronics Team <[email protected]>. (Mon, 17 Feb 2025 17:36:32 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Matthias Klose <[email protected]>
To: [email protected]
Subject: librnd: ftbfs with GCC-15
Date: Mon, 17 Feb 2025 17:33:41 +0000
Package: src:librnd
Version: 4.3.1-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/librnd_4.3.1-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

[...]
Detecting temp dir... validated /build/reproducible-path/librnd-4.3.1/scconfig/
Checking for system type... OK (name: Linux; class: UNIX)
Checking for cc (host)... OK ('gcc', '-g -O2 -ffile-prefix-map=/build/reproducible-path/librnd-4.3.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_LARGE_FILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2', '-Wl,-z,relro')
Checking for ar... OK (ar)
Checking for ranlib... OK (ranlib)
Checking for mkdir... OK (mkdir -p)
Checking for rm... OK (rm -rf)
Checking for cp... OK (cp -rp)
Checking for ln... OK (ln -sf)
Checking for awk... OK (awk)
Checking for cc args for std *...  -ansi -pedantic -Wall -std=c89 -std=c99 -Werror -Wextra -W -pg -no-pie -static-pie
Checking for function attribute unused... Found.
--- Detecting target (same as host)
Checking for -fpic... OK (-fPIC)
Checking for _Pragma(message)... Found.
Checking for inline... Found.
Checking for snprintf... OK (safe)
Checking for readdir()... OK ('#include <dirent.h>\n', '' and '')
Checking for FindNextFile()... not found
Checking for rpath... OK (-Wl,-rpath=)
Checking for -ldl... OK ()
Checking for rdynamic... OK (-rdynamic)
Checking for soname... OK (-Wl,-soname,)
Checking for dynamic library ldflags... OK (-dynamic -shared)
Checking for raise()... OK ('', '' and '')
Checking whether SIGINT exists... OK ('', '' and '')
Checking whether SIGINT terminates... terminates
Checking whether SIGABRT exists... OK ('', '' and '')
Checking whether SIGABRT terminates... terminates
Checking whether SIGKILL exists... OK ('', '' and '')
Checking whether SIGKILL terminates... terminates
Checking whether SIGTERM exists... OK ('', '' and '')
Checking whether SIGTERM terminates... terminates
Checking whether SIGQUIT exists... OK ('', '' and '')
Checking whether SIGQUIT terminates... terminates
Checking whether SIGHUP exists... OK ('', '' and '')
Checking whether SIGHUP terminates... terminates
Checking whether SIGFPE exists... OK ('', '' and '')
Checking whether SIGFPE terminates... terminates
Checking whether SIGSEGV exists... OK ('', '' and '')
Checking whether SIGSEGV terminates... terminates
Checking whether SIGPIPE exists... OK ('', '' and '')
Checking whether SIGPIPE terminates... terminates
Checking for setenv()... OK ('', '' and '')
Checking for mkdtemp... OK ('#include <stdlib.h>\n', '' and '')
Checking for realpath()... OK ('', '' and '')
Checking for fileno(3)... OK ('#include <stdio.h>\n', '' and '')
Checking for popen(3)... OK ('#define _XOPEN_SOURCE\n', '' and '')
Checking for rint... OK ('#include <math.h>\n', '' and '')
Checking for round... OK ('#include <math.h>\n', '' and '')
Checking for getpwuid... OK ('#include <sys/types.h>\n#include <pwd.h>\n', '' and '')
Checking for fungw... OK ('', '' and '-lfungw -lm -lgenht')
Checking for fungw user_call_ctx... OK ('', '' and '-lfungw -lm -lgenht')
Checking for fungw configured pupdir... Found: /usr/lib/puplug
Checking for socket... OK ('' and '' and '#include <sys/types.h>\n#include <sys/socket.h>\n')
Checking for select... OK ('' and '' and '#include <sys/types.h>\n#include <sys/socket.h>\n\n#include <sys/select.h>\n')
Checking for usleep()... OK ('', '' and '')
Checking for gettimeofday()... OK ('#include <sys/time.h>\n', '' and '')
Checking for fork... OK ('#include <unistd.h>\n', '' and '')
Checking for wait... OK ('#include <sys/types.h>\n#include <sys/wait.h>\n', '' and '')
Checking for _mkdir... not found
Checking for mkdir... not found

ERROR: no mkdir() or _mkdir(). Can not compile application.

hook_detect_target failed, exiting
make[1]: *** [debian/rules:30: override_dh_auto_configure] Error 1
make[1]: Leaving directory '/build/reproducible-path/librnd-4.3.1'
make: *** [debian/rules:22: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 11:57:26 2025; Machine Name: buxtehude

Debian Bug tracking system

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/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.