Page MenuHomeFreeBSD

lang/zig: update to 0.8.1
ClosedPublic

Authored by dch on Wed, Sep 8, 5:45 AM.

Details

Summary
Test Plan
  • waiting for poudriere build to complete on x864_64 & arm64
  • then I will re-try with zls & river and update review

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

dch requested review of this revision.Wed, Sep 8, 5:45 AM

Can you bump PORTREVISION in consumers to pick up Standard Library fixes and catch regressions early?
zls and river runtime works fine, so this can be MFH'd to 2021Q3. Actually, it'd make my life easier not having to worry about zig 0.8.0 when MFH'ing river updates to 2021Q3.

Not sure if you're already aware but some changes are missing:

$ make clean all
[...]
===>  Patching for zig-0.8.1
===>  Applying FreeBSD patches for zig-0.8.1 from /usr/ports/lang/zig/files
1 out of 1 hunks failed--saving rejects to doc/langref.html.in.rej
===>  FAILED Applying FreeBSD patch-doc_langref.html.in
===> FAILED to apply cleanly FreeBSD patch(es)  patch-doc_langref.html.in
*** Error code 1
$ make check-plist
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: lib/zig/libc/include/aarch64-macos-gnu/CommonCrypto/CommonDigest.h
Error: Orphaned: lib/zig/libc/include/aarch64-macos-gnu/ar.h
Error: Orphaned: lib/zig/libc/include/aarch64-macos-gnu/mach-o/arch.h
Error: Orphaned: lib/zig/libc/include/aarch64-macos-gnu/mach-o/arm64/reloc.h
Error: Orphaned: lib/zig/libc/include/aarch64-macos-gnu/mach-o/compact_unwind_encoding.h
Error: Orphaned: lib/zig/libc/include/aarch64-macos-gnu/mach-o/fat.h
Error: Orphaned: lib/zig/libc/include/aarch64-macos-gnu/mach-o/nlist.h
Error: Orphaned: lib/zig/libc/include/aarch64-macos-gnu/mach-o/ranlib.h
Error: Orphaned: lib/zig/libc/include/aarch64-macos-gnu/mach-o/reloc.h
Error: Orphaned: lib/zig/libc/include/aarch64-macos-gnu/mach-o/stab.h
Error: Orphaned: lib/zig/libc/include/aarch64-macos-gnu/mach-o/x86_64/reloc.h
Error: Orphaned: lib/zig/libc/include/aarch64-macos-gnu/sys/random.h
Error: Orphaned: lib/zig/libc/include/x86_64-macos-gnu/mach/exception_types.h
Error: Orphaned: lib/zig/libc/include/x86_64-macos-gnu/mach/host_special_ports.h
Error: Orphaned: lib/zig/libc/include/x86_64-macos-gnu/mach/mach_init.h
Error: Orphaned: lib/zig/libc/include/x86_64-macos-gnu/mach/memory_object_types.h
Error: Orphaned: lib/zig/libc/include/x86_64-macos-gnu/mach/vm_map.h
Error: Orphaned: lib/zig/libc/include/x86_64-macos-gnu/mach_debug/ipc_info.h
Error: Orphaned: lib/zig/libc/include/x86_64-macos-gnu/time.h
Error: Orphaned: lib/zig/libc/mingw/lib-common/dbghelp.def
Error: Orphaned: lib/zig/libc/mingw/lib-common/odbc32.def
Error: Orphaned: lib/zig/libc/mingw/lib32/dbghelp.def
Error: Orphaned: lib/zig/libc/mingw/lib32/odbc32.def
Error: Orphaned: lib/zig/libc/mingw/lib64/odbc32gt.def
===> Checking for items in pkg-plist which are not in STAGEDIR
===> Error: Plist issues found.
*** Error code 1

"works on my machine", - clean port linters, upstreamed patch

This revision was not accepted when it landed; it landed in state Needs Review.Thu, Sep 9, 12:55 PM
This revision was automatically updated to reflect the committed changes.