Bug 291242 - filesystems/zerofs - Upgrade to v0.22.10
Summary: filesystems/zerofs - Upgrade to v0.22.10
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Zsolt Udvari
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-27 08:41 UTC by Stephan Lichtenauer
Modified: 2026-01-09 12:57 UTC (History)
2 users (show)

See Also:


Attachments
Patch to upgrade zerofs to v0.18.0 (105.08 KB, patch)
2025-11-27 08:41 UTC, Stephan Lichtenauer
stephan: maintainer-approval+
Details | Diff
Upgrade to 0.18.1 (105.44 KB, patch)
2025-11-30 07:25 UTC, Stephan Lichtenauer
stephan: maintainer-approval+
Details | Diff
Upgrade to 0.18.1, remove portrevision (105.50 KB, patch)
2025-11-30 08:30 UTC, Stephan Lichtenauer
stephan: maintainer-approval+
Details | Diff
Upgrade to meanwhile released 0.19.1 (105.67 KB, patch)
2025-12-03 15:33 UTC, Stephan Lichtenauer
stephan: maintainer-approval+
Details | Diff
Update to meanwhile released 0.19.1 (105.33 KB, patch)
2025-12-03 15:47 UTC, Stephan Lichtenauer
stephan: maintainer-approval+
Details | Diff
Update to 0.20.0 (107.69 KB, patch)
2025-12-07 16:01 UTC, Stephan Lichtenauer
stephan: maintainer-approval+
Details | Diff
Upgrade ZeroFS to 0.22.1 (110.38 KB, patch)
2025-12-12 12:04 UTC, Stephan Lichtenauer
stephan: maintainer-approval+
Details | Diff
Patch to update to 0.22.3 (110.39 KB, patch)
2025-12-16 10:03 UTC, Stephan Lichtenauer
stephan: maintainer-approval+
Details | Diff
Patch to update to 0.22.5 (110.38 KB, patch)
2025-12-18 17:47 UTC, Stephan Lichtenauer
stephan: maintainer-approval+
Details | Diff
Update to 0.22.7 (110.55 KB, patch)
2025-12-22 08:12 UTC, Stephan Lichtenauer
stephan: maintainer-approval+
Details | Diff
Upgrade to 0.22.10 and add missing dependency (112.94 KB, patch)
2026-01-04 13:31 UTC, Stephan Lichtenauer
stephan: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Lichtenauer 2025-11-27 08:41:22 UTC
Created attachment 265668 [details]
Patch to upgrade zerofs to v0.18.0
Comment 1 Stephan Lichtenauer 2025-11-30 07:25:52 UTC
Created attachment 265724 [details]
Upgrade to 0.18.1

