Skip to content

Build fails: Exception Sys_error("main.mli.depends: No such file or directory"). #28

Description

@yurivict
make[4]: Entering directory '/usr/ports/lang/lem/work/lem-2020-01-30/src'
ocamlbuild -use-ocamlfind -cflags -g main.native
Exception Sys_error("main.mli.depends: No such file or directory").
Compilation unsuccessful after building 2 targets (0 cached) in 00:00:00.
make[2]: *** [Makefile:2: all] Error 100

Despite this error, the build continues and later fails again:

make[2]: Entering directory '/usr/ports/lang/lem/work/lem-2020-01-30'
make[2]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
make -C ocaml-lib all
make[3]: Entering directory '/usr/ports/lang/lem/work/lem-2020-01-30/ocaml-lib'
ocamlbuild.mk:40: *** multiple target patterns.  Stop.
make[3]: Leaving directory '/usr/ports/lang/lem/work/lem-2020-01-30/ocaml-lib'
make[2]: *** [Makefile:73: ocaml-libs] Error 2
make[2]: Leaving directory '/usr/ports/lang/lem/work/lem-2020-01-30'
gmake[1]: *** [Makefile:53: libs_phase_1] Error 2
gmake[1]: Leaving directory '/usr/ports/lang/lem/work/lem-2020-01-30'

FreeBSD 12

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions