Bug 7050

Summary: python-numpy requires python-dev on host
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Magnus Olsson <magnus>
Component: devtools / tool chainAssignee: Magnus Olsson <magnus>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: Medium CC: meta.mr.watcher, meta.watcher, richard.purdie
Version: unspecified   
Target Milestone: 1.8 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know
Attachments:
Description Flags
Compilation logs for python-numpy (shows detailed error) none

Description Magnus Olsson 2014-12-09 12:40:53 UTC
Created attachment 2293 [details]
Compilation logs for python-numpy (shows detailed error)

python-numpy build fails with the error "SystemError: Cannot compile 'Python.h'. Perhaps you need to install python-dev|python-devel."

If I install python-dev on my host (Ubuntu 14.04 LTS), this issue goes away.

Not sure if this is the desired behaviour but I did not find it obvious that something needs to be installed on the host to get this working.
Comment 1 Ross Burton 2015-02-11 16:04:01 UTC
I can't replicate this on my host with no python headers installed.  Re-assigning to the submitter and setting to NEEDINFO - Magnus, can you replicate this still?
Comment 2 Magnus Olsson 2015-02-18 07:43:44 UTC
I can no longer reproduce this on Dizzy, I previously had this issue on Daisy. So it's likely that it has been fixed, but I'm unable to locate any specific commit since a lot has changed regarding python when moving to Dizzy. So I'm closing the bug. I tried to reproduce it on a freshly installed Ubuntu 14.04 VM, which didn't have python-dev installed, and it works fine.