the linker reported the error of unable to find symbol ucnv_open ucnv_close. it can be fixed by appending '-licudata -licuuc' to `STATIC_LDFLAGS`.
Created attachment 236416 [details] include static ICU thanks! I needed to add icu as a build-time dependency as well, can you confirm this works for you (without ICU installed at runtime) ? poudriere OK on 14.0-CURRENT amd64 + arm64, & 13.1-RELEASE
yes, setting icu to build-time dependency work well for me :)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=5b369c4654bbbb49d20b6f8a19b8609f571f4f73 commit 5b369c4654bbbb49d20b6f8a19b8609f571f4f73 Author: Dave Cottlehuber <dch@FreeBSD.org> AuthorDate: 2022-09-11 11:51:01 +0000 Commit: Dave Cottlehuber <dch@FreeBSD.org> CommitDate: 2022-09-11 11:51:14 +0000 lang/zig: fix linker missing symbols ucnv_open ucnv_close PR: 265967 Reported by: Sponsored by: SkunkWerks, GmbH lang/zig/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
A commit in branch 2022Q3 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=61c1afc5d32416a7a5424cdf68ab417339638d2f commit 61c1afc5d32416a7a5424cdf68ab417339638d2f Author: Dave Cottlehuber <dch@FreeBSD.org> AuthorDate: 2022-09-11 11:51:01 +0000 Commit: Dave Cottlehuber <dch@FreeBSD.org> CommitDate: 2022-09-11 11:58:53 +0000 lang/zig: fix linker missing symbols ucnv_open ucnv_close PR: 265967 Reported by: Sponsored by: SkunkWerks, GmbH (cherry picked from commit 5b369c4654bbbb49d20b6f8a19b8609f571f4f73) lang/zig/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)