Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 715384 - net-misc/miniupnpd-2.1.20191006 : miniupnpdtypes.h: fatal error: sys/queue.h: No such file or directory
Summary: net-misc/miniupnpd-2.1.20191006 : miniupnpdtypes.h: fatal error: sys/queue.h:...
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: sys-libs/queue-standalone
Keywords:
Depends on:
Blocks: missing-musl-includes
  Show dependency tree
 
Reported: 2020-03-30 07:14 UTC by Toralf Förster
Modified: 2021-12-23 08:13 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,14.86 KB, text/plain)
2020-03-30 07:14 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,54.19 KB, text/plain)
2020-03-30 07:14 UTC, Toralf Förster
Details
environment (environment,50.91 KB, text/plain)
2020-03-30 07:14 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,10.66 KB, application/x-bzip)
2020-03-30 07:14 UTC, Toralf Förster
Details
net-misc:miniupnpd-2.1.20191006:20200330-035156.log (net-misc:miniupnpd-2.1.20191006:20200330-035156.log,2.97 KB, text/plain)
2020-03-30 07:14 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,13.97 KB, application/x-bzip)
2020-03-30 07:14 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-30 07:14:07 UTC
In file included from upnpglobalvars.h:14,
                 from miniupnpd.c:60:
miniupnpdtypes.h:13:10: fatal error: sys/queue.h: No such file or directory
   13 | #include <sys/queue.h>
      |          ^~~~~~~~~~~~~
compilation terminated.

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

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

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

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

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Mon Mar 30 02:09:07 UTC 2020
/var/db/repos/musl	Fri Mar 27 00:25:27 UTC 2020

emerge -qpvO net-misc/miniupnpd
[ebuild  N    ] net-misc/miniupnpd-2.1.20191006  USE="ipv6 leasefile -igd2 -nftables -pcp-peer -portinuse -strict"
Comment 1 Toralf Förster gentoo-dev 2020-03-30 07:14:11 UTC
Created attachment 627098 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-30 07:14:14 UTC
Created attachment 627100 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-30 07:14:17 UTC
Created attachment 627102 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-30 07:14:20 UTC
Created attachment 627104 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-30 07:14:23 UTC
Created attachment 627106 [details]
net-misc:miniupnpd-2.1.20191006:20200330-035156.log
Comment 6 Toralf Förster gentoo-dev 2020-03-30 07:14:26 UTC
Created attachment 627108 [details]
temp.tbz2
Comment 7 Michael 'veremitz' Everitt 2020-03-30 07:36:01 UTC
Quoting @Kumba from https://bugs.gentoo.org/712656#c8

> 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 8 Larry the Git Cow gentoo-dev 2021-12-23 08:13:58 UTC
The bug has been closed via the following commit(s):

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

commit 9d8ed05c1c894d113823035bc39a5703ab093cfd
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-12-23 08:00:22 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-12-23 08:13:44 +0000

    net-misc/miniupnpd: fix build on musl
    
    Closes: https://bugs.gentoo.org/715384
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/miniupnpd/miniupnpd-2.2.2.ebuild | 3 ++-
 net-misc/miniupnpd/miniupnpd-2.2.3.ebuild | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)