Coder Social home page Coder Social logo

ocp-build's Introduction

Travis-CI Build Status AppVeyor Build status

ocp-build

ocp-build is a build tool for OCaml.

ocp-build is part of TypeRex, developed and maintained by OCamlPro. Documentation to install and use this tool is available on http://www.typerex.org/ocp-build.html

ocp-build's People

Contributors

dra27 avatar gbury avatar henrymercer avatar kit-ty-kate avatar lefessan avatar maxtori avatar thufschmitt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ocp-build's Issues

Too many environment variables

When I use it under OPAM, ocp-build adds one environment variable for each library installed by OPAM. When this number reaches a few hundred, the kernel limit on command-line+environment (256 KiB on MacOSX) is exceeded, and the exec system call starts to fail, which completely breaks ocp-build.

`config_dirname` should be propagated into functions

If OCaml.library is used within a function, the dirname associated with the library is the one of the function code, instead of the one of the caller.

In the meantime, one should pass the dirname, for example as ocaml + { dirname = dirname }.

ocp-build.1.99.8-beta does not compile as dependency

Does not work on any of the 10 compiler versions I tried.
This compiler version does not succeed, but still has better results than any other compiler version.

The following actions will be performed:
  - install dune               1.11.4      [required by result]
  - install ocamlbuild         0           [required by cmdliner, camlp4, core]
  - install conf-m4            1           [required by ocamlfind]
  - install conf-which         1           [required by camlp4]
  - install result             1.4         [required by cmdliner]
  - install ocamlfind          1.8.1       [required by cmdliner, core]
  - install camlp4             4.02+7      [required by batsh]
  - install topkg              1.0.0       [required by cmdliner]
  - install base-bytes         base        [required by ounit]
  - install type_conv          113.00.02   [required by comparelib, bin_prot, pa_structural_sexp]
  - install pipebang           113.00.00   [required by core]
  - install ocp-build          1.99.8-beta [required by batsh]
  - install herelib            112.35.00   [required by core]
  - install cmdliner           1.0.2       [required by batsh]
  - install ounit              2.0.8       [required by batsh]
  - install variantslib        109.15.03   [required by core]
  - install sexplib            113.00.00   [required by core]
  - install fieldslib          113.00.00   [required by core]
  - install enumerate          111.08.00   [required by core]
  - install comparelib         113.00.00   [required by core]
  - install bin_prot           113.00.00   [required by core]
  - install pa_ounit           113.00.00   [required by core]
  - install dlist              0.1.0       [required by batsh]
  - install pa_structural_sexp 113.00.00   [required by core]
  - install pa_test            112.24.00   [required by core]
  - install typerep            113.00.00   [required by core_kernel]
  - install pa_bench           113.00.00   [required by core]
  - install custom_printf      113.00.00   [required by core]
  - install core_kernel        113.00.00   [required by batsh]
  - install core               113.00.00   [required by batsh]
  - install batsh              0.0.6
===== 31 to install =====

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[batsh.0.0.6] downloaded from cache at https://opam.ocaml.org/cache
[bin_prot.113.00.00] downloaded from cache at https://opam.ocaml.org/cache
[cmdliner.1.0.2] downloaded from cache at https://opam.ocaml.org/cache
[comparelib.113.00.00] downloaded from cache at https://opam.ocaml.org/cache
[camlp4.4.02+7] downloaded from cache at https://opam.ocaml.org/cache
[custom_printf.113.00.00] downloaded from cache at https://opam.ocaml.org/cache
[core.113.00.00] downloaded from cache at https://opam.ocaml.org/cache
[dlist.0.1.0] downloaded from cache at https://opam.ocaml.org/cache
[core_kernel.113.00.00] downloaded from cache at https://opam.ocaml.org/cache
[enumerate.111.08.00] downloaded from cache at https://opam.ocaml.org/cache
[fieldslib.113.00.00] downloaded from cache at https://opam.ocaml.org/cache
[herelib.112.35.00] downloaded from cache at https://opam.ocaml.org/cache
[dune.1.11.4] downloaded from cache at https://opam.ocaml.org/cache
[ocamlfind.1.8.1] downloaded from cache at https://opam.ocaml.org/cache
[ocp-build.1.99.8-beta] downloaded from cache at https://opam.ocaml.org/cache
[ounit.2.0.8] downloaded from cache at https://opam.ocaml.org/cache
[pa_bench.113.00.00] downloaded from cache at https://opam.ocaml.org/cache
[pa_ounit.113.00.00] downloaded from cache at https://opam.ocaml.org/cache
[pa_structural_sexp.113.00.00] downloaded from cache at https://opam.ocaml.org/cache
[pa_test.112.24.00] downloaded from cache at https://opam.ocaml.org/cache
[pipebang.113.00.00] downloaded from cache at https://opam.ocaml.org/cache
[result.1.4] downloaded from cache at https://opam.ocaml.org/cache
[sexplib.113.00.00] downloaded from cache at https://opam.ocaml.org/cache
[topkg.1.0.0] downloaded from cache at https://opam.ocaml.org/cache
[type_conv.113.00.02] downloaded from cache at https://opam.ocaml.org/cache
[typerep.113.00.00] downloaded from cache at https://opam.ocaml.org/cache
[variantslib.109.15.03] downloaded from cache at https://opam.ocaml.org/cache

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-m4.1
-> installed conf-which.1
-> installed dune.1.11.4
-> installed ocamlbuild.0
-> installed camlp4.4.02+7
-> installed ocamlfind.1.8.1
[ERROR] The compilation of ocp-build failed at "/usr/bin/make".
-> installed base-bytes.base
-> installed herelib.112.35.00
-> installed ounit.2.0.8
-> installed pipebang.113.00.00
-> installed result.1.4
-> installed topkg.1.0.0
-> installed cmdliner.1.0.2
-> installed type_conv.113.00.02
-> installed bin_prot.113.00.00
-> installed comparelib.113.00.00
-> installed enumerate.111.08.00
-> installed fieldslib.113.00.00
-> installed pa_ounit.113.00.00
-> installed pa_bench.113.00.00
-> installed sexplib.113.00.00
-> installed custom_printf.113.00.00
-> installed pa_structural_sexp.113.00.00
-> installed pa_test.112.24.00
-> installed typerep.113.00.00
-> installed variantslib.109.15.03
-> installed core_kernel.113.00.00
-> installed core.113.00.00

#=== ERROR while compiling ocp-build.1.99.8-beta ==============================#
# context              2.0.5 | linux/x86_64 | ocaml-base-compiler.4.02.2 | https://opam.ocaml.org#5eed470a
# path                 ~/.opam/4.02.2/.opam-switch/build/ocp-build.1.99.8-beta
# command              /usr/bin/make
# exit-code            2
# env-file             ~/.opam/log/ocp-build-7-ccbd4b.env
# output-file          ~/.opam/log/ocp-build-7-ccbd4b.out
### output ###
# [...]
# gcc -Wl,-E -o ocamlrun \
#         prims.o libbyterun402.a -lm  -ldl -lcurses -lpthread
# echo "/usr/local/lib/ocaml/stublibs" > ld.conf
# echo "/usr/local/lib/ocaml" >> ld.conf
# make[2]: Leaving directory '/home/opam/.opam/4.02.2/.opam-switch/build/ocp-build.1.99.8-beta/boot/ocamlrun-4.02/byterun'
# ocamlc -o ocp-build.run -custom -make-runtime win32_c.c primitives.ml unix.cma -cclib -lunix -I ocamlrun-4.02/byterun -cclib -lbyterun402
# cat ocp-build.run ocp-build.boot > ocp-build
# chmod +x ocp-build
# ./ocp-build -help >/dev/null 2>&1
# make[1]: *** [Makefile:8: ocp-build] Error 2
# make[1]: Leaving directory '/home/opam/.opam/4.02.2/.opam-switch/build/ocp-build.1.99.8-beta/boot'
# make: *** [Makefile:34: boot/ocp-build] Error 2



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ocp-build 1.99.8-beta
+-
+- The following changes have been performed (the rest was aborted)
| - install base-bytes         base
| - install bin_prot           113.00.00
| - install camlp4             4.02+7
| - install cmdliner           1.0.2
| - install comparelib         113.00.00
| - install conf-m4            1
| - install conf-which         1
| - install core               113.00.00
| - install core_kernel        113.00.00
| - install custom_printf      113.00.00
| - install dune               1.11.4
| - install enumerate          111.08.00
| - install fieldslib          113.00.00
| - install herelib            112.35.00
| - install ocamlbuild         0
| - install ocamlfind          1.8.1
| - install ounit              2.0.8
| - install pa_bench           113.00.00
| - install pa_ounit           113.00.00
| - install pa_structural_sexp 113.00.00
| - install pa_test            112.24.00
| - install pipebang           113.00.00
| - install result             1.4
| - install sexplib            113.00.00
| - install topkg              1.0.0
| - install type_conv          113.00.02
| - install typerep            113.00.00
| - install variantslib        109.15.03
+-
# Run eval $(opam env) to update the current shell environment

The former state can be restored with:
    opam switch import "/home/opam/.opam/4.02.2/.opam-switch/backup/state-20191117160633.export"
The command '/bin/sh -c /bin/sh -c "opam install --unlock-base -y batsh.0.0.6"' returned a non-zero code: 31

Downgrade 1.99.9-beta to 1.99.8-beta fails

$ opam install ocp-build.1.99.8-beta

The following actions will be performed:
  โ†˜  downgrade ocp-build 1.99.9-beta to 1.99.8-beta

=-=- Gathering sources =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=  ๐Ÿซ

=-=- Processing actions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=  ๐Ÿซ
โŠ˜  removed   ocp-build.1.99.9-beta
[ERROR] The compilation of ocp-build failed at "make install".
Processing  2/2: [ocp-build: rm]
#=== ERROR while installing ocp-build.1.99.8-beta =============================#
# opam-version 1.2.2
# os           darwin
# command      make install
# path         /Users/dsheets/.opam/4.01.0/build/ocp-build.1.99.8-beta
# compiler     4.01.0
# exit-code    2
# env-file     /Users/dsheets/.opam/4.01.0/build/ocp-build.1.99.8-beta/ocp-build-37889-ad8886.env
# stdout-file  /Users/dsheets/.opam/4.01.0/build/ocp-build.1.99.8-beta/ocp-build-37889-ad8886.out
# stderr-file  /Users/dsheets/.opam/4.01.0/build/ocp-build.1.99.8-beta/ocp-build-37889-ad8886.err
### stdout ###
# ./boot/ocp-build install \
# [...]
#           -install-lib /Users/dsheets/.opam/4.01.0/lib/ocaml/typerex \
#           -install-bin /Users/dsheets/.opam/4.01.0/bin \
#           -install-data /Users/dsheets/.opam/4.01.0/share/typerex
# Packages ocplib-system, ocplib-subcmd, ocplib-project, ocplib-lang, ocplib-debug are already installed, removing first...
# Package ocplib-system uninstalled
# Package ocplib-subcmd uninstalled
# Package ocplib-project uninstalled
# Package ocplib-lang uninstalled
# Package ocplib-debug uninstalled
### stderr ###
# [...]
# Generated META file /Users/dsheets/.opam/4.01.0/lib/META.ocplib-debug
#   files:  ocplib-lang.cma ocpPervasives.cmi ocpList.cmi ocpString.cmi ocpStream.cmi ocpGenlex.cmi ocpHashtbl.cmi ocpDigest.cmi option.cmi intMap.cmi intSet.cmi stringMap.cmi stringSet.cmi toposort.cmi linearToposort.cmi ocamllexer.cmi trie.cmi ocpLang.cmi stringSubst.cmi ocplib-lang.cmxa ocplib-lang.a ocpPervasives.cmi ocpList.cmi ocpString.cmi ocpStream.cmi ocpGenlex.cmi ocpHashtbl.cmi ocpDigest.cmi option.cmi intMap.cmi intSet.cmi stringMap.cmi stringSet.cmi toposort.cmi linearToposort.cmi ocamllexer.cmi trie.cmi ocpLang.cmi stringSubst.cmi ocpPervasives.cmx ocpList.cmx ocpString.cmx ocpStream.cmx ocpGenlex.cmx ocpHashtbl.cmx ocpDigest.cmx option.cmx intMap.cmx intSet.cmx stringMap.cmx stringSet.cmx toposort.cmx linearToposort.cmx ocamllexer.cmx trie.cmx ocpLang.cmx stringSubst.cmx
# Generated META file /Users/dsheets/.opam/4.01.0/lib/META.ocplib-lang
#   files:  ocplib-project.cma buildOCPTree.cmi buildOCPParser.cmi buildOCPParse.cmi buildOCPVariable.cmi buildOCPTypes.cmi buildOCPInterp.cmi buildOCP.cmi ocplib-project.cmxa ocplib-project.a buildOCPTree.cmi buildOCPParser.cmi buildOCPParse.cmi buildOCPVariable.cmi buildOCPTypes.cmi buildOCPInterp.cmi buildOCP.cmi buildOCPTree.cmx buildOCPParser.cmx buildOCPParse.cmx buildOCPVariable.cmx buildOCPTypes.cmx buildOCPInterp.cmx buildOCP.cmx
# Generated META file /Users/dsheets/.opam/4.01.0/lib/META.ocplib-project
#   files:  ocplib-subcmd.cma subcommands.cmi ocplib-subcmd.cmxa ocplib-subcmd.a subcommands.cmi subcommands.cmx
# Generated META file /Users/dsheets/.opam/4.01.0/lib/META.ocplib-subcmd
#   files:  ocplib-system.cma reentrantBuffers.cmi file.cmi fileLines.cmi fileLabels.cmi date.cmi ocpUnix.cmi ocpFilename.cmi process.cmi debug.cmi ocpSystem.cmi configParser.cmi simpleConfig.cmi ocplib-system.cmxa ocplib-system.a reentrantBuffers.cmi file.cmi fileLines.cmi fileLabels.cmi date.cmi ocpUnix.cmi ocpFilename.cmi process.cmi debug.cmi ocpSystem.cmi configParser.cmi simpleConfig.cmi reentrantBuffers.cmx file.cmx fileLines.cmx fileLabels.cmx date.cmx ocpUnix.cmx ocpFilename.cmx process.cmx debug.cmx ocpSystem.cmx configParser.cmx simpleConfig.cmx
# Generated META file /Users/dsheets/.opam/4.01.0/lib/META.ocplib-system
# Install partially failed: 1/9 packages not installedmake: *** [install] Error 2



=-=- Error report -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=  ๐Ÿซ
The following actions failed
  โˆ—  install ocp-build 1.99.8-beta
The following changes have been performed
  โŠ˜  remove ocp-build 1.99.9-beta

The former state can be restored with:
    opam switch import "~/.opam/4.01.0/backup/state-20160121213902.export"

OCPWin64 installation deleting PATH variable

Hello,
I just installed OCPWin64 on my laptop, running windows 7. It was installed in the followinf directory (the default path and I did not change it).
C:\Users\sanjay\AppData\Roaming\OCamlPro\OCPWin64\bin
HOwever, after the installation, I realized that some of my installed applications were not recosgnized by my CMD shell. I got suspicious and I checked my use's PATH variable to find that OCPWin64 has overwritten my PATH variable with it one entry. I lost my PATH variable which is really very annoying.
please rectify it.

ocp-build check bug...

"ocp-build check" fails because of duplicated addition of BuildActionsWarnings.arg_list at line 555
in BuildActionsCheck.ml

Build error in 1.99.19-beta, ocp-autoconf.byte not built

OS: Arch Linux x64
ocp-build version: 1.99.19-beta

When I try to install ocp-build I get the following error:

Error log:
Error:
[514.1] '/usr/bin/ocamlc.opt' '-o' './_obuild/ocp-autoconf/ocp-autoconf.byte' '-I' './_obuild/ocp-autoconf' '-I' './tools/ocp-autoconf' '-I' './_obuild/ocplib-config' '-I' './libs/ocplib-config' '-I' './_obuild/ocplib-file' '-I' './libs/ocplib-file' '-I' './_obuild/ocplib-unix' '-I' './libs/ocplib-unix' '-I' './_obuild/ocplib-lang' '-I' './libs/ocplib-lang' '-I' './_obuild/ocplib-debug' '-I' './libs/ocplib-debug' '-I' './_obuild/ocplib-compat' '-I' './libs/ocplib-compat' '-I' '/usr/lib/ocaml' '/usr/lib/ocaml/unix.cma' './_obuild/ocplib-compat/ocplib-compat.cma' './_obuild/ocplib-debug/ocplib-debug.cma' './_obuild/ocplib-lang/ocplib-lang.cma' './_obuild/ocplib-unix/ocplib-unix.cma' './_obuild/ocplib-file/ocplib-file.cma' './_obuild/ocplib-config/ocplib-config.cma' './_obuild/ocp-autoconf/autoconfVersion.cmo' './_obuild/ocp-autoconf/autoconfFiles.cmo' './_obuild/ocp-autoconf/autoconfArgs.cmo' './_obuild/ocp-autoconf/autoconfFS.cmo' './_obuild/ocp-autoconf/autoconfCommon.cmo' './_obuild/ocp-autoconf/autoconfGlobalConfig.cmo' './_obuild/ocp-autoconf/autoconfProjectConfig.cmo' './_obuild/ocp-autoconf/autoconfAutoconf.cmo' './_obuild/ocp-autoconf/autoconfOpam.cmo' './_obuild/ocp-autoconf/autoconfOther.cmo' './_obuild/ocp-autoconf/autoconfMain.cmo'

