Summary: | dev-python/numexpr-2.6.9 compilation fail: fatal error: _numpyconfig.h: No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | MeatShooter <universe.government> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | idarktemplar, me, mgorny, vivo75 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
MeatShooter
2020-04-17 07:37:29 UTC
Created attachment 633368 [details]
build.log
Seems to be the same as 717804, I encountered this problem with a vigra build, but it looks like an issue with numpy itself: $ equery belongs /usr/lib64/python3.6/site-packages/numpy/core/include/numpy/numpyconfig.h * Searching for /usr/lib64/python3.6/site-packages/numpy/core/include/numpy/numpyconfig.h ... dev-python/numpy-1.17.4-r2 (/usr/lib64/python3.6/site-packages/numpy/core/include/numpy/numpyconfig.h) Happens to me as well. It's definitely same as 717804, and it's a bug in build of numpy. Reproduction is easy and takes 2 steps: 1. re-emerge numpy; # emerge -1 dev-python/numpy 2. emerge something depending on numpy # emerge -1 dev-python/matplotlib Result: Build fails for numpy dependency (dev-python/matplotlib) Expected result: dev-python/matplotlib should build successfully. Note: before duing such experiment I'd recommend to use quickpkg to save current copy of numpy if it's working. I have only python3.7 enabled for numpy. Files list before numpy re-emerge: $ equery f numpy | grep numpyconfig /usr/lib/python3.7/site-packages/numpy/core/include/numpy/_numpyconfig.h /usr/lib/python3.7/site-packages/numpy/core/include/numpy/numpyconfig.h After numpy re-emerge _numpyconfig.h and a few more files disappear. I guess it might be caused by following patch, because working numpy version was built without this patch, but just removing patch makes numpy build fail for me: $ diff -u /var/db/pkg/dev-python/numpy-1.16.5/numpy-1.16.5.ebuild /usr/portage/dev-python/numpy/numpy-1.16.5.ebuild --- /var/db/pkg/dev-python/numpy-1.16.5/numpy-1.16.5.ebuild 2020-01-30 21:49:44.006938297 +0300 +++ /usr/portage/dev-python/numpy/numpy-1.16.5.ebuild 2020-04-16 21:09:40.000000000 +0300 @@ -22,7 +22,7 @@ )" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="doc lapack test" RESTRICT="!test? ( test )" @@ -41,6 +41,7 @@ PATCHES=( "${FILESDIR}"/${PN}-1.15.4-no-hardcode-blas.patch + "${FILESDIR}"/numpy-1.16.5-setup.py-install-skip-build-fails.patch ) src_unpack() { *** This bug has been marked as a duplicate of bug 717502 *** *** This bug has been marked as a duplicate of bug 717502 *** |