Summary: | lang/zig: build failure without DOCS | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Mark Felder <feld> | ||||
Component: | Individual Port(s) | Assignee: | Dave Cottlehuber <dch> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | dch, dougs, jcfyecrayz, pat | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(dch) |
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Mark Felder
2023-03-07 15:08:52 UTC
info: cp /usr/ports/lang/zig/work/zig-0.10.1/zig-cache/o/bbb7fcfc0b0bf9caf376961fa29b0f1b/zig /usr/ports/lang/zig/work/stage/usr/local/bin/zig info: # installed ====> Compressing man pages (compress-man) ===> Installing for zig-0.10.1_2 ===> Checking if zig is already installed actual-package-depends: dependency on /usr/lib/liblzma.so not registered (normal if it belongs to base) pkg-static: DEBUG: -/ ===> Registering installation for zig-0.10.1_2 as automatic pkg-static: Unable to access file /usr/ports/lang/zig/work/stage/usr/local/share/doc/zig/langref.html:No such file or directory pkg-static: Unable to access file /usr/ports/lang/zig/work/stage/usr/local/share/doc/zig/std/data.js:No such file or directory pkg-static: Unable to access file /usr/ports/lang/zig/work/stage/usr/local/share/doc/zig/std/index.html:No such file or directory pkg-static: Unable to access file /usr/ports/lang/zig/work/stage/usr/local/share/doc/zig/std/main.js:No such file or directory *** Error code 1 Stop. make[2]: stopped in /usr/ports/lang/zig *** Error code 1 Stop. make[1]: stopped in /usr/ports/lang/zig *** Error code 1 Stop. make: stopped in /usr/ports/sysutils/ncdu2 Created attachment 244766 [details]
[patch] fix plist for DOCS=off
The attached patch should fix the plist for DOCS=off.
Bump PORTREVISION at committer's discretion. It will not affect default packages as DOCS are enabled by default. And anyone building with DOCS=off will have been failing without this patch (as seen in this bug report).
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=4b6d52cef58715e80c3e846f5997eceaa40fb4bc commit 4b6d52cef58715e80c3e846f5997eceaa40fb4bc Author: Dave Cottlehuber <dch@FreeBSD.org> AuthorDate: 2024-01-04 23:25:10 +0000 Commit: Dave Cottlehuber <dch@FreeBSD.org> CommitDate: 2024-01-04 23:25:10 +0000 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: 270007 lang/zig/Makefile | 9 +- lang/zig/files/patch-CMakeLists.txt | 2 +- lang/zig/pkg-plist | 1566 +++++++++++++++++------------------ 3 files changed, 790 insertions(+), 787 deletions(-) |