/usr/bin/ld: /usr/lib/ocaml/libcamlrun.a(terminfo.o): undefined reference to symbol 'tgetnum'
/usr/lib/libtinfo.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
File "_none_", line 1:
Error: Error while building custom runtime system

Error:
rule 514: target ./_obuild/ocp-autoconf/ocp-autoconf.byte not built
make: *** [Makefile:184: build-ocps] Error 2

It only happens when using the system compiler, no matter the version. The error happens whether I use OPAM or not.

ocp-build for Windows

I'm not familiar with OCaml but I need to compile HHVM with this PR. It requires ocp-build, but I'm unable to build it on my machine. I ran ./configure in ocp-build directory and ran a make but it failed. Any instructions on how to build it? or binaries for Windows perhaps!

Build failure on OS X, 4.04.1

Can't seem to build it in the latest opam, but not sure why:

#=== ERROR while installing ocp-build.1.99.19-beta ============================#
# opam-version 1.2.2
# os           darwin
# command      make
# path         /Users/yminsky/.opam/4.04.1/build/ocp-build.1.99.19-beta
# compiler     4.04.1
# exit-code    2
# env-file     /Users/yminsky/.opam/4.04.1/build/ocp-build.1.99.19-beta/ocp-build-9364-521989.env
# stdout-file  /Users/yminsky/.opam/4.04.1/build/ocp-build.1.99.19-beta/ocp-build-9364-521989.out
# stderr-file  /Users/yminsky/.opam/4.04.1/build/ocp-build.1.99.19-beta/ocp-build-9364-521989.err
### stdout ###
# [...]
# ocamlc.opt -c  -I libs/ocplib-stdlib  -I libs/ocplib-debug  -I libs/ocplib-lang  -I libs/ocplib-maxunix  -I libs/ocplib-file  -I libs/ocplib-system  -I libs/ocplib-config  -I libs/ocplib-compat/string-compat  -I  tools/ocp-build -I tools/ocp-build/lang-ocp -I tools/ocp-build/lang-ocp2 -I tools/ocp-build/engine -I tools/ocp-build/actions -I tools/ocp-build/ocaml libs/ocplib-unix/minUnix_c.c
# mv `basename libs/ocplib-unix/minUnix_c.o` libs/ocplib-unix/minUnix_c.o
# ocamlc.opt -c  -I libs/ocplib-stdlib  -I libs/ocplib-debug  -I libs/ocplib-lang  -I libs/ocplib-maxunix  -I libs/ocplib-file  -I libs/ocplib-system  -I libs/ocplib-config  -I libs/ocplib-compat/string-compat  -I  tools/ocp-build -I tools/ocp-build/lang-ocp -I tools/ocp-build/lang-ocp2 -I tools/ocp-build/engine -I tools/ocp-build/actions -I tools/ocp-build/ocaml libs/ocplib-unix/onlyWin32_c.c
# mv `basename libs/ocplib-unix/onlyWin32_c.o` libs/ocplib-unix/onlyWin32_c.o
# ocamlc.opt -c  -I libs/ocplib-stdlib  -I libs/ocplib-debug  -I libs/ocplib-lang  -I libs/ocplib-maxunix  -I libs/ocplib-file  -I libs/ocplib-system  -I libs/ocplib-config  -I libs/ocplib-compat/string-compat  -I  tools/ocp-build -I tools/ocp-build/lang-ocp -I tools/ocp-build/lang-ocp2 -I tools/ocp-build/engine -I tools/ocp-build/actions -I tools/ocp-build/ocaml libs/ocplib-unix/onlyUnix_c.c
# mv `basename libs/ocplib-unix/onlyUnix_c.o` libs/ocplib-unix/onlyUnix_c.o
# ocamlopt.opt -o boot/ocp-build.asm unix.cmxa str.cmxa libs/ocplib-compat/string-compat/ocpCompat.cmx libs/ocplib-stdlib/stdlibArg.cmx libs/ocplib-debug/ocpDebug.cmx libs/ocplib-lang/ocpList.cmx libs/ocplib-lang/ocpString.cmx libs/ocplib-lang/ocpArray.cmx libs/ocplib-lang/ocpDigest.cmx libs/ocplib-lang/ocpToposort.cmx libs/ocplib-lang/ocamllexer.cmx libs/ocplib-lang/ocpGenlex.cmx libs/ocplib-lang/ocpSubst.cmx libs/ocplib-lang/ocpReuse.cmx libs/ocplib-maxunix/minUnix.cmx libs/ocplib-maxunix/onlyUnix.cmx libs/ocplib-maxunix/onlyWin32.cmx libs/ocplib-file/fileSig.cmx libs/ocplib-file/fileOS.cmx libs/ocplib-file/fileChannel.cmx libs/ocplib-file/fileString.cmx libs/ocplib-file/fileLines.cmx libs/ocplib-file/fileGen.cmx libs/ocplib-file/fileDir.cmx libs/ocplib-config/simpleConfigTypes.cmx libs/ocplib-config/simpleConfigOCaml.cmx libs/ocplib-config/simpleConfig.cmx tools/ocp-build/logger.cmx tools/ocp-build/buildMisc.cmx tools/ocp-build/buildWarnings.cmx tools/ocp-build/buildMtime.cmx tools/ocp-build/buildScanner.cmx tools/ocp-build/buildSubst.cmx tools/ocp-build/buildFind.cmx tools/ocp-build/buildTerm.cmx tools/ocp-build/versioning.cmx tools/ocp-build/ocamldot.cmx tools/ocp-build/buildValue.cmx tools/ocp-build/buildOCPTypes.cmx tools/ocp-build/lang-ocp/buildOCPTree.cmx tools/ocp-build/lang-ocp/buildOCPParser.cmx tools/ocp-build/lang-ocp/buildOCPParse.cmx tools/ocp-build/lang-ocp/buildOCPPrims.cmx tools/ocp-build/lang-ocp/buildOCPInterp.cmx tools/ocp-build/lang-ocp2/buildOCP2Tree.cmx tools/ocp-build/lang-ocp2/buildOCP2Parser.cmx tools/ocp-build/lang-ocp2/buildOCP2Parse.cmx tools/ocp-build/lang-ocp2/buildOCP2Prims.cmx tools/ocp-build/lang-ocp2/buildOCP2Interp.cmx tools/ocp-build/buildOCPPrinter.cmx tools/ocp-build/buildOCP.cmx tools/ocp-build/engine/buildEngineTypes.cmx tools/ocp-build/engine/buildEngineGlobals.cmx tools/ocp-build/engine/buildEngineRules.cmx tools/ocp-build/engine/buildEngineContext.cmx tools/ocp-build/engine/buildEngineDisplay.cmx tools/ocp-build/engine/buildEngineReport.cmx tools/ocp-build/engine/buildEngine.cmx tools/ocp-build/ocaml/buildObjectInspector.cmx tools/ocp-build/buildVersion.cmx tools/ocp-build/buildTypes.cmx tools/ocp-build/buildOptions.cmx tools/ocp-build/buildGlobals.cmx tools/ocp-build/buildConfig.cmx tools/ocp-build/buildUninstall.cmx tools/ocp-build/ocaml/metaTypes.cmx tools/ocp-build/ocaml/metaLexer.cmx tools/ocp-build/ocaml/metaFile.cmx tools/ocp-build/ocaml/metaParser.cmx tools/ocp-build/ocaml/metaConfig.cmx tools/ocp-build/ocaml/buildOCamlConfig.cmx tools/ocp-build/ocaml/buildOCamlTypes.cmx tools/ocp-build/ocaml/buildOCamlMisc.cmx tools/ocp-build/ocaml/buildOCamlVariables.cmx tools/ocp-build/ocaml/buildOCamlGlobals.cmx tools/ocp-build/ocaml/buildOCamldep.cmx tools/ocp-build/ocaml/buildOCamlSyntaxes.cmx tools/ocp-build/ocaml/buildOCamlInstall.cmx tools/ocp-build/ocaml/buildOCamlDotReport.cmx tools/ocp-build/ocaml/buildOCamlVerifyPackages.cmx tools/ocp-build/ocaml/buildOCamlOCP2.cmx tools/ocp-build/ocaml/buildOCamlRules.cmx tools/ocp-build/ocaml/buildOCamlMeta.cmx tools/ocp-build/ocaml/buildOCamlTest.cmx tools/ocp-build/ocaml/buildOasis.cmx tools/ocp-build/ocaml/buildOCamlPlugin.cmx tools/ocp-build/actions/buildArgs.cmx tools/ocp-build/actions/buildActions.cmx tools/ocp-build/actions/buildActionsWarnings.cmx tools/ocp-build/actions/buildActionInit.cmx tools/ocp-build/actions/buildActionPrefs.cmx tools/ocp-build/actions/buildActionConfigure.cmx tools/ocp-build/actions/buildActionBuild.cmx tools/ocp-build/actions/buildActionInstall.cmx tools/ocp-build/actions/buildActionClean.cmx tools/ocp-build/actions/buildActionTests.cmx tools/ocp-build/actions/buildActionUninstall.cmx tools/ocp-build/actions/buildActionQuery.cmx tools/ocp-build/actions/buildActionHelp.cmx tools/ocp-build/buildMain.cmx libs/ocplib-unix/minUnix_c.o libs/ocplib-unix/onlyWin32_c.o libs/ocplib-unix/onlyUnix_c.o
# /Library/Developer/CommandLineTools/usr/bin/make partialclean
# rm -f tools/ocp-build/lang-ocp/buildOCPParser.mli tools/ocp-build/lang-ocp/buildOCPParser.ml libs/ocplib-lang/ocamllexer.ml tools/ocp-build/ocaml/metaLexer.ml  tools/ocp-build/buildVersion.ml libs/ocplib-compat/string-compat/ocpCompat.ml libs/ocplib-compat/string-compat/ocpCompat.cmi libs/ocplib-stdlib/stdlibArg.cmi libs/ocplib-debug/ocpDebug.cmi libs/ocplib-lang/ocpList.cmi libs/ocplib-lang/ocpString.cmi libs/ocplib-lang/ocpArray.cmi libs/ocplib-lang/ocpDigest.cmi libs/ocplib-lang/ocpToposort.cmi libs/ocplib-lang/ocamllexer.cmi libs/ocplib-lang/ocpGenlex.cmi libs/ocplib-lang/ocpSubst.cmi libs/ocplib-lang/ocpReuse.cmi libs/ocplib-maxunix/minUnix.cmi libs/ocplib-maxunix/onlyUnix.cmi libs/ocplib-maxunix/onlyWin32.cmi libs/ocplib-file/fileSig.cmi libs/ocplib-file/fileOS.cmi libs/ocplib-file/fileChannel.cmi libs/ocplib-file/fileString.cmi libs/ocplib-file/fileLines.cmi libs/ocplib-file/fileGen.cmi libs/ocplib-file/fileDir.cmi libs/ocplib-config/simpleConfigTypes.cmi libs/ocplib-config/simpleConfigOCaml.cmi libs/ocplib-config/simpleConfig.cmi tools/ocp-build/logger.cmi tools/ocp-build/buildMisc.cmi tools/ocp-build/buildWarnings.cmi tools/ocp-build/buildMtime.cmi tools/ocp-build/buildScanner.cmi tools/ocp-build/buildSubst.cmi tools/ocp-build/buildFind.cmi tools/ocp-build/buildTerm.cmi tools/ocp-build/versioning.cmi tools/ocp-build/ocamldot.cmi tools/ocp-build/buildValue.cmi tools/ocp-build/buildOCPTypes.cmi tools/ocp-build/lang-ocp/buildOCPTree.cmi tools/ocp-build/lang-ocp/buildOCPParser.cmi tools/ocp-build/lang-ocp/buildOCPParse.cmi tools/ocp-build/lang-ocp/buildOCPPrims.cmi tools/ocp-build/lang-ocp/buildOCPInterp.cmi tools/ocp-build/lang-ocp2/buildOCP2Tree.cmi tools/ocp-build/lang-ocp2/buildOCP2Parser.cmi tools/ocp-build/lang-ocp2/buildOCP2Parse.cmi tools/ocp-build/lang-ocp2/buildOCP2Prims.cmi tools/ocp-build/lang-ocp2/buildOCP2Interp.cmi tools/ocp-build/buildOCPPrinter.cmi tools/ocp-build/buildOCP.cmi tools/ocp-build/engine/buildEngineTypes.cmi tools/ocp-build/engine/buildEngineGlobals.cmi tools/ocp-build/engine/buildEngineRules.cmi tools/ocp-build/engine/buildEngineContext.cmi tools/ocp-build/engine/buildEngineDisplay.cmi tools/ocp-build/engine/buildEngineReport.cmi tools/ocp-build/engine/buildEngine.cmi tools/ocp-build/ocaml/buildObjectInspector.cmi tools/ocp-build/buildVersion.cmi tools/ocp-build/buildTypes.cmi tools/ocp-build/buildOptions.cmi tools/ocp-build/buildGlobals.cmi tools/ocp-build/buildConfig.cmi tools/ocp-build/buildUninstall.cmi tools/ocp-build/ocaml/metaTypes.cmi tools/ocp-build/ocaml/metaLexer.cmi tools/ocp-build/ocaml/metaFile.cmi tools/ocp-build/ocaml/metaParser.cmi tools/ocp-build/ocaml/metaConfig.cmi tools/ocp-build/ocaml/buildOCamlConfig.cmi tools/ocp-build/ocaml/buildOCamlTypes.cmi tools/ocp-build/ocaml/buildOCamlMisc.cmi tools/ocp-build/ocaml/buildOCamlVariables.cmi tools/ocp-build/ocaml/buildOCamlGlobals.cmi tools/ocp-build/ocaml/buildOCamldep.cmi tools/ocp-build/ocaml/buildOCamlSyntaxes.cmi tools/ocp-build/ocaml/buildOCamlInstall.cmi tools/ocp-build/ocaml/buildOCamlDotReport.cmi tools/ocp-build/ocaml/buildOCamlVerifyPackages.cmi tools/ocp-build/ocaml/buildOCamlOCP2.cmi tools/ocp-build/ocaml/buildOCamlRules.cmi tools/ocp-build/ocaml/buildOCamlMeta.cmi tools/ocp-build/ocaml/buildOCamlTest.cmi tools/ocp-build/ocaml/buildOasis.cmi tools/ocp-build/ocaml/buildOCamlPlugin.cmi tools/ocp-build/actions/buildArgs.cmi tools/ocp-build/actions/buildActions.cmi tools/ocp-build/actions/buildActionsWarnings.cmi tools/ocp-build/actions/buildActionInit.cmi tools/ocp-build/actions/buildActionPrefs.cmi tools/ocp-build/actions/buildActionConfigure.cmi tools/ocp-build/actions/buildActionBuild.cmi tools/ocp-build/actions/buildActionInstall.cmi tools/ocp-build/actions/buildActionClean.cmi tools/ocp-build/actions/buildActionTests.cmi tools/ocp-build/actions/buildActionUninstall.cmi tools/ocp-build/actions/buildActionQuery.cmi tools/ocp-build/actions/buildActionHelp.cmi tools/ocp-build/buildMain.cmi libs/ocplib-compat/string-compat/ocpCompat.cmo libs/ocplib-stdlib/stdlibArg.cmo libs/ocplib-debug/ocpDebug.cmo libs/ocplib-lang/ocpList.cmo libs/ocplib-lang/ocpString.cmo libs/ocplib-lang/ocpArray.cmo libs/ocplib-lang/ocpDigest.cmo libs/ocplib-lang/ocpToposort.cmo libs/ocplib-lang/ocamllexer.cmo libs/ocplib-lang/ocpGenlex.cmo libs/ocplib-lang/ocpSubst.cmo libs/ocplib-lang/ocpReuse.cmo libs/ocplib-maxunix/minUnix.cmo libs/ocplib-maxunix/onlyUnix.cmo libs/ocplib-maxunix/onlyWin32.cmo libs/ocplib-file/fileSig.cmo libs/ocplib-file/fileOS.cmo libs/ocplib-file/fileChannel.cmo libs/ocplib-file/fileString.cmo libs/ocplib-file/fileLines.cmo libs/ocplib-file/fileGen.cmo libs/ocplib-file/fileDir.cmo libs/ocplib-config/simpleConfigTypes.cmo libs/ocplib-config/simpleConfigOCaml.cmo libs/ocplib-config/simpleConfig.cmo tools/ocp-build/logger.cmo tools/ocp-build/buildMisc.cmo tools/ocp-build/buildWarnings.cmo tools/ocp-build/buildMtime.cmo tools/ocp-build/buildScanner.cmo tools/ocp-build/buildSubst.cmo tools/ocp-build/buildFind.cmo tools/ocp-build/buildTerm.cmo tools/ocp-build/versioning.cmo tools/ocp-build/ocamldot.cmo tools/ocp-build/buildValue.cmo tools/ocp-build/buildOCPTypes.cmo tools/ocp-build/lang-ocp/buildOCPTree.cmo tools/ocp-build/lang-ocp/buildOCPParser.cmo tools/ocp-build/lang-ocp/buildOCPParse.cmo tools/ocp-build/lang-ocp/buildOCPPrims.cmo tools/ocp-build/lang-ocp/buildOCPInterp.cmo tools/ocp-build/lang-ocp2/buildOCP2Tree.cmo tools/ocp-build/lang-ocp2/buildOCP2Parser.cmo tools/ocp-build/lang-ocp2/buildOCP2Parse.cmo tools/ocp-build/lang-ocp2/buildOCP2Prims.cmo tools/ocp-build/lang-ocp2/buildOCP2Interp.cmo tools/ocp-build/buildOCPPrinter.cmo tools/ocp-build/buildOCP.cmo tools/ocp-build/engine/buildEngineTypes.cmo tools/ocp-build/engine/buildEngineGlobals.cmo tools/ocp-build/engine/buildEngineRules.cmo tools/ocp-build/engine/buildEngineContext.cmo tools/ocp-build/engine/buildEngineDisplay.cmo tools/ocp-build/engine/buildEngineReport.cmo tools/ocp-build/engine/buildEngine.cmo tools/ocp-build/ocaml/buildObjectInspector.cmo tools/ocp-build/buildVersion.cmo tools/ocp-build/buildTypes.cmo tools/ocp-build/buildOptions.cmo tools/ocp-build/buildGlobals.cmo tools/ocp-build/buildConfig.cmo tools/ocp-build/buildUninstall.cmo tools/ocp-build/ocaml/metaTypes.cmo tools/ocp-build/ocaml/metaLexer.cmo tools/ocp-build/ocaml/metaFile.cmo tools/ocp-build/ocaml/metaParser.cmo tools/ocp-build/ocaml/metaConfig.cmo tools/ocp-build/ocaml/buildOCamlConfig.cmo tools/ocp-build/ocaml/buildOCamlTypes.cmo tools/ocp-build/ocaml/buildOCamlMisc.cmo tools/ocp-build/ocaml/buildOCamlVariables.cmo tools/ocp-build/ocaml/buildOCamlGlobals.cmo tools/ocp-build/ocaml/buildOCamldep.cmo tools/ocp-build/ocaml/buildOCamlSyntaxes.cmo tools/ocp-build/ocaml/buildOCamlInstall.cmo tools/ocp-build/ocaml/buildOCamlDotReport.cmo tools/ocp-build/ocaml/buildOCamlVerifyPackages.cmo tools/ocp-build/ocaml/buildOCamlOCP2.cmo tools/ocp-build/ocaml/buildOCamlRules.cmo tools/ocp-build/ocaml/buildOCamlMeta.cmo tools/ocp-build/ocaml/buildOCamlTest.cmo tools/ocp-build/ocaml/buildOasis.cmo tools/ocp-build/ocaml/buildOCamlPlugin.cmo tools/ocp-build/actions/buildArgs.cmo tools/ocp-build/actions/buildActions.cmo tools/ocp-build/actions/buildActionsWarnings.cmo tools/ocp-build/actions/buildActionInit.cmo tools/ocp-build/actions/buildActionPrefs.cmo tools/ocp-build/actions/buildActionConfigure.cmo tools/ocp-build/actions/buildActionBuild.cmo tools/ocp-build/actions/buildActionInstall.cmo tools/ocp-build/actions/buildActionClean.cmo tools/ocp-build/actions/buildActionTests.cmo tools/ocp-build/actions/buildActionUninstall.cmo tools/ocp-build/actions/buildActionQuery.cmo tools/ocp-build/actions/buildActionHelp.cmo tools/ocp-build/buildMain.cmo libs/ocplib-compat/string-compat/ocpCompat.cmx libs/ocplib-stdlib/stdlibArg.cmx libs/ocplib-debug/ocpDebug.cmx libs/ocplib-lang/ocpList.cmx libs/ocplib-lang/ocpString.cmx libs/ocplib-lang/ocpArray.cmx libs/ocplib-lang/ocpDigest.cmx libs/ocplib-lang/ocpToposort.cmx libs/ocplib-lang/ocamllexer.cmx libs/ocplib-lang/ocpGenlex.cmx libs/ocplib-lang/ocpSubst.cmx libs/ocplib-lang/ocpReuse.cmx libs/ocplib-maxunix/minUnix.cmx libs/ocplib-maxunix/onlyUnix.cmx libs/ocplib-maxunix/onlyWin32.cmx libs/ocplib-file/fileSig.cmx libs/ocplib-file/fileOS.cmx libs/ocplib-file/fileChannel.cmx libs/ocplib-file/fileString.cmx libs/ocplib-file/fileLines.cmx libs/ocplib-file/fileGen.cmx libs/ocplib-file/fileDir.cmx libs/ocplib-config/simpleConfigTypes.cmx libs/ocplib-config/simpleConfigOCaml.cmx libs/ocplib-config/simpleConfig.cmx tools/ocp-build/logger.cmx tools/ocp-build/buildMisc.cmx tools/ocp-build/buildWarnings.cmx tools/ocp-build/buildMtime.cmx tools/ocp-build/buildScanner.cmx tools/ocp-build/buildSubst.cmx tools/ocp-build/buildFind.cmx tools/ocp-build/buildTerm.cmx tools/ocp-build/versioning.cmx tools/ocp-build/ocamldot.cmx tools/ocp-build/buildValue.cmx tools/ocp-build/buildOCPTypes.cmx tools/ocp-build/lang-ocp/buildOCPTree.cmx tools/ocp-build/lang-ocp/buildOCPParser.cmx tools/ocp-build/lang-ocp/buildOCPParse.cmx tools/ocp-build/lang-ocp/buildOCPPrims.cmx tools/ocp-build/lang-ocp/buildOCPInterp.cmx tools/ocp-build/lang-ocp2/buildOCP2Tree.cmx tools/ocp-build/lang-ocp2/buildOCP2Parser.cmx tools/ocp-build/lang-ocp2/buildOCP2Parse.cmx tools/ocp-build/lang-ocp2/buildOCP2Prims.cmx tools/ocp-build/lang-ocp2/buildOCP2Interp.cmx tools/ocp-build/buildOCPPrinter.cmx tools/ocp-build/buildOCP.cmx tools/ocp-build/engine/buildEngineTypes.cmx tools/ocp-build/engine/buildEngineGlobals.cmx tools/ocp-build/engine/buildEngineRules.cmx tools/ocp-build/engine/buildEngineContext.cmx tools/ocp-build/engine/buildEngineDisplay.cmx tools/ocp-build/engine/buildEngineReport.cmx tools/ocp-build/engine/buildEngine.cmx tools/ocp-build/ocaml/buildObjectInspector.cmx tools/ocp-build/buildVersion.cmx tools/ocp-build/buildTypes.cmx tools/ocp-build/buildOptions.cmx tools/ocp-build/buildGlobals.cmx tools/ocp-build/buildConfig.cmx tools/ocp-build/buildUninstall.cmx tools/ocp-build/ocaml/metaTypes.cmx tools/ocp-build/ocaml/metaLexer.cmx tools/ocp-build/ocaml/metaFile.cmx tools/ocp-build/ocaml/metaParser.cmx tools/ocp-build/ocaml/metaConfig.cmx tools/ocp-build/ocaml/buildOCamlConfig.cmx tools/ocp-build/ocaml/buildOCamlTypes.cmx tools/ocp-build/ocaml/buildOCamlMisc.cmx tools/ocp-build/ocaml/buildOCamlVariables.cmx tools/ocp-build/ocaml/buildOCamlGlobals.cmx tools/ocp-build/ocaml/buildOCamldep.cmx tools/ocp-build/ocaml/buildOCamlSyntaxes.cmx tools/ocp-build/ocaml/buildOCamlInstall.cmx tools/ocp-build/ocaml/buildOCamlDotReport.cmx tools/ocp-build/ocaml/buildOCamlVerifyPackages.cmx tools/ocp-build/ocaml/buildOCamlOCP2.cmx tools/ocp-build/ocaml/buildOCamlRules.cmx tools/ocp-build/ocaml/buildOCamlMeta.cmx tools/ocp-build/ocaml/buildOCamlTest.cmx tools/ocp-build/ocaml/buildOasis.cmx tools/ocp-build/ocaml/buildOCamlPlugin.cmx tools/ocp-build/actions/buildArgs.cmx tools/ocp-build/actions/buildActions.cmx tools/ocp-build/actions/buildActionsWarnings.cmx tools/ocp-build/actions/buildActionInit.cmx tools/ocp-build/actions/buildActionPrefs.cmx tools/ocp-build/actions/buildActionConfigure.cmx tools/ocp-build/actions/buildActionBuild.cmx tools/ocp-build/actions/buildActionInstall.cmx tools/ocp-build/actions/buildActionClean.cmx tools/ocp-build/actions/buildActionTests.cmx tools/ocp-build/actions/buildActionUninstall.cmx tools/ocp-build/actions/buildActionQuery.cmx tools/ocp-build/actions/buildActionHelp.cmx tools/ocp-build/buildMain.cmx libs/ocplib-unix/minUnix_c.o libs/ocplib-unix/onlyWin32_c.o libs/ocplib-unix/onlyUnix_c.o libs/ocplib-compat/string-compat/ocpCompat.o libs/ocplib-stdlib/stdlibArg.o libs/ocplib-debug/ocpDebug.o libs/ocplib-lang/ocpList.o libs/ocplib-lang/ocpString.o libs/ocplib-lang/ocpArray.o libs/ocplib-lang/ocpDigest.o libs/ocplib-lang/ocpToposort.o libs/ocplib-lang/ocamllexer.o libs/ocplib-lang/ocpGenlex.o libs/ocplib-lang/ocpSubst.o libs/ocplib-lang/ocpReuse.o libs/ocplib-maxunix/minUnix.o libs/ocplib-maxunix/onlyUnix.o libs/ocplib-maxunix/onlyWin32.o libs/ocplib-file/fileSig.o libs/ocplib-file/fileOS.o libs/ocplib-file/fileChannel.o libs/ocplib-file/fileString.o libs/ocplib-file/fileLines.o libs/ocplib-file/fileGen.o libs/ocplib-file/fileDir.o libs/ocplib-config/simpleConfigTypes.o libs/ocplib-config/simpleConfigOCaml.o libs/ocplib-config/simpleConfig.o tools/ocp-build/logger.o tools/ocp-build/buildMisc.o tools/ocp-build/buildWarnings.o tools/ocp-build/buildMtime.o tools/ocp-build/buildScanner.o tools/ocp-build/buildSubst.o tools/ocp-build/buildFind.o tools/ocp-build/buildTerm.o tools/ocp-build/versioning.o tools/ocp-build/ocamldot.o tools/ocp-build/buildValue.o tools/ocp-build/buildOCPTypes.o tools/ocp-build/lang-ocp/buildOCPTree.o tools/ocp-build/lang-ocp/buildOCPParser.o tools/ocp-build/lang-ocp/buildOCPParse.o tools/ocp-build/lang-ocp/buildOCPPrims.o tools/ocp-build/lang-ocp/buildOCPInterp.o tools/ocp-build/lang-ocp2/buildOCP2Tree.o tools/ocp-build/lang-ocp2/buildOCP2Parser.o tools/ocp-build/lang-ocp2/buildOCP2Parse.o tools/ocp-build/lang-ocp2/buildOCP2Prims.o tools/ocp-build/lang-ocp2/buildOCP2Interp.o tools/ocp-build/buildOCPPrinter.o tools/ocp-build/buildOCP.o tools/ocp-build/engine/buildEngineTypes.o tools/ocp-build/engine/buildEngineGlobals.o tools/ocp-build/engine/buildEngineRules.o tools/ocp-build/engine/buildEngineContext.o tools/ocp-build/engine/buildEngineDisplay.o tools/ocp-build/engine/buildEngineReport.o tools/ocp-build/engine/buildEngine.o tools/ocp-build/ocaml/buildObjectInspector.o tools/ocp-build/buildVersion.o tools/ocp-build/buildTypes.o tools/ocp-build/buildOptions.o tools/ocp-build/buildGlobals.o tools/ocp-build/buildConfig.o tools/ocp-build/buildUninstall.o tools/ocp-build/ocaml/metaTypes.o tools/ocp-build/ocaml/metaLexer.o tools/ocp-build/ocaml/metaFile.o tools/ocp-build/ocaml/metaParser.o tools/ocp-build/ocaml/metaConfig.o tools/ocp-build/ocaml/buildOCamlConfig.o tools/ocp-build/ocaml/buildOCamlTypes.o tools/ocp-build/ocaml/buildOCamlMisc.o tools/ocp-build/ocaml/buildOCamlVariables.o tools/ocp-build/ocaml/buildOCamlGlobals.o tools/ocp-build/ocaml/buildOCamldep.o tools/ocp-build/ocaml/buildOCamlSyntaxes.o tools/ocp-build/ocaml/buildOCamlInstall.o tools/ocp-build/ocaml/buildOCamlDotReport.o tools/ocp-build/ocaml/buildOCamlVerifyPackages.o tools/ocp-build/ocaml/buildOCamlOCP2.o tools/ocp-build/ocaml/buildOCamlRules.o tools/ocp-build/ocaml/buildOCamlMeta.o tools/ocp-build/ocaml/buildOCamlTest.o tools/ocp-build/ocaml/buildOasis.o tools/ocp-build/ocaml/buildOCamlPlugin.o tools/ocp-build/actions/buildArgs.o tools/ocp-build/actions/buildActions.o tools/ocp-build/actions/buildActionsWarnings.o tools/ocp-build/actions/buildActionInit.o tools/ocp-build/actions/buildActionPrefs.o tools/ocp-build/actions/buildActionConfigure.o tools/ocp-build/actions/buildActionBuild.o tools/ocp-build/actions/buildActionInstall.o tools/ocp-build/actions/buildActionClean.o tools/ocp-build/actions/buildActionTests.o tools/ocp-build/actions/buildActionUninstall.o tools/ocp-build/actions/buildActionQuery.o tools/ocp-build/actions/buildActionHelp.o tools/ocp-build/buildMain.o
# boot/ocp-build.asm init
### stderr ###
# [...]
# Warning: installed package "threads" has conflicting directories:
#    first: threads@/Users/yminsky/.opam/4.04.1/lib/ocaml
#      (from /Users/yminsky/.opam/4.04.1/lib/threads/META)
#    second: threads@/Users/yminsky/.opam/4.04.1/lib/ocaml/threads
#      (from /Users/yminsky/.opam/4.04.1/lib/ocaml/ocp-build/ocaml.ocp)
# Use the --disable-package PKG@DIR to disable one of them.
# Choosing "threads".
# Error: package "netsys.outofheap", option "byte_targets" contains a file "netsys_c_outofheap.o"
#   with unexpected extension "o"
# make: *** [_obuild] Error 2

Note that I'm also using the Jane Street bleeding edge opam repo, but I wouldn't expect there to be a dependency there from ocp_build.

Error while installing ocp-build

I'm getting this error while trying to install ocp-indent on Archlinux.

opam install ocp-indent
The following actions will be performed:
  โˆ—  install ocp-build  1.99.8-beta           [required by ocp-indent]
  โˆ—  install ocp-indent 1.4.2      
===== โˆ—  2 =====
Do you want to continue ? [Y/n] y

=-=- Gathering sources =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[ocp-indent] Archive in cache
[default] https://opam.ocaml.org/archives/ocp-build.1.99.8-beta+opam.tar.gz downloaded

=-=- Processing actions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[ERROR] The compilation of ocp-build failed at "make".
Processing  1/2: [ocp-build: rm]


#=== ERROR while installing ocp-build.1.99.8-beta =============================#
# opam-version 1.2.2
# os           linux
# command      make
# path         /home/ikhthiandor/.opam/system/build/ocp-build.1.99.8-beta
# compiler     system (4.02.3)
# exit-code    2
# env-file     /home/ikhthiandor/.opam/system/build/ocp-build.1.99.8-beta/ocp-build-27313-d8a4ae.env
# stdout-file  /home/ikhthiandor/.opam/system/build/ocp-build.1.99.8-beta/ocp-build-27313-d8a4ae.out
# stderr-file  /home/ikhthiandor/.opam/system/build/ocp-build.1.99.8-beta/ocp-build-27313-d8a4ae.err
### stdout ###
# [...]
# gcc -DCAML_NAME_SPACE -g -O -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT    -c -o prims.o prims.c
# gcc -Wl,-E -o ocamlrun \
#     prims.o libbyterun402.a -lm  -ldl -lcurses -lpthread
# echo "/usr/local/lib/ocaml/stublibs" > ld.conf
# echo "/usr/local/lib/ocaml" >> ld.conf
# make[2]: Leaving directory '/home/ikhthiandor/.opam/system/build/ocp-build.1.99.8-beta/boot/ocamlrun-4.02/byterun'
# ocamlc -o ocp-build.run -custom -make-runtime win32_c.c primitives.ml unix.cma -cclib -lunix -I ocamlrun-4.02/byterun -cclib -lbyterun402
# Makefile:4: recipe for target 'ocp-build' failed
# make[1]: Leaving directory '/home/ikhthiandor/.opam/system/build/ocp-build.1.99.8-beta/boot'
# Makefile:34: recipe for target 'boot/ocp-build' failed
### stderr ###
# [...]
# (.text+0x3c3): multiple definition of `caml_alloc_dummy_float'
# ocamlrun-4.02/byterun/libbyterun402.a(alloc.o):/home/ikhthiandor/.opam/system/build/ocp-build.1.99.8-beta/boot/ocamlrun-4.02/byterun/alloc.c:158: first defined here
# /usr/lib/ocaml/libcamlrun.a(alloc.o): In function `caml_update_dummy':
# (.text+0x3e7): multiple definition of `caml_update_dummy'
# ocamlrun-4.02/byterun/libbyterun402.a(alloc.o):/home/ikhthiandor/.opam/system/build/ocp-build.1.99.8-beta/boot/ocamlrun-4.02/byterun/alloc.c:165: first defined here
# collect2: error: ld returned 1 exit status
# File "primitives.ml", line 1:
# Error: Error while building custom runtime system
# make[1]: *** [ocp-build] Error 2
# make: *** [boot/ocp-build] Error 2

1.99.9-beta cannot parse requires += in a META file

