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

Bug 714136

Summary: app-forensics/openscap-1.2.14 : debug.c: error: O_APPEND undeclared (first use in this function)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: RESOLVED OBSOLETE    
Severity: normal CC: maintainer-needed
Priority: Normal Keywords: NeedPatch, PMASKED
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 713786    
Deadline: 2020-09-21   
Attachments: emerge-info.txt
app-forensics:openscap-1.2.14:20200323-225754.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-03-24 08:19:52 UTC
      |        ^~~~
      |        popen
debug.c:103:23: error: O_APPEND undeclared (first use in this function)
  103 |   fd = open(filename, O_APPEND | O_WRONLY);
      |                       ^~~~~~~~
debug.c:103:23: 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 *

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Mon Mar 23 21:14:54 UTC 2020
/var/db/repos/musl	Sun Mar 22 15:02:57 UTC 2020

emerge -qpvO app-forensics/openscap
[ebuild  N    ] app-forensics/openscap-1.2.14  USE="acl pcre xattr -caps -debug -doc -gconf -ldap -nss -perl -python -rpm -sce (-selinux) -sql -test" PYTHON_SINGLE_TARGET="python2_7"
Comment 1 Toralf Förster gentoo-dev 2020-03-24 08:19:55 UTC
Created attachment 624882 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-24 08:19:57 UTC
Created attachment 624884 [details]
app-forensics:openscap-1.2.14:20200323-225754.log
Comment 3 Toralf Förster gentoo-dev 2020-03-24 08:20:00 UTC
Created attachment 624886 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-24 08:20:03 UTC
Created attachment 624888 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-24 08:20:05 UTC
Created attachment 624890 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-24 08:20:08 UTC
Created attachment 624892 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-03-24 08:20:11 UTC
Created attachment 624894 [details]
temp.tbz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-03-31 20:02:10 UTC
Possibly: https://git.alpinelinux.org/aports/tree/testing/openscap/path_mounted.patch

If not, fcntl.h?
Comment 9 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-09-21 07:30:43 UTC
removed.