-
Notifications
You must be signed in to change notification settings - Fork 105
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
Some build problems on Arch (solved) #327
Comments
I have the same issue 2 as mentioned above. The issue stems from numpy.distutils's get_info() cannot locate any fftw3 package as you have mentioned here The full error message from
|
Yes it would be nicer if a Just wondering if you can build the package from source with the steps (see prepare function) from https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=python-shtools:
If this works for you too, than it is not really an edge case for my system only and I can think of putting in a pull request. |
Adding the site.cfg solved the error caused by numpy.distutils, but a much scarier error occurred during building SHTOOLS
|
Is there a file |
Yes the python headers exist at the mentioned directory but the error message is the same as above. |
Did you ever find a solution to these problems? Sorry that I am been MIA for the past couple of months.... |
Could you let me know if you are having the same problems with the latest release (4.10)? We encountered a problem with some directories not being found because of a breaking change in setuptools. I don't think that this is related to the issues you have here, but it is worth a try. Also, in the next minor release (4.10.1). I'll be removing the As for the site.cfg file, I could try adding this and see what happens with our CI builds... |
Hi Mark, yes there still seem to be the same problems. I've updated the arch linux package, but it still requires the Makefile patch and copying of the site.cfg, so an out of the box compilation doesn't work. In addition there seems to be some kind of race condition when building the package with make in parallel. I suspect the compilation of the *.mod files is not always in the correct order (and maybe done twice) which causes build problems (see the comment on https://aur.archlinux.org/packages/shtools). |
For info, the problem with libtool should be solved. In this PR we opted to use As for fftw - distutils should in principle find this. I don't think that including the site.cfg in the main package is the right solution, but maybe I'm wrong. In any case, we are working on moving from disutils to meson (#380), so maybe this will solve the problem (or not...) |
Description of the problem
I've recently build 4.9.1 on Arch linux and encountered 2 problems. I managed to resolve them (see https://aur.archlinux.org/packages/python-shtools/) by using a makefile patch and an additional configuration file, but nevertheless want to give a heads up, so you're aware.
/usr/include
per default anymore (see numpy/numpy@6115fc5). I could solve this by adding asite.cfg
file to the root of the repo directory. I'm not sure whether doing this for the official repo will interfere with your other builds though.System information
Arch Linux 5.15.10, python-numpy(-openblas) 1.21.3
The text was updated successfully, but these errors were encountered: