Bug 294741 - lang/zig: update to 0.16
Summary: lang/zig: update to 0.16
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Kenneth Raplee
URL: https://ziglang.org/download/0.16.0/r...
Keywords:
Depends on:
Blocks:
 
Reported: 2026-04-24 05:19 UTC by Pero Oršolić
Modified: 2026-05-11 16:30 UTC (History)
5 users (show)

See Also:


Attachments
zig (1.43 KB, patch)
2026-04-24 05:19 UTC, Pero Oršolić
no flags Details | Diff
zls (3.86 KB, patch)
2026-04-24 05:19 UTC, Pero Oršolić
no flags Details | Diff
zig015 (4.07 KB, patch)
2026-04-24 05:20 UTC, Pero Oršolić
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pero Oršolić 2026-04-24 05:19:00 UTC
Created attachment 270049 [details]
zig

Update zig and zls to latest 0.16 version. Copy old lang/zig to lang/zig0.15 which will be used by consumers not ready for zig 0.16

Some consumers updated, some are work in progress, I'll upload them later, when they are either updated to zig 0.16 or updated to use lang/zig015.
Comment 1 Pero Oršolić 2026-04-24 05:19:57 UTC
Created attachment 270050 [details]
zls
Comment 2 Pero Oršolić 2026-04-24 05:20:23 UTC
Created attachment 270051 [details]
zig015
Comment 3 commit-hook freebsd_committer freebsd_triage 2026-05-11 15:37:00 UTC
A commit in branch main references this bug:

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

commit e503f396ac9e3fc1c061862322ef184c2ae908b1
Author:     Kenneth Raplee <kenrap@FreeBSD.org>
AuthorDate: 2026-05-04 15:42:43 +0000
Commit:     Kenneth Raplee <kenrap@FreeBSD.org>
CommitDate: 2026-05-11 15:33:49 +0000

    x11/waylock: Convert to USES=zig

    PR:             294741
    Approved by:    arrowd (co-mentor)

 x11/waylock/Makefile           | 29 +++++++++--------------------
 x11/waylock/Makefile.zig (new) |  2 ++
 x11/waylock/distinfo           | 14 +++++++-------
 3 files changed, 18 insertions(+), 27 deletions(-)
Comment 4 commit-hook freebsd_committer freebsd_triage 2026-05-11 15:37:02 UTC
A commit in branch main references this bug:

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

commit d5b50ea06647adf555687c2bfe7129d6368cd6fd
Author:     Kenneth Raplee <kenrap@FreeBSD.org>
AuthorDate: 2026-05-04 15:37:06 +0000
Commit:     Kenneth Raplee <kenrap@FreeBSD.org>
CommitDate: 2026-05-11 15:33:48 +0000

    devel/superhtml: Change to zig015

    PR:             294741
    Approved by:    arrowd (co-mentor)

 devel/superhtml/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 5 commit-hook freebsd_committer freebsd_triage 2026-05-11 15:37:03 UTC
A commit in branch main references this bug:

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

commit cd4f167a18d97e3b3afada61ef579d9a7ef3781f
Author:     Kenneth Raplee <kenrap@FreeBSD.org>
AuthorDate: 2026-05-04 15:41:08 +0000
Commit:     Kenneth Raplee <kenrap@FreeBSD.org>
CommitDate: 2026-05-11 15:33:49 +0000

    x11/ly: Update to 1.4.0

    PR:             294741
    Approved by:    arrowd (co-mentor)

 x11/ly/Makefile     |  2 +-
 x11/ly/Makefile.zig | 10 ++++++----
 x11/ly/distinfo     | 26 +++++++++++++++-----------
 x11/ly/pkg-plist    |  2 ++
 4 files changed, 24 insertions(+), 16 deletions(-)
Comment 6 commit-hook freebsd_committer freebsd_triage 2026-05-11 15:37:04 UTC
A commit in branch main references this bug:

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

commit c96494206dee1d0908ae745b1571c0b009ea2395
Author:     Kenneth Raplee <kenrap@FreeBSD.org>
AuthorDate: 2026-05-04 15:39:30 +0000
Commit:     Kenneth Raplee <kenrap@FreeBSD.org>
CommitDate: 2026-05-11 15:33:48 +0000

    www/zine-ssg: Change to zig015

    PR:             294741
    Approved by:    arrowd (co-mentor)

 www/zine-ssg/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 7 commit-hook freebsd_committer freebsd_triage 2026-05-11 15:37:05 UTC
A commit in branch main references this bug:

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

commit cee89bcb0b617f061b27c49a6414350847536f32
Author:     Pero Oršolić <bsd@orsolic.org>
AuthorDate: 2026-04-18 15:39:33 +0000
Commit:     Kenneth Raplee <kenrap@FreeBSD.org>
CommitDate: 2026-05-11 15:33:47 +0000

    devel/zls: update to 0.16.0

    PR:             294741
    Approved by:    arrowd (co-mentor)

 devel/zls/Makefile | 11 +++++------
 devel/zls/distinfo | 22 +++++++++++-----------
 2 files changed, 16 insertions(+), 17 deletions(-)
Comment 8 commit-hook freebsd_committer freebsd_triage 2026-05-11 15:37:06 UTC
A commit in branch main references this bug:

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

