Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How did you build release binaries? #191

Closed
SergeevDmitry opened this issue Jun 12, 2024 · 4 comments
Closed

How did you build release binaries? #191

SergeevDmitry opened this issue Jun 12, 2024 · 4 comments

Comments

@SergeevDmitry
Copy link

SergeevDmitry commented Jun 12, 2024

Hello.

I tried to build binaries myself following all provided instructions, but when I run it on fresh machines (linux/windows) and try to create new mnemonic it shows various errors depending on a platform

Ubuntu

wagyu-error

Windows

image

Your release binaries work good on the same machines.

I found this issue with release build instructions. I performed all steps except signatures generation with no luck.

What could be a problem?

@remyroy
Copy link
Member

remyroy commented Jun 12, 2024

Did you forget to run yarn buildcli on Unix or yarn buildcliwin on Windows? These need a python installation with pip and pyinstaller to work.

@SergeevDmitry
Copy link
Author

Thank you for a fast reply. No, I did not forget any of this.

I run the following on my local Ubuntu 22.04

yarn install
yarn build
yarn buildcli
yarn dist

My pipeline for Windows runs the following

python -m pip install --upgrade --user pip
python -m pip install --user pyinstaller
python -m pip install --user Cython
npm install -g yarn
yarn install
yarn build
yarn buildcliwin
yarn dist

I use python 3.10 on both machines with all required packages installed

@SergeevDmitry
Copy link
Author

The problem for Windows binary is solved. I had to run yarn build and yarn buildcliwin commands in separate pipline stages. But I still don't know what causes the problem on Ubuntu

@SergeevDmitry
Copy link
Author

The problem with Ubuntu was that binary was build on version 22.04 and it cannot be run on version 20.04. Building on Ubuntu 20.04 allows to run binary on both versions.

Thank you for your time.

Closing it now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants