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

Failed to build pyzmq #2271

Closed
edednedy opened this issue Feb 18, 2024 · 12 comments · Fixed by #2272
Closed

Failed to build pyzmq #2271

edednedy opened this issue Feb 18, 2024 · 12 comments · Fixed by #2272
Labels
bug future3 Relates to future3 development needs triage

Comments

@edednedy
Copy link

Raspberry pi 3 . Both stable and pre-release rpi-jukebox-rfid V3 throw off this error when installing.
A non-recoverable error occurred
Check Install Log for details
Log:
ERROR: pyzmq is not installed
CMake build failed
error< subprocess-exited-with-error
Building wheel for pyzmq (pyproject.toml) did not run successfully
exit code 1

Faled to build pyzmq

@edednedy edednedy added bug future3 Relates to future3 development needs triage labels Feb 18, 2024
@s-martin
Copy link
Collaborator

s-martin commented Feb 19, 2024

Can you post the full installation log?
Thanks.

@edednedy
Copy link
Author

I can't. After several hours of messing with it. Getting the same error. I reinstalled Raspberry Pi OS and tried RPI-Jukebox-RFID Version 2 and it installed all the way and seems to be working. I'm not sure what pyamg does or why it's causes Ver3 to crash on installation, Maybe it's not installed in Ver2.
If I can find another card, I may install Ver3 on it just so I can get back to the error installation log.

@AlvinSchiller
Copy link
Collaborator

Version 2 does not use pyzmq.

@AlvinSchiller
Copy link
Collaborator

It seems the new prerelease of pyzmq breaks installation.
I created a Bugreport zeromq/pyzmq#1937

Hotfix for the installation will come soon (using last release version of pyzmq).

@AlvinSchiller AlvinSchiller linked a pull request Feb 19, 2024 that will close this issue
@edednedy
Copy link
Author

I originally got this error on installation of the stable Version 3. Then I tried the pre-release version. Same issue with both versions. If it is the newest pre-release that breaks it, shouldn't the stable version 3 work? Also, since version 2 works without it, what does it do?

@AlvinSchiller
Copy link
Collaborator

Its the version of the pyzmq lib which causes the error. So version 3 stable and pre of this project are both affected.

Version 3 is a complete rewrite, so it uses a different architecture and libs.
Thats why version 2 is not affected, as it just does not use pyzmq.

@AlvinSchiller
Copy link
Collaborator

Fixed with #2272

@IgorWalton
Copy link

Tried a fresh install of 3.5.2 stable today, but the pyzmq installation still failed. Tried to use different SD cards without success.
Logs:
INSTALL-1713209396.log

@AlvinSchiller
Copy link
Collaborator

AlvinSchiller commented Apr 15, 2024

Hi, the logs state the Installation is run as user root.
How did you start the installation?
Have you followed the install description https://github.com/MiczFlor/RPi-Jukebox-RFID/blob/future3/main/documentation/builders/installation.md#stable-release?

And if this problem persists could you please open a new issue? New comments in closed issues get overlooked easily.

EDIT:
I just saw the ci also fails. pyzmq==26.0.0 was released a few hours ago, and it seems there are incompatibilities with bullseye...

@s-martin
Copy link
Collaborator

EDIT:
I just saw the ci also fails. pyzmq==26.0.0 was released a few hours ago, and it seems there are incompatibilities with bullseye...

So should pin the version of pyzmq

@IgorWalton
Copy link

Hi, the logs state the Installation is run as user root. How did you start the installation? Have you followed the install description https://github.com/MiczFlor/RPi-Jukebox-RFID/blob/future3/main/documentation/builders/installation.md#stable-release?

Yes, I followed the install description and named the user root.

@pabera
Copy link
Collaborator

pabera commented Apr 16, 2024

Let's follow up on this new issue here: #2344

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug future3 Relates to future3 development needs triage
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants