Summary: | dev-python/numpy-1.17.4: does not include _numpyconfig.h header causing sci-libs/gdal-3.0.4-r1[python] build failure | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Candy Gumdrop <candy> |
Component: | Current packages | Assignee: | Gentoo Science Related Packages <sci> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | alexandref75, anton.kochkov, antonio.pezo.laus, candy, elwood1701, harrisl, hugo.at.ribeiro, josef64, jstein, m27315, mgorny, python, remi, toralf, zeekec |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=717706 https://bugs.gentoo.org/show_bug.cgi?id=717502 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 714384 | ||
Attachments: |
numpy build log, built without error
gdal build log, with error numpy install log, showing files that were removed Fix to compile numpy with a correct installation |
Description
Candy Gumdrop
2020-04-15 15:22:03 UTC
Created attachment 633078 [details]
numpy build log, built without error
Created attachment 633080 [details]
gdal build log, with error
Created attachment 633086 [details]
numpy install log, showing files that were removed
This shows the files which were suddenly removed after a rebuild, including various missing files required to build GDAL.
*** Bug 717600 has been marked as a duplicate of this bug. *** matplotlib, opencv are other applications that also fail with numpy-1.17.4. The file __multiarray_api.h is also missing from the installation. This bug appears to have been introduced by the following recent commit: distutils-r1.eclass: Pass --skip-build when installing https://gitweb.gentoo.org/repo/gentoo.git/commit/eclass/distutils-r1.eclass?id=180fa85d7d00aea463c399f70348beaad9166eb7 After temporarily removing the --skip-build flag in distutils-r1.eclass, I am able to successfully install sci-libs/gdal after rebuilding dev-python/numpy. All missing headers are back. *** Bug 717656 has been marked as a duplicate of this bug. *** *** Bug 717644 has been marked as a duplicate of this bug. *** It also causes build failure on dev-python/numexpr-2.6.9 Created attachment 633292 [details, diff]
Fix to compile numpy with a correct installation
This patch allows numpy to install all the missing files. It is very kludge since it is installing twice. I tried to install only once but it fails.
*** Bug 717672 has been marked as a duplicate of this bug. *** *** This bug has been marked as a duplicate of bug 717502 *** |