* [PATCH] distutils-common-base.bbclass: Pick up additional .debug folders:
@ 2012-08-23 18:46 Matthew McClintock
2012-08-23 22:13 ` Burton, Ross
0 siblings, 1 reply; 8+ messages in thread
From: Matthew McClintock @ 2012-08-23 18:46 UTC (permalink / raw)
To: openembedded-core
Signed-off-by: Matthew McClintock <msm@freescale.com>
---
meta/classes/distutils-common-base.bbclass | 3 +++
1 file changed, 3 insertions(+)
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 \
"
--
1.7.9.7
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH] distutils-common-base.bbclass: Pick up additional .debug folders:
2012-08-23 18:46 [PATCH] distutils-common-base.bbclass: Pick up additional .debug folders: Matthew McClintock
@ 2012-08-23 22:13 ` Burton, Ross
2012-08-23 22:57 ` McClintock Matthew-B29882
2012-08-24 6:25 ` Martin Jansa
0 siblings, 2 replies; 8+ messages in thread
From: Burton, Ross @ 2012-08-23 22:13 UTC (permalink / raw)
To: Matthew McClintock; +Cc: openembedded-core
On 23 August 2012 19:46, Matthew McClintock <msm@freescale.com> wrote:
> ${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 thought packages that used distutils generally put their files under
sitepackages, and not the python base directory... Are some packages
doing it wrong?
Ross
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] distutils-common-base.bbclass: Pick up additional .debug folders:
2012-08-23 22:13 ` Burton, Ross
@ 2012-08-23 22:57 ` McClintock Matthew-B29882
2012-08-24 6:25 ` Martin Jansa
1 sibling, 0 replies; 8+ messages in thread
From: McClintock Matthew-B29882 @ 2012-08-23 22:57 UTC (permalink / raw)
To: Burton, Ross; +Cc: openembedded-core@lists.openembedded.org
On Thu, Aug 23, 2012 at 5:13 PM, Burton, Ross <ross.burton@intel.com> wrote:
> On 23 August 2012 19:46, Matthew McClintock <msm@freescale.com> wrote:
>> ${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 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
>
> Ross
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] distutils-common-base.bbclass: Pick up additional .debug folders:
2012-08-23 22:13 ` Burton, Ross
2012-08-23 22:57 ` McClintock Matthew-B29882
@ 2012-08-24 6:25 ` Martin Jansa
2012-08-24 16:06 ` McClintock Matthew-B29882
2012-08-24 16:16 ` Richard Purdie
1 sibling, 2 replies; 8+ messages in thread
From: Martin Jansa @ 2012-08-24 6:25 UTC (permalink / raw)
To: Burton, Ross; +Cc: Matthew McClintock, openembedded-core
[-- Attachment #1: Type: text/plain, Size: 841 bytes --]
On Thu, Aug 23, 2012 at 11:13:08PM +0100, Burton, Ross wrote:
> On 23 August 2012 19:46, Matthew McClintock <msm@freescale.com> wrote:
> > ${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 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,
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] distutils-common-base.bbclass: Pick up additional .debug folders:
2012-08-24 6:25 ` Martin Jansa
@ 2012-08-24 16:06 ` McClintock Matthew-B29882
2012-08-24 16:19 ` Martin Jansa
2012-08-24 16:20 ` Richard Purdie
2012-08-24 16:16 ` Richard Purdie
1 sibling, 2 replies; 8+ messages in thread
From: McClintock Matthew-B29882 @ 2012-08-24 16:06 UTC (permalink / raw)
To: Martin Jansa; +Cc: openembedded-core@lists.openembedded.org
On Fri, Aug 24, 2012 at 1:25 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
> On Thu, Aug 23, 2012 at 11:13:08PM +0100, Burton, Ross wrote:
>> On 23 August 2012 19:46, Matthew McClintock <msm@freescale.com> wrote:
>> > ${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 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
>
> Cheers,
>
> --
> Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] distutils-common-base.bbclass: Pick up additional .debug folders:
2012-08-24 6:25 ` Martin Jansa
2012-08-24 16:06 ` McClintock Matthew-B29882
@ 2012-08-24 16:16 ` Richard Purdie
1 sibling, 0 replies; 8+ messages in thread
From: Richard Purdie @ 2012-08-24 16:16 UTC (permalink / raw)
To: Martin Jansa; +Cc: Matthew McClintock, openembedded-core
On Fri, 2012-08-24 at 08:25 +0200, Martin Jansa wrote:
> On Thu, Aug 23, 2012 at 11:13:08PM +0100, Burton, Ross wrote:
> > On 23 August 2012 19:46, Matthew McClintock <msm@freescale.com> wrote:
> > > ${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 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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] distutils-common-base.bbclass: Pick up additional .debug folders:
2012-08-24 16:06 ` McClintock Matthew-B29882
@ 2012-08-24 16:19 ` Martin Jansa
2012-08-24 16:20 ` Richard Purdie
1 sibling, 0 replies; 8+ messages in thread
From: Martin Jansa @ 2012-08-24 16:19 UTC (permalink / raw)
To: McClintock Matthew-B29882; +Cc: openembedded-core@lists.openembedded.org
[-- Attachment #1: Type: text/plain, Size: 1619 bytes --]
On Fri, Aug 24, 2012 at 04:06:45PM +0000, McClintock Matthew-B29882 wrote:
> On Fri, Aug 24, 2012 at 1:25 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
> > On Thu, Aug 23, 2012 at 11:13:08PM +0100, Burton, Ross wrote:
> >> On 23 August 2012 19:46, Matthew McClintock <msm@freescale.com> wrote:
> >> > ${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 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/
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,
> -M
>
> >
> > Cheers,
> >
> > --
> > Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
> >
> > _______________________________________________
> > Openembedded-core mailing list
> > Openembedded-core@lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
> >
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] distutils-common-base.bbclass: Pick up additional .debug folders:
2012-08-24 16:06 ` McClintock Matthew-B29882
2012-08-24 16:19 ` Martin Jansa
@ 2012-08-24 16:20 ` Richard Purdie
1 sibling, 0 replies; 8+ messages in thread
From: Richard Purdie @ 2012-08-24 16:20 UTC (permalink / raw)
To: McClintock Matthew-B29882
Cc: Martin Jansa, openembedded-core@lists.openembedded.org
On Fri, 2012-08-24 at 16:06 +0000, McClintock Matthew-B29882 wrote:
> On Fri, Aug 24, 2012 at 1:25 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
> > On Thu, Aug 23, 2012 at 11:13:08PM +0100, Burton, Ross wrote:
> >> On 23 August 2012 19:46, Matthew McClintock <msm@freescale.com> wrote:
> >> > ${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 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/
This gets so far but breaks python-argparse which uses setuptools. I've
posted a patch which fixes both.
Cheers,
Richard
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2012-08-24 16:32 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-23 18:46 [PATCH] distutils-common-base.bbclass: Pick up additional .debug folders: Matthew McClintock
2012-08-23 22:13 ` Burton, Ross
2012-08-23 22:57 ` McClintock Matthew-B29882
2012-08-24 6:25 ` Martin Jansa
2012-08-24 16:06 ` McClintock Matthew-B29882
2012-08-24 16:19 ` Martin Jansa
2012-08-24 16:20 ` Richard Purdie
2012-08-24 16:16 ` Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox