Bug 8244 - python-numpy has SRC_URI warnings in multilib configurations
Summary: python-numpy has SRC_URI warnings in multilib configurations
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 1.9
Hardware: x86 Multiple
: Medium normal
Target Milestone: 2.0
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-09-02 19:53 UTC by Ross Burton
Modified: 2015-09-18 14:19 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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