Source: elfutils Version: 0.186-1 Severity: important Tags: ftbfs Justification: fails to build from source (but built successfully in the past)
Hello, elfutils currently FTBFS on kfreebsd with the current error: gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -DLOCALEDIR='"/usr/share/locale"' -I. -I.. -I. -I. -I../lib -I.. -I. -I./../libelf -I./../libebl -I./../libdw -I./../libdwelf -I/usr/include/p11-kit-1 -I/usr/include/x86_64-kfreebsd-gnu -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu99 -Wall -Wshadow -Wformat=2 -Wold-style-definition -Wstrict-prototypes -Wtrampolines -Wlogical-op -Wduplicated-cond -Wnull-dereference -Wimplicit-fallthrough=5 -Wunused -Wextra -Wstack-usage=262144 -D_FORTIFY_SOURCE=2 -g -O3 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -MT debuginfod-client.o -MD -MP -MF .deps/debuginfod-client.Tpo -c -o debuginfod-client.o debuginfod-client.c debuginfod-client.c: In function ‘debuginfod_query_server’: debuginfod-client.c:1042:37: error: ‘CLOCK_MONOTONIC_RAW’ undeclared (first use in this function); did you mean ‘CLOCK_MONOTONIC_FAST’? 1042 | if ( maxtime > 0 && clock_gettime(CLOCK_MONOTONIC_RAW, &start_time) == -1) | ^~~~~~~~~~~~~~~~~~~ | CLOCK_MONOTONIC_FAST debuginfod-client.c:1042:37: note: each undeclared identifier is reported only once for each function it appears in -- System Information: Debian Release: bookworm/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 5.17.0-3-amd64 (SMP w/8 CPU threads; PREEMPT) Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), LANGUAGE=fr_BE:fr Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: SELinux: enabled - Mode: Permissive - Policy name: refpolicy