Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 712656 - net-libs/libtirpc-1.2.5 : /.../clnt_bcast.c: fatal error: sys/queue.h: No such file or directory
Summary: net-libs/libtirpc-1.2.5 : /.../clnt_bcast.c: fatal error: sys/queue.h: No suc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-15 09:33 UTC by Toralf Förster
Modified: 2020-03-15 18:41 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.52 KB, text/plain)
2020-03-15 09:33 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,117.78 KB, text/plain)
2020-03-15 09:33 UTC, Toralf Förster
Details
environment (environment,79.63 KB, text/plain)
2020-03-15 09:33 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.30 KB, application/x-bzip)
2020-03-15 09:33 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,9.38 KB, application/x-bzip)
2020-03-15 09:33 UTC, Toralf Förster
Details
net-libs:libtirpc-1.2.5:20200315-074310.log (net-libs:libtirpc-1.2.5:20200315-074310.log,16.81 KB, text/plain)
2020-03-15 09:33 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,24.25 KB, application/x-bzip)
2020-03-15 09:33 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-15 09:33:18 UTC
libtool: compile:  x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/net-libs/libtirpc-1.2.5/work/libtirpc-1.2.5/src -I.. -I/var/tmp/portage/net-libs/libtirpc-1.2.5/work/libtirpc-1.2.5/tirpc -include config.h -DPORTMAP -DINET6 -D_GNU_SOURCE -Wall -pipe -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c /var/tmp/portage/net-libs/libtirpc-1.2.5/work/libtirpc-1.2.5/src/clnt_bcast.c  -fPIC -DPIC -o .libs/libtirpc_la-clnt_bcast.o
/var/tmp/portage/net-libs/libtirpc-1.2.5/work/libtirpc-1.2.5/src/clnt_bcast.c:43:10: fatal error: sys/queue.h: No such file or directory
   43 | #include <sys/queue.h>
      |          ^~~~~~~~~~~~~
compilation terminated.

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

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

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.2.0 *
 [2] 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-bin-1.41.1
  [2]   rust-1.41.1 *
The following VMs are available for generation-2:

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sun, 15 Mar 2020 05:08:46 +0000
emerge -qpvO net-libs/libtirpc
[ebuild  N    ] net-libs/libtirpc-1.2.5  USE="ipv6 (split-usr) -kerberos -static-libs"
Comment 1 Toralf Förster gentoo-dev 2020-03-15 09:33:20 UTC
Created attachment 619564 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-15 09:33:23 UTC
Created attachment 619566 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-15 09:33:26 UTC
Created attachment 619568 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-15 09:33:29 UTC
Created attachment 619570 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-15 09:33:32 UTC
Created attachment 619572 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-15 09:33:35 UTC
Created attachment 619574 [details]
net-libs:libtirpc-1.2.5:20200315-074310.log
Comment 7 Toralf Förster gentoo-dev 2020-03-15 09:33:38 UTC
Created attachment 619576 [details]
temp.tbz2
Comment 8 Joshua Kinard gentoo-dev 2020-03-15 18:27:12 UTC
This is fixable by adding an elibc_musl USE dep to pull in sys-libs/queue-standalone.

musl upstream has a FAQ entry specifically for this error:
https://wiki.musl-libc.org/faq.html#Q:-Why-is-%3Ccode%3Esys/queue.h%3C/code%3E-not-included?
Comment 9 Larry the Git Cow gentoo-dev 2020-03-15 18:41:35 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b15434cb79125c39254a9dfcc0961820152d3bb9

commit b15434cb79125c39254a9dfcc0961820152d3bb9
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2020-03-15 18:40:35 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2020-03-15 18:41:30 +0000

    net-libs/libtirpc: depend on sys-libs/queue-standalone for musl
    
    Closes: https://bugs.gentoo.org/712656
    Package-Manager: Portage-2.3.92_p3, Repoman-2.3.20_p118
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 net-libs/libtirpc/libtirpc-1.2.5.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)