janestreet / bin_prot

Binary protocol generator
MIT License
73 stars 21 forks source link

bin_prot.109.45.00 failing to compile on 32bit architecture #3

Closed heidihoward closed 11 years ago

heidihoward commented 11 years ago

output from opam upgrade, from ubuntu 12.10, 32 bit

=-=-= Installing bin_prot.109.45.00 =-=-=
default    Downloading https://opam.ocaml.org/archives/bin_prot.109.45.00+opam.tar.gz
Downloading https://opam.ocaml.org/archives/bin_prot.109.45.00+opam.tar.gz
Building bin_prot.109.45.00:
  make
  make install
[ERROR] The compilation of bin_prot.109.45.00 failed.
Removing bin_prot.109.45.00.
  ocamlfind remove bin_prot

[ERROR] Due to some errors while processing bin_prot.109.45.00, the following actions will NOT proceed:
 - upgrade core_extended.109.42.00 to 109.45.00
 - upgrade async_unix.109.42.00 to 109.45.00
 - upgrade async_extra.109.42.00 to 109.45.00
 - recompile async.109.42.00
 - upgrade core.109.42.00 to 109.45.00
 - upgrade core_kernel.109.42.00 to 109.45.00
 - install re2.109.45.00
 - recompile textutils.109.36.00
 - upgrade async_core.109.42.00 to 109.45.00

=-=-= ERROR RECOVERY [bin_prot.109.45.00] =-=-=

=-=-= Installing bin_prot.109.42.00 =-=-=
default    Downloading https://opam.ocaml.org/archives/bin_prot.109.42.00+opam.tar.gz
Downloading https://opam.ocaml.org/archives/bin_prot.109.42.00+opam.tar.gz
Building bin_prot.109.42.00:
  make
  make install
Installing bin_prot.109.42.00.

=-=-= Installing core_extended.109.42.00 =-=-=
default    Downloading https://opam.ocaml.org/archives/core_extended.109.42.00+opam.tar.gz
Downloading https://opam.ocaml.org/archives/core_extended.109.42.00+opam.tar.gz
Building core_extended.109.42.00:
  make
  make install
[ERROR] The compilation of core_extended.109.42.00 failed.
Removing core_extended.109.42.00.
  ocamlfind remove core_extended

=-=-= Installing async_unix.109.42.00 =-=-=
default    Downloading https://opam.ocaml.org/archives/async_unix.109.42.00+opam.tar.gz
Downloading https://opam.ocaml.org/archives/async_unix.109.42.00+opam.tar.gz
Building async_unix.109.42.00:
  make
  make install
[ERROR] The compilation of async_unix.109.42.00 failed.
Removing async_unix.109.42.00.
  ocamlfind remove async_unix

=-=-= Installing async_extra.109.42.00 =-=-=
default    Downloading https://opam.ocaml.org/archives/async_extra.109.42.00+opam.tar.gz
Downloading https://opam.ocaml.org/archives/async_extra.109.42.00+opam.tar.gz
Building async_extra.109.42.00:
  make
  make install
[ERROR] The compilation of async_extra.109.42.00 failed.
Removing async_extra.109.42.00.
  ocamlfind remove async_extra

=-=-= Installing async.109.42.00 =-=-=
default    Downloading https://opam.ocaml.org/archives/async.109.42.00+opam.tar.gz
Downloading https://opam.ocaml.org/archives/async.109.42.00+opam.tar.gz
Building async.109.42.00:
  make
  make install
[ERROR] The compilation of async.109.42.00 failed.
Removing async.109.42.00.
  ocamlfind remove async

=-=-= Installing core.109.42.00 =-=-=
default    Downloading https://opam.ocaml.org/archives/core.109.42.00+opam.tar.gz
Downloading https://opam.ocaml.org/archives/core.109.42.00+opam.tar.gz
Building core.109.42.00:
  make
  make install
[ERROR] The compilation of core.109.42.00 failed.
Removing core.109.42.00.
  ocamlfind remove core

=-=-= Installing core_kernel.109.42.00 =-=-=
default    Downloading https://opam.ocaml.org/archives/core_kernel.109.42.00+opam.tar.gz
Downloading https://opam.ocaml.org/archives/core_kernel.109.42.00+opam.tar.gz
Building core_kernel.109.42.00:
  make
  make install
