Overview
| Artifact ID: | 8c8e2e921dde1f8e1cd087c0d29709e5c81fb8996038cbb8382767210becf67b |
|---|---|
| Ticket: | 9336f1907db47f17051e274f423882b90d088eef
Default build fails on OpenIndiana: non-POSIX find -empty -delete in unix/Makefile.in |
| User & Date: | serhiy.storchaka on 2026-10-11 20:38:46 |
Changes
- cmimetype changed to: "text/x-fossil-wiki"
- 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> - foundin changed to: "9.1.0"
- login: "serhiy.storchaka"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "serhiy.storchaka"
- subsystem changed to: "53. Configuration and Build Tools"
- title changed to:
Default build fails on OpenIndiana: non-POSIX find -empty -delete in unix/Makefile.in
- type changed to: "Bug"