from core/adb/transport.h:33, from core/adb/transport.cpp:20: core/include/cutils/trace.h:31:10: fatal error: sys/cdefs.h: No such file or directory 31 | #include <sys/cdefs.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 00:38:26 +0000 emerge -qpvO dev-util/android-tools [ebuild N ] dev-util/android-tools-9.0.0_p3-r1 USE="-python" PYTHON_TARGETS="python3_6 -python3_7"
Created attachment 621418 [details] emerge-info.txt
Created attachment 621420 [details] dev-util:android-tools-9.0.0_p3-r1:20200318-014833.log
Created attachment 621422 [details] emerge-history.txt
Created attachment 621424 [details] environment
Created attachment 621426 [details] etc.portage.tbz2
Created attachment 621428 [details] logs.tbz2
musl upstream has a FAQ entry specifically for this error: https://wiki.musl-libc.org/faq.html#Q:-When-compiling-something-against-musl,-I-get-error-messages-about-%3Ccode%3Esys/cdefs.h%3C/code%3E We will need to check/report upstream and patch affected code temporarily.