Has header "unistd.h" : YES Has header "stdint.h" : YES Has header "sys/unistd.h" : NO meson.build:92:2: ERROR: Assert failed: Needed header not found A full log can be found at /var/tmp/portage/media-libs/libsixel-1.10.3/work/libsixel-1.10.3-build/meson-logs/meson-log.txt ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl_hardened-j4-20211222-160113 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-gentoo-linux-musl-11.2.1 * clang version 13.0.0 Target: x86_64-gentoo-linux-musl Thread model: posix InstalledDir: /usr/lib/llvm/13/bin /usr/lib/llvm/13 13.0.0 Python 3.9.9 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) [3] ruby30 (with Rubygems) * Available Rust versions: [1] rust-bin-1.57.0 [2] rust-1.57.0 * The following VMs are available for generation-2: Available Java Virtual Machines: (none found) php cli: HEAD of ::gentoo commit b4175685d16cd23243fc6c480dbe28b335d47cf7 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sun Dec 26 21:06:49 2021 +0000 2021-12-26 21:06:48 UTC emerge -qpvO media-libs/libsixel [ebuild N ] media-libs/libsixel-1.10.3 USE="python -curl -gd -gtk -jpeg -png -test" PYTHON_TARGETS="python3_9 -python3_8 -python3_10"
Created attachment 760407 [details] emerge-info.txt
Created attachment 760408 [details] emerge-history.txt
Created attachment 760409 [details] environment
Created attachment 760410 [details] etc.portage.tar.bz2
Created attachment 760411 [details] logs.tar.bz2
Created attachment 760412 [details] media-libs:libsixel-1.10.3:20211226-221316.log
Created attachment 760413 [details] temp.tar.bz2
Created attachment 765218 [details, diff] Upstream fix A fairly easy to backport commit to git master fixes this issue: https://github.com/libsixel/libsixel/commit/a8d60939d00af520e7139741b58928a9cc2c5f04 (corresponding patch file attached) After adding its patch file to /etc/portage/patches, libsixel builds and works as expected.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=024897195560f8288889e352cf5992cd3a657321 commit 024897195560f8288889e352cf5992cd3a657321 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-02-16 01:42:07 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-02-16 01:42:07 +0000 media-libs/libsixel: fix build on musl Closes: https://bugs.gentoo.org/830074 Signed-off-by: Sam James <sam@gentoo.org> media-libs/libsixel/files/libsixel-musl.patch | 57 +++++++++++++++++++++++++++ media-libs/libsixel/libsixel-1.10.3.ebuild | 3 +- 2 files changed, 59 insertions(+), 1 deletion(-)