Artifacts Associated With Ticket 9336f1907db47f17
Ticket change [8c8e2e921d] (rid 257644) by serhiy.storchaka on 2026-10-11 20:38:46:
- cmimetype initialized to: "text/x-fossil-wiki"
- comment initialized to:
On OpenIndiana (illumos), the default build (<code>./configure && gmake</code>) fails while creating the library zip: <verbatim> find: bad option -empty find: [-E] [-H | -L] path-list predicate-list gmake: *** [Makefile:799: libtcl9.1.1.zip] Error 1 </verbatim> The rule in unix/Makefile.in, added for [b322938e08], runs <code>find ${TCL_VFS_ROOT} -type d -empty -delete</code>. Neither <code>-empty</code> nor <code>-delete</code> is POSIX, and illumos find has neither. The build works with GNU find first in PATH or with <code>--disable-zipfs</code>. core-9-0-branch has the same rule; 8.6 is not affected. Proposed fix in branch [/timeline?r=unix-makefile-posix-find|unix-makefile-posix-find]: <code>find ${TCL_VFS_ROOT} -depth -type d -exec rmdir {} + 2>/dev/null || :</code> - foundin initialized to: "9.1.0"
- login: "serhiy.storchaka"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "serhiy.storchaka"
- subsystem initialized to: "53. Configuration and Build Tools"
- title initialized to:
Default build fails on OpenIndiana: non-POSIX find -empty -delete in unix/Makefile.in
- type initialized to: "Bug"
Ticket change [0a2714a0dd] (rid 258090) by jan.nijtmans on 2026-10-14 21:38:24:
- assignee changed to: "aku"
- closedate changed to: "2461328.4016766436"
- closer changed to: "jan.nijtmans"
- comment changed to:
On OpenIndiana (illumos), the default build (<code>./configure && gmake</code>) fails while creating the library zip: <verbatim> find: bad option -empty find: [-E] [-H | -L] path-list predicate-list gmake: *** [Makefile:799: libtcl9.1.1.zip] Error 1 </verbatim> The rule in unix/Makefile.in, added for [b322938e08], runs <code>find ${TCL_VFS_ROOT} -type d -empty -delete</code>. Neither <code>-empty</code> nor <code>-delete</code> is POSIX, and illumos find has neither. The build works with GNU find first in PATH or with <code>--disable-zipfs</code>. core-9-0-branch has the same rule; 8.6 is not affected. Proposed fix in branch [/timeline?r=unix-makefile-posix-find|unix-makefile-posix-find]: <code>find ${TCL_VFS_ROOT} -depth -type d -exec rmdir {} + 2>/dev/null || :</code> - icomment:
Merged to [57f802259663da4d|trunk] and core-9-0-branch Many thanks!
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"