🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by Helmut Grohne Wed, 11 Nov 2026 08:10
Bug#1153707: provide sys/queue.h
#4110
Author: Helmut Grohne
Date: Wed, 11 Nov 2026 08:10
29 lines
2937 bytes
Package: musl-dev
User: helmutg@debian.org
Usertags: rebootstrap
Control: affects -1 + src:tcl9.1
X-Debbugs-Cc: Sergei Golovan <sgolovan@debian.org>

Hi Reiner and Sergei,

tcl9.1 recently entered the set of packages required for cross
bootstrapping Debian. Unfortunately, it does not build for musl as its
epoll library uses #include <sys/queue.h>. This is a header-only library
for managing linked lists. The musl FAQ
https://wiki.musl-libc.org/faq.html is quite explicit that it won't be
included upstream. Some packages started including a copy of it (e.g.
https://github.com/libevent/libevent/issues/343 and
https://github.com/logrotate/logrotate/commit/0aa8958a130a0e1459a820e64c566cc2cff9c3de).
I don't think such vendoring is a good outcome. A codesearch
(https://codesearch.debian.net/search?q=%23include+%3Csys%2Fqueue.h%3E&literal=1&perpkg=1)
indiciates that a lot of packages use this header. This I think the best
outcome would be for Debian's musl package to include it and thus
minimize such vendoring. I note that OpenWRT also went this way
https://github.com/openwrt/openwrt/blob/main/toolchain/musl/include/sys/queue.h.

So please include a sys/queue.h. The simplest way would be to include it
in musl-dev, but having a musl-compat-dev package containing it (and
printf.h #1024505 and mallinfo2 #1125302) would also be fine. We'd just
add a bunch of musl-compat-dev [musl-any-any] build-depends then.

Helmut
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads