Bug 238905 - devel/ocaml-ocamlbuild: plist issues (install fails) if built after devel/ocaml-findlib is installed
Summary: devel/ocaml-ocamlbuild: plist issues (install fails) if built after devel/oca...
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ports-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-01 04:04 UTC by John Hein
Modified: 2019-07-01 04:06 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Hein 2019-07-01 04:04:42 UTC
If devel/ocaml-findlib is already installed, building devel/ocaml-ocamlbuild fails to install.  And 'make -C /usr/ports/devel/ocaml-ocamlbuild check-plist' produces the following errors:

====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: %%OCAML_SITELIBDIR%%:/usr/local/lib/ocaml/ocamlbuild/META
Error: Orphaned: %%OCAML_SITELIBDIR%%:/usr/local/lib/ocaml/ocamlbuild/ocamlbuild.cmo
Error: Orphaned: %%OCAML_SITELIBDIR%%:/usr/local/lib/ocaml/ocamlbuild/ocamlbuild.cmx
Error: Orphaned: %%OCAML_SITELIBDIR%%:/usr/local/lib/ocaml/ocamlbuild/ocamlbuild.o
Error: Orphaned: %%OCAML_SITELIBDIR%%:/usr/local/lib/ocaml/ocamlbuild/ocamlbuild_executor.cmi
Error: Orphaned: %%OCAML_SITELIBDIR%%:/usr/local/lib/ocaml/ocamlbuild/ocamlbuild_executor.cmx
Error: Orphaned: %%OCAML_SITELIBDIR%%:/usr/local/lib/ocaml/ocamlbuild/ocamlbuild_executor.o
Error: Orphaned: %%OCAML_SITELIBDIR%%:/usr/local/lib/ocaml/ocamlbuild/ocamlbuild_pack.cmi
Error: Orphaned: %%OCAML_SITELIBDIR%%:/usr/local/lib/ocaml/ocamlbuild/ocamlbuild_pack.cmx
Error: Orphaned: %%OCAML_SITELIBDIR%%:/usr/local/lib/ocaml/ocamlbuild/ocamlbuild_plugin.cmi
Error: Orphaned: %%OCAML_SITELIBDIR%%:/usr/local/lib/ocaml/ocamlbuild/ocamlbuild_plugin.cmx
Error: Orphaned: %%OCAML_SITELIBDIR%%:/usr/local/lib/ocaml/ocamlbuild/ocamlbuild_plugin.o
Error: Orphaned: %%OCAML_SITELIBDIR%%:/usr/local/lib/ocaml/ocamlbuild/ocamlbuild_unix_plugin.cmi
Error: Orphaned: %%OCAML_SITELIBDIR%%:/usr/local/lib/ocaml/ocamlbuild/ocamlbuild_unix_plugin.cmx
Error: Orphaned: %%OCAML_SITELIBDIR%%:/usr/local/lib/ocaml/ocamlbuild/ocamlbuild_unix_plugin.o
Error: Orphaned: %%OCAML_SITELIBDIR%%:/usr/local/lib/ocaml/ocamlbuild/ocamlbuildlib.a
Error: Orphaned: %%OCAML_SITELIBDIR%%:/usr/local/lib/ocaml/ocamlbuild/ocamlbuildlib.cma
Error: Orphaned: %%OCAML_SITELIBDIR%%:/usr/local/lib/ocaml/ocamlbuild/ocamlbuildlib.cmxa
Error: Orphaned: %%OCAML_SITELIBDIR%%:/usr/local/lib/ocaml/ocamlbuild/signatures.cmi
Error: Orphaned: %%OCAML_SITELIBDIR%%:/usr/local/lib/ocaml/ocamlbuild/signatures.cmti
Error: Orphaned: %%OCAML_SITELIBDIR%%:/usr/local/lib/ocaml/ocamlbuild/signatures.mli
===> Checking for items in pkg-plist which are not in STAGEDIR
Error: Missing: lib/ocaml/ocamlbuild/META
Error: Missing: lib/ocaml/ocamlbuild/ocamlbuild.cmo
Error: Missing: lib/ocaml/ocamlbuild/ocamlbuild.cmx
Error: Missing: lib/ocaml/ocamlbuild/ocamlbuild.o
Error: Missing: lib/ocaml/ocamlbuild/ocamlbuild_executor.cmi
Error: Missing: lib/ocaml/ocamlbuild/ocamlbuild_executor.cmx
Error: Missing: lib/ocaml/ocamlbuild/ocamlbuild_executor.o
Error: Missing: lib/ocaml/ocamlbuild/ocamlbuild_pack.cmi
Error: Missing: lib/ocaml/ocamlbuild/ocamlbuild_pack.cmx
Error: Missing: lib/ocaml/ocamlbuild/ocamlbuild_plugin.cmi
Error: Missing: lib/ocaml/ocamlbuild/ocamlbuild_plugin.cmx
Error: Missing: lib/ocaml/ocamlbuild/ocamlbuild_plugin.o
Error: Missing: lib/ocaml/ocamlbuild/ocamlbuild_unix_plugin.cmi
Error: Missing: lib/ocaml/ocamlbuild/ocamlbuild_unix_plugin.cmx
Error: Missing: lib/ocaml/ocamlbuild/ocamlbuild_unix_plugin.o
Error: Missing: lib/ocaml/ocamlbuild/ocamlbuildlib.a
Error: Missing: lib/ocaml/ocamlbuild/ocamlbuildlib.cma
Error: Missing: lib/ocaml/ocamlbuild/ocamlbuildlib.cmxa
Error: Missing: lib/ocaml/ocamlbuild/signatures.cmi
Error: Missing: lib/ocaml/ocamlbuild/signatures.cmti
Error: Missing: lib/ocaml/ocamlbuild/signatures.mli
===> Error: Plist issues found.
*** Error code 1


If you ignore the check-plist error and try 'make install', it will fail:

===>   Registering installation for ocaml-ocamlbuild-0.14.0 as automatic
pkg-static: Unable to access file /usr/ports/devel/ocaml-ocamlbuild/work/stage/usr/local/lib/ocaml/ocamlbuild/META:No such file or directory
pkg-static: Unable to access file /usr/ports/devel/ocaml-ocamlbuild/work/stage/usr/local/lib/ocaml/ocamlbuild/ocamlbuild.cmo:No such file or directory
pkg-static: Unable to access file /usr/ports/devel/ocaml-ocamlbuild/work/stage/usr/local/lib/ocaml/ocamlbuild/ocamlbuild.cmx:No such file or directory
pkg-static: Unable to access file /usr/ports/devel/ocaml-ocamlbuild/work/stage/usr/local/lib/ocaml/ocamlbuild/ocamlbuild.o:No such file or directory
pkg-static: Unable to access file /usr/ports/devel/ocaml-ocamlbuild/work/stage/usr/local/lib/ocaml/ocamlbuild/ocamlbuild_executor.cmi:No such file or directory
pkg-static: Unable to access file /usr/ports/devel/ocaml-ocamlbuild/work/stage/usr/local/lib/ocaml/ocamlbuild/ocamlbuild_executor.cmx:No such file or directory
pkg-static: Unable to access file /usr/ports/devel/ocaml-ocamlbuild/work/stage/usr/local/lib/ocaml/ocamlbuild/ocamlbuild_executor.o:No such file or directory
pkg-static: Unable to access file /usr/ports/devel/ocaml-ocamlbuild/work/stage/usr/local/lib/ocaml/ocamlbuild/ocamlbuild_pack.cmi:No such file or directory
pkg-static: Unable to access file /usr/ports/devel/ocaml-ocamlbuild/work/stage/usr/local/lib/ocaml/ocamlbuild/ocamlbuild_pack.cmx:No such file or directory
pkg-static: Unable to access file /usr/ports/devel/ocaml-ocamlbuild/work/stage/usr/local/lib/ocaml/ocamlbuild/ocamlbuild_plugin.cmi:No such file or directory
pkg-static: Unable to access file /usr/ports/devel/ocaml-ocamlbuild/work/stage/usr/local/lib/ocaml/ocamlbuild/ocamlbuild_plugin.cmx:No such file or directory
pkg-static: Unable to access file /usr/ports/devel/ocaml-ocamlbuild/work/stage/usr/local/lib/ocaml/ocamlbuild/ocamlbuild_plugin.o:No such file or directory
pkg-static: Unable to access file /usr/ports/devel/ocaml-ocamlbuild/work/stage/usr/local/lib/ocaml/ocamlbuild/ocamlbuild_unix_plugin.cmi:No such file or directory
pkg-static: Unable to access file /usr/ports/devel/ocaml-ocamlbuild/work/stage/usr/local/lib/ocaml/ocamlbuild/ocamlbuild_unix_plugin.cmx:No such file or directory
pkg-static: Unable to access file /usr/ports/devel/ocaml-ocamlbuild/work/stage/usr/local/lib/ocaml/ocamlbuild/ocamlbuild_unix_plugin.o:No such file or directory
pkg-static: Unable to access file /usr/ports/devel/ocaml-ocamlbuild/work/stage/usr/local/lib/ocaml/ocamlbuild/ocamlbuildlib.a:No such file or directory
pkg-static: Unable to access file /usr/ports/devel/ocaml-ocamlbuild/work/stage/usr/local/lib/ocaml/ocamlbuild/ocamlbuildlib.cma:No such file or directory
pkg-static: Unable to access file /usr/ports/devel/ocaml-ocamlbuild/work/stage/usr/local/lib/ocaml/ocamlbuild/ocamlbuildlib.cmxa:No such file or directory
pkg-static: Unable to access file /usr/ports/devel/ocaml-ocamlbuild/work/stage/usr/local/lib/ocaml/ocamlbuild/signatures.cmi:No such file or directory
pkg-static: Unable to access file /usr/ports/devel/ocaml-ocamlbuild/work/stage/usr/local/lib/ocaml/ocamlbuild/signatures.cmti:No such file or directory
pkg-static: Unable to access file /usr/ports/devel/ocaml-ocamlbuild/work/stage/usr/local/lib/ocaml/ocamlbuild/signatures.mli:No such file or directory
*** Error code 74