Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 713980 - sys-fs/vzquota-3.1 : ../.../quota.h: fatal error: sys/cdefs.h: No such file or directory
Summary: sys-fs/vzquota-3.1 : ../.../quota.h: fatal error: sys/cdefs.h: No such file o...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo musl team
URL:
Whiteboard: cdefs.h
Keywords:
Depends on:
Blocks: missing-musl-includes
  Show dependency tree
 
Reported: 2020-03-22 12:48 UTC by Toralf Förster
Modified: 2020-03-22 17:57 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.13 KB, text/plain)
2020-03-22 12:48 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,271.04 KB, text/plain)
2020-03-22 12:48 UTC, Toralf Förster
Details
environment (environment,42.32 KB, text/plain)
2020-03-22 12:48 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,20.75 KB, application/x-bzip)
2020-03-22 12:48 UTC, Toralf Förster
Details
sys-fs:vzquota-3.1:20200322-120143.log (sys-fs:vzquota-3.1:20200322-120143.log,2.17 KB, text/plain)
2020-03-22 12:48 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,11.35 KB, application/x-bzip)
2020-03-22 12:49 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-22 12:48:44 UTC
                 from ../include/vzquota.h:32,
                 from common.c:26:
../include/linux/quota.h:329:23: fatal error: sys/cdefs.h: No such file or directory
  329 | # /* nodep */ include <sys/cdefs.h>
      |                       ^~~~~~~~~~~~~
compilation terminated.

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20200316-165821

  -------------------------------------------------------------------

  Please see the tracker bug for details.

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) *
Available Rust versions:
  [1]   rust-1.41.1 *

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sun Mar 22 10:14:20 UTC 2020
/var/db/repos/musl	Sun Mar 22 03:12:57 UTC 2020

emerge -qpvO sys-fs/vzquota
[ebuild  N    ] sys-fs/vzquota-3.1
Comment 1 Toralf Förster gentoo-dev 2020-03-22 12:48:47 UTC
Created attachment 624426 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-22 12:48:49 UTC
Created attachment 624428 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-22 12:48:52 UTC
Created attachment 624430 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-22 12:48:55 UTC
Created attachment 624432 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-22 12:48:58 UTC
Created attachment 624434 [details]
sys-fs:vzquota-3.1:20200322-120143.log
Comment 6 Toralf Förster gentoo-dev 2020-03-22 12:49:01 UTC
Created attachment 624436 [details]
temp.tbz2
Comment 7 Michael 'veremitz' Everitt 2020-03-22 17:57:02 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.