/bin/sh ../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../src -DREPLACE_GETOPT=1 -O2 -pipe -march=native -c -o libgetopt_la-getopt_long.lo test -f getopt_long.c || echo ./getopt_long.c libtool: compile: x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../src -DREPLACE_GETOPT=1 -O2 -pipe -march=native -c getopt_long.c -fPIC -DPIC -o .libs/libgetopt_la-getopt_long.o getopt_long.c:60:13: fatal error: sys/cdefs.h: No such file or directory 60 | # include <sys/cdefs.h> | ^~~~~~~~~~~~~ compilation terminated. ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl-20200328-141627 ------------------------------------------------------------------- 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 * 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 Sat Apr 4 20:37:51 UTC 2020 /var/db/repos/musl Sat Apr 4 03:02:24 UTC 2020 emerge -qpvO sci-libs/matio [ebuild N ] sci-libs/matio-1.5.17 USE="-doc -examples -hdf5 -sparse"
Created attachment 630176 [details] emerge-info.txt
Created attachment 630178 [details] emerge-history.txt
Created attachment 630180 [details] environment
Created attachment 630182 [details] etc.portage.tbz2
Created attachment 630184 [details] logs.tbz2
Created attachment 630186 [details] sci-libs:matio-1.5.17:20200404-220251.log
Created attachment 630188 [details] temp.tbz2
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.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3250ba85965856cec855ec2ed01e02aaa16d17a2 commit 3250ba85965856cec855ec2ed01e02aaa16d17a2 Author: Jakov Smolic <jakov.smolic@sartura.hr> AuthorDate: 2021-01-24 13:48:18 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2021-01-24 13:48:18 +0000 sci-libs/matio: Bump to 1.5.19 Bug: https://bugs.gentoo.org/716258 Bug: https://bugs.gentoo.org/717942 Closes: https://bugs.gentoo.org/603218 Closes: https://bugs.gentoo.org/677366 Closes: https://bugs.gentoo.org/716258 Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: David Seifert <soap@gentoo.org> sci-libs/matio/Manifest | 1 + sci-libs/matio/matio-1.5.19.ebuild | 46 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3250ba85965856cec855ec2ed01e02aaa16d17a2 commit 3250ba85965856cec855ec2ed01e02aaa16d17a2 Author: Jakov Smolic <jakov.smolic@sartura.hr> AuthorDate: 2021-01-24 13:48:18 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2021-01-24 13:48:18 +0000 sci-libs/matio: Bump to 1.5.19 Bug: https://bugs.gentoo.org/716258 Bug: https://bugs.gentoo.org/717942 Closes: https://bugs.gentoo.org/603218 Closes: https://bugs.gentoo.org/677366 Closes: https://bugs.gentoo.org/716258 Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: David Seifert <soap@gentoo.org> sci-libs/matio/Manifest | 1 + sci-libs/matio/matio-1.5.19.ebuild | 46 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+)