Overview
| Artifact ID: | 0a2714a0dd0ce27d9d5043c35b69b9e67475670b83b39fb69d652938b8019ff7 |
|---|---|
| Ticket: | 9336f1907db47f17051e274f423882b90d088eef
Default build fails on OpenIndiana: non-POSIX find -empty -delete in unix/Makefile.in |
| User & Date: | jan.nijtmans on 2026-10-14 21:38:24 |
Changes
- 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"