Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1913810 - numpy wants nonexistent numpy/core/src directory
Summary: numpy wants nonexistent numpy/core/src directory
Keywords:
Status: ASSIGNED
Alias: None
Product: Fedora
Classification: Fedora
Component: numpy
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Gwyn Ciesla
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1914331
TreeView+ depends on / blocked
 
Reported: 2021-01-07 16:28 UTC by Jerry James
Modified: 2021-02-09 16:24 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github numpy numpy issues 18135 0 None closed numpy wants nonexistent numpy/core/src 2021-01-12 20:41:38 UTC

Description Jerry James 2021-01-07 16:28:44 UTC
Description of problem:
The sympy package is failing to pass one test in Rawhide.  Investigation shows that the failure occurs while trying to use numpy:

CCompilerOpt.new_ccompiler_opt[2527] : dispatch header dir '/usr/lib64/python3.9/site-packages/numpy/core/src/common' isn't exist, creating it
error: [Errno 13] Permission denied: '/usr/lib64/python3.9/site-packages/numpy/core/src'

That ungrammatical error message comes from %{python3_sitearch}/numpy/distutils/ccompiler_opt.py, line 2528, in the new_ccompiler_opt function.  Numpy expects to find _cpu_dispatch.h in that directory, and attempts to write it if it isn't there, but the location is not writable.

Version-Release number of selected component (if applicable):
python3-numpy-1.20.0-0.rc2.fc34

How reproducible:
Always

Steps to Reproduce:
1. Attempt to build sympy in Rawhide
2.
3.

Actual results:
Test failure due to the above error.

Expected results:
Successful tests.

Additional info:
Also see core/setup.py.  The common_deps and common_src variables appear to refer to more files in the nonexistent core/src/common directory.

Comment 1 Ben Cotton 2021-02-09 16:18:49 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle.
Changing version to 34.


Note You need to log in before you can comment on or make changes to this bug.