Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 712708 - x11-wm/spectrwm-3.3.0 : ../spectrwm.c: fatal error: sys/queue.h: No such file or directory
Summary: x11-wm/spectrwm-3.3.0 : ../spectrwm.c: fatal error: sys/queue.h: No such file...
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:
 
Reported: 2020-03-15 15:08 UTC by Toralf Förster
Modified: 2020-03-16 13:41 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.61 KB, text/plain)
2020-03-15 15:08 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,137.13 KB, text/plain)
2020-03-15 15:08 UTC, Toralf Förster
Details
environment (environment,61.00 KB, text/plain)
2020-03-15 15:08 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.09 KB, application/x-bzip)
2020-03-15 15:08 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,15.37 KB, application/x-bzip)
2020-03-15 15:08 UTC, Toralf Förster
Details
x11-wm:spectrwm-3.3.0:20200315-145950.log (x11-wm:spectrwm-3.3.0:20200315-145950.log,2.26 KB, text/plain)
2020-03-15 15:08 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 15:08:26 UTC
make: Entering directory /var/tmp/portage/x11-wm/spectrwm-3.3.0/work/spectrwm-SPECTRWM_3_3_0/linux
x86_64-gentoo-linux-musl-gcc -std=c99 -Wmissing-prototypes -Wall -Wextra -Wshadow -Wno-uninitialized  -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -I. -D_GNU_SOURCE -DSWM_LIB=\/usr/lib/libswmhack.so.0.0\ -I/usr/include/freetype2 -I/usr/include/uuid   -c -o spectrwm.o ../spectrwm.c
../spectrwm.c:35:10: fatal error: sys/queue.h: No such file or directory
   35 | #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 13:39:01 +0000
emerge -qpvO x11-wm/spectrwm
[ebuild  N    ] x11-wm/spectrwm-3.3.0
Comment 1 Toralf Förster gentoo-dev 2020-03-15 15:08:29 UTC
Created attachment 619822 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-15 15:08:32 UTC
Created attachment 619824 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-15 15:08:36 UTC
Created attachment 619826 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-15 15:08:38 UTC
Created attachment 619828 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-15 15:08:41 UTC
Created attachment 619830 [details]
temp.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-15 15:08:44 UTC
Created attachment 619832 [details]
x11-wm:spectrwm-3.3.0:20200315-145950.log
Comment 7 Michael 'veremitz' Everitt 2020-03-15 22:15:58 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 2020-03-16 13:41:14 UTC
The bug has been closed via the following commit(s):

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

commit a9168d9b0a3d45a6de3ca13a8a9a6b61fec7a730
Author:     Ben Kohler <bkohler@gentoo.org>
AuthorDate: 2020-03-16 13:40:18 +0000
Commit:     Ben Kohler <bkohler@gentoo.org>
CommitDate: 2020-03-16 13:40:46 +0000

    x11-wm/spectrwm: add missing queue-standalone dep for musl
    
    Closes: https://bugs.gentoo.org/712708
    Package-Manager: Portage-2.3.94, Repoman-2.3.21
    Signed-off-by: Ben Kohler <bkohler@gentoo.org>

 x11-wm/spectrwm/spectrwm-3.3.0.ebuild | 1 +
 1 file changed, 1 insertion(+)