lang/zig: enable on powerpc64 Reported by: Curtis Hamilton <clhamilto@gmail.com>6736d9e0fe
Port details
lang/zig0.16.0
Language designed for robustness, optimality, and maintainability
- Maintainer
- bsd@orsolic.org
- Packages
- zig 0.16.0
- Upstream
- Higher version available: 0.17.0
- CPE
- none, CVEs only via VuXML
- WWW
- https://ziglang.org/
- Links
- cgit · VuXML
Unaddressed (0) · The CVE record lists this version as affected, no VuXML entry names the CVE
None. There is no CVE without a VuXML entry for this version.
VuXML only (0) · listed, port not fixed yet
None.
pkg audit reports nothing for this version.Fixed (0)
No VuXML entries for this package.
Commits (47)
lang/zig: fix patch zig was updated to 0.16.0, while I created the patch when it was still on 0.15.0. Reported by: sunpoet6f22a7d93d
lang/zig: add powerpc64le support Submitted by: clhamilto@gmail.comb9b40e3052
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)efeb78a13a
lang/zig: update 0.14.0 -> 0.15.2 Changelog: https://ziglang.org/download/0.15.1/release-notes.html PR: 289011 Approved by: Pero Oršolić <bsd@orsolic.org> (maintainer)c99c0e8625
lang/zig: Update to 0.14.0 Patches provided by the respective maintainers. PR: 286105 Reported by: Pat Maddox <pat@patmaddox.com> Approved by: bsd@orsolic.org (maintainer)8fafe1cf44
lang/zig: update to 0.13.0 - include static compile fix by asmodai@ (see PR 279604) - automatically generate the PLIST PR: 279604 Reported by: asmodai@ Approved by: bsd@orsolic.org (maintainer)b2b3906286
lang/zig-devel: remove port after 28238a95a3f5 PR: 279702 Approved by: bsd@orsolic.org (maintainer)674b0ae1a2
lang/zig: update to 0.12.1 Force rebuild consumers due to changes in codegen and std library. Changes: https://github.com/ziglang/zig/compare/0.12.0...0.12.1 PR: 279608 Approved by: bsd@orsolic.org (maintainer)7fa85e6a38
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/D4502428238a95a3
lang/zig: adjust CONFLICTS after 98d70399e765 Differential Revision: https://reviews.freebsd.org/D4502455f0537a04
lang/zig: drop unused dependency on archivers/lzma Warning: you might not need LIB_DEPENDS on liblzma.so actual-package-depends: dependency on /usr/lib/liblzma.so not registered (normal if it belongs to base) Differential Revision: https://reviews.freebsd.org/D450248c51d3a8ca
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/D450247a20018537
lang/zig-devel: NEW PORT - latest version of zig language Adds latest development version of zig-lang - upcoming 0.12. - based off https://reviews.freebsd.org/D41067 - with further changes from lang/zig which has evolved - update MAINTAINER per email approval for lang/zig* Test Plan: Tested on 14.0-RELEASE and 15.0-CURRENT. Differential Revision: https://reviews.freebsd.org/D43416 Differential Revision: https://reviews.freebsd.org/D41067 Obtained from: Pero Orsolic <bsd@orsolic.org>98d70399e7
lang/zig: pet port after 0.11.0 update - fix optional DOCS build for PR270007 - fix pkg-plist sorting - clean up work dirs to help docs build - remove stale cmake flags PR: 2700074b6d52cef5
lang/zig: unbreak fetch due distfile refresh after 8c1e3e605452 fetch: https://ziglang.org/download/0.11.0/zig-0.11.0.tar.xz: size mismatch: expected 65092512, actual 15275316 $ tar tvf zig-0.11.0.tar.xz [...] -drwxr-xr-x 0 ci ci 0 3 Aug 19:21 zig-0.11.0/ +drwxr-xr-x 0 ci ci 0 14 Aug 21:57 zig-0.11.0/ [...] -drwxr-xr-x 0 ci ci 0 3 Aug 19:21 zig-0.11.0/zig-cache/ -drwxr-xr-x 0 ci ci 0 3 Aug 19:21 zig-0.11.0/zig-cache/h/ --rw-r--r-- 0 ci ci 1637 3 Aug 19:21 zig-0.11.0/zig-cache/h/00889a5c28974786c8a0c50f32a3b330.txt --rw-r--r-- 0 ci ci 1643 3 Aug 19:21 zig-0.11.0/zig-cache/h/0191ddcdc8f7323e7ca29bde7a0ce808.txt --rw-r--r-- 0 ci ci 1649 3 Aug 19:21 zig-0.11.0/zig-cache/h/02293e34764cd700f7fa1bad9f99905d.txt --rw-r--r-- 0 ci ci 1486 3 Aug 19:21 zig-0.11.0/zig-cache/h/037b3303e65027dcd4d04821163b69fb.txt --rw-r--r-- 0 ci ci 1335 3 Aug 19:21 zig-0.11.0/zig-cache/h/0477d12ba45a9f7192f1c7e081ea54c6.txt [...] PR: 273124 (expect pkg-fallout@ spam) Reported by: olgeni (via private mail) See also: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/5482475a1a208d4
lang/zig: update to 0.11.0 Changes: https://ziglang.org/download/0.11.0/release-notes.html PR: 273124 Approved by: dch (maintainer)8c1e3e6054
lang/zig: fork 0.10 into a pinned port Some consumers are ready for 0.11 syntax but many are not. PR: 273124 Approved by: dch (maintainer)aaaa65fc06
devel/icu: update to 74.1 Changes: https://github.com/unicode-org/icu/releases/tag/release-74-1 Reported by: GitHub (watch releases) PR: 274317 Exp-run by: antoine (incomplete) Approved by: fluffye55b80195e
devel/icu: update to 73.1 - Temporarily switch to GitHub auto archive (release artifacts are N/A atm) Changes: https://github.com/unicode-org/icu/releases/tag/release-73-1 Reported by: GitHub (watch releases) PR: 270422 Exp-run by: antoinef1f1a8be88
lang/zig: build for lowest common denominator CPU Systems that don't have AVX2 or newer CPU instructions will SIGILL. This seems particularly cruel for a language with the moniker "Gotta Go Fast". PR: 269206 Differential Revision: https://reviews.freebsd.org/D38284 Reported by: Yonas Yanfa Tested by: Oleh Vinichenko7efc3219b1
lang/zig: update to 0.10.1 & upstreamed aarch64 FreeBSD patches91552559ae
lang/zig: unbreak Sigaction.handler_fn on aarch64
$ cat test.zig
const std = @import("std");
const os = std.os;
pub fn main() anyerror!void {
// From https://github.com/riverwm/river/blob/v0.2.2/river/main.zig#L97-L104
const sig_ign = os.Sigaction{
.handler = .{ .handler = os.SIG.IGN },
.mask = os.empty_sigset,
.flags = 0,
};
try os.sigaction(os.SIG.PIPE, &sig_ign, null);
}
$ zig build-exe -target aarch64-freebsd test.zig
/usr/local/lib/zig/std/c/freebsd.zig:702:54: error: pointer type '?*const fn(c_int) callconv(.C) void' requires aligned address
pub const IGN = @intToPtr(?Sigaction.handler_fn, 1);
^
referenced by:
main: test.zig:7:40
comptime_0: /usr/local/lib/zig/std/start.zig:59:50
remaining reference traces hidden; use '-freference-trace' to see all reference traces
Reported by: pkg-fallout (x11-wm/river)
Inspired by: Alpine Linux3c669015belang/zig: update to 0.10.0 releasef6794cbc1c
devel/icu: update to 72.1 Changes: https://github.com/unicode-org/icu/releases/tag/release-72-1 Reported by: GitHub (watch releases) PR: 266582 Exp-run by: antoinedfe25d73e7
lang/zig, lang/zig-devel: fix for CMake 3.24 Add the THREADS_PREFER_PTHREAD_FLAG explicitly for zig builds; these are the only two ports that need that, otherwise it would be a candidate for adding to our platform CMake flags. Without the flag, CMake 3.24 changes how pthreads are searched, and it ends up leaving out the -pthread flag from the compile. For zig, this causes the bootstrap compiler to crash immediately (it does not even reach main), which kills the build. Prior to CMake 3.24, this flag already existed, but the order in which pthreads were searched was different, and we ended up using the -pthread flag anyway. The PR is for the CMake update. This was the last blocker for it. PR: 265652bdc2b54bd1
lang/zig: fix linker missing symbols ucnv_open ucnv_close PR: 265967 Reported by: Sponsored by: SkunkWerks, GmbH5b369c4654
Remove WWW entries moved into port Makefiles Commit b7f05445c00f has added WWW entries to port Makefiles based on WWW: lines in pkg-descr files. This commit removes the WWW: lines of moved-over URLs from these pkg-descr files. Approved by: portmgr (tcberner)fb16dfecae
Add WWW entries to port Makefiles It has been common practice to have one or more URLs at the end of the ports' pkg-descr files, one per line and prefixed with "WWW:". These URLs should point at a project website or other relevant resources. Access to these URLs required processing of the pkg-descr files, and they have often become stale over time. If more than one such URL was present in a pkg-descr file, only the first one was tarnsfered into the port INDEX, but for many ports only the last line did contain the port specific URL to further information. There have been several proposals to make a project URL available as a macro in the ports' Makefiles, over time. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)b7f05445c0
lang/zig: update to 0.9.1 Switch to pre-built docs, as this more than halves the build time and also enables BUILD_AS_NON_ROOT with poudriere. PR: 261396 Reported by: kib Sponsored by: SkunkWerks, GmbH23f56fe6fc
lang/zig: update to 0.9.0 Reviewed by: jbeich Sponsored by: SkunkWerks, GmbH14e248dcff
cleanup: drop support for EOL FreeBSD 11.X Search criteria used: - 11.4 - OSREL* - OSVER* - *_FreeBSD_11 Input from: - adridg: devel/qca-legacy - jbeich: _WITH_DPRINTF, _WITH_GETLINE, GNU bfd workarounds - sunpoet: security/p5-*OpenSSL* Reviewed by: doceng, kde, multimedia, perl, python, ruby, rust Differential Revision: https://reviews.freebsd.org/D32008 Test Plan: make index620968a43a
lang/zig: update to 0.8.1 bugfix only release - https://ziglang.org/download/0.8.1/release-notes.html Reviewed by: jbeich Differential Revision: https://reviews.freebsd.org/D31880086fa5f374
lang/zig: update to 0.8.0 and add docs Reviewed by: jbeich Reviewed by: Daniel Engberg <daniel.engberg.lists@pyret.net> Differential Revision: https://reviews.freebsd.org/D30742 Sponsored by: SkunkWerks, GmbHcdea3af060
lang/zig: fix plist Testport complains of orphans, so add these two @dir entries; the directories are empty and I don't actually see where they are created. Bumping PORTREVISION because the package changes (directories). While here, sort pkg-plist a little.df40aa7980
One more small cleanup, forgotten yesterday. Reported by: lwhsucf118ccf87
Remove # $FreeBSD$ from Makefiles.305f148f48
lang/zig: backport syslog functions from master These will eventually land in zig 0.8.0 Sponsored by: SkunkWerks, GmbH8b21b00848
lang/zig: update to 0.7.1 Submitted by: dch Reviewed by: jbeich Differential Revision: https://reviews.freebsd.org/D276146a429bee7b
lang/zig: revert 558076 due to breakage via ports-committer@ Reported by: jbeich1b47d8fa3c
lang/zig: update to 0.7.1 and take ownership Sponsored by: SkunkWerks, GmbH1341c7e150
lang/zig: Update to 0.7.0 Changes: https://ziglang.org/download/0.7.0/release-notes.html75a47d375a
Reset MAINTAINERf35841a5de
lang/zig: Update to 0.6.0 Changes: https://ziglang.org/download/0.6.0/release-notes.htmlb88b974507
lang/zig: Update to 0.5.0 Changes: https://ziglang.org/download/0.5.0/release-notes.htmlfba7135f7e
lang/zig: Drop unnecessary BINARY_ALIASeca8da86cd
New port: lang/zig Zig is a general purpose programming language designed for robustness, optimality, and maintainability. WWW: https://ziglang.org/63b3cecfeb