x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DSVR4 -D_XOPEN_SOURCE=500 -c -o io.o io.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DSVR4 -D_XOPEN_SOURCE=500 -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 ttyrec.c io.o -o ttyrec ttyrec.c: In function main: ttyrec.c:125:1: warning: old-style function definition [-Wold-style-definition] 125 | main(argc, argv) | ^~~~ ttyrec.c:132:15: error: conflicting types for getenv; have char *(void) 132 | char *getenv(); | ^~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 23.0_desktop_plasma-20241113-212003 UNMASKED: <sys-devel/gcc-15.0.9999:15 Please re-assign to ztrawhcse@ if you cannot reproduced it with regular meson. <dev-build/meson-9999 The attached etc.portage.tar.xz has all details. ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-15 * clang version 19.1.3 llvm-config: 19.1.3 Python 3.12.7 go version go1.23.2 linux/amd64 [1] php8.2 [2] php8.3 * Available Ruby profiles: (none found) Available Rust versions: [1] rust-bin-1.81.0 [2] rust-bin-1.82.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17] *) Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21] 3) Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-17 [3] openjdk-bin-21 system-vm HEAD of ::gentoo commit b813d907728743e9f9306611369cb4aba3f37bec Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Mon Nov 18 03:18:26 2024 +0000 2024-11-18 03:18:25 UTC emerge -qpvO =app-misc/ttyrec-1.0.8-r3 [ebuild N ] app-misc/ttyrec-1.0.8-r3
Created attachment 908993 [details] emerge-info.txt
Created attachment 908994 [details] app-misc:ttyrec-1.0.8-r3:20241118-044952.log
Created attachment 908995 [details] emerge-history.txt
Created attachment 908996 [details] environment
Created attachment 908997 [details] etc.clang.tar.xz
Created attachment 908998 [details] etc.portage.tar.xz
Created attachment 908999 [details] qlist-info.txt.xz
Created attachment 909000 [details] temp.tar.xz
Hi, let me know if you have any solution to this error: conflicting types for getenv; have char *(void) 132 | char *getenv(); Thank you