Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 716610 - games-misc/wumpus-1.4-r1 : wump.c: fatal error: sys/cdefs.h: No such file or directory
Summary: games-misc/wumpus-1.4-r1 : wump.c: fatal error: sys/cdefs.h: No such file or ...
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: cdefs.h
Keywords:
Depends on:
Blocks: missing-musl-includes
  Show dependency tree
 
Reported: 2020-04-07 19:59 UTC by Toralf Förster
Modified: 2020-04-10 01:37 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.04 KB, text/plain)
2020-04-07 19:59 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,362.56 KB, text/plain)
2020-04-07 19:59 UTC, Toralf Förster
Details
environment (environment,47.40 KB, text/plain)
2020-04-07 19:59 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,26.29 KB, application/x-bzip)
2020-04-07 19:59 UTC, Toralf Förster
Details
games-misc:wumpus-1.4-r1:20200407-193848.log (games-misc:wumpus-1.4-r1:20200407-193848.log,1.74 KB, text/plain)
2020-04-07 19:59 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,1.12 KB, application/x-bzip)
2020-04-07 19: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-04-07 19:59:34 UTC
>>> Source configured.
>>> Compiling source in /var/tmp/portage/games-misc/wumpus-1.4-r1/work ...
wump.c:40:10: fatal error: sys/cdefs.h: No such file or directory
   40 | #include <sys/cdefs.h>
      |          ^~~~~~~~~~~~~
compilation terminated.

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

  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 18:37:53 UTC 2020
/var/db/repos/musl	Sat Apr  4 03:02:24 UTC 2020

emerge -qpvO games-misc/wumpus
[ebuild  N    ] games-misc/wumpus-1.4-r1
Comment 1 Toralf Förster gentoo-dev 2020-04-07 19:59:36 UTC
Created attachment 631204 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-07 19:59:39 UTC
Created attachment 631206 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-04-07 19:59:42 UTC
Created attachment 631208 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-04-07 19:59:45 UTC
Created attachment 631210 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-04-07 19:59:47 UTC
Created attachment 631212 [details]
games-misc:wumpus-1.4-r1:20200407-193848.log
Comment 6 Toralf Förster gentoo-dev 2020-04-07 19:59:50 UTC
Created attachment 631214 [details]
logs.tbz2
Comment 7 Michael 'veremitz' Everitt 2020-04-10 01:37:13 UTC
musl upstream has a FAQ entry specifically for this error:
https://wiki.musl-libc.org/faq.html#Q:-When-compiling-something-against-musl,-I-get-error-messages-about-%3Ccode%3Esys/cdefs.h%3C/code%3E

We will need to check/report upstream and patch affected code temporarily.