I have ocp-build and ppx_deriving installed from opam. ppx_deriving uses requires += in its META file:

https://github.com/whitequark/ppx_deriving/blob/master/pkg/META.in#L27

ocp-build doesn't like that META file:

arjun@geppetto:tmp$ ocp-build list
find_project_root
Warning: Could not find OCaml ocamldoc tool.
iter: Don't know what to do with:
  IDENT "requires"
  PLUSEQUAL
  STRING "ppx_deriving.enum ppx_deriving.iter ppx_deriving.map"
  IDENT "requires"
  PLUSEQUAL
  STRING "ppx_deriving.fold ppx_deriving.create"
  RPAREN
  IDENT "package"
  STRING "show"
  LPAREN
  IDENT "version"
  EQUAL
  STRING "2.2"
  IDENT "description"
  EQUAL
  STRING "[@@deriving show]"
  IDENT "requires"
  LPAREN
  MINUS
  IDENT "ppx_driver"
  RPAREN
  EQUAL
  STRING "ppx_deriving"
  IDENT "ppxopt"
  LPAREN
  MINUS
  IDENT "ppx_driver"
  RPAREN
  EQUAL
  STRING "ppx_deriving,./ppx_deriving_show.cma"
  IDENT "requires"
  LPAREN
  IDENT "ppx_driver"
  RPAREN
  EQUAL
  STRING "ppx_deriving.api"
  IDENT "archive"
  LPAREN
  IDENT "ppx_driver"
  IDENT "byte"
  RPAREN
  EQUAL
  STRING "ppx_deriving_show.cma"
  IDENT "archive"
  LPAREN
  IDENT "ppx_driver"
  IDENT "native"
  RPAREN
  EQUAL
  STRING "ppx_deriving_show.cmxa"
  IDENT "exists_if"
  EQUAL
  STRING "ppx_deriving_show.cma"
  RPAREN
  IDENT "package"
  STRING "eq"
  LPAREN
  IDENT "version"
  EQUAL
  STRING "2.2"
  IDENT "description"
  EQUAL
  STRING "[@@deriving eq]"
  IDENT "requires"
  LPAREN
  MINUS
  IDENT "ppx_driver"
  RPAREN
  EQUAL
  STRING "ppx_deriving"
  IDENT "ppxopt"
  LPAREN
  MINUS
  IDENT "ppx_driver"
  RPAREN
  EQUAL
  STRING "ppx_deriving,./ppx_deriving_eq.cma"
  IDENT "requires"
  LPAREN
  IDENT "ppx_driver"
  RPAREN
  EQUAL
  STRING "ppx_deriving.api"
  IDENT "archive"
  LPAREN
  IDENT "ppx_driver"
  IDENT "byte"
  RPAREN
  EQUAL
  STRING "ppx_deriving_eq.cma"
  IDENT "archive"
  LPAREN
  IDENT "ppx_driver"
  IDENT "native"
  RPAREN
  EQUAL
  STRING "ppx_deriving_eq.cmxa"
  IDENT "exists_if"
  EQUAL
  STRING "ppx_deriving_eq.cma"
  RPAREN
  IDENT "package"
  STRING "ord"
  LPAREN
  IDENT "version"
  EQUAL
  STRING "2.2"
  IDENT "description"
  EQUAL
  STRING "[@@deriving ord]"
  IDENT "requires"
  LPAREN
  MINUS
  IDENT "ppx_driver"
  RPAREN
  EQUAL
  STRING "ppx_deriving"
  IDENT "ppxopt"
  LPAREN
  MINUS
  IDENT "ppx_driver"
  RPAREN
  EQUAL
  STRING "ppx_deriving,./ppx_deriving_ord.cma"
  IDENT "requires"
  LPAREN
  IDENT "ppx_driver"
  RPAREN
  EQUAL
  STRING "ppx_deriving.api"
  IDENT "archive"
  LPAREN
  IDENT "ppx_driver"
  IDENT "byte"
  RPAREN
  EQUAL
  STRING "ppx_deriving_ord.cma"
  IDENT "archive"
  LPAREN
  IDENT "ppx_driver"
  IDENT "native"
  RPAREN
  EQUAL
  STRING "ppx_deriving_ord.cmxa"
  IDENT "exists_if"
  EQUAL
  STRING "ppx_deriving_ord.cma"
  RPAREN
  IDENT "package"
  STRING "enum"
  LPAREN
  IDENT "version"
  EQUAL
  STRING "2.2"
  IDENT "description"
  EQUAL
  STRING "[@@deriving enum]"
  IDENT "requires"
  LPAREN
  MINUS
  IDENT "ppx_driver"
  RPAREN
  EQUAL
  STRING "ppx_deriving"
  IDENT "ppxopt"
  LPAREN
  MINUS
  IDENT "ppx_driver"
  RPAREN
  EQUAL
  STRING "ppx_deriving,./ppx_deriving_enum.cma"
  IDENT "requires"
  LPAREN
  IDENT "ppx_driver"
  RPAREN
  EQUAL
  STRING "ppx_deriving.api"
  IDENT "archive"
  LPAREN
  IDENT "ppx_driver"
  IDENT "byte"
  RPAREN
  EQUAL
  STRING "ppx_deriving_enum.cma"
  IDENT "archive"
  LPAREN
  IDENT "ppx_driver"
  IDENT "native"
  RPAREN
  EQUAL
  STRING "ppx_deriving_enum.cmxa"
  IDENT "exists_if"
  EQUAL
  STRING "ppx_deriving_enum.cma"
  RPAREN
  IDENT "package"
  STRING "iter"
  LPAREN
  IDENT "version"
  EQUAL
  STRING "2.2"
  IDENT "description"
  EQUAL
  STRING "[@@deriving iter]"
  IDENT "requires"
  LPAREN
  MINUS
  IDENT "ppx_driver"
  RPAREN
  EQUAL
  STRING "ppx_deriving"
  IDENT "ppxopt"
  LPAREN
  MINUS
  IDENT "ppx_driver"
  RPAREN
  EQUAL
  STRING "ppx_deriving,./ppx_deriving_iter.cma"
  IDENT "requires"
  LPAREN
  IDENT "ppx_driver"
  RPAREN
  EQUAL
  STRING "ppx_deriving.api"
  IDENT "archive"
  LPAREN
  IDENT "ppx_driver"
  IDENT "byte"
  RPAREN
  EQUAL
  STRING "ppx_deriving_iter.cma"
  IDENT "archive"
  LPAREN
  IDENT "ppx_driver"
  IDENT "native"
  RPAREN
  EQUAL
  STRING "ppx_deriving_iter.cmxa"
  IDENT "exists_if"
  EQUAL
  STRING "ppx_deriving_iter.cma"
  RPAREN
  IDENT "package"
  STRING "map"
  LPAREN
  IDENT "version"
  EQUAL
  STRING "2.2"
  IDENT "description"
  EQUAL
  STRING "[@@deriving map]"
  IDENT "requires"
  LPAREN
  MINUS
  IDENT "ppx_driver"
  RPAREN
  EQUAL
  STRING "ppx_deriving"
  IDENT "ppxopt"
  LPAREN
  MINUS
  IDENT "ppx_driver"
  RPAREN
  EQUAL
  STRING "ppx_deriving,./ppx_deriving_map.cma"
  IDENT "requires"
  LPAREN
  IDENT "ppx_driver"
  RPAREN
  EQUAL
  STRING "ppx_deriving.api"
  IDENT "archive"
  LPAREN
  IDENT "ppx_driver"
  IDENT "byte"
  RPAREN
  EQUAL
  STRING "ppx_deriving_map.cma"
  IDENT "archive"
  LPAREN
  IDENT "ppx_driver"
  IDENT "native"
  RPAREN
  EQUAL
  STRING "ppx_deriving_map.cmxa"
  IDENT "exists_if"
  EQUAL
  STRING "ppx_deriving_map.cma"
  RPAREN
  IDENT "package"
  STRING "fold"
  LPAREN
  IDENT "version"
  EQUAL
  STRING "2.2"
  IDENT "description"
  EQUAL
  STRING "[@@deriving fold]"
  IDENT "requires"
  LPAREN
  MINUS
  IDENT "ppx_driver"
  RPAREN
  EQUAL
  STRING "ppx_deriving"
  IDENT "ppxopt"
  LPAREN
  MINUS
  IDENT "ppx_driver"
  RPAREN
  EQUAL
  STRING "ppx_deriving,./ppx_deriving_fold.cma"
  IDENT "requires"
  LPAREN
  IDENT "ppx_driver"
  RPAREN
  EQUAL
  STRING "ppx_deriving.api"
  IDENT "archive"
  LPAREN
  IDENT "ppx_driver"
  IDENT "byte"
  RPAREN
  EQUAL
  STRING "ppx_deriving_fold.cma"
  IDENT "archive"
  LPAREN
  IDENT "ppx_driver"
  IDENT "native"
  RPAREN
  EQUAL
  STRING "ppx_deriving_fold.cmxa"
  IDENT "exists_if"
  EQUAL
  STRING "ppx_deriving_fold.cma"
  RPAREN
  IDENT "package"
  STRING "create"
  LPAREN
  IDENT "version"
  EQUAL
  STRING "2.2"
  IDENT "description"
  EQUAL
  STRING "[@@deriving create]"
  IDENT "requires"
  LPAREN
  MINUS
  IDENT "ppx_driver"
  RPAREN
  EQUAL
  STRING "ppx_deriving"
  IDENT "ppxopt"
  LPAREN
  MINUS
  IDENT "ppx_driver"
  RPAREN
  EQUAL
  STRING "ppx_deriving,./ppx_deriving_create.cma"
  IDENT "requires"
  LPAREN
  IDENT "ppx_driver"
  RPAREN
  EQUAL
  STRING "ppx_deriving.api"
  IDENT "archive"
  LPAREN
  IDENT "ppx_driver"
  IDENT "byte"
  RPAREN
  EQUAL
  STRING "ppx_deriving_create.cma"
  IDENT "archive"
  LPAREN
  IDENT "ppx_driver"
  IDENT "native"
  RPAREN
  EQUAL
  STRING "ppx_deriving_create.cmxa"
  IDENT "exists_if"
  EQUAL
  STRING "ppx_deriving_create.cma"
  RPAREN
Warning: exception "Failure(\"Unexpected tokens\")" while loading "/home/arjun/.opam/system/lib/ppx_deriving/META"
Warning: 2 missing and 99 disabled (use -print-missing)

Cannot build 1.99.18-beta under OCaml 4.02.2

Hello,
I cannot build ocp-build 1.99.18-beta. 1.99.17-beta worked fine, I am upgrading from it.
I tried a fresh switch to no avail. It also does not seem to be a dependency problem.
erreur.zip

### stderr ###
# [...]
# Error:
# [354.1] '/home/yann/.opam/4.02.2/bin/ocamldep.opt' '-modules' '-I' './_obuild/ocplib-unix' '-I' './libs/ocplib-unix' '-I' './_obuild/ocplib-compat' '-I' './libs/ocplib-compat' '-I' '/home/yann/.opam/4.02.2/lib/ocaml' '-intf' './_obuild/ocplib-unix/_temp/minUnix.mlipp'
# ./_obuild/ocplib-unix/_temp/minUnix.mlipp:
# 
# File "./libs/ocplib-unix/minUnix.mli", line 98, characters 0-2:
# Warning 2: this is not the end of a comment.
# File "./libs/ocplib-unix/minUnix.mli", line 98, characters 1-2:
# Error: Syntax error
# 
# make: *** [build-ocps] Erreur 2

installation ocp-indent #fail

Hi so i need your help i show this error when i want install ocp-indent
i want to schear but i find any answer

### stderr ###
# RULE 138 (state active)
# [...]
# 		SOURCE ./_obuild/ocp-pp/ocpp.cmi(not available)
# 		SOURCE ./_obuild/ocp-pp/ocpp.cmx(not available)
# 		SOURCE ./_obuild/ocp-pp/ocpp.o(not available)
# 		SOURCE ./_obuild/ocp-pp/main.cmi(not available)
# 		SOURCE ./_obuild/ocp-pp/main.cmx(not available)
# 		SOURCE ./_obuild/ocp-pp/main.o(not available)
# 	/usr/bin/ocamlopt.opt -o ./_obuild/ocp-pp/ocp-pp.asm -I ./_obuild/ocp-pp -I ./tools/ocp-pp -I /usr/lib/ocaml/compiler-libs /usr/lib/ocaml/compiler-libs/ocamlcommon.cmxa ./_obuild/ocp-pp/ocpp_version.cmx ./_obuild/ocp-pp/versioning.cmx ./_obuild/ocp-pp/ocpp_parser.cmx ./_obuild/ocp-pp/ocpp_types.cmx ./_obuild/ocp-pp/ocpp.cmx ./_obuild/ocp-pp/main.cmx
# 		TARGET ./_obuild/ocp-pp/ocp-pp.asm
# make: *** [Makefile:195: build-ocps] Error 2

How far along is ocp-build?

I'm looking for an easy to use, cross-platform build tool.

  1. How far along is ocp-build?
  2. Is there any way to avoid specifying every file?
  3. Why is the manual so incomplete?

ocp-build isn't detected when it is installed

ocp-build is not detected as I try to install ocp-indent.
Error report: (I tried with camlp4 installed, only related warnings disappeared, the same issue arose)

me@MY-PC ~
$ opam config list

<><> Global opam variables ><><><><><><><><><><><><><><><><><><><><><><><><><><>
arch              x86_32                # Inferred from system
jobs              1                     # The number of parallel jobs set up in opam configuration
make              make                  # The 'make' command to use
opam-version      2.0.0                 # The currently running opam version
os                cygwin                # Inferred from system
os-distribution   cygwin                # Inferred from system
os-family         windows               # Inferred from system
os-version        unknown               # Inferred from system
root              /home/me/.opam # The current opam root directory
switch            4.07.0                # The identifier of the current switch
sys-ocaml-version 4.07.0                # OCaml version present on your system independently of opam, if any

<><> Configuration variables from the current switch ><><><><><><><><><><><><><>
prefix   /home/me/.opam/4.07.0
lib      /home/me/.opam/4.07.0/lib
bin      /home/me/.opam/4.07.0/bin
sbin     /home/me/.opam/4.07.0/sbin
share    /home/me/.opam/4.07.0/share
doc      /home/me/.opam/4.07.0/doc
etc      /home/me/.opam/4.07.0/etc
man      /home/me/.opam/4.07.0/man
toplevel /home/me/.opam/4.07.0/lib/toplevel
stublibs /home/me/.opam/4.07.0/lib/stublibs
user     me
group    My Group

<><> Package variables ('opam config list PKG' to show) <><><><><><><><><><><><>
PKG:name       # Name of the package
PKG:version    # Version of the package
PKG:depends    # Resolved direct dependencies of the package
PKG:installed  # Whether the package is installed
PKG:enable     # Takes the value "enable" or "disable" depending on whether the package is installed
PKG:pinned     # Whether the package is pinned
PKG:bin        # Binary directory for this package
PKG:sbin       # System binary directory for this package
PKG:lib        # Library directory for this package
PKG:man        # Man directory for this package
PKG:doc        # Doc directory for this package
PKG:share      # Share directory for this package
PKG:etc        # Etc directory for this package
PKG:build      # Directory where the package was built
PKG:hash       # Hash of the package archive
PKG:dev        # True if this is a development package
PKG:build-id   # A hash identifying the precise package version with all its dependencies

me@MY-PC ~
$ opam remove ocp-build ocp-indent
[NOTE] ocp-indent is not installed.

The following actions will be performed:
  โŠ˜ remove ocp-build 1.99.19-beta

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ocp-build.1.99.19-beta] found in cache

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
โŠ˜ removed   ocp-build.1.99.19-beta
Done.

me@MY-PC ~
$ opam install ocp-indent -v
The following actions will be performed:
  โˆ— install ocp-build  1.99.20-beta [required by ocp-indent]
  โˆ— install ocp-indent 1.6.1
