| Summary: | python-curl and python-images fail QA tests | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Ross Burton <ross.burton> |
| Component: | devtools / tool chain | Assignee: | Matthew McClintock <msm-oss> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | laurentiu.serban, meta.mr.watcher, meta.watcher, msm-oss, sgw |
| Version: | 1.4 | ||
| Target Milestone: | 1.3 M4 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | (autobuilder) | ||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
|
Description
Ross Burton
2012-08-22 17:04:31 UTC
CCing Matthew McClintock who wrote the distutils patches. These should be picking up these .debug and putting them in the right package.
meta/classes/distutils-common-base.bbclass: ${PYTHON_SITEPACKAGES_DIR}/.debug \
meta/classes/distutils-common-base.bbclass: ${PYTHON_SITEPACKAGES_DIR}/*/.debug \
meta/classes/distutils-common-base.bbclass: ${PYTHON_SITEPACKAGES_DIR}/*/*/.debug \
Still looking for more possibilities...
(In reply to comment #2) > These should be picking up these .debug and putting them in the right > package. > > meta/classes/distutils-common-base.bbclass: > ${PYTHON_SITEPACKAGES_DIR}/.debug \ > meta/classes/distutils-common-base.bbclass: > ${PYTHON_SITEPACKAGES_DIR}/*/.debug \ > meta/classes/distutils-common-base.bbclass: > ${PYTHON_SITEPACKAGES_DIR}/*/*/.debug \ > > Still looking for more possibilities... Actually, I'm wrong... I think it's possible my previous change to install-lib should be using ${PYTHON_SITEPACKAGES_DIR} I'm really sort of at a loss for the correct installation location for these python modules. Is there another person we can check with on this? All I am sure of is that certain python modules were installed in /usr/lib instead of /usr/lib64. (In reply to comment #3) > (In reply to comment #2) > > These should be picking up these .debug and putting them in the right > > package. > > > > meta/classes/distutils-common-base.bbclass: > > ${PYTHON_SITEPACKAGES_DIR}/.debug \ > > meta/classes/distutils-common-base.bbclass: > > ${PYTHON_SITEPACKAGES_DIR}/*/.debug \ > > meta/classes/distutils-common-base.bbclass: > > ${PYTHON_SITEPACKAGES_DIR}/*/*/.debug \ > > > > Still looking for more possibilities... > > Actually, I'm wrong... I think it's possible my previous change to > install-lib should be using ${PYTHON_SITEPACKAGES_DIR} > > I'm really sort of at a loss for the correct installation location for these > python modules. Is there another person we can check with on this? > > All I am sure of is that certain python modules were installed in /usr/lib > instead of /usr/lib64. Rather: diff --git a/meta/classes/distutils-common-base.bbclass b/meta/classes/distutils-common-base.bbclass index f66a5cd..e650d93 100644 --- a/meta/classes/distutils-common-base.bbclass +++ b/meta/classes/distutils-common-base.bbclass @@ -18,4 +18,7 @@ FILES_${PN}-dbg += "\ ${PYTHON_SITEPACKAGES_DIR}/.debug \ ${PYTHON_SITEPACKAGES_DIR}/*/.debug \ ${PYTHON_SITEPACKAGES_DIR}/*/*/.debug \ + ${libdir}/${PYTHON_DIR}/.debug \ + ${libdir}/${PYTHON_DIR}/*/.debug \ + ${libdir}/${PYTHON_DIR}/*/*/.debug \ " I'm just not sure if this is correct... -M (In reply to comment #4) > (In reply to comment #3) > > (In reply to comment #2) > > > These should be picking up these .debug and putting them in the right > > > package. > > > > > > meta/classes/distutils-common-base.bbclass: > > > ${PYTHON_SITEPACKAGES_DIR}/.debug \ > > > meta/classes/distutils-common-base.bbclass: > > > ${PYTHON_SITEPACKAGES_DIR}/*/.debug \ > > > meta/classes/distutils-common-base.bbclass: > > > ${PYTHON_SITEPACKAGES_DIR}/*/*/.debug \ > > > > > > Still looking for more possibilities... > > > > Actually, I'm wrong... I think it's possible my previous change to > > install-lib should be using ${PYTHON_SITEPACKAGES_DIR} > > > > I'm really sort of at a loss for the correct installation location for these > > python modules. Is there another person we can check with on this? > > > > All I am sure of is that certain python modules were installed in /usr/lib > > instead of /usr/lib64. > > Rather: > > diff --git a/meta/classes/distutils-common-base.bbclass > b/meta/classes/distutils-common-base.bbclass > index f66a5cd..e650d93 100644 > --- a/meta/classes/distutils-common-base.bbclass > +++ b/meta/classes/distutils-common-base.bbclass > @@ -18,4 +18,7 @@ FILES_${PN}-dbg += "\ > ${PYTHON_SITEPACKAGES_DIR}/.debug \ > ${PYTHON_SITEPACKAGES_DIR}/*/.debug \ > ${PYTHON_SITEPACKAGES_DIR}/*/*/.debug \ > + ${libdir}/${PYTHON_DIR}/.debug \ > + ${libdir}/${PYTHON_DIR}/*/.debug \ > + ${libdir}/${PYTHON_DIR}/*/*/.debug \ > " > > I'm just not sure if this is correct... > > -M We should also bump the PR on all these recipes to check for issues: meta/recipes-devtools/python/python-dbus_1.1.1.bb:inherit distutils-base autotools pkgconfig meta/recipes-devtools/python/python-gst_0.10.22.bb:inherit autotools distutils-base pkgconfig meta/recipes-devtools/python/python-imaging_1.1.7.bb:inherit distutils meta/recipes-devtools/python/python-pycairo_1.10.0.bb:inherit distutils pkgconfig meta/recipes-devtools/python/python-pycurl_7.19.0.bb:inherit distutils meta/recipes-devtools/python/python-pygobject_2.27.91.bb:inherit autotools distutils-base pkgconfig meta/recipes-devtools/python/python-pygtk_2.17.0.bb:inherit autotools pkgconfig distutils-base meta/recipes-devtools/python/python-pyrex_0.9.9.bb:inherit distutils meta/recipes-devtools/python/python-scons_2.1.0.bb:inherit distutils meta/recipes-devtools/python/python-setuptools_0.6c11.bb:inherit distutils Sent patch to fix issue: http://patches.openembedded.org/patch/35239/ -M I always thought that everything using distutils would be installing into site-packages, and not /usr/lib/python/ toplevel directly because that's for the python install itself and not modules. RP supplied this patch: http://patches.openembedded.org/patch/35319/ This has been fixed buy Richard's patches Verified in 52850f0fc6f801298413ee779834b346ef7f48d6 |