Artifacts Associated With Ticket 3ff2d724d0
Ticket change [dc81ee7682] (rid 229849) by danmack42 on 2024-08-07 15:34:15:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-fossil-plain"
- comment initialized to:
Downloaded tcl9.0b3 gz tarball from sourceforge. Did a generic configure on Alpine Linux v3.20 and tried a source build. During build, errors at this point: /home/mack/src/tcltk/tcl9.0b3/unix/tclEpollNotfy.c:28:10: fatal error: sys/queue.h: No such file or directory 28 | #include <sys/queue.h> | ^~~~~~~~~~~~~ compilation terminated. Looks like a new dependency on queue.h which does exist on alpine. Tcl version: 8.6.14 builds without any problems. Thank you, - foundin initialized to: "9.0b3"
- is_private initialized to: "0"
- login: "danmack42"
- priority initialized to: "5 Medium"
- private_contact initialized to: "0f4125c92c9797d5bb52daeb026e699c87475522"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "danmack42"
- subsystem initialized to: "53. Configuration and Build Tools"
- title initialized to:
build failure on Alpine Linux (MUSL) - sys/queue.h no such file or directory
- type initialized to: "Bug"
Ticket change [e02ad8ec2a] (rid 229850) by danmack42 on 2024-08-07 16:16:03:
- icomment:
as a workaround, I just copied the netbsd version of queue.h file into the compat directory and changed the sys/queue.h to ../compat/queue.h for now.
- login: "danmack42"
- mimetype: "text/plain"
- icomment:
Ticket change [e3d0e620cd] (rid 229851) by jan.nijtmans on 2024-08-07 16:51:52:
- icomment:
I think you will find your answer [https://github.com/arnaud-lb/php-memory-profiler/issues/15|here]. apk add --no-cache bsd-compat-headers Hope this helps, Jan Nijtmans - login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- icomment:
Ticket change [79de9cd0ce] (rid 229852) by danmack42 on 2024-08-07 17:35:10:
- icomment:
thank you, that's it. appreciate your help. dan
- login: "danmack42"
- mimetype: "text/plain"
- icomment:
Ticket change [a851049851] (rid 229853) by oehhar on 2024-08-07 19:11:38:
- icomment:
Would it be helpful to add this information into the TCL migration guide or release notes? Or is this a general purpose problem and not related to TCL? Should "configure" detect this? Thanks, Harald
- login: "oehhar"
- mimetype: "text/x-fossil-wiki"
- username: "oehhar"
- icomment:
Ticket change [bf351e114b] (rid 259415) by serhiy.storchaka on 2026-10-20 13:07:22:
- foundin changed to: "9.1.0"
- icomment:
As Harald asked, Tcl itself can avoid this: tclEpollNotfy.c only needs six list macros from <tt><sys/queue.h></tt>, which musl does not provide. Proposed fix in branch [/timeline?r=epoll-no-sys-queue|epoll-no-sys-queue]: define them in tclEpollNotfy.c instead of including that header, so no configure check and no bsd-compat-headers are needed. Tested on Alpine 3.24 without bsd-compat-headers: the current main fails as reported, with the branch it builds and the event, socket, I/O and notifier tests pass; also tested on Linux with glibc.
- login: "serhiy.storchaka"
- mimetype: "text/x-fossil-wiki"
Ticket change [e55bda0ad7] (rid 259428) by oehhar on 2026-10-20 13:29:32:
- icomment:
Great. The preprocessor gymnastics feel good. It would be ok for me to merge. Thanks, Harald
- login: "oehhar"
- mimetype: "text/x-fossil-wiki"
- username: "oehhar"
- icomment:
Ticket change [bbb226f9eb] (rid 259554) by serhiy.storchaka on 2026-10-20 18:37:41:
- login: "serhiy.storchaka"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [2fb1cc1b1a] (rid 259618) by jan.nijtmans on 2026-10-20 21:28:33:
- closedate changed to: "2461334.3948270949"
- closer changed to: "jan.nijtmans"
- icomment: "Please don't forget the changes.md/changes entries"
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"