libdbi-perl: prevent native libdbi-perl depending on target perl
PATCH 1/1 libdbi-perl: prevent native libdbi-perl depending on target perl
From: Martin Jansa <[email protected]>
* 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
--- meta-oe/recipes-devtools/perl/libdbi-perl_1.642.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-devtools/perl/libdbi-perl_1.642.bb +1 -1
@@ -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 \
Signature · 1 line
2.17.1
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...
Quoted 53 lines · Martin Jansa
From: Martin Jansa <[email protected]>
* 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 from00c0f30e40a144255fc3054e9a71ce73170a89832318774bd2a8fc5e8dcd20adtoe22ff8375c4ee6bda646dae8a1d6b1ddeb6d373678fc036fdc406e91a026b497* 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 <[email protected]>Signed-off-by Khem Raj <[email protected]>--- meta-oe/recipes-devtools/perl/libdbi-perl_1.642.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta-oe/recipes-devtools/perl/libdbi-perl_1.642.bb +1
-2@@ -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
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
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.
Quoted 73 lines · Tim Orling
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...
Quoted 53 lines · Martin Jansa
From: Martin Jansa <[email protected]>
* 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 from00c0f30e40a144255fc3054e9a71ce73170a89832318774bd2a8fc5e8dcd20adtoe22ff8375c4ee6bda646dae8a1d6b1ddeb6d373678fc036fdc406e91a026b497* 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 <[email protected]>Signed-off-by Khem Raj <[email protected]>--- meta-oe/recipes-devtools/perl/libdbi-perl_1.642.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta-oe/recipes-devtools/perl/libdbi-perl_1.642.bb +1
-2@@ -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
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel