[ERROR] The compilation of jackline failed at "ocaml pkg/build.ml native=true native-dynlink=true".
#=== ERROR while installing jackline.0.1.0 ====================================#
# opam-version 1.2.2
# os linux
# command ocaml pkg/build.ml native=true native-dynlink=true
# path /data/${USER}/home/${USER}/.opam/4.02.1/build/jackline.0.1.0
# compiler 4.02.1
# exit-code 10
# env-file /data/${USER}/home/${USER}/.opam/4.02.1/build/jackline.0.1.0/jackline-28294-489228.env
# stdout-file /data/${USER}/home/${USER}/.opam/4.02.1/build/jackline.0.1.0/jackline-28294-489228.out
# stderr-file /data/${USER}/home/${USER}/.opam/4.02.1/build/jackline.0.1.0/jackline-28294-489228.err
### stdout ###
# [...]
# findlib: [WARNING] Interface config.cmi occurs in several directories: src, /data/${USER}/home/${USER}
/.opam/4.02.1/lib/ocaml/compiler-libs
# findlib: [WARNING] Interface topdirs.cmi occurs in several directories: /data/${USER}/home/${USER}/.op
am/4.02.1/lib/ocaml/compiler-libs, /data/${USER}/home/${USER}/.opam/4.02.1/lib/ocaml
# ocamlfind ocamlopt -linkpkg -package astring -package camomile -package erm_xmpp -package hex -packa
ge lambda-term -package lwt -package lwt.syntax -package nocrypto -package otr -package react -package
sexplib -package sexplib.syntax -package tls -package tls.lwt -package zed -package ptime -package rr
esult -syntax camlp4o src/user.cmx src/config.cmx cli/cli_config.cmx src/escape.cmx src/persistency.cm
x src/xmpp_connection.cmx src/xmpp_callbacks.cmx cli/cli_state.cmx src/utils.cmx cli/cli_commands.cmx
cli/cli_client.cmx bin/jackline.cmx -o bin/jackline.native
# + ocamlfind ocamlopt -linkpkg -package astring -package camomile -package erm_xmpp -package hex -pac
kage lambda-term -package lwt -package lwt.syntax -package nocrypto -package otr -package react -packa
ge sexplib -package sexplib.syntax -package tls -package tls.lwt -package zed -package ptime -package
rresult -syntax camlp4o src/user.cmx src/config.cmx cli/cli_config.cmx src/escape.cmx src/persistency.
cmx src/xmpp_connection.cmx src/xmpp_callbacks.cmx cli/cli_state.cmx src/utils.cmx cli/cli_commands.cm
x cli/cli_client.cmx bin/jackline.cmx -o bin/jackline.native
# findlib: [WARNING] Interface topdirs.cmi occurs in several directories: /data/${USER}/home/${USER}/.op
am/4.02.1/lib/ocaml/compiler-libs, /data/${USER}/home/${USER}/.opam/4.02.1/lib/ocaml
# File "_none_", line 1:
# Error: Files src/config.cmx
# and /data/${USER}/home/${USER}/.opam/4.02.1/lib/ocaml/compiler-libs/ocamlcommon.cmxa
# both define a module named Config
# Command exited with code 2.
=-=- Error report -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
The following actions failed
- install jackline 0.1.0
The following changes have been performed
- remove jackline 0.1.0
- upgrade cppo 1.3.0 to 1.3.1
- upgrade sexplib 112.35.00 to 113.00.00
opam list
# Installed packages for 4.02.1:
asn1-combinators 0.1.2 Combinators for expressing ASN.1 grammars in OCaml
astring 0.0.1
base-bigarray base Bigarray library distributed with the OCaml compiler
base-bytes base Bytes library distributed with the OCaml compiler
base-threads base Threads library distributed with the OCaml compiler
base-unix base Unix library distributed with the OCaml compiler
camlp4 4.02+6 Camlp4 is a system for writing extensible parsers for programming languag
camomile 0.8.5 A comprehensive Unicode library
cmdliner 0.9.7 Declarative definition of command line interfaces for OCaml
conf-gmp 1 Virtual package relying on a GMP lib system installation.
cppo 1.3.1 Equivalent of the C preprocessor for OCaml programs
cstruct 1.7.0 access C structures via a camlp4 extension
depext 0.8.1 Query and install external dependencies of OPAM packages
erm_xml 0.3.1 XML stream parser
erm_xmpp 0.3 XMPP protocol implementation
hex 0.2.0 Minimal library providing hexadecimal converters.
lambda-term 1.9 Terminal manipulation library for OCaml
lwt 2.5.0 A cooperative threads library for OCaml
mirage-no-xen 1 Virtual package conflicting with mirage-xen
nocrypto 0.5.1 Small functional-style crypto library.
ocamlfind 1.5.5 A library manager for OCaml
ocplib-endian 0.8 Optimised functions to read and write int16/32/64 from strings and bigarr
optcomp 1.6 Optional compilation with cpp-like directives
otr 0.2.1 Off-the-record in pure OCaml
ppx_tools 0.99.2 Tools for authors of ppx rewriters and other syntactic tools
ptime 0.0.1
react 1.2.0 Declarative events and signals for OCaml
rresult 0.2.0 Result value combinators for OCaml
sexplib 113.00.00 Library for serializing OCaml values to and from S-expressions
stringext 1.4.0 Extra string functions for OCaml
tls 0.6.0 Transport Layer Security (TLS) in OCaml
type_conv 113.00.00 Library for building type-driven syntax extensions
x509 0.4.0 X.509 certificate (RFC5280) library
zarith 1.3 Implements arithmetic and logical operations over arbitrary-precision int
zed 1.4 Abstract engine for text edition in OCaml