Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 943781 - app-misc/ttyrec-1.0.8-r3 - [meson] [libtool] [gcc-15] ttyrec.c: error: conflicting types for getenv; have char (void)
Summary: app-misc/ttyrec-1.0.8-r3 - [meson] [libtool] [gcc-15] ttyrec.c: error: confli...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2024-11-18 18:39 UTC by Toralf Förster
Modified: 2025-01-26 00:56 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.49 KB, text/plain)
2024-11-18 18:39 UTC, Toralf Förster
Details
app-misc:ttyrec-1.0.8-r3:20241118-044952.log (app-misc:ttyrec-1.0.8-r3:20241118-044952.log,4.99 KB, text/plain)
2024-11-18 18:39 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,182.99 KB, text/plain)
2024-11-18 18:39 UTC, Toralf Förster
Details
environment (environment,79.58 KB, text/plain)
2024-11-18 18:39 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.21 KB, application/x-xz)
2024-11-18 18:39 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,18.37 KB, application/x-xz)
2024-11-18 18:39 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,51.23 KB, application/x-xz)
2024-11-18 18:39 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,18.48 KB, application/x-xz)
2024-11-18 18:39 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-11-18 18:39:43 UTC
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
Comment 1 Toralf Förster gentoo-dev 2024-11-18 18:39:44 UTC
Created attachment 908993 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-18 18:39:45 UTC
Created attachment 908994 [details]
app-misc:ttyrec-1.0.8-r3:20241118-044952.log
Comment 3 Toralf Förster gentoo-dev 2024-11-18 18:39:46 UTC
Created attachment 908995 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-11-18 18:39:47 UTC
Created attachment 908996 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-11-18 18:39:48 UTC
Created attachment 908997 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-18 18:39:49 UTC
Created attachment 908998 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-11-18 18:39:50 UTC
Created attachment 908999 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-11-18 18:39:51 UTC
Created attachment 909000 [details]
temp.tar.xz
Comment 9 sergio 2025-01-26 00:56:36 UTC
Hi, let me know if you have any solution to this  error: conflicting types for getenv; have char *(void)
  132 |         char *getenv();


Thank you