distutils-common-base.bbclass: Pick up additional .debug folders:
PATCH 1/1 distutils-common-base.bbclass: Pick up additional .debug folders:
--- meta/classes/distutils-common-base.bbclass | 3 +++ 1 file changed, 3 insertions(+)
meta/classes/distutils-common-base.bbclass +3 -0
@@ -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 \ "
Signature · 1 line
1.7.9.7
meta/classes/distutils-common-base.bbclass FILES_${PN}-dbg += "\ · line 23
Quoted 6 lines · Matthew McClintock
${PYTHON_SITEPACKAGES_DIR}/.debug \ ${PYTHON_SITEPACKAGES_DIR}/*/.debug \ ${PYTHON_SITEPACKAGES_DIR}/*/*/.debug \meta/classes/distutils-common-base.bbclass +3
-0+ ${libdir}/${PYTHON_DIR}/.debug \ + ${libdir}/${PYTHON_DIR}/*/.debug \ + ${libdir}/${PYTHON_DIR}/*/*/.debug \
I thought packages that used distutils generally put their files under sitepackages, and not the python base directory... Are some packages doing it wrong?
Ross
Quoted 11 lines · Ross
meta/classes/distutils-common-base.bbclass FILES_${PN}-dbg += "\ · line 23
Quoted 6 lines · Matthew McClintock
${PYTHON_SITEPACKAGES_DIR}/.debug \ ${PYTHON_SITEPACKAGES_DIR}/*/.debug \ ${PYTHON_SITEPACKAGES_DIR}/*/*/.debug \meta/classes/distutils-common-base.bbclass +3
-0+ ${libdir}/${PYTHON_DIR}/.debug \ + ${libdir}/${PYTHON_DIR}/*/.debug \ + ${libdir}/${PYTHON_DIR}/*/*/.debug \I thought packages that used distutils generally put their files under sitepackages, and not the python base directory... Are some packages doing it wrong?
pexpect was installing /usr/lib/python2.7 and that was my basis for the correct location so I changed it to ${libdir} to fix that... I just sent another patch that might address this issue..
-M
Quoted 7 lines
Ross
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Quoted 11 lines · Ross
meta/classes/distutils-common-base.bbclass FILES_${PN}-dbg += "\ · line 23
Quoted 6 lines · Matthew McClintock
${PYTHON_SITEPACKAGES_DIR}/.debug \ ${PYTHON_SITEPACKAGES_DIR}/*/.debug \ ${PYTHON_SITEPACKAGES_DIR}/*/*/.debug \meta/classes/distutils-common-base.bbclass +3
-0+ ${libdir}/${PYTHON_DIR}/.debug \ + ${libdir}/${PYTHON_DIR}/*/.debug \ + ${libdir}/${PYTHON_DIR}/*/*/.debug \I thought packages that used distutils generally put their files under sitepackages, and not the python base directory... Are some packages doing it wrong?
Yes, almost all python-* recipes after this patch
http://git.openembedded.org/openembedded-core/commit/?id=3b23feca31480cc56f55301fd0274e622c40b522
I have 9 such recipes in my dep tree.
Cheers,
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 9 lines · Martin Jansa
Quoted 8 lines · Ross
Quoted 6 lines · Matthew McClintock
${PYTHON_SITEPACKAGES_DIR}/.debug \ ${PYTHON_SITEPACKAGES_DIR}/*/.debug \ ${PYTHON_SITEPACKAGES_DIR}/*/*/.debug \meta/classes/distutils-common-base.bbclass +3
-0+ ${libdir}/${PYTHON_DIR}/.debug \ + ${libdir}/${PYTHON_DIR}/*/.debug \ + ${libdir}/${PYTHON_DIR}/*/*/.debug \
Quoted 8 lines
Quoted 3 lines
I thought packages that used distutils generally put their files under sitepackages, and not the python base directory... Are some packages doing it wrong?
Yes, almost all python-* recipes after this patch
http://git.openembedded.org/openembedded-core/commit/?id=3b23feca31480cc56f55301fd0274e622c40b522I have 9 such recipes in my dep tree.
Martin,
Can you look at:
http://patches.openembedded.org/patch/35245/
-M
Quoted 11 lines
Cheers,
--
Martin 'JaMa' Jansa jabber: [email protected]_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Quoted 9 lines · Martin Jansa
Quoted 8 lines · Ross
Quoted 6 lines · Matthew McClintock
${PYTHON_SITEPACKAGES_DIR}/.debug \ ${PYTHON_SITEPACKAGES_DIR}/*/.debug \ ${PYTHON_SITEPACKAGES_DIR}/*/*/.debug \meta/classes/distutils-common-base.bbclass +3
-0+ ${libdir}/${PYTHON_DIR}/.debug \ + ${libdir}/${PYTHON_DIR}/*/.debug \ + ${libdir}/${PYTHON_DIR}/*/*/.debug \
Quoted 8 lines
Quoted 3 lines
I thought packages that used distutils generally put their files under sitepackages, and not the python base directory... Are some packages doing it wrong?
Yes, almost all python-* recipes after this patch
http://git.openembedded.org/openembedded-core/commit/?id=3b23feca31480cc56f55301fd0274e622c40b522I have 9 such recipes in my dep tree.
That patch shouldn't have gone in, it breaks things. I've posted something to try and fix things for everyone although python packaging isn't my strong area.
Cheers,
Richard
Quoted 17 lines · On Fri, Aug 24, 2012 at 04:06:45PM +0000, McClintock Matthew-B29882 wrote:
Quoted 16 lines · Martin Jansa
Quoted 11 lines · Ross
meta/classes/distutils-common-base.bbclass FILES_${PN}-dbg += "\ · line 23
Quoted 6 lines · Matthew McClintock
${PYTHON_SITEPACKAGES_DIR}/.debug \ ${PYTHON_SITEPACKAGES_DIR}/*/.debug \ ${PYTHON_SITEPACKAGES_DIR}/*/*/.debug \meta/classes/distutils-common-base.bbclass +3
-0+ ${libdir}/${PYTHON_DIR}/.debug \ + ${libdir}/${PYTHON_DIR}/*/.debug \ + ${libdir}/${PYTHON_DIR}/*/*/.debug \I thought packages that used distutils generally put their files under sitepackages, and not the python base directory... Are some packages doing it wrong?
Yes, almost all python-* recipes after this patch
http://git.openembedded.org/openembedded-core/commit/?id=3b23feca31480cc56f55301fd0274e622c40b522
Quoted 7 lines
Quoted 1 line
I have 9 such recipes in my dep tree.
Martin,
Can you look at:
Not right now.. the builder with OEBasicHash which failed because of this will be busy for next 40 hours at least because pixman PRINC was bumped..
Cheers,
Quoted 13 lines
-M
Quoted 11 lines
Cheers,
--
Martin 'JaMa' Jansa jabber: [email protected]_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 17 lines · On Fri, 2012-08-24 at 16:06 +0000, McClintock Matthew-B29882 wrote:
Quoted 16 lines · Martin Jansa
Quoted 11 lines · Ross
meta/classes/distutils-common-base.bbclass FILES_${PN}-dbg += "\ · line 23
Quoted 6 lines · Matthew McClintock
${PYTHON_SITEPACKAGES_DIR}/.debug \ ${PYTHON_SITEPACKAGES_DIR}/*/.debug \ ${PYTHON_SITEPACKAGES_DIR}/*/*/.debug \meta/classes/distutils-common-base.bbclass +3
-0+ ${libdir}/${PYTHON_DIR}/.debug \ + ${libdir}/${PYTHON_DIR}/*/.debug \ + ${libdir}/${PYTHON_DIR}/*/*/.debug \I thought packages that used distutils generally put their files under sitepackages, and not the python base directory... Are some packages doing it wrong?
Yes, almost all python-* recipes after this patch
http://git.openembedded.org/openembedded-core/commit/?id=3b23feca31480cc56f55301fd0274e622c40b522
Quoted 7 lines
Quoted 1 line
I have 9 such recipes in my dep tree.
Martin,
Can you look at:
This gets so far but breaks python-argparse which uses setuptools. I've posted a patch which fixes both.
Cheers,
Richard