Installing core_kernel.109.42.00.

=-=-= Installing re2.109.45.00 =-=-=
default    Downloading https://opam.ocaml.org/archives/re2.109.45.00+opam.tar.gz
Downloading https://opam.ocaml.org/archives/re2.109.45.00+opam.tar.gz
Building re2.109.45.00:
  make
  make install
[ERROR] The compilation of re2.109.45.00 failed.
Removing re2.109.45.00.
  ocamlfind remove re2

=-=-= Installing textutils.109.36.00 =-=-=
default    Downloading https://opam.ocaml.org/archives/textutils.109.36.00+opam.tar.gz
Downloading https://opam.ocaml.org/archives/textutils.109.36.00+opam.tar.gz
Building textutils.109.36.00:
  make
  make install
[ERROR] The compilation of textutils.109.36.00 failed.
Removing textutils.109.36.00.
  ocamlfind remove textutils

=-=-= Installing async_core.109.42.00 =-=-=
default    Downloading https://opam.ocaml.org/archives/async_core.109.42.00+opam.tar.gz
Downloading https://opam.ocaml.org/archives/async_core.109.42.00+opam.tar.gz
Building async_core.109.42.00:
  make
  make install
[ERROR] The compilation of async_core.109.42.00 failed.
Removing async_core.109.42.00.
  ocamlfind remove async_core

===== ERROR while upgrading to bin_prot.109.45.00 =====
# opam-version 1.1.0 (558e6dd9e309bc8d61c4ede9fb81a311383e787a)
# os           linux
# command      make
# path         /home/heidi-ann/.opam/4.01.0/build/bin_prot.109.45.00
# compiler     4.01.0
# exit-code    2
# env-file     /home/heidi-ann/.opam/4.01.0/build/bin_prot.109.45.00/bin_prot-11419-8b8a2d.env
# stdout-file  /home/heidi-ann/.opam/4.01.0/build/bin_prot.109.45.00/bin_prot-11419-8b8a2d.out
# stderr-file  /home/heidi-ann/.opam/4.01.0/build/bin_prot.109.45.00/bin_prot-11419-8b8a2d.err
### stdout ###
# ...[truncated]
# ocamlfind ocamldep -package unix -package bigarray -modules lib/utils.ml > lib/utils.ml.depends
# ocamlfind ocamlc -c -g -package unix -package bigarray -I lib -o lib/nat0.cmo lib/nat0.ml
# ocamlfind ocamlc -c -g -package unix -package bigarray -I lib -o lib/common.cmo lib/common.ml
# ocamlfind ocamlc -c -g -pp 'gcc -E -xc -undef -w' -package unix -package bigarray -I lib -o lib/size.cmo lib/size.ml
# ocamlfind ocamlc -c -g -pp 'gcc -E -xc -undef -w' -package unix -package bigarray -I lib -o lib/write.cmo lib/write.ml
# + ocamlfind ocamlc -c -g -pp 'gcc -E -xc -undef -w' -package unix -package bigarray -I lib -o lib/write.cmo lib/write.ml
# File "lib/write.ml", line 243, characters 138-139:
# Error: This expression has type int64 but an expression was expected of type
#          nativeint
# Command exited with code 2.
### stderr ###
# E: Failure("Command ''/home/heidi-ann/.opam/4.01.0/bin/ocamlbuild' lib/libbin_prot_stubs.a lib/dllbin_prot_stubs.so lib/bin_prot.cma lib/bin_prot.cmxa lib/bin_prot.a lib/bin_prot.cmxs syntax/pa_bin_prot.cma syntax/pa_bin_prot.cmxa syntax/pa_bin_prot.a syntax/pa_bin_prot.cmxs -tag debug' terminated with error code 10")
# make: *** [build] Error 1

The former state can be restored with opam switch import -f "/home/heidi-ann/.opam/4.01.0/backup/state-20130922070816.export"
'opam upgrade' failed.
ghost commented 11 years ago

I believe this is fixed in bin_prot-109.47.00

heidihoward commented 11 years ago

thanks