Article View: linux.debian.bugs.dist
Article #4110Bug#1153707: provide sys/queue.h
From: Helmut Grohne
Date: Wed, 11 Nov 2026 08:10
Date: Wed, 11 Nov 2026 08:10
29 lines
2937 bytes
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
Technical Details
Message-ID:
<NYbz3-bbCI-3@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod From: Helmut Grohne <helmut@subdivi.de> Newsgroups: linux.debian.bugs.dist Subject: Bug#1153707: provide sys/queue.h Date: Wed, 11 Nov 2026 09:10:01 +0100 Message-ID: <NYbz3-bbCI-3@gated-at.bofh.it> X-Original-To: Debian Bug Tracking System <submit@bugs.debian.org> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Wed Nov 11 08:05:08 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.45 Reply-To: Helmut Grohne <helmut@subdivi.de>, 1153707@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: sgolovan@debian.org, reiner@reiner-h.de X-Debian-Pr-Message: report 1153707 X-Debian-Pr-Package: musl-dev X-Debian-Pr-Source: musl MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Reportbug-Version: 13.2.0+nmu1 X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2001983 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 29 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Wed, 11 Nov 2026 09:02:33 +0100 X-Original-Message-ID: <20261111080233.GA358873@subdivi.de>