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

Bug 716582

Summary: net-misc/netkit-fingerd-0.17-r3 : lprint.c: error: O_RDONLY 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   
Whiteboard: Missing fcntl.h?
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 713786    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
net-misc:netkit-fingerd-0.17-r3:20200407-125748.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-04-07 15:06:07 UTC
      |       ^~~~
      |       popen
lprint.c:340:18: error: O_RDONLY undeclared (first use in this function)
  340 |  fd = open(tbuf, O_RDONLY);
      |                  ^~~~~~~~
lprint.c:340:18: 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	Tue Apr  7 11:07:59 UTC 2020
/var/db/repos/musl	Sat Apr  4 03:02:24 UTC 2020

emerge -qpvO net-misc/netkit-fingerd
[ebuild  N    ] net-misc/netkit-fingerd-0.17-r3
Comment 1 Toralf Förster gentoo-dev 2020-04-07 15:06:10 UTC
Created attachment 631132 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-07 15:06:13 UTC
Created attachment 631134 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-04-07 15:06:15 UTC
Created attachment 631136 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-04-07 15:06:18 UTC
Created attachment 631138 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-04-07 15:06:21 UTC
Created attachment 631140 [details]
net-misc:netkit-fingerd-0.17-r3:20200407-125748.log
Comment 6 Toralf Förster gentoo-dev 2020-04-07 15:06:24 UTC
Created attachment 631142 [details]
temp.tbz2
Comment 7 Michael 'veremitz' Everitt 2020-04-10 01:30:48 UTC
Likely an occurrence of missing #include <fcntl.h>.