Using poudriere to build www/chromium with option WIDEVINE depends on www/foreign-cdm, which fails: [ 97%] Linking CXX executable capnpc-c++ [ 97%] Built target capnpc_cpp [ 98%] Building CXX object c++/src/capnp/CMakeFiles/capnpc_capnp.dir/compiler/capnpc-capnp.c++.o [100%] Linking CXX executable capnpc-capnp [100%] Built target capnpc_capnp ./build/capnp-fbsd/c++/src/capnp/capnp compile -obuild/capnp-linux/c++/src/capnp/capnpc-c++ src/cdm.capnp build/capnp-linux/c++/src/capnp/capnpc-c++: no such plugin (executable should be '/wrkdirs/usr/ports/www/foreign-cdm/work/foreign-cdm-32ed6209a25a60b3eef84e43cffb47a5da036290/build/capnp-linux/c++/src/capnp/capnpc-c++') build/capnp-linux/c++/src/capnp/capnpc-c++: plugin failed: exit code 1 *** Error code 1 Stop. make[1]: stopped in /wrkdirs/usr/ports/www/foreign-cdm/work/foreign-cdm-32ed6209a25a60b3eef84e43cffb47a5da036290 *** Error code 1 Stop. make: stopped in /usr/ports/www/foreign-cdm =>> Cleaning up wrkdir ===> Cleaning for foreign-cdm-1_1 build of www/foreign-cdm | foreign-cdm-1_1 ended at Tue Oct 3 17:19:13 CEST 2023 build time: 00:01:30 !!! build failure encountered !!!
It does work for me. Your error looks strange. Can you try adding MAKE_JOBS_UNSAFE=yes into the port's Makefile and building again?
(In reply to Gleb Popov from comment #1) MAKE_JOBS_UNSAFE=yes makes no difference, same error. If build on the host, from which the source the poudriere jail is installed it works. This is on -current, btw. main-n265674-09f5c1e118bb
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=325332bb32a5b6d939da4cc7c5ba6e30b57ed236 commit 325332bb32a5b6d939da4cc7c5ba6e30b57ed236 Author: Gleb Popov <arrowd@FreeBSD.org> AuthorDate: 2023-10-03 19:09:25 +0000 Commit: Gleb Popov <arrowd@FreeBSD.org> CommitDate: 2023-10-03 19:10:12 +0000 www/foreign-cdm: Update to newest commit. This hopefully fixes build problems that some people experience. PR: 274244 www/foreign-cdm/Makefile | 5 ++--- www/foreign-cdm/distinfo | 6 +++--- 2 files changed, 5 insertions(+), 6 deletions(-)
Is it better now?
(In reply to Gleb Popov from comment #4) Yes, now it builds without errors! Thanks!
A commit in branch 2023Q4 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=58f7b835033dc3cd328283e6d58b9bc0ab2c736b commit 58f7b835033dc3cd328283e6d58b9bc0ab2c736b Author: Gleb Popov <arrowd@FreeBSD.org> AuthorDate: 2023-10-03 19:09:25 +0000 Commit: Gleb Popov <arrowd@FreeBSD.org> CommitDate: 2023-10-12 07:38:07 +0000 www/foreign-cdm: Update to newest commit. This hopefully fixes build problems that some people experience. PR: 274244 (cherry picked from commit 325332bb32a5b6d939da4cc7c5ba6e30b57ed236) www/foreign-cdm/Makefile | 5 ++--- www/foreign-cdm/distinfo | 6 +++--- 2 files changed, 5 insertions(+), 6 deletions(-)