-
Notifications
You must be signed in to change notification settings - Fork 246
build-unix.sh failes in Ubuntu 22.04 #1710
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
Comments
In Ubuntu 20.04 In Ubuntu 22.04 I get the error mentioned above.... sooo.. that means the 'liblib' is not the problem. It should just return that it doesn't find the lib. |
Hmm... https://github.com/cryptoadvance/specter-desktop/blob/v1.9.4/pyinstaller/build-unix.sh was removed... ok. Trying https://github.com/cryptoadvance/specter-desktop/tree/master/pyinstaller#readme but getting another error.....
Why does it look in a specific env folder? Shouldnt there be something like os.environ['VIRTUAL_ENV'] ... I am using anaconda and the envs are in a completely different folder...
After trial end error, https://github.com/cryptoadvance/specter-desktop/tree/master/pyinstaller#readme should include the setup steps:
|
The issue arises too when I locally run the same script the ci pipeline does: specter-desktop/.gitlab-ci.yml Line 172 in 2f0f743
However I can build fine with python 3.8 and python3.10 in Ubuntu 22.04, when I patch https://github.com/pyinstaller/pyinstaller/blob/8ba83fecc10b8bacade776432af991dcdc54e75f/PyInstaller/depend/utils.py#L163 by
|
The cpython bug is being taken care of in pyinstaller/pyinstaller#6864 EDIT: pypi release available !!! |
If i get this right, than we need to upgrade pyinstaller from 4.9 to 5.2 in order to fix this issue. That's not too bad. |
Yes, on Python 3.8 and Ubuntu 22.04 the build works :-) |
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
Running
cd pyinstaller
and./build-unix.sh
gives the error message:Expected behavior
It should find the library and continue with building a binary. In Ubuntu 20.04 it builds fine.
If I go into "/home//programs/anaconda3/envs/specter/lib/python3.8/ctypes/util.py" and catch the library name and change it to b'libsecp256k1.a' it can find it and continues flawlessly with the built.
Could this be a Pyinstaller bug? Or embit?
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: