[Bug 238905] devel/ocaml-ocamlbuild: plist issues (install fails) if built after devel/ocaml-findlib is installed

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jul 1 04:04:44 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238905

            Bug ID: 238905
           Summary: devel/ocaml-ocamlbuild: plist issues (install fails)
                    if built after devel/ocaml-findlib is installed
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: jcfyecrayz at liamekaens.com
                CC: danfe at FreeBSD.org, hrs at FreeBSD.org
                CC: danfe at FreeBSD.org, hrs at FreeBSD.org

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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list