[oe] [meta-oe][PATCH] libdbi-perl: prevent native libdbi-perl depending on target perl

Martin Jansa martin.jansa at gmail.com
Wed Jul 31 09:27:20 UTC 2019


This is the only one with this behavior in the layers I have in LuneOS
builds, see:
http://jenkins.nas-admin.org/job/LuneOS/view/unstable/job/luneos-unstable_workspace-compare-signatures/56/console

I don't remember seeing it before perl-cross change, but there were quite a
few issues before so it's possible I've overlooked it before, it's not in
this jenkins job for warrior:
http://jenkins.nas-admin.org/job/LuneOS/view/testing/job/luneos-testing_workspace-compare-signatures/144/console
but that's because my fix was merged in warrior and your revert wasn't.


On Wed, Jul 31, 2019 at 5:40 AM Tim Orling <ticotimo at gmail.com> wrote:

> Sorry for clobbering this change previously. I hadn’t seen the commit
> message about the error and I meant to send an email to open up discussion
> once I saw it (randomly)...we discussed it in the bug triage meeting and a
> weekly engineering sync meeting.
>
> I do wonder why this is needed (which is why I naively dropped it), or
> better said why other Perl modules are not affected. This feels like a fix
> for an underlying problem. I would expect ALL libfoo-perl recipes to have
> the same behavior. Bitbake is supposed to be smart enough to handle
> RDEPENDS properly for native recipes.
>
> Have you only seen it on this package because of usage, or is it special
> in some way? Did it affect releases before the perl-cross change when we
> moved to perl 5.28.0? Trying to sleuth out the underlying cause...otherwise
> we need a sweeping change for all other native perl module recipes...
>
> On Tue, Jul 30, 2019 at 11:56 AM Martin Jansa <martin.jansa at gmail.com>
> wrote:
>
>> From: Martin Jansa <martin.jansa at gmail.com>
>>
>> * detected with:
>>   openembedded-core/scripts/sstate-diff-machines.sh --tmpdir=tmp-glibc
>> --machines="qemux86 qemux86copy qemuarm" --targets="libdbi-perl-native"
>> --analyze
>>   ...
>>   ERROR: libdbi-perl-native different signature for task
>> do_populate_sysroot.sigdata between qemux86 and qemuarm
>>   Hash for dependent task perl-sanity/perl_5.28.2.bb.do_populate_sysroot
>> changed from
>> 00c0f30e40a144255fc3054e9a71ce73170a89832318774bd2a8fc5e8dcd20ad to
>> e22ff8375c4ee6bda646dae8a1d6b1ddeb6d373678fc036fdc406e91a026b497
>>
>> * it was already merged in:
>>
>> http://git.openembedded.org/meta-openembedded/commit/?id=d98e62e64219b365063fdb299d35f2af999d8f6e
>>   and then silently reverted in:
>>
>> http://git.openembedded.org/meta-openembedded/commit/?id=784285981b1ce9825575981f2b60e2b286251283
>>   see:
>>
>> http://lists.openembedded.org/pipermail/openembedded-devel/2019-July/200676.html
>>
>> Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
>> Signed-off-by: Khem Raj <raj.khem at gmail.com>
>> ---
>>  meta-oe/recipes-devtools/perl/libdbi-perl_1.642.bb | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/meta-oe/recipes-devtools/perl/libdbi-perl_1.642.bb
>> b/meta-oe/recipes-devtools/perl/libdbi-perl_1.642.bb
>> index 77991bd158..91f94a1aa0 100644
>> --- a/meta-oe/recipes-devtools/perl/libdbi-perl_1.642.bb
>> +++ b/meta-oe/recipes-devtools/perl/libdbi-perl_1.642.bb
>> @@ -27,7 +27,7 @@ do_install_prepend() {
>>         rm -rf ${B}/t/z*.t
>>  }
>>
>> -RDEPENDS_${PN} = " \
>> +RDEPENDS_${PN}_class-target = " \
>>      perl-module-carp \
>>      perl-module-exporter \
>>      perl-module-exporter-heavy \
>> --
>> 2.17.1
>>
>> --
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel at lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>
>


More information about the Openembedded-devel mailing list