Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 717658 - dev-games/freecell-solver-5.22.1 : /.../tree.h: fatal error: sys/cdefs.h: No such file or directory
Summary: dev-games/freecell-solver-5.22.1 : /.../tree.h: fatal error: sys/cdefs.h: No ...
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-16 07:19 UTC by Toralf Förster
Modified: 2020-04-27 00:11 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.32 KB, text/plain)
2020-04-16 07:19 UTC, Toralf Förster
Details
dev-games:freecell-solver-5.22.1:20200416-051224.log (dev-games:freecell-solver-5.22.1:20200416-051224.log,32.86 KB, text/plain)
2020-04-16 07:19 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,504.23 KB, text/plain)
2020-04-16 07:19 UTC, Toralf Förster
Details
environment (environment,125.19 KB, text/plain)
2020-04-16 07:19 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,35.73 KB, application/x-bzip)
2020-04-16 07:19 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.59 KB, application/x-bzip)
2020-04-16 07:19 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,30.86 KB, application/x-bzip)
2020-04-16 07:19 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-16 07:19:17 UTC
In file included from /var/tmp/portage/dev-games/freecell-solver-5.22.1/work/freecell-solver-5.22.1/split_fcc_solver.c:14:
/var/tmp/portage/dev-games/freecell-solver-5.22.1/work/freecell-solver-5.22.1/sys/tree.h:33:10: fatal error: sys/cdefs.h: No such file or directory
   33 | #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-bin-1.42.0
  [2]   rust-1.42.0 *
The following VMs are available for generation-2:
Available Java Virtual Machines:
  (none found)


timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Thu Apr 16 04:38:22 UTC 2020
/var/db/repos/musl	Tue Apr 14 12:39:54 UTC 2020

emerge -qpvO dev-games/freecell-solver
[ebuild  N    ] dev-games/freecell-solver-5.22.1  USE="-tcmalloc" PYTHON_SINGLE_TARGET="python3_6 -python3_7 -python3_8"
Comment 1 Toralf Förster gentoo-dev 2020-04-16 07:19:20 UTC
Created attachment 633146 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-16 07:19:24 UTC
Created attachment 633148 [details]
dev-games:freecell-solver-5.22.1:20200416-051224.log
Comment 3 Toralf Förster gentoo-dev 2020-04-16 07:19:27 UTC
Created attachment 633150 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-04-16 07:19:32 UTC
Created attachment 633152 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-04-16 07:19:36 UTC
Created attachment 633154 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-04-16 07:19:39 UTC
Created attachment 633156 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-04-16 07:19:42 UTC
Created attachment 633158 [details]
temp.tbz2
Comment 8 Michael 'veremitz' Everitt 2020-04-27 00:11:33 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.