Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
theAkito opened this issue Nov 17, 2019 · 0 comments
Open

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

theAkito opened this issue Nov 17, 2019 · 0 comments

Comments

@theAkito
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant