Summary: | dev-python/numpy[lapack]: error: second element of each tuple in 'libraries' must be a dictionary (build info) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | gerion <gerion.entrup> |
Component: | Current packages | Assignee: | Gentoo Science Related Packages <sci> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | audvare, bjh-gentoobt, dave.knippers, gentoo, mmokrejs, python |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | environment |
Description
gerion
2019-12-09 10:03:37 UTC
Created attachment 598932 [details]
environment
Is not a problem of prefix. I have the same error on a local gentoo machine. Also experiencing this. Note that numpy-1.16.5 builds fine, but numpy-1.17.4 does not. Not sure how it affects other configurations but reverting a hunk from numpy-1.17.4-no-hardcode-blas.patch by this patch worked for me. diff --git a/numpy/distutils/system_info.py b/numpy/distutils/system_info.py index 09db18e..c6370be 100644 --- a/numpy/distutils/system_info.py +++ b/numpy/distutils/system_info.py @@ -1818,7 +1818,7 @@ class blas_info(system_info): lib = self.get_cblas_libs(info) if lib is not None: info['language'] = 'c' - info['libraries'] = [lib] + info['libraries'] = lib info['define_macros'] = [('HAVE_CBLAS', None)] self.set_info(**info) +1, also experiencing this. Same problem here and I need the lapack use flag to install scipy. Same problem here. I edited the file numpy-1.17.4-no-hardcode-blas.patch and just deleted the last entry: @@ -1842,7 +1818,7 @@ class blas_info(system_info): lib = self.get_cblas_libs(info) if lib is not None: info['language'] = 'c' - info['libraries'] = lib + info['libraries'] = [lib] info['define_macros'] = [('HAVE_CBLAS', None)] self.set_info(**info) as this is essentially what https://bugs.gentoo.org/702328#c4 was undoing. fixed via https://bugs.gentoo.org/700848 (same issue) *** This bug has been marked as a duplicate of bug 700848 *** |