Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 713162 - dev-util/android-tools-9.0.0_p3-r1 : core/.../trace.h: fatal error: sys/cdefs.h: No such file or directory
Summary: dev-util/android-tools-9.0.0_p3-r1 : core/.../trace.h: fatal error: sys/cdefs...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard: cdefs.h
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-18 08:38 UTC by Toralf Förster
Modified: 2020-03-18 21:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.93 KB, text/plain)
2020-03-18 08:39 UTC, Toralf Förster
Details
dev-util:android-tools-9.0.0_p3-r1:20200318-014833.log (dev-util:android-tools-9.0.0_p3-r1:20200318-014833.log,220.38 KB, text/plain)
2020-03-18 08:39 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,60.29 KB, text/plain)
2020-03-18 08:39 UTC, Toralf Förster
Details
environment (environment,157.83 KB, text/plain)
2020-03-18 08:39 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.61 KB, application/x-bzip)
2020-03-18 08:39 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,186.92 KB, application/x-bzip)
2020-03-18 08:39 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-03-18 08:38:57 UTC
                 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"
Comment 1 Toralf Förster gentoo-dev 2020-03-18 08:39:00 UTC
Created attachment 621418 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-18 08:39:02 UTC
Created attachment 621420 [details]
dev-util:android-tools-9.0.0_p3-r1:20200318-014833.log
Comment 3 Toralf Förster gentoo-dev 2020-03-18 08:39:05 UTC
Created attachment 621422 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-18 08:39:08 UTC
Created attachment 621424 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-18 08:39:11 UTC
Created attachment 621426 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-18 08:39:13 UTC
Created attachment 621428 [details]
logs.tbz2
Comment 7 Michael 'veremitz' Everitt 2020-03-18 21:35:36 UTC
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.