Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 943827

Summary: dev-libs/eb-4.4.3 - [ncurses-6.5] [gcc-15] getopt.c: error: conflicting types for getenv; have char (void)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 880545    
Attachments: emerge-info.txt
dev-libs:eb-4.4.3:20241118-163805.log
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
qlist-info.txt.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2024-11-18 19:19:50 UTC
   ./ebutils.h.in >> ebutils.h.tmp
../move-if-change ebutils.h.tmp ebutils.h
make[2]: Leaving directory '/var/tmp/portage/dev-libs/eb-4.4.3/work/eb-4.4.3/libebutils'
make  all-am
make[3]: Entering directory '/var/tmp/portage/dev-libs/eb-4.4.3/work/eb-4.4.3/libebutils'
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I..      -O2 -pipe -march=native -fno-diagnostics-color -c -o getopt.o getopt.c
getopt.c:90:14: error: conflicting types for getenv; have char *(void)
   90 | extern char *getenv();
      |              ^~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_plasma_systemd-20241112-111005

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15
    Issues involving opaque types / incomplete typedefs should block bug 930805
  >=sys-libs/ncurses-6.5

  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
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.81.0
  [2]   rust-bin-1.82.0
  [3]   rust-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 d0fdee6eb9b5bc59e15ade2cb88da247a1adaf84
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Nov 18 15:33:24 2024 +0000

    2024-11-18 15:33:24 UTC

emerge -qpvO =dev-libs/eb-4.4.3
[ebuild  N    ] dev-libs/eb-4.4.3  USE="nls -threads"
Comment 1 Toralf Förster gentoo-dev 2024-11-18 19:19:51 UTC
Created attachment 909379 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-18 19:19:52 UTC
Created attachment 909380 [details]
dev-libs:eb-4.4.3:20241118-163805.log
Comment 3 Toralf Förster gentoo-dev 2024-11-18 19:19:54 UTC
Created attachment 909381 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-11-18 19:19:55 UTC
Created attachment 909382 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-11-18 19:19:55 UTC
Created attachment 909383 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-18 19:19:56 UTC
Created attachment 909384 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-11-18 19:19:57 UTC
Created attachment 909385 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-11-18 19:19:58 UTC
Created attachment 909386 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-11-18 19:19:59 UTC
Created attachment 909387 [details]
temp.tar.xz