Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 712858 - dev-perl/Sys-CPU-0.610.0-r1 : CPU.xs: fatal error: sys/unistd.h: No such file or directory
Summary: dev-perl/Sys-CPU-0.610.0-r1 : CPU.xs: fatal error: sys/unistd.h: No such file...
Status: RESOLVED INVALID
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:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-16 13:28 UTC by Toralf Förster
Modified: 2020-03-16 16:12 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.91 KB, text/plain)
2020-03-16 13:28 UTC, Toralf Förster
Details
dev-perl:Sys-CPU-0.610.0-r1:20200316-065946.log (dev-perl:Sys-CPU-0.610.0-r1:20200316-065946.log,2.69 KB, text/plain)
2020-03-16 13:28 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,173.93 KB, text/plain)
2020-03-16 13:28 UTC, Toralf Förster
Details
environment (environment,33.48 KB, text/plain)
2020-03-16 13:28 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,17.81 KB, application/x-bzip)
2020-03-16 13:28 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,10.70 KB, application/x-bzip)
2020-03-16 13:28 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-16 13:28:06 UTC
mv CPU.xsc CPU.c
x86_64-gentoo-linux-musl-gcc -c   -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe   -DVERSION=\0.61\ -DXS_VERSION=\0.61\ -fPIC -I/usr/lib/perl5/5.30.1/x86_64-linux/CORE   CPU.c
CPU.xs:27:11: fatal error: sys/unistd.h: No such file or directory
   27 |  #include <sys/unistd.h>
      |           ^~~~~~~~~~~~~~
compilation terminated.

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20200311-204810

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.2.0 *
 [2] 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.41.1
  [2]   rust-1.41.1 *
The following VMs are available for generation-2:

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Mon, 16 Mar 2020 04:38:59 +0000
emerge -qpvO dev-perl/Sys-CPU
[ebuild  N    ] dev-perl/Sys-CPU-0.610.0-r1
Comment 1 Toralf Förster gentoo-dev 2020-03-16 13:28:09 UTC
Created attachment 620442 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-16 13:28:12 UTC
Created attachment 620444 [details]
dev-perl:Sys-CPU-0.610.0-r1:20200316-065946.log
Comment 3 Toralf Förster gentoo-dev 2020-03-16 13:28:15 UTC
Created attachment 620446 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-16 13:28:17 UTC
Created attachment 620448 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-16 13:28:20 UTC
Created attachment 620450 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-16 13:28:23 UTC
Created attachment 620452 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-03-16 16:12:46 UTC
The first attempt to tinderbox a musl image failed at all.

I'll mass close therefore all filed bug reports of the last days related to this tinderbox image.

Please feel free to re-open if you think that the bug is real in musl and not fixed by the musl overlay.