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

Bug 715712

Summary: x11-misc/xfractint-20.04_p14 : ./.../unix.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: RESOLVED FIXED    
Severity: normal CC: maintainer-needed
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/16675
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
temp.tbz2
x11-misc:xfractint-20.04_p14:20200401-035917.log

Description Toralf Förster gentoo-dev 2020-04-01 07:13:42 UTC
      |       ^~~~
      |       popen
./unix/unix.c:277:25: error: O_RDONLY undeclared (first use in this function)
  277 |  fd = open(fullpathname,O_RDONLY);
      |                         ^~~~~~~~
./unix/unix.c:277:25: 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-20200328-141627

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

  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 *

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Wed Apr  1 02:08:59 UTC 2020
/var/db/repos/musl	Fri Mar 27 00:25:27 UTC 2020

emerge -qpvO x11-misc/xfractint
[ebuild  N    ] x11-misc/xfractint-20.04_p14
Comment 1 Toralf Förster gentoo-dev 2020-04-01 07:13:45 UTC
Created attachment 628316 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-01 07:13:47 UTC
Created attachment 628318 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-04-01 07:13:50 UTC
Created attachment 628320 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-04-01 07:13:53 UTC
Created attachment 628322 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-04-01 07:13:56 UTC
Created attachment 628324 [details]
temp.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-04-01 07:13:59 UTC
Created attachment 628326 [details]
x11-misc:xfractint-20.04_p14:20200401-035917.log
Comment 7 Michael 'veremitz' Everitt 2020-04-01 08:43:25 UTC
Likely an occurrence of missing #include <fcntl.h>.
Comment 8 Larry the Git Cow gentoo-dev 2020-08-03 02:58:32 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=805525bbecce584afed1ab992546ac9c1c446616

commit 805525bbecce584afed1ab992546ac9c1c446616
Author:     David Denoncin <ddenoncin@gmail.com>
AuthorDate: 2020-08-02 14:25:57 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2020-08-03 02:58:23 +0000

    x11-misc/xfractint: vbump 20.04p16, bug fixes
    
    Closes:https://bugs.gentoo.org/706522
    Closes:https://bugs.gentoo.org/732432
    Closes:https://bugs.gentoo.org/715712
    
    Package-Manager: Portage-2.3.103, Repoman-2.3.23
    Signed-off-by: David Denoncin <ddenoncin@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/16675
    Signed-off-by: Sam James <sam@gentoo.org>

 x11-misc/xfractint/Manifest                        |  1 +
 .../files/xfractint-20.04p16-install-phase.patch   | 24 ++++++++++++++
 x11-misc/xfractint/xfractint-20.04_p16.ebuild      | 37 ++++++++++++++++++++++
 3 files changed, 62 insertions(+)