Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 832146

Summary: media-libs/libinsane-1.0.9 fails to compile: worker.c:2:10: fatal error: execinfo.h: No such file or directory
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Bernard Cafarelli <voyageur>
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 856418    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2022-01-27 07:20:44 UTC

Issue: media-libs/libinsane-1.0.9 fails to compile.
Discovered on: amd64 (internal ref: tinderbox_musl)

This machine uses MUSL libc
Comment 1 Agostino Sarubbo gentoo-dev 2022-01-27 07:20:46 UTC
Created attachment 763717 [details]

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-01-27 07:20:47 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:

../libinsane-1.0.9/subprojects/libinsane/src/workarounds/dedicated_process/worker.c:2:10: fatal error: execinfo.h: No such file or directory
/var/tmp/portage/media-libs/libinsane-1.0.9/temp/environment: line 2138: type: locale: not found
dev-util/re2c-2.2:0 -debug -test/etc/portage/bashrc: line 3: 18395 Segmentation fault      qlist -ICvUSS
libinsane| Run-time dependency cunit found: NO (tried pkgconfig and cmake)
../libinsane-1.0.9/subprojects/libinsane/src/workarounds/dedicated_process/worker.c:2:10: fatal error: execinfo.h: No such file or directory
Comment 3 Bernard Cafarelli gentoo-dev 2022-07-15 16:30:13 UTC
This also requires stderr renaming, in review upstream
Comment 4 Larry the Git Cow gentoo-dev 2022-07-18 17:49:26 UTC
The bug has been closed via the following commit(s):

commit cf94391a811ee92d1b09fabd0c15e99747cc0d64
Author:     Bernard Cafarelli <>
AuthorDate: 2022-07-18 17:49:06 +0000
Commit:     Bernard Cafarelli <>
CommitDate: 2022-07-18 17:49:23 +0000

    media-libs/libinsane: fix compilation with MUSL
    Signed-off-by: Bernard Cafarelli <>

 .../libinsane/files/libinsane-1.0.9-musl.patch     | 238 +++++++++++++++++++++
 media-libs/libinsane/libinsane-1.0.9.ebuild        |   6 +-
 2 files changed, 242 insertions(+), 2 deletions(-)