electrum-altcoin / electrum

MIT License
5 stars 10 forks source link

Build Windows EXE with build-wine failed #37

Open dalijolijo opened 3 years ago

dalijolijo commented 3 years ago

I checked out the latest code base (bdf4d843739a1ac8ecc02e5d99acfd6de394c83f) and want to compile Windows EXE with build-wine. See https://github.com/electrum-altcoin/electrum/tree/master/contrib/build-wine I executed the following command:

sudo docker run -it \
    --name electrum-wine-builder-cont \
    -v $PWD:/opt/wine64/drive_c/electrum \
    --rm \
    --workdir /opt/wine64/drive_c/electrum/contrib/build-wine \
    electrum-wine-builder-img \
    ./build.sh

The build failed with:

[...]
Build failed
 -> task in 'run_d' failed with exit status 1 (run with -v to display more information)
 -> task in 'run_d' failed with exit status 1 (run with -v to display more information)
/opt/wine64/drive_c/electrum/contrib/build-wine/.cache/pyinstaller
🗯 ERROR: Could not find runw.exe in target dir!
🗯 ERROR: PyInstaller build failed
🗯 ERROR: prepare-wine failed

grafik

I used Ubuntu 20.04.2 LTS and Docker version 20.10.5

ahmedbodi commented 3 years ago

building the codebase is a bit more complex than that. please see the github CI files to see the process