commit 5baffc837a292b063684cb150281fd58825bc0c4
Author:     Pero Oršolić <bsd@orsolic.org>
AuthorDate: 2026-04-18 18:33:13 +0000
Commit:     Kenneth Raplee <kenrap@FreeBSD.org>
CommitDate: 2026-05-11 15:33:47 +0000

    lang/zig015: copy from lang/zig

    Create the lang/zig015 for ports not ready for Zig 0.16.0 and depending
    on Zig 0.15

    PR:             294741
    Approved by:    arrowd (co-mentor)

 lang/Makefile               |  1 +
 lang/zig015/Makefile (new)  | 76 +++++++++++++++++++++++++++++++++++++++++++++
 lang/zig015/distinfo (new)  |  3 ++
 lang/zig015/pkg-descr (new) |  2 ++
 4 files changed, 82 insertions(+)
Comment 9 commit-hook freebsd_committer freebsd_triage 2026-05-11 15:37:07 UTC
A commit in branch main references this bug:

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

commit 145d6795010212f14b307aa44cd96adc18ff91d9
Author:     Kenneth Raplee <kenrap@FreeBSD.org>
AuthorDate: 2026-05-04 15:34:22 +0000
Commit:     Kenneth Raplee <kenrap@FreeBSD.org>
CommitDate: 2026-05-11 15:33:48 +0000

    astro/mepo: Convert to USES=zig and take maintainership

    PR:             294741
    Approved by:    arrowd (co-mentor)

 astro/mepo/Makefile | 16 +++-------------
 astro/mepo/distinfo |  6 +++---
 2 files changed, 6 insertions(+), 16 deletions(-)
Comment 10 commit-hook freebsd_committer freebsd_triage 2026-05-11 15:37:08 UTC
A commit in branch main references this bug:

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

commit 440ade0eda7f4c18631e4d8c723c358ad46283c6
Author:     Kenneth Raplee <kenrap@FreeBSD.org>
AuthorDate: 2026-05-04 15:36:03 +0000
Commit:     Kenneth Raplee <kenrap@FreeBSD.org>
CommitDate: 2026-05-11 15:33:48 +0000

    audio/linuxwave: Update to 0.4.0 and convert to USES=zig

    PR:             294741
    Approved by:    arrowd (co-mentor)

 audio/linuxwave/Makefile           | 18 +++---------------
 audio/linuxwave/Makefile.zig (new) |  1 +
 audio/linuxwave/distinfo           | 10 +++++-----
 3 files changed, 9 insertions(+), 20 deletions(-)
Comment 11 commit-hook freebsd_committer freebsd_triage 2026-05-11 15:37:09 UTC
A commit in branch main references this bug:

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

commit efeb78a13adfbfdc8ad9975059d7906b064af8ee
Author:     Pero Oršolić <bsd@orsolic.org>
AuthorDate: 2026-04-18 15:38:02 +0000
Commit:     Kenneth Raplee <kenrap@FreeBSD.org>
CommitDate: 2026-05-11 15:33:47 +0000

    lang/zig: update to 0.16.0

    Changelog: https://ziglang.org/download/0.16.0/release-notes.html

    PR:             294741
    Approved by:    arrowd (co-mentor)

 lang/zig/Makefile | 4 ++--
 lang/zig/distinfo | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)
Comment 12 commit-hook freebsd_committer freebsd_triage 2026-05-11 15:37:10 UTC
A commit in branch main references this bug:

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

commit 38c8c850838f216b067ec9fe420753762b3c3a6c
Author:     Kenneth Raplee <kenrap@FreeBSD.org>
AuthorDate: 2026-05-04 15:40:01 +0000
Commit:     Kenneth Raplee <kenrap@FreeBSD.org>
CommitDate: 2026-05-11 15:33:49 +0000

    x11/ghostty: Change to zig015

    PR:             294741
    Approved by:    arrowd (co-mentor)

 x11/ghostty/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 13 commit-hook freebsd_committer freebsd_triage 2026-05-11 15:37:11 UTC
A commit in branch main references this bug:

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

commit ee707ea4f0bd40aabc4831f06871b4404e3d2735
Author:     Kenneth Raplee <kenrap@FreeBSD.org>
AuthorDate: 2026-05-04 15:38:26 +0000
Commit:     Kenneth Raplee <kenrap@FreeBSD.org>
CommitDate: 2026-05-11 15:33:48 +0000

    ports-mgmt/zig2tuple: Change to zig015

    PR:             294741
    Approved by:    arrowd (co-mentor)

 ports-mgmt/zig2tuple/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 14 Shawn Webb 2026-05-11 16:05:10 UTC
This broke the ports tree somehow: https://lists.freebsd.org/archives/freebsd-ports/2026-May/009471.html
Comment 15 Kenneth Raplee freebsd_committer freebsd_triage 2026-05-11 16:21:18 UTC
(In reply to Shawn Webb from comment #14)
Where does e5a98d716225916ee8024ebf9d1ad2b6e8c58ced come from? The current HEAD is e503f396ac9e3fc1c061862322ef184c2ae908b1 and seems fine.
Comment 16 Shawn Webb 2026-05-11 16:23:47 UTC
(In reply to Kenneth Raplee from comment #15)
I have no idea. I did re-run `git fetch upstream && git merge upstream/main` again just a couple minutes ago, and git was happy this time around. Something about that commit caused git to be confused.
Comment 17 Kenneth Raplee freebsd_committer freebsd_triage 2026-05-11 16:30:06 UTC
(In reply to Shawn Webb from comment #16)
I think this is just a coincidence. Glad you got your problem solved.