Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 830074 - media-libs/libsixel-1.10.3 - meson.build: ERROR: Assert failed: Needed header not found
Summary: media-libs/libsixel-1.10.3 - meson.build: ERROR: Assert failed: Needed header...
Status: RESOLVED FIXED
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: 2021-12-27 10:09 UTC by Toralf Förster
Modified: 2022-02-16 01:42 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.01 KB, text/plain)
2021-12-27 10:09 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,375.70 KB, text/plain)
2021-12-27 10:09 UTC, Toralf Förster
Details
environment (environment,125.68 KB, text/plain)
2021-12-27 10:09 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,27.50 KB, application/x-bzip)
2021-12-27 10:09 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,3.48 KB, application/x-bzip)
2021-12-27 10:09 UTC, Toralf Förster
Details
media-libs:libsixel-1.10.3:20211226-221316.log (media-libs:libsixel-1.10.3:20211226-221316.log,4.17 KB, text/plain)
2021-12-27 10:09 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,27.69 KB, application/x-bzip)
2021-12-27 10:09 UTC, Toralf Förster
Details
Upstream fix (file_830074.txt,1.84 KB, patch)
2022-02-16 01:31 UTC, Carlos
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-12-27 10:09:36 UTC
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"
Comment 1 Toralf Förster gentoo-dev 2021-12-27 10:09:37 UTC
Created attachment 760407 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-12-27 10:09:39 UTC
Created attachment 760408 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-12-27 10:09:40 UTC
Created attachment 760409 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-12-27 10:09:41 UTC
Created attachment 760410 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-12-27 10:09:42 UTC
Created attachment 760411 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-12-27 10:09:43 UTC
Created attachment 760412 [details]
media-libs:libsixel-1.10.3:20211226-221316.log
Comment 7 Toralf Förster gentoo-dev 2021-12-27 10:09:44 UTC
Created attachment 760413 [details]
temp.tar.bz2
Comment 8 Carlos 2022-02-16 01:31:26 UTC
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.
Comment 9 Larry the Git Cow gentoo-dev 2022-02-16 01:42:30 UTC
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(-)