Bug 8244

Summary: python-numpy has SRC_URI warnings in multilib configurations
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Ross Burton <ross.burton>
Component: devtools / tool chainAssignee: Richard Purdie <richard.purdie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: meta.mr.watcher, meta.watcher
Version: 1.9   
Target Milestone: 2.0   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Ross Burton 2015-09-02 19:53:42 UTC
With a 64-bit machine and lib32 multilib, python-numpy produces warnings when parsing:

WARNING: Unable to get checksum for lib32-python-numpy SRC_URI entry _numpyconfig.h: file could not be found
Comment 1 Ross Burton 2015-09-02 19:57:01 UTC
I'm guessing this means it would fail to build at all, but my multilib compilers are not built right now.  My hunch is there is a problem with the arch overrides used to find numpyconfig.
Comment 2 Richard Purdie 2015-09-15 21:17:11 UTC
$ MACHINE=qemux86-64 bitbake lib32-python-numpy -e | grep ^OVERRIDES

OVERRIDES="linux:i686:build-linux:pn-lib32-python-numpy:pn-python-numpy:x86:qemuall:qemux86-64:poky:class-target:forcevariable:libc-glibc:virtclass-multilib-lib32"

$ MACHINE=qemux86-64 bitbake lib32-python-numpy -e | grep ^CONFIGFILESURI -C 20

#   override[armeb]:set /media/build1/poky/meta/recipes-devtools/python/python-numpy_1.7.0.bb:24
#     "     file://config.h     file://numpyconfig.h "
#   override[mipsel]:set /media/build1/poky/meta/recipes-devtools/python/python-numpy_1.7.0.bb:28
#     "     file://config.h     file://numpyconfig.h "
#   override[x86]:set /media/build1/poky/meta/recipes-devtools/python/python-numpy_1.7.0.bb:32
#     "     file://config.h     file://numpyconfig.h "
#   override[x86-64]:set /media/build1/poky/meta/recipes-devtools/python/python-numpy_1.7.0.bb:36
#     "     file://config.h     file://_numpyconfig.h "
#   override[mips]:set /media/build1/poky/meta/recipes-devtools/python/python-numpy_1.7.0.bb:40
#     "     file://config.h     file://_numpyconfig.h "
#   override[powerpc]:set /media/build1/poky/meta/recipes-devtools/python/python-numpy_1.7.0.bb:44
#     "     file://config.h     file://_numpyconfig.h "
#   override[powerpc64]:set /media/build1/poky/meta/recipes-devtools/python/python-numpy_1.7.0.bb:48
#     "     file://config.h     file://_numpyconfig.h "
#   override[mips64]:set /media/build1/poky/meta/recipes-devtools/python/python-numpy_1.7.0.bb:52
#     "     file://config.h     file://_numpyconfig.h "
#   override[mips64n32]:set /media/build1/poky/meta/recipes-devtools/python/python-numpy_1.7.0.bb:56
#     "     file://config.h     file://_numpyconfig.h "
# pre-expansion value:
#   "     file://config.h     file://_numpyconfig.h "
CONFIGFILESURI="     file://config.h     file://_numpyconfig.h "

So why the x86-64 override is being applied instead of the x86 is a good question. Looks like datastore breakage :(
Comment 3 Richard Purdie 2015-09-18 14:19:21 UTC
This turned out to be a datastore bug. It was fixed with the patches ending in http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=5b4e380b9b4335f4607d78d97345bbbda4c66e0e