Skip to contentSkip to conversation

distutils-common-base.bbclass: Pick up additional .debug folders:

PATCH In review Matthew McClintock 5 participants 8 messages Aug 23, 2012 – Aug 24, 2012

lore
Share & tools
lore
#0 lore raw

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
index f66a5cd..e650d93 100644
@@ -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
#1 lore raw

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

#2 lore raw
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

#3 lore raw
In reply to Burton, 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?

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]
#4 lore raw
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=3b23feca31480cc56f55301fd0274e622c40b522

I 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

#7 lore raw
In reply to Martin Jansa
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=3b23feca31480cc56f55301fd0274e622c40b522

I 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

#5 lore raw
In reply to McClintock Matthew-B29882
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:

http://patches.openembedded.org/patch/35245/

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]
#6 lore raw
In reply to McClintock Matthew-B29882
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:

http://patches.openembedded.org/patch/35245/

This gets so far but breaks python-argparse which uses setuptools. I've posted a patch which fixes both.

Cheers,

Richard