Upgrade directly to the meanwhile released version 0.18.1
Comment 2 Herbert J. Skuhra 2025-11-30 08:13:34 UTC
(In reply to Stephan Lichtenauer from comment #1)
PORTREVISION should be removed/reset.
Comment 3 Stephan Lichtenauer 2025-11-30 08:30:46 UTC
Created attachment 265725 [details]
Upgrade to 0.18.1, remove portrevision

Thanks a lot for the heads-up, removed PORTREVISION
Comment 4 Stephan Lichtenauer 2025-12-03 15:33:27 UTC
Created attachment 265799 [details]
Upgrade to meanwhile released 0.19.1

Supercedes 0.18.1 upgrade
Comment 5 Stephan Lichtenauer 2025-12-03 15:47:43 UTC
Created attachment 265801 [details]
Update to meanwhile released 0.19.1

Removed the noise that was in last Makefile.crates
Comment 6 Stephan Lichtenauer 2025-12-07 16:01:52 UTC
Created attachment 265964 [details]
Update to 0.20.0

Update to the meanwhile released 0.20.0...
Comment 7 Stephan Lichtenauer 2025-12-11 08:45:22 UTC
(In reply to Herbert J. Skuhra from comment #2)

Dear Herbert, do you have any chance to look at the latest attached patch? Thank you very much!
Comment 8 Herbert J. Skuhra 2025-12-11 11:35:03 UTC
Patch looks OK for me, but I am just a user. So there's not much I can do.

Meanwhile the ZeroFS developer has released four new versions: 0.20.1, 0.21.0, 0.21.1 and 0.21.2. :-) Version 0.21.0 is the last version that builds via ports. 
(0.21.1 and 0.21.2 only build from git checkout.)
Comment 9 Stephan Lichtenauer 2025-12-11 11:39:36 UTC
(In reply to Herbert J. Skuhra from comment #8)

I see, I thought you have a port commit bit. :)

Yes, I already opened a bug report for 0.21.2 to see why it no longer builds: https://github.com/Barre/ZeroFS/issues/289
Comment 10 Herbert J. Skuhra 2025-12-11 12:27:42 UTC
(In reply to Stephan Lichtenauer from comment #9)

A 'git checkout' or downloading the zerofs 0.21.2 release tar.gz file and running "cargo build -r" works though:

   Compiling zerofs v0.21.2 (/home/herbert/ZeroFS-0.21.2/zerofs)
    Finished `release` profile [optimized] target(s) in 15m 39s 

Maybe rust@ knows a fix.
Comment 11 Herbert J. Skuhra 2025-12-12 07:59:52 UTC
Zerofs 0.22.0 is out and adding the following line does indeed solve the port build issue:

RUSTFLAGS+=    --cfg tokio_unstable
Comment 12 Stephan Lichtenauer 2025-12-12 12:04:25 UTC
Created attachment 266132 [details]
Upgrade ZeroFS to 0.22.1

Upgrade zerofs port to the currently released v0.22.1
Comment 13 Stephan Lichtenauer 2025-12-16 10:03:40 UTC
Created attachment 266246 [details]
Patch to update to 0.22.3

Update to meanwhile released 0.22.3
Comment 14 Stephan Lichtenauer 2025-12-18 17:47:14 UTC
Created attachment 266333 [details]
Patch to update to 0.22.5

Ok, since committers don't seem to notice this bug, I have now updated to 0.22.5...
Comment 15 Stephan Lichtenauer 2025-12-22 08:12:50 UTC
Created attachment 266450 [details]
Update to 0.22.7

Update to 0.22.7
Comment 16 Zsolt Udvari freebsd_committer freebsd_triage 2026-01-02 09:35:57 UTC
====> Running Q/A tests (stage-qa)
Error: /usr/local/bin/zerofs is linked to /usr/local/lib/libzstd.so.1 from archivers/zstd but it is not declared as a dependency
Warning: you need LIB_DEPENDS+=libzstd.so:archivers/zstd

And when you try it in a clean jail:
$ pkg info
pkg-2.5.1                      Package manager
zerofs-0.22.7                  ZeroFS is 9P/NFS/NBD on top of S3

$ zerofs
ld-elf.so.1: Shared object "libzstd.so.1" not found, required by "zerofs"

So you should declare the zstd as dependency.
Comment 17 Stephan Lichtenauer 2026-01-04 13:31:15 UTC
Created attachment 266816 [details]
Upgrade to 0.22.10 and add missing dependency

Sorry for missing this and thank you.

Added the missing dependency and also upgraded to meanwhile released 0.22.10
Comment 18 Herbert J. Skuhra 2026-01-04 14:24:53 UTC
OMG, ZeroFS v0.22.11 is out. :-)

https://github.com/Barre/ZeroFS/releases/tag/v0.22.11
Comment 19 Zsolt Udvari freebsd_committer freebsd_triage 2026-01-06 03:46:22 UTC
(In reply to Herbert J. Skuhra from comment #18)
0.23.1 too

Should I wait for it?
Comment 20 Stephan Lichtenauer 2026-01-06 13:38:34 UTC
(In reply to Zsolt Udvari from comment #19)

No, it is impossible to stay up to date, Pierre is releasing updates sometimes each and every day...

If the current version is correct, then it would be great if you could commit it. I will then create a new patch in a few weeks.
Comment 21 commit-hook freebsd_committer freebsd_triage 2026-01-09 12:55:58 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d047609313784ab102b53de2964e6fe5cdd84808

commit d047609313784ab102b53de2964e6fe5cdd84808
Author:     Stephan Lichtenauer <stephan@lichtenauer.co.za>
AuthorDate: 2026-01-09 12:51:35 +0000
Commit:     Zsolt Udvari <uzsolt@FreeBSD.org>
CommitDate: 2026-01-09 12:55:04 +0000

    filesystems/zerofs: Update 0.22.10

    Add archivers/zstd to dependencies.
    Add RUSTFLAGS.

    PR:             291242
    Approved by:    submitter is maintainer

 filesystems/zerofs/Makefile        |   8 +-
 filesystems/zerofs/Makefile.crates | 403 +++++++++---------
 filesystems/zerofs/distinfo        | 808 ++++++++++++++++++++-----------------
 3 files changed, 663 insertions(+), 556 deletions(-)
Comment 22 Zsolt Udvari freebsd_committer freebsd_triage 2026-01-09 12:57:39 UTC
Thanks for your work, Stephan! Committed!