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

Bug 715270

Summary: net-misc/minidlna-1.2.1-r1 : upnphttp.h: fatal error: sys/queue.h: No such file or directory
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: RESOLVED FIXED    
Severity: normal CC: mgorny
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: sys-libs/queue-standalone
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 713786    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
net-misc:minidlna-1.2.1-r1:20200329-043220.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-03-29 09:54:55 UTC
x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I.    -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -c -o minidlna.o minidlna.c
In file included from minidlna.c:81:
upnphttp.h:53:10: fatal error: sys/queue.h: No such file or directory
   53 | #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 *
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) *

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sun Mar 29 02:38:54 UTC 2020
/var/db/repos/musl	Fri Mar 27 00:25:27 UTC 2020

emerge -qpvO net-misc/minidlna
[ebuild  N    ] net-misc/minidlna-1.2.1-r1  USE="(-libav) -netgear -readynas -zeroconf"
Comment 1 Toralf Förster gentoo-dev 2020-03-29 09:54:58 UTC
Created attachment 626822 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-29 09:55:01 UTC
Created attachment 626824 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-29 09:55:04 UTC
Created attachment 626826 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-29 09:55:06 UTC
Created attachment 626828 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-29 09:55:10 UTC
Created attachment 626830 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-29 09:55:13 UTC
Created attachment 626832 [details]
net-misc:minidlna-1.2.1-r1:20200329-043220.log
Comment 7 Toralf Förster gentoo-dev 2020-03-29 09:55:15 UTC
Created attachment 626834 [details]
temp.tbz2
Comment 8 Michael 'veremitz' Everitt 2020-03-29 22:20:31 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 9 Larry the Git Cow gentoo-dev 2020-11-25 17:37:46 UTC
The bug has been closed via the following commit(s):

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

commit 938fc4a06b68c67f608333fd670bf05b97926ed3
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2020-11-25 17:37:32 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-11-25 17:37:32 +0000

    net-misc/minidlna: fix build with gcc-10
    
    * Thanks to event event.riga@gmail.com for submitting the original patch
    
    Closes: https://github.com/gentoo/gentoo/pull/18396
    Closes: https://bugs.gentoo.org/706916
    Closes: https://bugs.gentoo.org/715270
    Package-Manager: Portage-3.0.8, Repoman-3.0.1
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../minidlna/files/minidlna-1.2.1-fno-common.patch | 45 ++++++++++++++++++++++
 net-misc/minidlna/minidlna-1.2.1-r1.ebuild         |  4 +-
 2 files changed, 48 insertions(+), 1 deletion(-)