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

BUG: has_function in setup.py does not work #1825

Closed
fweimer-rh opened this issue Jan 9, 2023 · 1 comment
Closed

BUG: has_function in setup.py does not work #1825

fweimer-rh opened this issue Jan 9, 2023 · 1 comment

Comments

@fweimer-rh
Copy link

What pyzmq version?

24.0.0

What libzmq version?

24.0.0 (I believe)

Python version (and how it was installed)

3.11, Fedora rawhide

OS

Fedora rawhide

What happened?

In setup.py, has_function is called for timer_create, to detect whether linking with -lrt is needed. This check does not work because has_function is fundamentally broken, see pypa/setuptools#3648. In this case, failure just leads to overlinking with -lrt, which has no effect on glibc 2.34+ anyway, but it still makes sense to migrate off this broken and unsupported has_function interface.

Code to reproduce bug

No response

Traceback, if applicable

No response

More info

No response

@minrk
Copy link
Member

minrk commented Feb 21, 2024

setuptools is no longer used

@minrk minrk closed this as completed Feb 21, 2024
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