HorizenOfficial / zen_archived

TLS integration and more!
https://zensystem.io
Other
128 stars 44 forks source link

Building latest release for Windows on Ubuntu 16.04 fails unless --disable-rust is specified #98

Closed PeaStew closed 6 years ago

PeaStew commented 6 years ago

Describe the issue

Building latest release (2001051) for Windows on Ubuntu 16.04 fails unless --disable-rust is specified Error is "~/../zen/depends/x86_64-w64-mingw32/share/../lib/librustzcash.a(rustzcash-4f7569c7f76c9f1d.0.o): could not read symbols: Invalid operation".

Builds fine if --disable-rust is specified, but this is not mentioned in build instructions.

May be related to: https://github.com/z-classic/zclassic/issues/69

Can you reliably reproduce the issue?

If so, please list the steps to reproduce below:

  1. Install all required build tools as specified in howto
  2. Build for windows with "./zcutil/build-win.sh -j$(nproc)"

Expected behaviour

Build should succeed.

Actual behaviour + errors

Build fails with "~/../zen/depends/x86_64-w64-mingw32/share/../lib/librustzcash.a(rustzcash-4f7569c7f76c9f1d.0.o): could not read symbols: Invalid operation".

The version of Zen you were using:

Trying to build 2001051

Machine specs:

Any extra information that might be useful in the debugging process.

N/A

Do you have a back up of ~/.zen directory and/or take a VM snapshot?

N/A

PeaStew commented 6 years ago

If there is no librustzcash for windows then the build instructions could just be changed to have --disable-rust as the ARM instructions do. Probably relevant (according to other issue) for OSX instructions also.

cronicc commented 6 years ago

Build instructions were updated.