Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2026-10-14
21:38 • Closed ticket [9336f1907d]: Default build fails on OpenIndiana: non-POSIX find -... artifact: 0a2714a0dd user: jan.nijtmans
2019-02-14
19:35 • Closed ticket [b322938e08]: Revised TCL_ZIP_FILE build is less robust plus 5... artifact: 748a742c3e user: dgp
11:04 • Pending ticket [b322938e08]. artifact: 07c773b0d5 user: sebres
10:42
closes [b322938e08]: fix several zipfs-tests searching for single "http" directory in (compressed) t... check-in: 59607dfd9e user: sebres tags: core-8-branch
2019-02-13
23:52 • Ticket [b322938e08] Revised TCL_ZIP_FILE build is less robust status still O... artifact: 5cce4c88dc user: sebres
19:59 • Ticket [b322938e08]: 4 changes artifact: 82e8051061 user: dgp
19:59 • New ticket [b322938e08]. artifact: b68f5a9101 user: dgp

Revised TCL_ZIP_FILE build is less robust

Closed / Fixedb322938e081769744eab33ba256e396e24a2f900Created 8 years agoUpdated 8 years ago
Descriptionplain2019-02-13 19:59:19
Checkin https://core.tcl-lang.org/tcl/info/32a303e3d620149f started some
changes to the way the TCL_ZIP_FILE is built. Unfortunately the changes
lead to failing tests in a common scenario.

If your workspace happens to include an empty directory tcl/library/http1.0
(which many do, because of development history), the old system for building
the TCL_ZIP_FILE would not include it, but the new system does include it,
or so I surmise.

The consequence is that several tests (zipfs-0.[345678]) fail in zipfs.test.

I'm open to several points of view whether it is the tests themselves or
the new builder of TCL_ZIP_FILE that is broken, but this should be resolved.
Referenced by2
  • 0a2714a0ddClosed ticket [9336f1907d]: Default build fails on OpenIndiana: non-POSIX find -empty -delete in unix/Makefile.in plus 8 other changes ticket2026-10-14 21:38:24
  • 59607dfd9ecloses [b322938e08]: fix several zipfs-tests searching for single "http" directory in (compressed) tcl-library. check-in2019-02-14 10:42:49
dgp Ticket [b322938e08]: 4 changes [History diff]2019-02-13 19:59:41
sebresplain2019-02-13 23:52:24
Hmm... The amend is mine. Just strange I cannot reproduce it. What is the ZIP in your case (installed or minizip)? BTW I thought packing of empty dir in zip is impossible. I can extend it with check for empty dir (or possibly some zip-switch to ignore that).
Could you provide an exact error message of test too?
sebreswiki2019-02-14 11:04:03

I got it well reproduced (with non-empty http1.0 by interim switch from 8.6, no idea why it has not been removed by fossil).

Fixed in [6c4886e1e1] now and can be closed IMO.

(related commits [59607dfd9e]..[6c4886e1e1])

dgpplain2019-02-14 19:35:23
Thanks for the fix. I made a minor change in the pathname construction
that might help portability, and if not should at least be harmless.
Log in (anonymous is fine) to add a comment.