Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 716160 - www-apps/cgisysinfo-0.4.1 : network.c: error: caddr_t undeclared (first use in this function)
Summary: www-apps/cgisysinfo-0.4.1 : network.c: error: caddr_t undeclared (first use i...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: missing-musl-includes
  Show dependency tree
 
Reported: 2020-04-04 11:03 UTC by Toralf Förster
Modified: 2020-04-04 11:03 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.73 KB, text/plain)
2020-04-04 11:03 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,283.43 KB, text/plain)
2020-04-04 11:03 UTC, Toralf Förster
Details
environment (environment,62.87 KB, text/plain)
2020-04-04 11:03 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,24.91 KB, application/x-bzip)
2020-04-04 11:03 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,7.32 KB, application/x-bzip)
2020-04-04 11:03 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,20.44 KB, application/x-bzip)
2020-04-04 11:03 UTC, Toralf Förster
Details
www-apps:cgisysinfo-0.4.1:20200404-103829.log (www-apps:cgisysinfo-0.4.1:20200404-103829.log,9.47 KB, text/plain)
2020-04-04 11:03 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 2020-04-04 11:03:07 UTC
x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I..     -O2 -pipe -march=native -c -o network.o network.c
network.c: In function active_interface:
network.c:29:32: error: caddr_t undeclared (first use in this function)
   29 |     if(ioctl(s, SIOCGIFFLAGS, (caddr_t)&ifr) < 0){
      |                                ^~~~~~~
network.c:29:32: 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
/usr/lib/llvm/10
10.0.0
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	Sat Apr  4 09:37:49 UTC 2020
/var/db/repos/musl	Sat Apr  4 03:02:24 UTC 2020

emerge -qpvO www-apps/cgisysinfo
[ebuild  N    ] www-apps/cgisysinfo-0.4.1  USE="-fastcgi"
Comment 1 Toralf Förster gentoo-dev 2020-04-04 11:03:10 UTC
Created attachment 629864 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-04 11:03:13 UTC
Created attachment 629866 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-04-04 11:03:16 UTC
Created attachment 629868 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-04-04 11:03:19 UTC
Created attachment 629870 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-04-04 11:03:21 UTC
Created attachment 629872 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-04-04 11:03:24 UTC
Created attachment 629874 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-04-04 11:03:27 UTC
Created attachment 629876 [details]
www-apps:cgisysinfo-0.4.1:20200404-103829.log