https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-libs/sink-0.8.0-r3 fails to compile. Discovered on: amd64 (internal ref: tinderbox_musl) NOTE: This machine uses MUSL libc
Created attachment 761823 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: /var/tmp/portage/dev-libs/sink-0.8.0-r3/work/sink-0.8.0/synchronizer/backtrace.cpp:34:10: fatal error: execinfo.h: No such file or directory fatal: not a git repository (or any parent up to mount point /var/tmp) /var/tmp/portage/dev-libs/sink-0.8.0-r3/work/sink-0.8.0/synchronizer/backtrace.cpp:34:10: fatal error: execinfo.h: No such file or directory
Should be obvious this is caused by musl.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2812d756f23179a480f982ef877f3ff5b7e4116 commit b2812d756f23179a480f982ef877f3ff5b7e4116 Author: brahmajit das <listout@protonmail.com> AuthorDate: 2022-07-29 18:53:09 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2022-08-17 16:17:56 +0000 dev-libs/sink: Musl fix build error, missing execinfo.h On musl execinfo.h is not present, it results in build error for missing header file. Hence we are going check first for execinfo.h then include and use it for backtrace. Closes: https://bugs.gentoo.org/830945 Signed-off-by: brahmajit das <listout@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/26655 Signed-off-by: Joonas Niilola <juippis@gentoo.org> dev-libs/sink/files/sink-0.8.0-musl-execinfo.patch | 48 ++++++++++++++++++++++ dev-libs/sink/sink-0.8.0-r3.ebuild | 6 ++- 2 files changed, 53 insertions(+), 1 deletion(-)