ocaml-cross/opam-cross-windows

64bit build fails

Closed this issue · 1 comments

Looks like the ocaml-windows64.4.04.0/opam file specifies patches which don't exist:

$ TOOLPREF64=~/mxe64dynamic/usr/bin/x86_64-w64-mingw32.shared- opam install ocaml-windows
The following actions will be performed:
  ∗  install conf-gcc-windows64 1             [required by ocaml-windows64]
  ∗  install flexdll-windows    0.34          [required by ocaml-windows64]
  ∗  install ocaml-windows64    4.04.0        [required by ocaml-windows]
  ∗  install ocaml-windows      4.04.0
===== ∗  4 =====
Do you want to continue ? [Y/n] y

=-=- Gathering sources =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=  🐫
[flexdll-windows.0.34] http://alain.frisch.fr/flexdll/flexdll-0.34.tar.gz downloaded
[ocaml-windows64.4.04.0] https://github.com/ocaml/ocaml/archive/4.04.0.tar.gz downloaded

=-=- Processing actions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=  🐫
∗  installed conf-gcc-windows64.1
∗  installed flexdll-windows.0.34
[ERROR] Patch file "/Users/hcarty/.opam/4.04.0+win64bit-shared+flambda/build/ocaml-windows64.4.04.0/patches/ar-fix.patch" not found.
[ERROR] Patch file "/Users/hcarty/.opam/4.04.0+win64bit-shared+flambda/build/ocaml-windows64.4.04.0/patches/ocamldoc.patch" not found.
[ERROR] Patch file "/Users/hcarty/.opam/4.04.0+win64bit-shared+flambda/build/ocaml-windows64.4.04.0/patches/install_distrib.patch" not found.

#=== ERROR while installing ocaml-windows64.4.04.0 ============================#
These patches didn't apply at /Users/hcarty/.opam/4.04.0+win64bit-shared+flambda/build/ocaml-windows64.4.04.0:
  - patches/install_distrib.patch
  - patches/ocamldoc.patch
  - patches/ar-fix.patch



=-=- Error report -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=  🐫
The following actions were aborted
  ∗  install ocaml-windows 4.04.0
The following actions failed
  ∗  install ocaml-windows64 4.04.0
The following changes have been performed
  ∗  install conf-gcc-windows64 1
  ∗  install flexdll-windows    0.34

The former state can be restored with:
    opam switch import "~/.opam/4.04.0+win64bit-shared+flambda/backup/state-20161105195439.export"

Fixed in master.