===== โˆ— 2 =====
Do you want to continue? [Y/n]

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ocp-build.1.99.20-beta] found in cache
[ocp-indent.1.6.1] found in cache

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+ /home/me/.opam/4.07.0/.opam-switch/build/ocp-build.1.99.20-beta/./configure "--prefix" "/home/me/.opam/4.07.0" (CWD=/home/me/.opam/4.07.0/.opam-switch/build/o   cp-build.1.99.20-beta)
- checking for gcc... gcc
- checking whether the C compiler works...
- yes
- checking for C compiler default output file name... a.exe
- checking for suffix of executables...
- .exe
- checking whether we are cross compiling...
- no
- checking for suffix of object files...
- o
- checking whether we are using the GNU C compiler... yes
- checking whether gcc accepts -g...
- yes
- checking for gcc option to accept ISO C89... none needed
- checking for ocamlc... ocamlc
- OCaml version is 4.07.0
- OCaml library path is /home/me/.opam/4.07.0/lib/ocaml
- checking for ocamlopt... ocamlopt
- checking for ocamlc.opt... ocamlc.opt
- checking for ocamlopt.opt... ocamlopt.opt
- checking for ocaml... ocaml
- checking for ocamldep... ocamldep
- checking for ocamldep.opt... ocamldep.opt
- checking for ocamlmktop... ocamlmktop
- checking for ocamlmklib... ocamlmklib
- checking for ocamldoc... ocamldoc
- checking for ocamlbuild... ocamlbuild
- checking for a sed that does not truncate output...
- /usr/bin/sed
- checking Major version... 4
- checking Minor version... 07
- checking Point version... 0
- checking for gawk... gawk
- checking for ocamlfind... ocamlfind
- initializing metadir from ocamlfind config
- checking for ocamllex... ocamllex
- checking for ocamllex.opt... ocamllex.opt
- checking for ocamlyacc... ocamlyacc
- checking for OCaml findlib package cmdliner...
- v1.0.2
- configure: creating ./config.status
- config.status: creating Makefile.config
- config.status: creating config.ocpgen
- config.status: creating config.ocp2gen
- config.status: creating ocaml-config.h
-
- Summary for ocp-build.1.99.20-beta:
- prefix=/home/me/.opam/4.07.0
- exec_prefix=${prefix}
- bindir=${exec_prefix}/bin
-    (Executables will be installed there)
- libdir=${exec_prefix}/lib
- ocamldir=${libdir}/ocaml
-    (OCaml files will be installed there)
- metadir=/home/me/.opam/4.07.0/lib
-    (META files will be installed there)
- datarootdir=${prefix}/share
- mandir=${datarootdir}/man
-    (Manual pages will be installed there)
+ /usr/bin/make  (CWD=/home/me/.opam/4.07.0/.opam-switch/build/ocp-build.1.99.20-beta)
- /usr/bin/make create-booter
- make[1]ย : on entre dans le rรฉpertoire ยซย /home/me/.opam/4.07.0/.opam-switch/build/ocp-build.1.99.20-betaย ยป
- [...]
- make[1]ย : on quitte le rรฉpertoire ยซย /home/me/.opam/4.07.0/.opam-switch/build/ocp-build.1.99.20-betaย ยป
- boot/ocp-build.asm init
- Warning: file "/home/me/.opam/4.07.0/.opam-switch/build/ocp-build.1.99.20-beta/_obuild/ocp-build.root" does not exist. Creating with default values.
- boot/ocp-build.asm
- Compiler: ocaml 4.07.0
- ----- 25 project warnings -----
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "camlp4lib".
-     (from "/home/me/.opam/4.07.0/.opam-switch/build/ocp-build.1.99.20-beta/boot/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "Camlp4Bin".
-     (from "/home/me/.opam/4.07.0/.opam-switch/build/ocp-build.1.99.20-beta/boot/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "Camlp4OCamlRevisedParser".
-     (from "/home/me/.opam/4.07.0/.opam-switch/build/ocp-build.1.99.20-beta/boot/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "camlp4-pa-r".
-     (from "/home/me/.opam/4.07.0/.opam-switch/build/ocp-build.1.99.20-beta/boot/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "Camlp4OCamlRevisedParserParser".
-     (from "/home/me/.opam/4.07.0/.opam-switch/build/ocp-build.1.99.20-beta/boot/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "camlp4-pa-rp".
-     (from "/home/me/.opam/4.07.0/.opam-switch/build/ocp-build.1.99.20-beta/boot/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "Camlp4OCamlParser".
-     (from "/home/me/.opam/4.07.0/.opam-switch/build/ocp-build.1.99.20-beta/boot/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "camlp4-pa-o".
-     (from "/home/me/.opam/4.07.0/.opam-switch/build/ocp-build.1.99.20-beta/boot/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "Camlp4OCamlParserParser".
-     (from "/home/me/.opam/4.07.0/.opam-switch/build/ocp-build.1.99.20-beta/boot/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "camlp4-pa-op".
-     (from "/home/me/.opam/4.07.0/.opam-switch/build/ocp-build.1.99.20-beta/boot/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "Camlp4QuotationCommon".
-     (from "/home/me/.opam/4.07.0/.opam-switch/build/ocp-build.1.99.20-beta/boot/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "Camlp4OCamlRevisedQuotationExpander".
-     (from "/home/me/.opam/4.07.0/.opam-switch/build/ocp-build.1.99.20-beta/boot/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "Camlp4GrammarParser".
-     (from "/home/me/.opam/4.07.0/.opam-switch/build/ocp-build.1.99.20-beta/boot/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "Camlp4AutoPrinter".
-     (from "/home/me/.opam/4.07.0/.opam-switch/build/ocp-build.1.99.20-beta/boot/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "camlp4-pr-p".
-     (from "/home/me/.opam/4.07.0/.opam-switch/build/ocp-build.1.99.20-beta/boot/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "pa_macro".
-     (from "/home/me/.opam/4.07.0/.opam-switch/build/ocp-build.1.99.20-beta/boot/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "camlp4o".
-     (from "/home/me/.opam/4.07.0/.opam-switch/build/ocp-build.1.99.20-beta/boot/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "camlp4fulllib".
-     (from "/home/me/.opam/4.07.0/.opam-switch/build/ocp-build.1.99.20-beta/boot/camlp4.ocp")
- Warning: missing package "ocp-build-ocaml":
-   Disabling package "ocp-build-infer-env".
-     (from "/home/me/.opam/4.07.0/.opam-switch/build/ocp-build.1.99.20-beta/tools/ocp-build/build.ocp2")
- Warning: in package ocplib-compat, pp_requires dependency "ocp-pp" not declared
- Warning: in package ocplib-compat, pp_requires dependency "ocp-pp" not declared
- Warning: in package ocplib-unix, pp_requires dependency "ocp-pp" not declared
- Warning: in package ocplib-unix, pp_requires dependency "ocp-pp" not declared
- Warning: in package ocplib-unix, pp_requires dependency "ocp-pp" not declared
- Warning: in package ocplib-unix, pp_requires dependency "ocp-pp" not declared
- 0.28s _obuild/ocplib-hashtbl/fastHashtbl.mlimods                                                                                                                            [ done    ]
- [...]
- 9.74s _obuild/ocp-build/ocp-build.asm.exe                                                                                                                                   [ done ]
- Build Successful in 1557.50s. 725 jobs (parallelism 2.9x), 1045 files generated.
- Libraries will be installed in /home/me/.opam/4.07.0/lib/ocaml
- META files will be installed in /home/me/.opam/4.07.0/lib
ฮป compiled  ocp-build.1.99.20-beta
+ /usr/bin/make "install" (CWD=/home/me/.opam/4.07.0/.opam-switch/build/ocp-build.1.99.20-beta)
- mkdir -p /home/me/.opam/4.07.0/lib/ocaml/ocp-build
- cp -f boot/camlp4.ocp boot/ocaml.ocp /home/me/.opam/4.07.0/lib/ocaml/ocp-build
- mkdir -p /home/me/.opam/4.07.0/lib/ocaml/site-ocp2/ocp-build
- cp -f tools/ocp-build/lang-ocp2/site-ocp2/ocp-build/*.ocp2 /home/me/.opam/4.07.0/lib/ocaml/site-ocp2/ocp-build
- echo "generated = true" > /home/me/.opam/4.07.0/lib/ocaml/installed.ocp
- ./_obuild/ocp-build/ocp-build.asm install --install-lib /home/me/.opam/4.07.0/lib/ocaml --install-meta /home/me/.opam/4.07.0/lib --install-bin /home/me/.opam/4.07.0/bin ocp-build
- Compiler: ocaml 4.07.0
- ----- 36 env warnings -----
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "camlp4lib".
-     (from "/home/me/.opam/4.07.0/lib/ocaml/ocp-build/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "Camlp4Bin".
-     (from "/home/me/.opam/4.07.0/lib/ocaml/ocp-build/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "Camlp4OCamlRevisedParser".
-     (from "/home/me/.opam/4.07.0/lib/ocaml/ocp-build/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "camlp4-pa-r".
-     (from "/home/me/.opam/4.07.0/lib/ocaml/ocp-build/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "Camlp4OCamlRevisedParserParser".
-     (from "/home/me/.opam/4.07.0/lib/ocaml/ocp-build/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "camlp4-pa-rp".
-     (from "/home/me/.opam/4.07.0/lib/ocaml/ocp-build/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "Camlp4OCamlParser".
-     (from "/home/me/.opam/4.07.0/lib/ocaml/ocp-build/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "camlp4-pa-o".
-     (from "/home/me/.opam/4.07.0/lib/ocaml/ocp-build/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "Camlp4OCamlParserParser".
-     (from "/home/me/.opam/4.07.0/lib/ocaml/ocp-build/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "camlp4-pa-op".
-     (from "/home/me/.opam/4.07.0/lib/ocaml/ocp-build/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "Camlp4QuotationCommon".
-     (from "/home/me/.opam/4.07.0/lib/ocaml/ocp-build/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "Camlp4OCamlRevisedQuotationExpander".
-     (from "/home/me/.opam/4.07.0/lib/ocaml/ocp-build/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "Camlp4GrammarParser".
-     (from "/home/me/.opam/4.07.0/lib/ocaml/ocp-build/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "Camlp4AutoPrinter".
-     (from "/home/me/.opam/4.07.0/lib/ocaml/ocp-build/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "camlp4-pr-p".
-     (from "/home/me/.opam/4.07.0/lib/ocaml/ocp-build/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "pa_macro".
-     (from "/home/me/.opam/4.07.0/lib/ocaml/ocp-build/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "camlp4o".
-     (from "/home/me/.opam/4.07.0/lib/ocaml/ocp-build/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "camlp4fulllib".
-     (from "/home/me/.opam/4.07.0/lib/ocaml/ocp-build/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "camlp4lib".
-     (from "/home/me/.opam/4.07.0/lib/ocaml/ocp-build/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "Camlp4Bin".
-     (from "/home/me/.opam/4.07.0/lib/ocaml/ocp-build/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "Camlp4OCamlRevisedParser".
-     (from "/home/me/.opam/4.07.0/lib/ocaml/ocp-build/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "camlp4-pa-r".
-     (from "/home/me/.opam/4.07.0/lib/ocaml/ocp-build/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "Camlp4OCamlRevisedParserParser".
-     (from "/home/me/.opam/4.07.0/lib/ocaml/ocp-build/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "camlp4-pa-rp".
-     (from "/home/me/.opam/4.07.0/lib/ocaml/ocp-build/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "Camlp4OCamlParser".
-     (from "/home/me/.opam/4.07.0/lib/ocaml/ocp-build/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "camlp4-pa-o".
-     (from "/home/me/.opam/4.07.0/lib/ocaml/ocp-build/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "Camlp4OCamlParserParser".
-     (from "/home/me/.opam/4.07.0/lib/ocaml/ocp-build/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "camlp4-pa-op".
-     (from "/home/me/.opam/4.07.0/lib/ocaml/ocp-build/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "Camlp4QuotationCommon".
-     (from "/home/me/.opam/4.07.0/lib/ocaml/ocp-build/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "Camlp4OCamlRevisedQuotationExpander".
-     (from "/home/me/.opam/4.07.0/lib/ocaml/ocp-build/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "Camlp4GrammarParser".
-     (from "/home/me/.opam/4.07.0/lib/ocaml/ocp-build/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "Camlp4AutoPrinter".
-     (from "/home/me/.opam/4.07.0/lib/ocaml/ocp-build/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "camlp4-pr-p".
-     (from "/home/me/.opam/4.07.0/lib/ocaml/ocp-build/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "pa_macro".
-     (from "/home/me/.opam/4.07.0/lib/ocaml/ocp-build/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "camlp4o".
-     (from "/home/me/.opam/4.07.0/lib/ocaml/ocp-build/camlp4.ocp")
- Warning: inexistent package directory:
-   "/home/me/.opam/4.07.0/lib/ocaml/camlp4"
-   Disabling package "camlp4fulllib".
-     (from "/home/me/.opam/4.07.0/lib/ocaml/ocp-build/camlp4.ocp")
- Warning: 25 old project warnings were not printed (add --project-warnings)
- Build Successful in 20.19s. 0 jobs (parallelism 0.0x), 0 files generated.
- Installing "ocp-build" in "/home/me/.opam/4.07.0/lib/ocaml/ocp-build"
-       files:  ocp-build.byte.exe ocp-build.asm ocaml.ocp camlp4.ocp
- Generated META file /home/me/.opam/4.07.0/lib/META.ocp-build
- ./_obuild/ocp-build/ocp-build.asm install --install-lib /home/me/.opam/4.07.0/lib/ocaml --install-meta /home/me/.opam/4.07.0/lib --install-bin /home/me/.opam/4.07.0/bin  ocplib-debug  ocplib-lang  ocplib-unix  ocplib-file  ocplib-system  ocplib-config  ocplib-compat ezcmd ocplib-file-compat
- Compiler: ocaml 4.07.0
- Warning: 36 old env warnings were not printed (add --env-warnings)
- Warning: 25 old project warnings were not printed (add --project-warnings)
- Build Successful in 5.99s. 0 jobs (parallelism 0.0x), 0 files generated.
- Installing "ocplib-debug" in "/home/me/.opam/4.07.0/lib/ocaml/ocplib-debug"
-       files:  ocplib-debug.cma ocplib-debug.cmxa ocplib-debug.a ocplib-debug.cmxs
-  ocpDebug.cmi ocpDebug.cmx ocpDebug.cmi
- Generated META file /home/me/.opam/4.07.0/lib/META.ocplib-debug
- [...]
- make[1]ย : on quitte le rรฉpertoire ยซย /home/me/.opam/4.07.0/.opam-switch/build/ocp-build.1.99.20-betaย ยป
โˆ— installed ocp-build.1.99.20-beta
+ /home/me/.opam/4.07.0/.opam-switch/build/ocp-indent.1.6.1/./configure "--prefix" "/home/me/.opam/4.07.0" (CWD=/home/me/.opam/4.07.0/.opam-switch/build/ocp-indent.1.6.1)
- checking for gcc... gcc
- checking whether the C compiler works...
- yes
- checking for C compiler default output file name... a.exe
- checking for suffix of executables...
- .exe
- checking whether we are cross compiling...
- no
- checking for suffix of object files... o
- checking whether we are using the GNU C compiler...
- yes
- checking whether gcc accepts -g...
- yes
- checking for gcc option to accept ISO C89...
- none needed
- checking for ocamlc... ocamlc
- OCaml version is 4.07.0
- OCaml library path is /home/me/.opam/4.07.0/lib/ocaml
- checking for ocamlopt... ocamlopt
- checking for ocamlc.opt... ocamlc.opt
- checking for ocamlopt.opt... ocamlopt.opt
- checking for ocaml... ocaml
- checking for ocamldep... ocamldep
- checking for ocamlmktop... ocamlmktop
- checking for ocamlmklib... ocamlmklib
- checking for ocamldoc... ocamldoc
- checking for ocamlbuild... ocamlbuild
- configure: creating ./config.status
- config.status: creating Makefile.config
- config.status: creating version.ocp
-
- Executables will be installed in /home/me/.opam/4.07.0/bin
+ /usr/bin/make  (CWD=/home/me/.opam/4.07.0/.opam-switch/build/ocp-indent.1.6.1)
- Error: you need ocp-build >= 1.99.
- make: *** [Makefile:92: ocp-build.root] Error 1
[ERROR] The compilation of ocp-indent failed at "/usr/bin/make".

#=== ERROR while compiling ocp-indent.1.6.1 ===================================#
# context     2.0.0 | cygwin/x86_32 | ocaml-base-compiler.4.07.0 | https://opam.ocaml.org/2.0#6e5809bc
# path        ~/.opam/4.07.0/.opam-switch/build/ocp-indent.1.6.1
# command     /usr/bin/make
# exit-code   2
# env-file    ~/.opam/log/ocp-indent-4204-d0f245.env
# output-file ~/.opam/log/ocp-indent-4204-d0f245.out
### output ###
# Error: you need ocp-build >= 1.99.
# make: *** [Makefile:92: ocp-build.root] Error 1



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
โ”Œโ”€ The following actions failed
โ”‚ ฮป build ocp-indent 1.6.1
โ””โ”€
โ”Œโ”€ The following changes have been performed
โ”‚ โˆ— install ocp-build 1.99.20-beta
โ””โ”€

The former state can be restored with:
    opam switch import "/home/me/.opam/4.07.0/.opam-switch/backup/state-20180812153752.export"
Or you can retry to install your package selection with:
    opam install --restore
'opam install ocp-indent -v' failed.

ocp-pp 's output is messed up by ocamldoc comments in 4.03

As a test example:

(**************************************************************************)
(*                                                                        *)
(*  Copyright 2013 OCamlPro                                               *)
(*                                                                        *)
(*  All rights reserved.  This file is distributed under the terms of     *)
(*  the Lesser GNU Public License version 3.0.                            *)
(*                                                                        *)
(*  This software is distributed in the hope that it will be useful,      *)
(*  but WITHOUT ANY WARRANTY; without even the implied warranty of        *)
(*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *)
(*  Lesser GNU General Public License for more details.                   *)
(*                                                                        *)
(**************************************************************************)


(** This module contains the output function for the [info] type bound to nodes
    in the trie, either through [Format] or directly to strings using [Print] *)

open IndexTypes

module Format: sig
  type coloriser =
    { f: 'a. kind ->
        ('a, Format.formatter, unit) format -> Format.formatter
        -> 'a }

  val color: coloriser
  val no_color: coloriser

  (** short name of the identifier *)
  val name: ?colorise:coloriser -> Format.formatter -> info -> unit

  (** fully qualified name (with [short], returns the path the ident was found
      at, not the path where it was originally created) *)
  val path: ?short:bool -> ?colorise:coloriser -> Format.formatter -> info -> unit

  val kind: ?colorise:coloriser -> Format.formatter -> info -> unit

  val ty: ?colorise:coloriser -> Format.formatter -> info -> unit

  val doc:
    ?escaped:bool ->
    ?colorise:coloriser -> Format.formatter -> info -> unit

  val loc:
    ?root:string -> ?intf:bool ->
    ?colorise:coloriser -> Format.formatter -> info -> unit

  val file: ?colorise:coloriser -> Format.formatter -> info -> unit

  (** summary of the information *)
  val info: ?colorise:coloriser -> Format.formatter -> info -> unit

  (** print following a custom format string (%n,%p,%k,%t,%d,%l,%s,%f,%i are
      interpreted). If [~separate] is set to [true], escapes are formatted
      independently. *)
  val format:
    ?root:string -> ?separate:bool -> string -> ?colorise:coloriser ->
    Format.formatter -> info -> unit

end

module Print: sig
  val disable_split_lines: unit -> unit
  val name: ?color:bool -> info -> string
  val path: ?short:bool -> ?color:bool -> info -> string
  val kind: ?color:bool -> info -> string
  val ty: ?color:bool -> info -> string
  val doc: ?escaped:bool -> ?color:bool -> info -> string
  val loc: ?root:string -> ?intf:bool -> ?color:bool -> info -> string
  val file: ?color:bool -> info -> string
  val info: ?color:bool -> info -> string
  val format: ?root:string -> ?separate:bool -> string -> ?color:bool -> info -> string
end

Uncaught exception with 1.99.17-beta

When running ocp-build in a sub-directory, rather than in the same directory that _obuild.

ocp-build: Fatal Exception Sys_error("_obuild/env_warnings.data: No such file or directory")
Raised by primitive operation at file "pervasives.ml", line 298, characters 29-55
Called from file "tools/ocp-build/buildActionsWarnings.ml", line 151, characters 17-47
Called from file "tools/ocp-build/buildActionInit.ml", line 499, characters 2-43
Called from file "tools/ocp-build/buildActionBuild.ml", line 280, characters 38-65
Called from file "tools/ocp-build/buildActionBuild.ml", line 339, characters 42-53
Called from file "tools/ocp-build/buildMain.ml", line 127, characters 4-19

Fatal error: exception Sys_error("_obuild/env_warnings.data: No such file or directory")
Raised by primitive operation at file "pervasives.ml", line 298, characters 29-55
Called from file "tools/ocp-build/buildActionsWarnings.ml", line 151, characters 17-47
Called from file "tools/ocp-build/buildActionInit.ml", line 499, characters 2-43
Called from file "tools/ocp-build/buildActionBuild.ml", line 280, characters 38-65
Called from file "tools/ocp-build/buildActionBuild.ml", line 339, characters 42-53
Called from file "tools/ocp-build/buildMain.ml", line 127, characters 4-19
Re-raised at file "tools/ocp-build/buildMain.ml", line 147, characters 10-11

4.03.0

Can we have a fix for current trunk ? I would like to use ocp-indent and ocp-browser.

cc @lefessan @AltGr

1.99.19-beta

Some linker problem when installing ocp-build trough opam. Same problem with 1.99.18-beta.
Why does it fiddle with nodejs?

Processing  1/1: [ocp-build: sh]
#=== ERROR while installing ocp-build.1.99.19-beta ============================#
# opam-version 1.2.2
# os           linux
# command      make
# path         /home/mzr/.opam/system/build/ocp-build.1.99.19-beta
# compiler     system (4.02.3)
# exit-code    2
# env-file     /home/mzr/.opam/system/build/ocp-build.1.99.19-beta/ocp-build-19564-e7966f.env
# stdout-file  /home/mzr/.opam/system/build/ocp-build.1.99.19-beta/ocp-build-19564-e7966f.out
# stderr-file  /home/mzr/.opam/system/build/ocp-build.1.99.19-beta/ocp-build-19564-e7966f.err
### stdout ###
# [...]
# ocamlc.opt -c  -I libs/ocplib-stdlib  -I libs/ocplib-debug  -I libs/ocplib-lang  -I libs/ocplib-maxunix  -I libs/ocplib-file  -I libs/ocplib-system  -I libs/ocplib-config  -I libs/ocplib-compat/string-compat  -I  tools/ocp-build -I tools/ocp-build/lang-ocp -I tools/ocp-build/lang-ocp2 -I tools/ocp-build/engine -I tools/ocp-build/actions -I tools/ocp-build/ocaml libs/ocplib-unix/minUnix_c.c
# mv `basename libs/ocplib-unix/minUnix_c.o` libs/ocplib-unix/minUnix_c.o
# ocamlc.opt -c  -I libs/ocplib-stdlib  -I libs/ocplib-debug  -I libs/ocplib-lang  -I libs/ocplib-maxunix  -I libs/ocplib-file  -I libs/ocplib-system  -I libs/ocplib-config  -I libs/ocplib-compat/string-compat  -I  tools/ocp-build -I tools/ocp-build/lang-ocp -I tools/ocp-build/lang-ocp2 -I tools/ocp-build/engine -I tools/ocp-build/actions -I tools/ocp-build/ocaml libs/ocplib-unix/onlyWin32_c.c
# mv `basename libs/ocplib-unix/onlyWin32_c.o` libs/ocplib-unix/onlyWin32_c.o
# ocamlc.opt -c  -I libs/ocplib-stdlib  -I libs/ocplib-debug  -I libs/ocplib-lang  -I libs/ocplib-maxunix  -I libs/ocplib-file  -I libs/ocplib-system  -I libs/ocplib-config  -I libs/ocplib-compat/string-compat  -I  tools/ocp-build -I tools/ocp-build/lang-ocp -I tools/ocp-build/lang-ocp2 -I tools/ocp-build/engine -I tools/ocp-build/actions -I tools/ocp-build/ocaml libs/ocplib-unix/onlyUnix_c.c
# mv `basename libs/ocplib-unix/onlyUnix_c.o` libs/ocplib-unix/onlyUnix_c.o
# ocamlopt.opt -o boot/ocp-build.asm unix.cmxa str.cmxa libs/ocplib-compat/string-compat/ocpCompat.cmx libs/ocplib-stdlib/stdlibArg.cmx libs/ocplib-debug/ocpDebug.cmx libs/ocplib-lang/ocpList.cmx libs/ocplib-lang/ocpString.cmx libs/ocplib-lang/ocpArray.cmx libs/ocplib-lang/ocpDigest.cmx libs/ocplib-lang/ocpToposort.cmx libs/ocplib-lang/ocamllexer.cmx libs/ocplib-lang/ocpGenlex.cmx libs/ocplib-lang/ocpSubst.cmx libs/ocplib-lang/ocpReuse.cmx libs/ocplib-maxunix/minUnix.cmx libs/ocplib-maxunix/onlyUnix.cmx libs/ocplib-maxunix/onlyWin32.cmx libs/ocplib-file/fileSig.cmx libs/ocplib-file/fileOS.cmx libs/ocplib-file/fileChannel.cmx libs/ocplib-file/fileString.cmx libs/ocplib-file/fileLines.cmx libs/ocplib-file/fileGen.cmx libs/ocplib-file/fileDir.cmx libs/ocplib-config/simpleConfigTypes.cmx libs/ocplib-config/simpleConfigOCaml.cmx libs/ocplib-config/simpleConfig.cmx tools/ocp-build/logger.cmx tools/ocp-build/buildMisc.cmx tools/ocp-build/buildWarnings.cmx tools/ocp-build/buildMtime.cmx tools/ocp-build/buildScanner.cmx tools/ocp-build/buildSubst.cmx tools/ocp-build/buildFind.cmx tools/ocp-build/buildTerm.cmx tools/ocp-build/versioning.cmx tools/ocp-build/ocamldot.cmx tools/ocp-build/buildValue.cmx tools/ocp-build/buildOCPTypes.cmx tools/ocp-build/lang-ocp/buildOCPTree.cmx tools/ocp-build/lang-ocp/buildOCPParser.cmx tools/ocp-build/lang-ocp/buildOCPParse.cmx tools/ocp-build/lang-ocp/buildOCPPrims.cmx tools/ocp-build/lang-ocp/buildOCPInterp.cmx tools/ocp-build/lang-ocp2/buildOCP2Tree.cmx tools/ocp-build/lang-ocp2/buildOCP2Parser.cmx tools/ocp-build/lang-ocp2/buildOCP2Parse.cmx tools/ocp-build/lang-ocp2/buildOCP2Prims.cmx tools/ocp-build/lang-ocp2/buildOCP2Interp.cmx tools/ocp-build/buildOCPPrinter.cmx tools/ocp-build/buildOCP.cmx tools/ocp-build/engine/buildEngineTypes.cmx tools/ocp-build/engine/buildEngineGlobals.cmx tools/ocp-build/engine/buildEngineRules.cmx tools/ocp-build/engine/buildEngineContext.cmx tools/ocp-build/engine/buildEngineDisplay.cmx tools/ocp-build/engine/buildEngineReport.cmx tools/ocp-build/engine/buildEngine.cmx tools/ocp-build/ocaml/buildObjectInspector.cmx tools/ocp-build/buildVersion.cmx tools/ocp-build/buildTypes.cmx tools/ocp-build/buildOptions.cmx tools/ocp-build/buildGlobals.cmx tools/ocp-build/buildConfig.cmx tools/ocp-build/buildUninstall.cmx tools/ocp-build/ocaml/metaTypes.cmx tools/ocp-build/ocaml/metaLexer.cmx tools/ocp-build/ocaml/metaFile.cmx tools/ocp-build/ocaml/metaParser.cmx tools/ocp-build/ocaml/metaConfig.cmx tools/ocp-build/ocaml/buildOCamlConfig.cmx tools/ocp-build/ocaml/buildOCamlTypes.cmx tools/ocp-build/ocaml/buildOCamlMisc.cmx tools/ocp-build/ocaml/buildOCamlVariables.cmx tools/ocp-build/ocaml/buildOCamlGlobals.cmx tools/ocp-build/ocaml/buildOCamldep.cmx tools/ocp-build/ocaml/buildOCamlSyntaxes.cmx tools/ocp-build/ocaml/buildOCamlInstall.cmx tools/ocp-build/ocaml/buildOCamlDotReport.cmx tools/ocp-build/ocaml/buildOCamlVerifyPackages.cmx tools/ocp-build/ocaml/buildOCamlOCP2.cmx tools/ocp-build/ocaml/buildOCamlRules.cmx tools/ocp-build/ocaml/buildOCamlMeta.cmx tools/ocp-build/ocaml/buildOCamlTest.cmx tools/ocp-build/ocaml/buildOasis.cmx tools/ocp-build/ocaml/buildOCamlPlugin.cmx tools/ocp-build/actions/buildArgs.cmx tools/ocp-build/actions/buildActions.cmx tools/ocp-build/actions/buildActionsWarnings.cmx tools/ocp-build/actions/buildActionInit.cmx tools/ocp-build/actions/buildActionPrefs.cmx tools/ocp-build/actions/buildActionConfigure.cmx tools/ocp-build/actions/buildActionBuild.cmx tools/ocp-build/actions/buildActionInstall.cmx tools/ocp-build/actions/buildActionClean.cmx tools/ocp-build/actions/buildActionTests.cmx tools/ocp-build/actions/buildActionUninstall.cmx tools/ocp-build/actions/buildActionQuery.cmx tools/ocp-build/actions/buildActionHelp.cmx tools/ocp-build/buildMain.cmx libs/ocplib-unix/minUnix_c.o libs/ocplib-unix/onlyWin32_c.o libs/ocplib-unix/onlyUnix_c.o
# Makefile:194: recipe for target 'create-booter' failed
# make[1]: Leaving directory '/home/mzr/.opam/system/build/ocp-build.1.99.19-beta'
# Makefile:190: recipe for target 'boot/ocp-build.asm' failed
### stderr ###
# [...]
# /usr/bin/ld: /home/mzr/.local/install/node-v8.4.0-linux-x64/lib/node_modules/reason-cli/rel/3.x.x____/i/opam_alpha__slash__ocamlfind-1.7.1-2dac617f/lib/ocaml/libasmrun.a(finalise.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
# /usr/bin/ld: /home/mzr/.local/install/node-v8.4.0-linux-x64/lib/node_modules/reason-cli/rel/3.x.x____/i/opam_alpha__slash__ocamlfind-1.7.1-2dac617f/lib/ocaml/libasmrun.a(custom.o): relocation R_X86_64_32S against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
# /usr/bin/ld: /home/mzr/.local/install/node-v8.4.0-linux-x64/lib/node_modules/reason-cli/rel/3.x.x____/i/opam_alpha__slash__ocamlfind-1.7.1-2dac617f/lib/ocaml/libasmrun.a(unix.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
# /usr/bin/ld: /home/mzr/.local/install/node-v8.4.0-linux-x64/lib/node_modules/reason-cli/rel/3.x.x____/i/opam_alpha__slash__ocamlfind-1.7.1-2dac617f/lib/ocaml/libasmrun.a(backtrace.o): relocation R_X86_64_32 against symbol `caml_backtrace_last_exn' can not be used when making a shared object; recompile with -fPIC
# /usr/bin/ld: final link failed: Nonrepresentable section on output
# collect2: error: ld returned 1 exit status
# File "caml_startup", line 1:
# Error: Error during linking
# make[1]: *** [create-booter] Error 2
# make: *** [boot/ocp-build.asm] Error 2



=-=- Error report -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
The following actions failed
  โˆ—  install ocp-build 1.99.19-beta
No changes have been performed

Bug in `ocplib-config` version

The version given in ocplib-config is different from the one in opam:

             package: ocplib-config
             version: 1.99.17-beta
          repository: ocaml
            homepage: http://www.typerex.org/ocp-build.html
         bug-reports: https://github.com/OCamlPro/typerex-build/issues
            dev-repo: https://github.com/OCamlPro/typerex-build.git
              author: Fabrice Le Fessant <[email protected]>
             depends: typerex-build = 1.99.17-beta
   installed-version: 
   available-version: 1.99.17-beta
         description: A simple library to manage configuration files
$ ./configure
[...]
checking for OCaml findlib package ocplib-config... 0.1-alpha
[...]

compile with cygwin64 question on windows 10

I'm trying to use opam to install ocp-build.
Then it throw out the error message as below:

[ocp-build: make install] Command started
[ocp-build: sh] Command started
[ERROR] The installation of ocp-build failed at "sh -exc if [ -f
        'E:\\lingo\\.opam\\system/bin/ocp-build.asm' ]; then mv
        'E:\\lingo\\.opam\\system/bin/ocp-build.asm'
        'E:\\lingo\\.opam\\system/bin/ocp-build.exe' ; fi".
[ocp-build: rm] Command started
...

Do you have any idea? Thx.

Remove camlp4 dependency

The transitive dependency introduced by ocp-build is pretty big since ocp-indent depends on ocp-build and ocp-build needs camlp4 for just one file.

With ocp-indent being used as a de facto indenter, its a little annoying to have to smuggle in camlp4 just for this one simpleConfig.ml4. Is it possible to rewrite simpleConfig.ml4 without the use of camlp4? Is it there just for using Stream?

Would be greatly appreciated.

Recent versions do not uninstall cleanly

I believe 9, 10, and 11 are effected. This is a bit unpleasant to leave debris lying around and also causes issues for downgrading to, e.g., 8. I believe the path .opam/4.01.0/lib/ocaml/typerex should be removed during uninstallation.

$ opam install ocp-build.1.99.8-beta
The following actions will be performed:
  โ†˜  downgrade ocp-build 1.99.11-beta to 1.99.8-beta

=-=- Gathering sources =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=  ๐Ÿซ

=-=- Processing actions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=  ๐Ÿซ
โŠ˜  removed   ocp-build.1.99.11-beta
[ERROR] The compilation of ocp-build failed at "make".
Processing  2/2: [ocp-build: rm]
#=== ERROR while installing ocp-build.1.99.8-beta =============================#
# opam-version 1.2.2
# os           darwin
# command      make
# path         /Users/dsheets/.opam/4.01.0/build/ocp-build.1.99.8-beta
# compiler     4.01.0
# exit-code    2
# env-file     /Users/dsheets/.opam/4.01.0/build/ocp-build.1.99.8-beta/ocp-build-93290-6cc03f.env
# stdout-file  /Users/dsheets/.opam/4.01.0/build/ocp-build.1.99.8-beta/ocp-build-93290-6cc03f.out
# stderr-file  /Users/dsheets/.opam/4.01.0/build/ocp-build.1.99.8-beta/ocp-build-93290-6cc03f.err
### stdout ###
# /Applications/Xcode.app/Contents/Developer/usr/bin/make -C boot
# awk '{ print "external "$1": unit -> unit = \"" $1 "\"" }' primitives > primitives.ml
# ./make-ocpbuild-run.sh
# ocamlc -o ocp-build.run -custom -make-runtime win32_c.c primitives.ml unix.cma -cclib -lunix
# cat ocp-build.run ocp-build.boot > ocp-build
# chmod +x ocp-build
# ./ocp-build -help >/dev/null 2>&1
# ./boot/ocp-build build -no-use-ocamlfind -scan
### stderr ###
# find_project_root
# File "/Users/dsheets/.opam/4.01.0/lib/ocaml/typerex/installed.ocp", line 21, characters 18-18:
# Parse error
# make: *** [all] Error 2



=-=- Error report -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=  ๐Ÿซ
The following actions failed
  โˆ—  install ocp-build 1.99.8-beta
The following changes have been performed
  โŠ˜  remove ocp-build 1.99.11-beta

The former state can be restored with:
    opam switch import "~/.opam/4.01.0/backup/state-20160121220638.export"

ocp-build prints warnings about .odoc files for packed modules

โ•ฐโ”€โžค ocp-build                                                           [22:52]
Compiler: ocaml 4.03.0
Warning: 5 old env warnings were not printed (add --env-warnings)
Warning: dependencies for unknown file "./_obuild/client_alpha/Client_alpha/script_located_ir.odoc"
Warning: dependencies for unknown file "./_obuild/client_alpha/Client_alpha/concrete_parser.odoc"
Warning: dependencies for unknown file "./_obuild/client_alpha/Client_alpha/conc
...

Compilation failure while installing the llvm package

During an upgrade, ocp-build failed to build with the following error.
The failure appeared while the llvm package were installing.

#=== ERROR while installing ocp-build.1.99.20-beta ============================#
# opam-version 1.2.2
# os           linux
# command      make install
# path         /home/jpdeplaix/.opam/4.06.0/build/ocp-build.1.99.20-beta
# compiler     4.06.0
# exit-code    2
# env-file     /home/jpdeplaix/.opam/4.06.0/build/ocp-build.1.99.20-beta/ocp-build-8459-60b4de.env
# stdout-file  /home/jpdeplaix/.opam/4.06.0/build/ocp-build.1.99.20-beta/ocp-build-8459-60b4de.out
# stderr-file  /home/jpdeplaix/.opam/4.06.0/build/ocp-build.1.99.20-beta/ocp-build-8459-60b4de.err
### stdout ###
# [...]
# Package ocplib-file uninstalled
# Package ocplib-system uninstalled
# Package ocplib-config uninstalled
# Package ocplib-compat uninstalled
# if test -f _obuild/ocp-pp/ocp-pp.asm; then make install-ocp-pp; else :; fi
# make[1]: Entering directory '/home/jpdeplaix/.opam/4.06.0/build/ocp-build.1.99.20-beta'
# ./_obuild/ocp-build/ocp-build.asm install --install-lib /home/jpdeplaix/.opam/4.06.0/lib/ocaml --install-meta /home/jpdeplaix/.opam/4.06.0/lib --install-bin /home/jpdeplaix/.opam/4.06.0/bin ocp-pp ocp-autoconf
# Makefile:254: recipe for target 'install-ocp-pp' failed
# make[1]: Leaving directory '/home/jpdeplaix/.opam/4.06.0/build/ocp-build.1.99.20-beta'
# Makefile:235: recipe for target 'install' failed
### stderr ###
# [...]
# Raised by primitive operation at file "./tools/ocp-build/engine/buildEngineContext.ml", line 133, characters 16-37
# Called from file "./tools/ocp-build/engine/buildEngineContext.ml", line 273, characters 30-64
# Called from file "./tools/ocp-build/ocaml/buildOCamlRules.ml", line 2734, characters 21-43
# Called from file "list.ml", line 82, characters 20-23
# Called from file "./tools/ocp-build/ocaml/buildOCamlRules.ml", line 2731, characters 25-1023
# Called from file "./tools/ocp-build/ocaml/buildOCamlRules.ml", line 2773, characters 6-116
# Called from file "src/cmdliner.ml", line 136, characters 18-36
# Called from file "src/cmdliner.ml", line 251, characters 22-48
# make[1]: *** [install-ocp-pp] Error 2
# make: *** [install] Error 2

The error log:

Compiler: ocaml 4.06.0
Warning: 17 old env warnings were not printed (add --env-warnings)
Warning: 7 old project warnings were not printed (add --project-warnings)
Build Successful in 0.31s. 0 jobs (parallelism 0.0x), 0 files generated.
Installing "ocp-build" in "/home/jpdeplaix/.opam/4.06.0/lib/ocaml/ocp-build"
	files:  ocp-build.byte ocp-build ocaml.ocp camlp4.ocp
Generated META file /home/jpdeplaix/.opam/4.06.0/lib/META.ocp-build
Compiler: ocaml 4.06.0
Warning: 17 old env warnings were not printed (add --env-warnings)
Warning: 7 old project warnings were not printed (add --project-warnings)
Build Successful in 0.25s. 0 jobs (parallelism 0.0x), 0 files generated.
Installing "ocplib-debug" in "/home/jpdeplaix/.opam/4.06.0/lib/ocaml/ocplib-debug"
	files:  ocplib-debug.cma ocplib-debug.cmxa ocplib-debug.a ocplib-debug.cmxs ocpDebug.cmi ocpDebug.cmx ocpDebug.cmi
Generated META file /home/jpdeplaix/.opam/4.06.0/lib/META.ocplib-debug
Installing "ocplib-lang" in "/home/jpdeplaix/.opam/4.06.0/lib/ocaml/ocplib-lang"
	files:  ocplib-lang.cma ocplib-lang.cmxa ocplib-lang.a ocplib-lang.cmxs ocpPervasives.cmi ocpList.cmi ocpString.cmi ocpStream.cmi ocpGenlex.cmi ocpHashtbl.cmi ocpDigest.cmi ocpArray.cmi ocpOption.cmi ocpManpage.cmi ocpToposort.cmi ocamllexer.cmi ocpSubst.cmi ocpReuse.cmi ocpPervasives.cmx ocpList.cmx ocpString.cmx ocpStream.cmx ocpGenlex.cmx ocpHashtbl.cmx ocpDigest.cmx ocpArray.cmx ocpOption.cmx ocpManpage.cmx ocpToposort.cmx ocamllexer.cmx ocpSubst.cmx ocpReuse.cmx ocpPervasives.cmi ocpList.cmi ocpString.cmi ocpStream.cmi ocpGenlex.cmi ocpHashtbl.cmi ocpDigest.cmi ocpArray.cmi ocpOption.cmi ocpManpage.cmi ocpToposort.cmi ocamllexer.cmi ocpSubst.cmi ocpReuse.cmi
Generated META file /home/jpdeplaix/.opam/4.06.0/lib/META.ocplib-lang
Installing "ocplib-unix" in "/home/jpdeplaix/.opam/4.06.0/lib/ocaml/ocplib-unix"
	files:  ocplib-unix.cma ocplib-unix.cmxa ocplib-unix.a ocplib-unix.cmxs minUnix.cmi onlyUnix.cmi onlyWin32.cmi minUnix.cmx onlyUnix.cmx onlyWin32.cmx minUnix.cmi onlyUnix.cmi onlyWin32.cmi libmlocplib-unix.a
Generated META file /home/jpdeplaix/.opam/4.06.0/lib/META.ocplib-unix
Installing "ocplib-file" in "/home/jpdeplaix/.opam/4.06.0/lib/ocaml/ocplib-file"
	files:  ocplib-file.cma ocplib-file.cmxa ocplib-file.a ocplib-file.cmxs fileSig.cmi fileOS.cmi fileChannel.cmi fileString.cmi fileLabels.cmi fileLines.cmi fileGen.cmi fileDir.cmi filePath.cmi fileSig.cmx fileOS.cmx fileChannel.cmx fileString.cmx fileLabels.cmx fileLines.cmx fileGen.cmx fileDir.cmx filePath.cmx fileSig.cmi fileOS.cmi fileChannel.cmi fileString.cmi fileLabels.cmi fileLines.cmi fileGen.cmi fileDir.cmi filePath.cmi
Generated META file /home/jpdeplaix/.opam/4.06.0/lib/META.ocplib-file
Installing "ocplib-system" in "/home/jpdeplaix/.opam/4.06.0/lib/ocaml/ocplib-system"
	files:  ocplib-system.cma ocplib-system.cmxa ocplib-system.a ocplib-system.cmxs ocpDate.cmi ocpUnix.cmi ocpFilename.cmi ocpDate.cmx ocpUnix.cmx ocpFilename.cmx ocpDate.cmi ocpUnix.cmi ocpFilename.cmi
Generated META file /home/jpdeplaix/.opam/4.06.0/lib/META.ocplib-system
Installing "ocplib-config" in "/home/jpdeplaix/.opam/4.06.0/lib/ocaml/ocplib-config"
	files:  ocplib-config.cma ocplib-config.cmxa ocplib-config.a ocplib-config.cmxs pythonConfig.cmi simpleConfigTypes.cmi simpleConfigOCaml.cmi simpleConfig.cmi pythonConfig.cmx simpleConfigTypes.cmx simpleConfigOCaml.cmx simpleConfig.cmx pythonConfig.cmi simpleConfigTypes.cmi simpleConfigOCaml.cmi simpleConfig.cmi
Generated META file /home/jpdeplaix/.opam/4.06.0/lib/META.ocplib-config
Installing "ocplib-compat" in "/home/jpdeplaix/.opam/4.06.0/lib/ocaml/ocplib-compat"
	files:  ocplib-compat.cma ocplib-compat.cmxa ocplib-compat.a ocplib-compat.cmxs ocpCompat.cmi stringCompat.cmi ocpCompat.cmx stringCompat.cmx ocpCompat.cmi stringCompat.cmi
Generated META file /home/jpdeplaix/.opam/4.06.0/lib/META.ocplib-compat
Installing "ezcmd" in "/home/jpdeplaix/.opam/4.06.0/lib/ocaml/ezcmd"
	files:  ezcmd.cma ezcmd.cmxa ezcmd.a ezcmd.cmxs ezcmd.cmi ezcmd.cmx ezcmd.cmi
Generated META file /home/jpdeplaix/.opam/4.06.0/lib/META.ezcmd
Installing "ocplib-file-compat" in "/home/jpdeplaix/.opam/4.06.0/lib/ocaml/ocplib-file-compat"
	files:  ocplib-file-compat.cma ocplib-file-compat.cmxa ocplib-file-compat.a ocplib-file-compat.cmxs file.cmi file.cmx file.cmi
Generated META file /home/jpdeplaix/.opam/4.06.0/lib/META.ocplib-file-compat
Compiler: ocaml 4.06.0
----- 30 env warnings -----
Warning: inexistent package directory:
  "/home/jpdeplaix/.opam/4.06.0/lib/llvm/llvm"
  Disabling package "llvm.all_backends".
    (from "/home/jpdeplaix/.opam/4.06.0/lib/META.llvm")
Warning: inexistent package directory:
  "/home/jpdeplaix/.opam/4.06.0/lib/llvm/llvm"
  Disabling package "llvm.linker".
    (from "/home/jpdeplaix/.opam/4.06.0/lib/META.llvm")
Warning: inexistent package directory:
  "/home/jpdeplaix/.opam/4.06.0/lib/llvm/llvm"
  Disabling package "llvm.target".
    (from "/home/jpdeplaix/.opam/4.06.0/lib/META.llvm")
Warning: inexistent package directory:
  "/home/jpdeplaix/.opam/4.06.0/lib/llvm/llvm"
  Disabling package "llvm.passmgr_builder".
    (from "/home/jpdeplaix/.opam/4.06.0/lib/META.llvm")
Warning: inexistent package directory:
  "/home/jpdeplaix/.opam/4.06.0/lib/llvm/llvm"
  Disabling package "llvm.vectorize".
    (from "/home/jpdeplaix/.opam/4.06.0/lib/META.llvm")
Warning: inexistent package directory:
  "/home/jpdeplaix/.opam/4.06.0/lib/llvm/llvm"
  Disabling package "llvm.transform_utils".
    (from "/home/jpdeplaix/.opam/4.06.0/lib/META.llvm")
Warning: inexistent package directory:
  "/home/jpdeplaix/.opam/4.06.0/lib/llvm/llvm"
  Disabling package "llvm.scalar_opts".
    (from "/home/jpdeplaix/.opam/4.06.0/lib/META.llvm")
Warning: inexistent package directory:
  "/home/jpdeplaix/.opam/4.06.0/lib/llvm/llvm"
  Disabling package "llvm.irreader".
    (from "/home/jpdeplaix/.opam/4.06.0/lib/META.llvm")
Warning: inexistent package directory:
  "/home/jpdeplaix/.opam/4.06.0/lib/llvm/llvm"
  Disabling package "llvm.ipo".
    (from "/home/jpdeplaix/.opam/4.06.0/lib/META.llvm")
Warning: inexistent package directory:
  "/home/jpdeplaix/.opam/4.06.0/lib/llvm/llvm"
  Disabling package "llvm.executionengine".
    (from "/home/jpdeplaix/.opam/4.06.0/lib/META.llvm")
Warning: inexistent package directory:
  "/home/jpdeplaix/.opam/4.06.0/lib/llvm/llvm"
  Disabling package "llvm.bitwriter".
    (from "/home/jpdeplaix/.opam/4.06.0/lib/META.llvm")
Warning: inexistent package directory:
  "/home/jpdeplaix/.opam/4.06.0/lib/llvm/llvm"
  Disabling package "llvm.bitreader".
    (from "/home/jpdeplaix/.opam/4.06.0/lib/META.llvm")
Warning: inexistent package directory:
  "/home/jpdeplaix/.opam/4.06.0/lib/llvm/llvm"
  Disabling package "llvm.analysis".
    (from "/home/jpdeplaix/.opam/4.06.0/lib/META.llvm")
Warning: missing package "cstruct-async":
  Disabling package "cstruct.async".
    (from "/home/jpdeplaix/.opam/4.06.0/lib/cstruct/META")
Warning: missing package "cstruct-lwt":
  Disabling package "cstruct.lwt".
    (from "/home/jpdeplaix/.opam/4.06.0/lib/cstruct/META")
Warning: missing package "ppx_cstruct":
  Disabling package "cstruct.ppx".
    (from "/home/jpdeplaix/.opam/4.06.0/lib/cstruct/META")
Warning: missing package "cstruct-unix":
  Disabling package "cstruct.unix".
    (from "/home/jpdeplaix/.opam/4.06.0/lib/cstruct/META")
Warning: missing package "ctypes.foreign.unthreaded":
  Disabling package "ctypes.foreign".
    (from "/home/jpdeplaix/.opam/4.06.0/lib/ctypes/META")
Warning: missing package "io-page-xen":
  Disabling package "io-page.xen".
    (from "/home/jpdeplaix/.opam/4.06.0/lib/io-page/META")
Warning: missing package "ppx_deriving":
  Disabling package "ppx_bin_prot".
    (from "/home/jpdeplaix/.opam/4.06.0/lib/ppx_bin_prot/META")
Warning: missing package "ppx_deriving":
  Disabling package "ppx_compare".
    (from "/home/jpdeplaix/.opam/4.06.0/lib/ppx_compare/META")
Warning: missing package "ppx_deriving":
  Disabling package "ppx_enumerate".
    (from "/home/jpdeplaix/.opam/4.06.0/lib/ppx_enumerate/META")
Warning: missing package "ppx_deriving":
  Disabling package "ppx_fields_conv".
    (from "/home/jpdeplaix/.opam/4.06.0/lib/ppx_fields_conv/META")
Warning: missing package "ppx_deriving":
  Disabling package "ppx_hash".
    (from "/home/jpdeplaix/.opam/4.06.0/lib/ppx_hash/META")
Warning: missing package "ppx_deriving":
  Disabling package "ppx_sexp_conv".
    (from "/home/jpdeplaix/.opam/4.06.0/lib/ppx_sexp_conv/META")
Warning: missing package "ppx_deriving":
  Disabling package "ppx_type_conv".
    (from "/home/jpdeplaix/.opam/4.06.0/lib/ppx_type_conv/META")
Warning: missing package "ppx_type_conv":
  Disabling package "ppx_bin_prot.shape-expander".
    (from "/home/jpdeplaix/.opam/4.06.0/lib/ppx_bin_prot/META")
Warning: missing package "ppx_deriving":
  Disabling package "ppx_typerep_conv".
    (from "/home/jpdeplaix/.opam/4.06.0/lib/ppx_typerep_conv/META")
Warning: missing package "ppx_deriving":
  Disabling package "ppx_variants_conv".
    (from "/home/jpdeplaix/.opam/4.06.0/lib/ppx_variants_conv/META")
Warning: missing package "ppx_test":
  Disabling package "spotlib".
    (from "/home/jpdeplaix/.opam/4.06.0/lib/spotlib/META")
ocp-build: Fatal Exception Unix_error(No such file or directory, stat, /home/jpdeplaix/.opam/4.06.0/lib/llvm/shared)
Raised by primitive operation at file "./tools/ocp-build/engine/buildEngineContext.ml", line 133, characters 16-37
Called from file "./tools/ocp-build/engine/buildEngineContext.ml", line 273, characters 30-64
Called from file "./tools/ocp-build/ocaml/buildOCamlRules.ml", line 2734, characters 21-43
Called from file "list.ml", line 82, characters 20-23
Called from file "./tools/ocp-build/ocaml/buildOCamlRules.ml", line 2731, characters 25-1023
Called from file "./tools/ocp-build/ocaml/buildOCamlRules.ml", line 2773, characters 6-116
Called from file "src/cmdliner.ml", line 136, characters 18-36
Called from file "src/cmdliner.ml", line 251, characters 22-48

Fatal error: exception Unix_error(No such file or directory, stat, /home/jpdeplaix/.opam/4.06.0/lib/llvm/shared)
Raised by primitive operation at file "./tools/ocp-build/engine/buildEngineContext.ml", line 133, characters 16-37
Called from file "./tools/ocp-build/engine/buildEngineContext.ml", line 273, characters 30-64
Called from file "./tools/ocp-build/ocaml/buildOCamlRules.ml", line 2734, characters 21-43
Called from file "list.ml", line 82, characters 20-23
Called from file "./tools/ocp-build/ocaml/buildOCamlRules.ml", line 2731, characters 25-1023
Called from file "./tools/ocp-build/ocaml/buildOCamlRules.ml", line 2773, characters 6-116
Called from file "src/cmdliner.ml", line 136, characters 18-36
Called from file "src/cmdliner.ml", line 251, characters 22-48
make[1]: *** [install-ocp-pp] Error 2
make: *** [install] Error 2

ocp-autoconf expects .gitignore, not included in release

While trying to build 1.99.17-beta using the source tar.gz from the GitHub release:

Error: in project "ocp-autoconf", the source filename
        "tools/ocp-autoconf/skeleton/.gitignore" does not exist
RULE 597 (state active)
                SOURCE _obuild/ocp-autoconf/ocp-autoconf validated(not available)
                SOURCE tools/ocp-autoconf/skeleton/configure(exists)
                SOURCE tools/ocp-autoconf/skeleton/ocp-autoconf.ac(exists)
                SOURCE tools/ocp-autoconf/skeleton/Makefile(exists)
                SOURCE tools/ocp-autoconf/skeleton/build.ocp(exists)
                SOURCE tools/ocp-autoconf/skeleton/.gitignore(not available)
                SOURCE tools/ocp-autoconf/skeleton/LICENSE(exists)
                SOURCE tools/ocp-autoconf/skeleton/push-opam.sh(exists)
                SOURCE tools/ocp-autoconf/skeleton/.travis.yml(exists)
                SOURCE tools/ocp-autoconf/skeleton/.travis-install.sh(exists)
                SOURCE tools/ocp-autoconf/skeleton/.travis-ci.sh(exists)
                SOURCE tools/ocp-autoconf/skeleton/autoconf/m4/ax_compare_version.m4(exists)
                SOURCE tools/ocp-autoconf/skeleton/autoconf/m4/ocaml.m4(exists)
                SOURCE tools/ocp-autoconf/skeleton/autoconf/Makefile.rules(exists)
                SOURCE tools/ocp-autoconf/skeleton/autoconf/.gitignore(not available)
                SOURCE tools/ocp-autoconf/skeleton/autoconf/config.trailer(exists)
                SOURCE tools/ocp-autoconf/skeleton/autoconf/configure.ocaml(exists)
                SOURCE tools/ocp-autoconf/skeleton/autoconf/configure.trailer(exists)
        Function file2string
                TARGET _obuild/ocp-autoconf/_temp/autoconfFiles.ml
make: *** [build-ocps] Error 2

.gitignore seems to be not included in the tarball:

ls -al tools/ocp-autoconf/skeleton/
total 104
drwxr-xr-x. 3 mroch users  4096 Jun 27  2016 .
drwxr-xr-x. 3 mroch users  4096 Jun 27  2016 ..
drwxr-xr-x. 3 mroch users  4096 Jun 27  2016 autoconf
-rw-r--r--. 1 mroch users   362 Jun 27  2016 build.ocp
-rwxr-xr-x. 1 mroch users   471 Jun 27  2016 configure
-rw-r--r--. 1 mroch users 61385 Jun 27  2016 LICENSE
-rw-r--r--. 1 mroch users   519 Jun 27  2016 Makefile
-rw-r--r--. 1 mroch users   212 Jun 27  2016 ocp-autoconf.ac
-rw-r--r--. 1 mroch users     0 Jun 27  2016 .ocpstop
-rwxr-xr-x. 1 mroch users  1588 Jun 27  2016 push-opam.sh
-rwxr-xr-x. 1 mroch users   290 Jun 27  2016 .travis-ci.sh
-rwxr-xr-x. 1 mroch users   232 Jun 27  2016 .travis-install.sh
-rw-r--r--. 1 mroch users   363 Jun 27  2016 .travis.yml

Publish compiled manual

It would be great if the manual (the latest version of it) was available in compiled form, either as an HTML or a PDF document, so that potential users (like me) won't have to mess with TeX.

The PDF on the official web page seems ancient.

ocp-build 1.99.17-beta build failed on windows/cygwin

Some fix available ? I'm using ocaml 4.03.0 on windows (cygwin) and the last git version.

# boot/ocp-build.asm init
# boot/ocp-build.asm
### stderr ###
# [...]
# Error: in project "ocplib-compat", the source filename
#       "_obuild/ocp-pp/ocp-pp.byte" does not exist
# RULE 116 (state active)
#               SOURCE _obuild/ocplib-compat/ocplib-compat validated(not available)
#               SOURCE _obuild/ocp-pp/ocp-pp.byte.exe(not available)
#               SOURCE ocplib-compat/stringCompat.ml(exists)
#               SOURCE _obuild/ocp-pp/ocp-pp.byte(not available)
#       %{ocp-pp_FULL_DST_DIR}%/ocp-pp.byte ocplib-compat/stringCompat.ml > _obuild/ocplib-compat/_temp/stringCompat.mlpp
#               TARGET _obuild/ocplib-compat/_temp/stringCompat.mlpp
# make: *** [Makefile:143: build-ocps] Error 2

1.99.19-beta breaks Flow build

For github.com/facebook/flow, 1.99.19-beta has broken our build

opam install ocp-build.1.99.18-beta
make all-ocp // Works fine
opam install ocp-build.1.99.19-beta
make all-ocp // Fails

The linker is failing with this error

Undefined symbols for architecture x86_64:
  "_LZ4_compressBound", referenced from:
      _write_at in libmlhh-heap.a(hh_shared.o)
  "_LZ4_compress_default", referenced from:
      _write_at in libmlhh-heap.a(hh_shared.o)
  "_LZ4_decompress_safe", referenced from:
      _hh_get_and_deserialize in libmlhh-heap.a(hh_shared.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
File "_none_", line 1:
Error: Error while building custom runtime system

The failing command for 1.99.19-beta looks like this

 '/Users/glevi/.opam/4.03.0/bin/ocamlc.opt' '-o' './_obuild/flow/flow.byte' '-I' './_obuild/flow' '-I' './src' '-I' './_obuild/flow-commands' '-I' '.' '-I' './_obuild/flow-server' '-I' './_obuild/hh-socket' '-I' './_obuild/flow-services-port' '-I' './_obuild/flow-services-inference' '-I' './_obuild/flow-server-env' '-I' './src/server' '-I' './_obuild/hh-dfind' '-I' './_obuild/tp-avl' '-I' './_obuild/hh-fsnotify' '-I' './_obuild/hh-fsnotify-darwin' '-I' './_obuild/flow-persistent-connection' '-I' './_obuild/flow-common-audit' '-I' './_obuild/flow-services-flowFileGen' '-I' './_obuild/flow-services-autocomplete' '-I' './_obuild/flow-typing' '-I' './_obuild/flow-parsing' '-I' './_obuild/flow-parser-utils' '-I' './_obuild/flow-common-errors' '-I' './_obuild/flow-common-profiling' '-I' './_obuild/flow-embedded' '-I' './_obuild/hh-win32res' '-I' './_obuild/hh-find' '-I' './_obuild/flow-shmem' '-I' './_obuild/flow-server-files' '-I' './_obuild/flow-common-config' '-I' './_obuild/flow-dts' '-I' './_obuild/flow-common' '-I' './_obuild/hh-procs' '-I' './_obuild/flow-stubs' '-I' './_obuild/flow-common-utils' '-I' './_obuild/hh-utils' '-I' './hack/utils' '-I' './_obuild/hh-utils-relative-path' '-I' './_obuild/hh-utils-sys' '-I' './_obuild/hh-utils-disk' '-I' './_obuild/hh-injector-default' '-I' './_obuild/hh-utils-string' '-I' './_obuild/hh-heap' '-I' './_obuild/lz4' '-I' './_obuild/hh-stubs' '-I' './_obuild/hh-utils-core' '-I' './_obuild/hh-utils-json' '-I' './_obuild/tp-core' '-I' './_obuild/hh-utils-collections' '-I' '/Users/glevi/.opam/4.03.0/lib/ocaml' '-I' './_obuild/flow-parser' '-I' '/Users/glevi/.opam/4.03.0/lib/sedlex' '-I' '/Users/glevi/.opam/4.03.0/lib/gen' '-I' './_obuild/ROOTPROJECT' '/Users/glevi/.opam/4.03.0/lib/ocaml/unix.cma' '/Users/glevi/.opam/4.03.0/lib/ocaml/bigarray.cma' '/Users/glevi/.opam/4.03.0/lib/gen/gen.cma' '/Users/glevi/.opam/4.03.0/lib/sedlex/sedlexing.cma' './_obuild/flow-parser/flow-parser.cma' '/Users/glevi/.opam/4.03.0/lib/ocaml/str.cma' '-thread' './_obuild/hh-utils-collections/hh-utils-collections.cma' '-thread' './_obuild/tp-core/tp-core.cma' '-thread' './_obuild/hh-utils-json/hh-utils-json.cma' '-thread' './_obuild/hh-utils-core/hh-utils-core.cma' '-thread' './_obuild/hh-stubs/hh-stubs.cma' '-thread' '-thread' './_obuild/hh-heap/hh-heap.cma' '-thread' './_obuild/hh-utils-string/hh-utils-string.cma' '-thread' './_obuild/hh-injector-default/hh-injector-default.cma' '-thread' './_obuild/hh-utils-disk/hh-utils-disk.cma' '-thread' './_obuild/hh-utils-sys/hh-utils-sys.cma' '-thread' './_obuild/hh-utils-relative-path/hh-utils-relative-path.cma' '-thread' './_obuild/hh-utils/hh-utils.cma' './_obuild/flow-common-utils/flow-common-utils.cma' './_obuild/flow-stubs/flow-stubs.cma' '-thread' './_obuild/hh-procs/hh-procs.cma' './_obuild/flow-common/flow-common.cma' './_obuild/flow-dts/flow-dts.cma' './_obuild/flow-common-config/flow-common-config.cma' './_obuild/flow-server-files/flow-server-files.cma' './_obuild/flow-shmem/flow-shmem.cma' '-thread' './_obuild/hh-find/hh-find.cma' '-thread' './_obuild/hh-win32res/hh-win32res.cma' './_obuild/flow-embedded/flow-embedded.cma' './_obuild/flow-common-profiling/flow-common-profiling.cma' './_obuild/flow-common-errors/flow-common-errors.cma' './_obuild/flow-parser-utils/flow-parser-utils.cma' './_obuild/flow-parsing/flow-parsing.cma' './_obuild/flow-typing/flow-typing.cma' './_obuild/flow-services-autocomplete/flow-services-autocomplete.cma' './_obuild/flow-services-flowFileGen/flow-services-flowFileGen.cma' './_obuild/flow-common-audit/flow-common-audit.cma' './_obuild/flow-persistent-connection/flow-persistent-connection.cma' '-thread' './_obuild/hh-fsnotify-darwin/hh-fsnotify-darwin.cma' '-thread' '-thread' './_obuild/tp-avl/tp-avl.cma' '-thread' './_obuild/hh-dfind/hh-dfind.cma' './_obuild/flow-server-env/flow-server-env.cma' './_obuild/flow-services-inference/flow-services-inference.cma' './_obuild/flow-services-port/flow-services-port.cma' '-thread' './_obuild/hh-socket/hh-socket.cma' './_obuild/flow-server/flow-server.cma' './_obuild/flow-commands/flow-commands.cma' './_obuild/flow/flow.cmo'

I think the key difference is that 1.99.19-beta is missing the '-cclib' '-lmllz4' which 1.99.18-beta has when I run it with --verbosity 4

The linking command that is failing looks like this for 1.99.18-beta

'/Users/glevi/.opam/4.03.0/bin/ocamlc.opt' '-o' './_obuild/flow/flow.byte' '-I' './_obuild/flow' '-I' './src' '-I' './_obuild/flow-commands' '-I' '.' '-I' './_obuild/flow-server' '-I' './_obuild/flow-services-inference' '-I' './_obuild/flow-server-env' '-I' './src/server' '-I' './_obuild/flow-persistent-connection' '-I' './_obuild/flow-services-autocomplete' '-I' './_obuild/flow-services-port' '-I' './_obuild/flow-services-flowFileGen' '-I' './_obuild/flow-embedded' '-I' './_obuild/flow-parsing' '-I' './_obuild/flow-shmem' '-I' './_obuild/flow-typing' '-I' './_obuild/flow-common-errors' '-I' './_obuild/flow-server-files' '-I' './_obuild/flow-common-config' '-I' './_obuild/hh-dfind' '-I' './_obuild/hh-fsnotify' '-I' './_obuild/flow-common' '-I' './_obuild/flow-common-profiling' '-I' './_obuild/flow-dts' '-I' './_obuild/flow-common-utils' '-I' './_obuild/hh-procs' '-I' './_obuild/hh-win32res' '-I' './_obuild/hh-find' '-I' './_obuild/hh-socket' '-I' './_obuild/hh-fsnotify-darwin' '-I' './_obuild/hh-utils' '-I' './hack/utils' '-I' './_obuild/hh-utils-relative-path' '-I' './_obuild/hh-heap' '-I' './_obuild/hh-utils-sys' '-I' './_obuild/hh-utils-core' '-I' './_obuild/hh-utils-json' '-I' './_obuild/hh-utils-disk' '-I' './_obuild/flow-parser-utils' '-I' './_obuild/flow-parser' '-I' './_obuild/lz4' '-I' './_obuild/hh-utils-string' '-I' './_obuild/hh-utils-collections' '-I' './_obuild/hh-injector-default' '-I' './_obuild/hh-stubs' '-I' './_obuild/tp-avl' '-I' './_obuild/tp-core' '-I' '/Users/glevi/.opam/4.03.0/lib/ocaml/threads' '-I' '/Users/glevi/.opam/4.03.0/lib/ocaml' '-I' '/Users/glevi/.opam/4.03.0/lib/sedlex' '-I' '/Users/glevi/.opam/4.03.0/lib/gen' '-I' './_obuild/ROOTPROJECT' '-I' './_obuild/flow-common-audit' '-I' './_obuild/flow-stubs' 'flow-stubs.cma' 'flow-common-audit.cma' 'str.cma' 'unix.cma' 'gen.cma' 'sedlexing.cma' 'bigarray.cma' '-thread' 'threads.cma' '-thread' 'tp-core.cma' '-thread' 'tp-avl.cma' '-thread' 'hh-stubs.cma' '-thread' 'hh-injector-default.cma' '-thread' 'hh-utils-collections.cma' '-thread' 'hh-utils-string.cma' '-thread' '-cclib' '-lmllz4' 'flow-parser.cma' 'flow-parser-utils.cma' '-thread' 'hh-utils-disk.cma' '-thread' 'hh-utils-json.cma' '-thread' 'hh-utils-core.cma' '-thread' 'hh-utils-sys.cma' '-thread' 'hh-heap.cma' '-thread' 'hh-utils-relative-path.cma' '-thread' 'hh-utils.cma' '-thread' 'hh-fsnotify-darwin.cma' '-thread' 'hh-socket.cma' '-thread' 'hh-find.cma' '-thread' 'hh-win32res.cma' '-thread' 'hh-procs.cma' 'flow-common-utils.cma' 'flow-dts.cma' 'flow-common-profiling.cma' 'flow-common.cma' '-thread' '-thread' 'hh-dfind.cma' 'flow-common-config.cma' 'flow-server-files.cma' 'flow-common-errors.cma' 'flow-typing.cma' 'flow-shmem.cma' 'flow-parsing.cma' 'flow-embedded.cma' 'flow-services-flowFileGen.cma' 'flow-services-port.cma' 'flow-services-autocomplete.cma' 'flow-persistent-connection.cma' 'flow-server-env.cma' 'flow-services-inference.cma' 'flow-server.cma' 'flow-commands.cma' './_obuild/flow/flow.cmo'

Our lz4 library is a c-only library, which is defined here: https://github.com/facebook/flow/blob/master/ocp_build_hack.ocp.fb#L23

The .ocp.fb files are basically just .ocp build but with file globbing support (when you run make all-ocp, it compiles the actual .ocp files)

Error building toplevel on 4.04

Here is what I get:

0.01s opam-admin.top/opam_admin_top.mlimods                                                                                                    [ done ]
0.01s opam-admin.top/opam_admin_top.mlmods                                                                                                     [ done ]
0.00s opam-admin.top/opam_admin_top.cmi                                                                                                        [failed]
[603.1] Command failed: 'ocamlmktop' '-g' '-g' '-w' '+a-4-44' '-safe-string' '-w' '-48' '-bin-annot' '-c' '-o' 'src/tools/opam_admin_top.cmi' '-I' './_obuild/opam-admin.top' '-I' './src/tools' '-I' './_obuild/opam-state' '-I' './src/state' '-I' './_obuild/opam-repository' '-I' './src/repository' '-I' './_obuild/opam-solver' '-I' './src/solver' '-I' '/home/lg/.opam/4.04/lib/dose3' '-I' './_obuild/opam-format' '-I' './src/format' '-I' './_obuild/opam-core' '-I' './src/core' '-I' '/home/lg/.opam/4.04/lib/re' '-I' '/home/lg/.opam/4.04/lib/cudf' '-I' '/home/lg/.opam/4.04/lib/jsonm' '-I' '/home/lg/.opam/4.04/lib/extlib' '-I' '/home/lg/.opam/4.04/lib/bytes' '-I' '/home/lg/.opam/4.04/lib/ocamlgraph' '-I' '/home/lg/.opam/4.04/lib/uutf' '-I' '/home/lg/.opam/4.04/lib/opam-file-format' '-I' '/home/lg/.opam/4.04/lib/ocaml' 'src/tools/opam_admin_top.mli'
-- stderr for ...ild/opam-admin.top/opam_admin_top.cmi --
Options -c -o are incompatible with compiling multiple files

The initial rule:

begin program "opam-admin.top"
  has_asm = false
  ocamlc = "ocamlmktop"
  files = [
    "opam_admin_top.ml"
  ]
  requires = [
    "opam-core"
    "opam-format"
    "opam-solver"
    "opam-repository"
    "opam-state"
    "re.glob"
  ]
end

This works fine until 4.03

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.