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

Consumers failing to build with v1.12.0 #212

Open
orlitzky opened this issue Nov 25, 2024 · 2 comments
Open

Consumers failing to build with v1.12.0 #212

orlitzky opened this issue Nov 25, 2024 · 2 comments

Comments

@orlitzky
Copy link

We just added v1.12.0 in Gentoo and switched the build to meson but now the packages that depend on it are failing to build: fpylll, primecountpy, cypari, pplpy, etc.

A typical error:

2024-11-22 07:13:20,452 root INFO building 'fpylll.fplll.wrapper' extension
2024-11-22 07:13:20,454 root INFO x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -fno-diagnostics-color -DNDEBUG -fPIC -Isrc/fpylll/fplll -I/usr/lib/python3.12/site-packages/cysignals -I/usr/include -I/usr/lib/python3.12/site-packages/numpy/_core/include -I/usr/include/python3.12 -c build/src/fpyll
In file included from build/src/fpylll/fplll/lll.cpp:1353:
/usr/lib/python3.12/site-packages/cysignals/macros.h: In function int _sig_on_prejmp(const char*, const char*, int):
/usr/lib/python3.12/site-packages/cysignals/macros.h:117:5: error: cysigs was not declared in this scope
117 | cysigs.s = message;
| ^~~~~~

I tried to debug for a few minutes tonight but it will probably have to wait until next week.

@ludopulles
Copy link

Actually, already compiling the basic example with cythonize -i FILE.pyx gives me those errors (cython version 3.0.11).

It seems that the meson build system doesn't put #include "macros.h" after the late_includes /* #### Code section: late_includes ### */.

@antonio-rojas
Copy link

Caused by the removal of the line # cython: preliminary_late_includes_cy28=True from signals.pxd in fa6d45d

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

3 participants