|
2026-10-14
| ||
| 21:38 | • Closed ticket [9336f1907d]: Default build fails on OpenIndiana: non-POSIX find -... artifact: 0a2714a0dd user: jan.nijtmans | |
| 20:26 | Fix [9336f1907d]: remove empty directories from the zipfs VFS with POSIX find options check-in: e1bd512f91 user: jan.nijtmans tags: core-9-0-branch | |
| 13:18 | Fix [9336f1907d]: remove empty directories from the zipfs VFS with POSIX find options check-in: 57f8022596 user: jan.nijtmans tags: trunk, main | |
|
2026-10-11
| ||
| 20:38 | • New ticket [9336f1907d] Default build fails on OpenIndiana: non-POSIX find -empt... artifact: 8c8e2e921d user: serhiy.storchaka | |
| 19:43 | Fix [9336f1907d]: remove empty directories from the zipfs VFS with POSIX find options. -empty and -d... closed check-in: 3a373cb84f user: serhiy.storchaka tags: unix-makefile-posix-find | |
Default build fails on OpenIndiana: non-POSIX find -empty -delete in unix/Makefile.in
Closed / Fixed9336f1907db47f17051e274f423882b90d088eefCreated 52 days agoUpdated 49 days ago
Descriptionwiki2026-10-11 20:38:46
On OpenIndiana (illumos), the default build (
./configure && gmake) fails
while creating the library zip:
find: bad option -empty find: [-E] [-H | -L] path-list predicate-list gmake: *** [Makefile:799: libtcl9.1.1.zip] Error 1The rule in unix/Makefile.in, added for [b322938e08], runs
find ${TCL_VFS_ROOT} -type d -empty -delete. Neither -empty
nor -delete is POSIX, and illumos find has neither. The build works with
GNU find first in PATH or with --disable-zipfs. core-9-0-branch has the
same rule; 8.6 is not affected.
Proposed fix in branch unix-makefile-posix-find:
find ${TCL_VFS_ROOT} -depth -type d -exec rmdir {} + 2>/dev/null || :
Referenced by3
e1bd512f91Fix [9336f1907d]: remove empty directories from the zipfs VFS with POSIX find options check-in2026-10-14 20:26:5557f8022596Fix [9336f1907d]: remove empty directories from the zipfs VFS with POSIX find options check-in2026-10-14 13:18:503a373cb84fFix [9336f1907d]: remove empty directories from the zipfs VFS with POSIX find options. -empty and -delete are not POSIX; illumos find lacks them, so the default build failed on OpenIndiana. check-in2026-10-11 19:43:19
jan.nijtmanswiki2026-10-14 21:38:24
Merged to [trunk] and core-9-0-branch
Many thanks!
Log in (anonymous is fine) to add a comment.