https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: media-libs/libde265-1.0.9 has implicit function declarations in configure logs (GCC-13-SYSTEM). Discovered on: amd64 (internal ref: gcc13_tinderbox) NOTE: (GCC-13-SYSTEM) in the summary means that the bug was found on a machine that runs gcc-13 but this bug MAY or MAY NOT BE related to the new compiler See also: https://bugs.gentoo.org/898488#c4.
Created attachment 856294 [details] build.log build log and emerge --info
ci has reproduced this issue with version 1.0.11 - Updating summary.
configure:19506: checking for working mktime configure:19704: x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse -o conftest -O3 -march=native -mtls-dialect=gnu2 -flto=jobserver -fno-semantic-interposition -pipe -fcf-protection=none -fdiag nostics-color=always -fdiagnostics-urls=never -frecord-gcc-switches -Wa,-O2 -Wa,-mtune=znver2 -Wstrict-aliasing -Wfree-nonheap-object -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -Wstrict-aliasing -Wfree-nonheap-object -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -Wbuiltin-declaration-mismatch -ggdb3 -Wformat -Wformat-security -Wad dress -Warray-bounds -Wfree-nonheap-object -Wint-to-pointer-cast -Wmain -Wnonnull -Wodr -Wreturn-type -Wsizeof-pointer-memaccess -Wstrict-aliasing -Wstring-compare -Wuninitialized -Wvar args -std=c99 -Wall -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -fdiagnostics-color=always -flto=jobserver -Wl,--defsym=__gentoo_check_ldflags__=0 -ggdb3 conftest.c -lm >&5 conftest.c: In function 'spring_forward_gap': conftest.c:90:3: error: implicit declaration of function 'putenv'; did you mean 'getenv'? [-Wimplicit-function-declaration] 90 | putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0"); | ^~~~~~ | getenv configure:19704: $? = 1
I might be missing something, but it looks like this test is from autoconf & autoreconf -fi doesn't help it, so possible autoconf bug. Asked Arsen to have a look
they set -std=c99 in cflags at the start of configure, and putenv doesn't get declared at that language level
ci has reproduced this issue with version 1.0.15 - Updating summary.