Bug 278570 - lang/zig: update 0.11.0 -> 0.12.0
Summary: lang/zig: update 0.11.0 -> 0.12.0
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: Jan Beich
URL: https://ziglang.org/download/0.12.0/r...
Keywords:
Depends on:
Blocks: 278530
  Show dependency treegraph
 
Reported: 2024-04-24 18:01 UTC by Älven
Modified: 2024-06-13 00:30 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Älven 2024-04-24 18:01:22 UTC

    
Comment 1 bsd 2024-04-27 18:42:01 UTC
Hi, did you forget to attach diff?
Comment 2 Älven 2024-04-27 19:08:21 UTC
Sorry, I don't have one :) Just a reminder of new version.
For now I try not to touch "lang/*" category ports as too difficult to me.
Comment 3 bsd 2024-04-27 19:11:35 UTC
(In reply to Andrey Korobkov from comment #2)
I understand. I have WIP diff and hoping that I'll have time to finish it soon.
Comment 4 bsd 2024-04-30 04:20:02 UTC
(In reply to bsd_orsolic from comment #3)
Zig 0.12. diff available at https://reviews.freebsd.org/D45024
Comment 5 commit-hook freebsd_committer freebsd_triage 2024-05-20 14:43:25 UTC
A commit in branch main references this bug:

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

commit 28238a95a3f569b305c7db05a40bf880a9d2a2ad
Author:     Pero Oršolić <bsd@orsolic.org>
AuthorDate: 2024-05-08 15:42:51 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-05-20 14:42:39 +0000

    lang/zig: update to 0.12.0

    Changes:        https://ziglang.org/download/0.12.0/release-notes.html
    PR:             278570
    Differential Revision:  https://reviews.freebsd.org/D45024

 astro/mepo/Makefile     |    2 +-
 devel/zls/Makefile      |    4 +-
 lang/zig/Makefile       |   12 +-
 lang/zig/distinfo       |    8 +-
 lang/zig/pkg-plist      | 5427 ++++++++++++++++++++++++++++++++---------------
 sysutils/ncdu2/Makefile |    2 +-
 x11-wm/river/Makefile   |    2 +-
 x11/waylock/Makefile    |    2 +-
 8 files changed, 3784 insertions(+), 1675 deletions(-)
Comment 6 commit-hook freebsd_committer freebsd_triage 2024-05-20 14:43:27 UTC
A commit in branch main references this bug:

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

commit 0991b975ed24466ca95bd3f61e33ef7c9e73f7e7
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-05-20 13:23:16 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-05-20 14:42:37 +0000

    lang/zig: fork 0.11 into a pinned port

    Some consumers are ready for 0.12 syntax but many are not.

    PR:             278570
    Approved by:    portmgr blanket

 lang/Makefile                                |     1 +
 lang/zig010/Makefile                         |     2 +-
 lang/zig011/Makefile (new)                   |    68 +
 lang/zig011/distinfo (new)                   |     5 +
 lang/zig011/files/patch-CMakeLists.txt (new) |    10 +
 lang/zig011/pkg-descr (new)                  |     2 +
 lang/zig011/pkg-plist (new)                  | 13081 +++++++++++++++++++++++++
 7 files changed, 13168 insertions(+), 1 deletion(-)
Comment 7 commit-hook freebsd_committer freebsd_triage 2024-05-20 14:43:28 UTC
A commit in branch main references this bug:

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

commit 7a200185378bdea466de430519fabb45077b5391
Author:     Pero Oršolić <bsd@orsolic.org>
AuthorDate: 2024-05-08 15:42:51 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-05-20 14:39:28 +0000

    lang/zig: pacify check-plist after 8c1e3e605452

    4b6d52cef587 claimed to fix but didn't:

    ====> Checking for pkg-plist issues (check-plist)
    ===> Parsing plist
    ===> Checking for items in STAGEDIR missing from pkg-plist
    Error: Orphaned: /wrkdirs/usr/ports/lang/zig/work/.build/stage3/bin/zig
    Error: Orphaned: /wrkdirs/usr/ports/lang/zig/work/.build/stage3/lib/zig/build_runner.zig
    Error: Orphaned: /wrkdirs/usr/ports/lang/zig/work/.build/stage3/lib/zig/c.zig
    Error: Orphaned: /wrkdirs/usr/ports/lang/zig/work/.build/stage3/lib/zig/compiler_rt.zig
    Error: Orphaned: /wrkdirs/usr/ports/lang/zig/work/.build/stage3/lib/zig/compiler_rt/aarch64_outline_atomics.zig
    Error: Orphaned: /wrkdirs/usr/ports/lang/zig/work/.build/stage3/lib/zig/compiler_rt/absv.zig
    Error: Orphaned: /wrkdirs/usr/ports/lang/zig/work/.build/stage3/lib/zig/compiler_rt/absvdi2.zig
    [...]
    Error: Orphaned: @dir lib/zig/std/compress/lzma/testdata
    Error: Orphaned: @dir lib/zig/std/compress/xz/testdata
    [...]

    PR:             278570
    Differential Revision:  https://reviews.freebsd.org/D45024

 lang/zig/Makefile  | 4 +---
 lang/zig/pkg-plist | 2 ++
 2 files changed, 3 insertions(+), 3 deletions(-)
Comment 8 commit-hook freebsd_committer freebsd_triage 2024-06-13 00:30:35 UTC
A commit in branch main references this bug:

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

commit 1bb52ba75f0d89795880042aed4f703344ad8d7f
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-06-12 14:10:00 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-06-13 00:28:03 +0000

    lang/zig011: remove port after 8819825cd882

    PR:             278570

 MOVED                                         |     1 +
 lang/Makefile                                 |     1 -
 lang/zig011/Makefile (gone)                   |    68 -
 lang/zig011/distinfo (gone)                   |     5 -
 lang/zig011/files/patch-CMakeLists.txt (gone) |    10 -
 lang/zig011/pkg-descr (gone)                  |     2 -
 lang/zig011/pkg-plist (gone)                  | 13081 ------------------------
 7 files changed, 1 insertion(+), 13167 deletions(-)