Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 714228 - app-cdr/cuegen-1.2.0 : cuegen.c: error: O_RDONLY undeclared (first use in this function)
Summary: app-cdr/cuegen-1.2.0 : cuegen.c: error: O_RDONLY undeclared (first use in thi...
Status: RESOLVED FIXED
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 16:21 UTC by Toralf Förster
Modified: 2022-07-26 19:27 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 16:21 UTC, Toralf Förster
Details
app-cdr:cuegen-1.2.0:20200324-160458.log (app-cdr:cuegen-1.2.0:20200324-160458.log,2.23 KB, text/plain)
2020-03-24 16:21 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,291.85 KB, text/plain)
2020-03-24 16:21 UTC, Toralf Förster
Details
environment (environment,89.95 KB, text/plain)
2020-03-24 16:21 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,21.34 KB, application/x-bzip)
2020-03-24 16:21 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,21.59 KB, application/x-bzip)
2020-03-24 16:21 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 16:21:06 UTC
      |                      ^~~~
      |                      popen
cuegen.c:182:31: error: O_RDONLY undeclared (first use in this function)
  182 |         if ( (cdfp = open(cd, O_RDONLY)) == -1){
      |                               ^~~~~~~~
cuegen.c:182:31: 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 14:11:34 UTC 2020
/var/db/repos/musl	Sun Mar 22 15:02:57 UTC 2020

emerge -qpvO app-cdr/cuegen
[ebuild  N    ] app-cdr/cuegen-1.2.0
Comment 1 Toralf Förster gentoo-dev 2020-03-24 16:21:09 UTC
Created attachment 625280 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-24 16:21:12 UTC
Created attachment 625282 [details]
app-cdr:cuegen-1.2.0:20200324-160458.log
Comment 3 Toralf Förster gentoo-dev 2020-03-24 16:21:14 UTC
Created attachment 625284 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-24 16:21:17 UTC
Created attachment 625286 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-24 16:21:20 UTC
Created attachment 625288 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-24 16:21:22 UTC
Created attachment 625290 [details]
temp.tbz2
Comment 7 Michael 'veremitz' Everitt 2020-03-29 22:15:31 UTC
Likely an occurrence of missing #include <fcntl.h>.
Comment 8 Larry the Git Cow gentoo-dev 2022-07-26 19:27:33 UTC
The bug has been closed via the following commit(s):

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

commit dd5a87b45d6b8e829fdf3c1fbafd6bb50535058b
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2022-07-26 19:27:01 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2022-07-26 19:27:01 +0000

    app-cdr/cuegen: update EAPI 6 -> 8
    
    Closes: https://bugs.gentoo.org/714228
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../{cuegen-1.2.0.ebuild => cuegen-1.2.0-r1.ebuild}     | 13 +++++++------
 .../cuegen/files/cuegen-1.2.0-fix-build-system.patch    |  5 +++--
 .../cuegen/files/cuegen-1.2.0-missing-includes.patch    | 17 +++++++++++++++++
 3 files changed, 27 insertions(+), 8 deletions(-)