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

Bug 791661

Summary: games-emulation/atari800-4.2.0 - rdevice.c: error: caddr_t undeclared (first use in this function)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Michał Górny <mgorny>
Status: CONFIRMED ---    
Severity: normal CC: games
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
games-emulation:atari800-4.2.0:20210523-113627.log
logs.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-05-23 12:27:34 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I.   -pipe -march=native -fno-diagnostics-color  -Og -g -ansi -pedantic -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Winline -Wredundant-decls -c -o rdevice.o rdevice.c
rdevice.c: In function ‘open_connection’:
rdevice.c:772:19: error: ‘caddr_t’ undeclared (first use in this function); did you mean ‘in_addr_t’?
  772 |           memcpy((caddr_t)&peer_in.sin_addr, host->h_addr_list[0], host->h_length);
      |                   ^~~~~~~
      |                   in_addr_t
rdevice.c:772:19: 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.1_hardened-j2-20210521-114951

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.1.0 *
clang version 12.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.0
Python 3.8.10
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.52.1 *
The following VMs are available for generation-2:
1)	JamVM JDK 2.0.0 [jamvm]
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   jamvm 
  [2]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sun May 23 10:50:28 UTC 2021

emerge -qpvO games-emulation/atari800
[ebuild  N    ] games-emulation/atari800-4.2.0  USE="readline sound -opengl -sdl"
Comment 1 Toralf Förster gentoo-dev 2021-05-23 12:27:36 UTC
Created attachment 710640 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-05-23 12:27:37 UTC
Created attachment 710643 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-05-23 12:27:39 UTC
Created attachment 710646 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-05-23 12:27:40 UTC
Created attachment 710649 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-05-23 12:27:41 UTC
Created attachment 710652 [details]
games-emulation:atari800-4.2.0:20210523-113627.log
Comment 6 Toralf Förster gentoo-dev 2021-05-23 12:27:42 UTC
Created attachment 710655 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-05-23 12:27:43 UTC
Created attachment 710658 [details]
temp.tar.bz2