Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 899816 - media-libs/libde265-1.0.15 has implicit function declarations in configure logs (GCC-13-SYSTEM)
Summary: media-libs/libde265-1.0.15 has implicit function declarations in configure lo...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: implicit-in-configure gcc-14-stable
  Show dependency tree
 
Reported: 2023-03-06 09:49 UTC by Agostino Sarubbo
Modified: 2024-11-02 14:32 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,111.62 KB, text/plain)
2023-03-06 09:49 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-03-06 09:49:54 UTC
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.
Comment 1 Agostino Sarubbo gentoo-dev 2023-03-06 09:49:56 UTC
Created attachment 856294 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-03-11 17:04:58 UTC
ci has reproduced this issue with version 1.0.11 - Updating summary.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-05-03 11:08:09 UTC
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
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-05-03 11:39:38 UTC
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
Comment 5 Arsen Arsenović gentoo-dev 2024-05-03 12:09:29 UTC
they set -std=c99 in cflags at the start of configure, and putenv doesn't get declared at that language level
Comment 6 Agostino Sarubbo gentoo-dev 2024-05-03 12:24:12 UTC
ci has reproduced this issue with version 1.0.15 - Updating summary.