Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 714212 - net-ftp/linksys-tftp-1.2.1-r3 : main.c: error: O_RDONLY undeclared (first use in this function)
Summary: net-ftp/linksys-tftp-1.2.1-r3 : main.c: error: O_RDONLY undeclared (first use...
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: Missing fcntl.h?
Keywords:
Depends on:
Blocks: missing-musl-includes
  Show dependency tree
 
Reported: 2020-03-24 15:58 UTC by Toralf Förster
Modified: 2020-03-29 22:13 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.34 KB, text/plain)
2020-03-24 15:58 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,289.32 KB, text/plain)
2020-03-24 15:58 UTC, Toralf Förster
Details
environment (environment,74.98 KB, text/plain)
2020-03-24 15:58 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,21.29 KB, application/x-bzip)
2020-03-24 15:59 UTC, Toralf Förster
Details
net-ftp:linksys-tftp-1.2.1-r3:20200324-135426.log (net-ftp:linksys-tftp-1.2.1-r3:20200324-135426.log,12.98 KB, text/plain)
2020-03-24 15:59 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,19.98 KB, application/x-bzip)
2020-03-24 15:59 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-03-24 15:58:49 UTC
      |        ^~~~
      |        popen
main.c:276:17: error: O_RDONLY undeclared (first use in this function)
  276 |   fd = open(cp, O_RDONLY);
      |                 ^~~~~~~~
main.c:276:17: 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-20200316-165821

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

  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.41.1 *
  [2]   rust-bin-1.42.0

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Tue Mar 24 12:08:56 UTC 2020
/var/db/repos/musl	Sun Mar 22 15:02:57 UTC 2020

emerge -qpvO net-ftp/linksys-tftp
[ebuild  N    ] net-ftp/linksys-tftp-1.2.1-r3
Comment 1 Toralf Förster gentoo-dev 2020-03-24 15:58:52 UTC
Created attachment 625174 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-24 15:58:54 UTC
Created attachment 625176 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-24 15:58:57 UTC
Created attachment 625178 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-24 15:59:00 UTC
Created attachment 625180 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-24 15:59:03 UTC
Created attachment 625182 [details]
net-ftp:linksys-tftp-1.2.1-r3:20200324-135426.log
Comment 6 Toralf Förster gentoo-dev 2020-03-24 15:59:05 UTC
Created attachment 625184 [details]
temp.tbz2
Comment 7 Michael 'veremitz' Everitt 2020-03-29 22:13:35 UTC
Likely an occurrence of missing #include <fcntl.h>.