/bin/sh ../../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Werror -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c -o debug_util.lo debug_util.c libtool: compile: x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Werror -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c debug_util.c -fPIC -DPIC -o .libs/debug_util.o debug_util.c:29:10: fatal error: execinfo.h: No such file or directory 29 | #include <execinfo.h> | ^~~~~~~~~~~~ compilation terminated. ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl-20200316-165821 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-gentoo-linux-musl-9.3.0 * clang version 10.0.0 Target: x86_64-gentoo-linux-musl Thread model: posix InstalledDir: /usr/lib/llvm/10/bin /usr/lib/llvm/10 10.0.0 Available Python interpreters, in order of preference: [1] python3.8 [2] python3.7 [3] python3.6 [4] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * repository: ==> /var/db/repos/gentoo/metadata/timestamp.chk <== Wed, 18 Mar 2020 03:39:31 +0000 emerge -qpvO app-misc/ddcutil [ebuild N ] app-misc/ddcutil-0.9.5 USE="-X -drm -usb-monitor -user-permissions" VIDEO_CARDS="-nvidia"
Created attachment 621510 [details] emerge-info.txt
Created attachment 621512 [details] app-misc:ddcutil-0.9.5:20200318-042016.log
Created attachment 621514 [details] emerge-history.txt
Created attachment 621516 [details] environment
Created attachment 621518 [details] etc.portage.tbz2
Created attachment 621520 [details] logs.tbz2
Created attachment 621522 [details] temp.tbz2
Created attachment 625874 [details, diff] Drop execinfo.h includes for musl This patch fixes the execinfo.h includes
Created attachment 625876 [details, diff] Remove sys/cdefs.h, include argp.h
Created attachment 625878 [details, diff] Include sys/types.h if ushort is not defined
The attached patches make ddcutil compile with musl. Perhaps the title should be updated to better reflect the multiple issues and patches.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6a980e776954dbc69640c3afc2d1204c3a8d8f5 commit b6a980e776954dbc69640c3afc2d1204c3a8d8f5 Author: Robin H. Johnson <robbat2@gentoo.org> AuthorDate: 2020-07-30 23:05:33 +0000 Commit: Robin H. Johnson <robbat2@gentoo.org> CommitDate: 2020-07-30 23:07:42 +0000 app-misc/ddcutil: version bump Fixes: https://bugs.gentoo.org/713176 Fixes: https://bugs.gentoo.org/666094 Fixes: https://bugs.gentoo.org/662804 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> app-misc/ddcutil/Manifest | 1 + app-misc/ddcutil/ddcutil-0.9.9.ebuild | 114 ++++++++++++++++++++++++++++++++++ app-misc/ddcutil/metadata.xml | 5 +- 3 files changed, 119 insertions(+), 1 deletion(-)