Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 715554

Summary: net-libs/ntirpc-3.2 : /.../xdr.h: fatal error: sys/cdefs.h: No such file or directory
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: CONFIRMED ---    
Severity: normal CC: base-system
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: cdefs.h
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 713786    
Attachments: emerge-info.txt

Description Toralf Förster gentoo-dev 2020-03-31 07:05:48 UTC
In file included from /var/tmp/portage/net-libs/ntirpc-3.2/work/ntirpc-3.2/ntirpc/rpc/rpc.h:47,
                 from /var/tmp/portage/net-libs/ntirpc-3.2/work/ntirpc-3.2/src/auth_none.c:51:
/var/tmp/portage/net-libs/ntirpc-3.2/work/ntirpc-3.2/ntirpc/rpc/xdr.h:45:10: fatal error: sys/cdefs.h: No such file or directory
   45 | #include <sys/cdefs.h>
      |          ^~~~~~~~~~~~~
compilation terminated.


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


  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
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.42.0 *

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Mon Mar 30 22:39:15 UTC 2020
/var/db/repos/musl	Fri Mar 27 00:25:27 UTC 2020

emerge -qpvO net-libs/ntirpc
[ebuild  N    ] net-libs/ntirpc-3.2  USE="-gssapi -rdma"
Comment 1 Toralf Förster gentoo-dev 2020-03-31 07:05:51 UTC
Created attachment 627686 [details]
Comment 2 Toralf Förster gentoo-dev 2020-03-31 07:05:55 UTC
Created attachment 627688 [details]
Comment 3 Toralf Förster gentoo-dev 2020-03-31 07:05:58 UTC
Created attachment 627690 [details]
Comment 4 Toralf Förster gentoo-dev 2020-03-31 07:06:00 UTC
Created attachment 627692 [details]
Comment 5 Toralf Förster gentoo-dev 2020-03-31 07:06:04 UTC
Created attachment 627696 [details]
Comment 6 Toralf Förster gentoo-dev 2020-03-31 07:06:07 UTC
Created attachment 627698 [details]
Comment 7 Toralf Förster gentoo-dev 2020-03-31 07:06:10 UTC
Created attachment 627700 [details]
Comment 8 Michael 'veremitz' Everitt 2020-03-31 07:32:13 UTC
musl upstream has a FAQ entry specifically for this error:,-I-get-error-messages-about-%3Ccode%3Esys/cdefs.h%3C/code%3E

We will need to check/report upstream and patch affected code temporarily.