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

Bug 716372

Summary: sys-apps/netkit-base-0.17-r9 : inetd.c: error: _environ undeclared (first use in this function)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: CONFIRMED ---    
Severity: normal CC: base-system
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 713786    
Attachments: emerge-info.txt

Description Toralf Förster gentoo-dev 2020-04-05 19:38:29 UTC
x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -Wall -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline inetd.c -c
inetd.c: In function discard_stupid_environment:
inetd.c:253:12: error: __environ undeclared (first use in this function)
  253 |  for (i=0; __environ[i]; i++) {
      |            ^~~~~~~~~
inetd.c:253:12: note: each undeclared identifier is reported only once for each function it appears in


  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl_hardened-20200328-201618


  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.42.0 *
Available Java Virtual Machines:
  (none found)

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sun Apr  5 17:37:56 UTC 2020
/var/db/repos/musl	Sat Apr  4 03:02:24 UTC 2020

emerge -qpvO sys-apps/netkit-base
[ebuild  N    ] sys-apps/netkit-base-0.17-r9
Comment 1 Toralf Förster gentoo-dev 2020-04-05 19:38:32 UTC
Created attachment 630538 [details]
Comment 2 Toralf Förster gentoo-dev 2020-04-05 19:38:35 UTC
Created attachment 630540 [details]
Comment 3 Toralf Förster gentoo-dev 2020-04-05 19:38:37 UTC
Created attachment 630542 [details]
Comment 4 Toralf Förster gentoo-dev 2020-04-05 19:38:40 UTC
Created attachment 630544 [details]
Comment 5 Toralf Förster gentoo-dev 2020-04-05 19:38:43 UTC
Created attachment 630546 [details]
Comment 6 Toralf Förster gentoo-dev 2020-04-05 19:38:47 UTC
Created attachment 630548 [details]