Thread View: linux.debian.bugs.dist
1 messages
1 total messages
Started by Santiago Vila
Wed, 25 Nov 2026 13:10
Bug#1155276: ocserv: FTBFS: ../tests/generate_oidc_test_data.c:249:22: error: implicit declaration of function âtimeâ [-Wimp...
Author: Santiago Vila
Date: Wed, 25 Nov 2026 13:10
Date: Wed, 25 Nov 2026 13:10
48 lines
6685 bytes
6685 bytes
Package: src:ocserv
Version: 1.6.0-3
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202611/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:ocserv, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
[205/241] cc -Itests/gen_oidc_test_data.p -Itests -I../tests -I. -I.. -Isrc -I../src -I../src/common -Isrc/ccan -I../src/ccan -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c99 -Wno-strict-aliasing -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -Wno-implicit-fallthrough -Wno-stringop-truncation -D_GNU_SOURCE -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MQ tests/gen_oidc_test_data.p/meson-generated_.._.._src_ctl.pb-c.c.o -MF tests/gen_oidc_test_data.p/meson-generated_.._.._src_ctl.pb-c.c.o.d -o tests/gen_oidc_test_data.p/meson-generated_.._.._src_ctl.pb-c.c.o -c src/ctl.pb-c.c
[206/241] cc -Itests/gen_oidc_test_data.p -Itests -I../tests -I. -I.. -Isrc -I../src -I../src/common -Isrc/ccan -I../src/ccan -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c99 -Wno-strict-aliasing -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -Wno-implicit-fallthrough -Wno-stringop-truncation -D_GNU_SOURCE -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MQ tests/gen_oidc_test_data.p/generate_oidc_test_data.c.o -MF tests/gen_oidc_test_data.p/generate_oidc_test_data.c.o.d -o tests/gen_oidc_test_data.p/generate_oidc_test_data.c.o -c ../tests/generate_oidc_test_data.c
FAILED: [code=1] tests/gen_oidc_test_data.p/generate_oidc_test_data.c.o
cc -Itests/gen_oidc_test_data.p -Itests -I../tests -I. -I.. -Isrc -I../src -I../src/common -Isrc/ccan -I../src/ccan -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c99 -Wno-strict-aliasing -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -Wno-implicit-fallthrough -Wno-stringop-truncation -D_GNU_SOURCE -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MQ tests/gen_oidc_test_data.p/generate_oidc_test_data.c.o -MF tests/gen_oidc_test_data.p/generate_oidc_test_data.c.o.d -o tests/gen_oidc_test_data.p/generate_oidc_test_data.c.o -c ../tests/generate_oidc_test_data.c
../tests/generate_oidc_test_data.c: In function ‘mint_token’:
../tests/generate_oidc_test_data.c:249:22: error: implicit declaration of function ‘time’ [-Wimplicit-function-declaration]
249 | time_t now = time(NULL);
| ^~~~
../tests/generate_oidc_test_data.c:23:1: note: ‘time’ is defined in header ‘<time.h>’; this is probably fixable by adding ‘#include <time.h>’
22 | #include <string.h>
+++ |+#include <time.h>
23 |
[207/241] cc -Itests/oidc-strap-client.p -Itests -I../tests -I. -I.. -Isrc -I../src -I../src/common -Isrc/ccan -I../src/ccan -I/usr/include/p11-kit-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c99 -Wno-strict-aliasing -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -Wno-implicit-fallthrough -Wno-stringop-truncation -D_GNU_SOURCE -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MQ tests/oidc-strap-client.p/meson-generated_.._.._src_ipc.pb-c.c.o -MF tests/oidc-strap-client.p/meson-generated_.._.._src_ipc.pb-c.c.o.d -o tests/oidc-strap-client.p/meson-generated_.._.._src_ipc.pb-c.c.o -c src/ipc.pb-c.c
ninja: build stopped: subcommand failed.
dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j2 -v returned exit code 1
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads