'make -C /usr/ports/devel/ocaml-findlib check-plist' gives the following error: ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist Error: Orphaned: %%OCAML_SITELIBDIR%%/ocamlbuild/META ===> Checking for items in pkg-plist which are not in STAGEDIR ===> Error: Plist issues found. *** Error code 1
CC danfe. It looks like r505020 introduced this problem. Note that ocaml-ocamlbuild was installed before trying to build ocaml-findlib: % pkg info -q | grep ocaml ocaml-4.05.0 ocaml-camlp4-4.05+2 ocaml-labltk-8.06.3 ocaml-ocamlbuild-0.14.0
See also bug 238905 for another ocaml-ocamlbuild & ocaml-findlib build interaction problem.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3a710a0c04d680983779abc5152ad72a4122c833 commit 3a710a0c04d680983779abc5152ad72a4122c833 Author: Alexey Dokuchaev <danfe@FreeBSD.org> AuthorDate: 2022-04-25 06:54:24 +0000 Commit: Alexey Dokuchaev <danfe@FreeBSD.org> CommitDate: 2022-04-25 06:54:24 +0000 devel/ocaml-findlib: the port had been updated to version 1.8.1 - This is not the latest version, but this step lubricates coming next phase of our OCaml stack update - Since we're post-4.06 now, remove support for Num library which is a separate port/package - Detect optionally installed libraries and adjust the packaging list accordingly - Spell `Tk' correctly in the TOOLBOX option description PR: 238904, 262791 devel/ocaml-findlib/Makefile | 17 ++++++++--------- devel/ocaml-findlib/distinfo | 6 +++--- devel/ocaml-findlib/files/patch-configure (gone) | 12 ------------ devel/ocaml-findlib/files/patch-src_findlib_Makefile | 2 +- devel/ocaml-findlib/pkg-plist | 6 +----- 5 files changed, 13 insertions(+), 30 deletions(-)
(In reply to John Hein from comment #1) > Note that ocaml-ocamlbuild was installed before trying to build ocaml-findlib That was the problem: while ocamlbuild is not required for the build, ocamlbuild/META file would be installed if it's found in the system. This situation should be handled correctly now after ports 3a710a0c04d6.