Skip to content

Instantly share code, notes, and snippets.

@amirmc
Created April 2, 2013 12:42
Show Gist options
  • Save amirmc/5291912 to your computer and use it in GitHub Desktop.
Save amirmc/5291912 to your computer and use it in GitHub Desktop.
binou.1.0.5 error during opam upgrade
AmirMacBook$ opam update
Synchronizing <root>/repo/default with http://opam.ocamlpro.com.
The following NEW packages are available:
- crypt.1.0
- crypt.1.1
- gammu.0.9.1
- imagemagick.0.34
- stone.0.1
- stone.0.2
- why3.0.81
The following package needs to be upgraded:
- easy-format.1.0.1
Updating the cache of metadata (<root>/state.cache).
0 to install | 6 to reinstall | 0 to upgrade | 0 to downgrade | 0 to remove
You can now run 'opam upgrade' to upgrade your system.
AmirMacBook$ opam upgrade
The following actions will be performed:
- recompile easy-format.1.0.1 [upstream changes]
- recompile atd.1.0.2 [use easy-format]
- recompile biniou.1.0.5 [use easy-format]
- recompile yojson.1.1.3 [use easy-format]
- recompile atdgen.1.2.2 [use easy-format]
- recompile github.0.4.3 [use easy-format]
0 to install | 6 to reinstall | 0 to upgrade | 0 to downgrade | 0 to remove
Do you want to continue ? [Y/n] y
=-=-= Removing Packages =-=-=
Uninstalling github.0.4.3:
ocamlfind remove github
Uninstalling biniou.1.0.5:
ocamlfind remove biniou
Uninstalling atd.1.0.2:
ocamlfind remove atd
Uninstalling yojson.1.1.3:
ocamlfind remove yojson
Uninstalling easy-format.1.0.1:
ocamlfind remove easy-format
Uninstalling atdgen.1.2.2.
=-=-= Installing easy-format.1.0.1 =-=-=
Downloading http://mjambon.com/releases/easy-format/easy-format-1.0.1.tar.gz.
Copying easy-format-make.diff.
Copying meta-tpl.diff.
Creating /Users/amir/.opam/repo/default/archives/easy-format.1.0.1+opam.tar.gz.
Extracting /Users/amir/.opam/archives/easy-format.1.0.1+opam.tar.gz.
Applying easy-format-make.diff.
Applying meta-tpl.diff.
Building easy-format.1.0.1:
make
make install
Installing easy-format.1.0.1.
=-=-= Installing atd.1.0.2 =-=-=
The archive for atd.1.0.2 is in the local cache.
Extracting /Users/amir/.opam/archives/atd.1.0.2+opam.tar.gz.
Building atd.1.0.2:
make
make install BINDIR=/Users/amir/.opam/4.00.1+short-types/bin
The compilation of atd.1.0.2 failed.
Uninstalling atd.1.0.2:
ocamlfind remove atd
=-=-= Installing biniou.1.0.5 =-=-=
The archive for biniou.1.0.5 is in the local cache.
Extracting /Users/amir/.opam/archives/biniou.1.0.5+opam.tar.gz.
Building biniou.1.0.5:
make
make install
The compilation of biniou.1.0.5 failed.
Uninstalling biniou.1.0.5:
ocamlfind remove biniou
Due to some errors while processing { atd.1.0.2, biniou.1.0.5 }, the following actions will NOT be proceeded:
- recompile yojson.1.1.3
- recompile github.0.4.3
- recompile atdgen.1.2.2
==== ERROR [while recompiling atd.1.0.2] ====
# opam-version 1.0.0
# os darwin
# command make
# path /Users/amir/.opam/4.00.1+short-types/build/atd.1.0.2
# exit-code 2
# env-file /Users/amir/.opam/4.00.1+short-types/build/atd.1.0.2/atd-d8a4ae.env
# stdout-file /Users/amir/.opam/4.00.1+short-types/build/atd.1.0.2/atd-d8a4ae.out
# stderr-file /Users/amir/.opam/4.00.1+short-types/build/atd.1.0.2/atd-d8a4ae.err
### stdout ###
...[truncated]
ocamlfind ocamlopt -dtypes -g -c -package "easy-format unix str" atd_expand.ml
ocamlfind ocamlopt -dtypes -g -c -package "easy-format unix str" atd_inherit.ml
ocamlfind ocamlopt -dtypes -g -c -package "easy-format unix str" atd_tsort.ml
ocamlfind ocamlopt -dtypes -g -c -package "easy-format unix str" atd_util.ml
ocamlfind ocamlopt -dtypes -g -c -package "easy-format unix str" atd_reflect.ml
ocamlfind ocamlopt -dtypes -g -c -package "easy-format unix str" atd_indent.ml
ocamlfind ocamlopt -dtypes -g -o atd.cmxa -a atd_version.cmx atd_ast.cmx atd_annot.cmx atd_parser.cmx atd_lexer.cmx atd_doc_lexer.cmx atd_doc.cmx atd_print.cmx atd_predef.cmx atd_check.cmx atd_expand.cmx atd_inherit.cmx atd_tsort.cmx atd_util.cmx atd_reflect.cmx atd_indent.cmx
ocamlfind ocamlopt -dtypes -g -o atdcat \
-package "easy-format unix str" -linkpkg \
atd_version.cmx atd_ast.cmx atd_annot.cmx atd_parser.cmx atd_lexer.cmx atd_doc_lexer.cmx atd_doc.cmx atd_print.cmx atd_predef.cmx atd_check.cmx atd_expand.cmx atd_inherit.cmx atd_tsort.cmx atd_util.cmx atd_reflect.cmx atd_indent.cmx atdcat.ml
### stderr ###
ld: library not found for -leasy_format
collect2: ld returned 1 exit status
File "caml_startup", line 1:
Error: Error during linking
make: *** [atdcat] Error 2
==== ERROR [while recompiling biniou.1.0.5] ====
# opam-version 1.0.0
# os darwin
# command make
# path /Users/amir/.opam/4.00.1+short-types/build/biniou.1.0.5
# exit-code 2
# env-file /Users/amir/.opam/4.00.1+short-types/build/biniou.1.0.5/biniou-a71bb4.env
# stdout-file /Users/amir/.opam/4.00.1+short-types/build/biniou.1.0.5/biniou-a71bb4.out
# stderr-file /Users/amir/.opam/4.00.1+short-types/build/biniou.1.0.5/biniou-a71bb4.err
### stdout ###
ocamlfind ocamlc -a -dtypes -g -o biniou.cma \
-package "easy-format" bi_util.mli bi_util.ml bi_share.mli bi_share.ml bi_outbuf.mli bi_outbuf.ml bi_inbuf.mli bi_inbuf.ml bi_vint.mli bi_vint.ml bi_io.mli bi_io.ml bi_dump.ml bi_stream.mli bi_stream.ml
ocamlfind ocamlopt -a -dtypes -g \
-o biniou.cmxa -package "easy-format" bi_util.mli bi_util.ml bi_share.mli bi_share.ml bi_outbuf.mli bi_outbuf.ml bi_inbuf.mli bi_inbuf.ml bi_vint.mli bi_vint.ml bi_io.mli bi_io.ml bi_dump.ml bi_stream.mli bi_stream.ml
ocamlfind ocamlopt -o bdump -dtypes -g \
-package easy-format -linkpkg \
biniou.cmxa bdump.ml
### stderr ###
ld: library not found for -leasy_format
collect2: ld returned 1 exit status
File "caml_startup", line 1:
Error: Error during linking
make: *** [bdump] Error 2
'opam upgrade' failed.
AmirMacBook$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment