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>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://gitlab.gnome.org/World/OpenPaperwork/libinsane/-/issues/90
Whiteboard:
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
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

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

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

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):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf94391a811ee92d1b09fabd0c15e99747cc0d64

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

    media-libs/libinsane: fix compilation with MUSL
    
    Closes: https://bugs.gentoo.org/832146
    Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>

 .../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(-)