Skip to contentSkip to conversation

perl: upgrade from 5.40.2 to 5.42.0

PATCH Superseded Changqing Li 2 participants 4 messages Feb 24 – Feb 26

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 perl: upgrade from 5.40.2 to 5.42.0

License-Update: Update copies of GPL to match recent FSF changes

---
 meta/recipes-devtools/perl/{perl_5.40.2.bb => perl_5.42.0.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-devtools/perl/{perl_5.40.2.bb => perl_5.42.0.bb} (99%)
meta/recipes-devtools/perl/perl_5.42.0.bb renamed from meta/recipes-devtools/perl/perl_5.40.2.bb +2 -2
similarity index 99%
rename from meta/recipes-devtools/perl/perl_5.40.2.bb
rename to meta/recipes-devtools/perl/perl_5.42.0.bb
index 2225dc202b..a154bbc0a9 100644
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.perl.org/"
 DESCRIPTION = "Perl is a highly capable, feature-rich programming language"
 SECTION = "devel"
 LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
-LIC_FILES_CHKSUM = "file://Copying;md5=5b122a36d0f6dc55279a0ebc69f3c60b \
+LIC_FILES_CHKSUM = "file://Copying;md5=8f7dd0873e59530abbb36503972afcdb \
                     file://Artistic;md5=71a4d5d9acc18c0952a6df2218bb68da \
                     "
 
@@ -24,7 +24,7 @@ SRC_URI:append:class-target = " \
            file://encodefix.patch \
 "
 
-SRC_URI[perl.sha256sum] = "10d4647cfbb543a7f9ae3e5f6851ec49305232ea7621aed24c7cfbb0bef4b70d"
+SRC_URI[perl.sha256sum] = "e093ef184d7f9a1b9797e2465296f55510adb6dab8842b0c3ed53329663096dc"
 
 B = "${WORKDIR}/perl-${PV}-build"
 
Signature · 1 line
2.34.1
#1 lore raw
Quoted 4 lines · Changqing Li via lists.openembedded.org

License-Update: Update copies of GPL to match recent FSF changes

---

Hi Changqing,

Thanks for your patch.

It looks like some ptest is failing. I suspect the fail comes from the perl upgrade:

WARNING: core-image-ptest-libmodule-build-perl-1.0-r0 do_testimage: There were failing ptests.
Traceback (most recent call last):
File "/srv/pokybuild/yocto-worker/qemux86-64-ptest/build/layers/openembedded-core/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
return func(*args, **kwargs)
File "/srv/pokybuild/yocto-worker/qemux86-64-ptest/build/layers/openembedded-core/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
return func(*args, **kwargs)
File "/srv/pokybuild/yocto-worker/qemux86-64-ptest/build/layers/openembedded-core/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
return func(*args, **kwargs)
File "/srv/pokybuild/yocto-worker/qemux86-64-ptest/build/layers/openembedded-core/meta/lib/oeqa/runtime/cases/ptest.py", line 27, in test_ptestrunner_expectfail
self.do_ptestrunner()
File "/srv/pokybuild/yocto-worker/qemux86-64-ptest/build/layers/openembedded-core/meta/lib/oeqa/runtime/cases/ptest.py", line 120, in do_ptestrunner
self.fail(failmsg)
AssertionError:
Failed ptests:
{'libmodule-build-perl': ['t/xs']}

https://autobuilder.yoctoproject.org/valkyrie/#/builders/73/builds/3155
https://autobuilder.yoctoproject.org/valkyrie/#/builders/61/builds/3114
https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/1126

Test logs can be found here:

https://valkyrie.yocto.io/pub/non-release/20260225-48/testresults/qemuarm64-ptest/core-image-ptest-libmodule-build-perl/
https://valkyrie.yocto.io/pub/non-release/20260225-48/testresults/qemux86-64-ptest/core-image-ptest-libmodule-build-perl/

Can you have a look at the issues?

Thanks,
Mathieu

Signature · 3 lines
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw
Quoted 15 lines · Mathieu Dubois-Briand

CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know the content is safe.

Quoted 4 lines · Changqing Li via lists.openembedded.org

License-Update: Update copies of GPL to match recent FSF changes

---

Hi Changqing,

Thanks for your patch.

It looks like some ptest is failing. I suspect the fail comes from the perl upgrade:

Quoted 15 lines

WARNING: core-image-ptest-libmodule-build-perl-1.0-r0 do_testimage: There were failing ptests.
Traceback (most recent call last):
File "/srv/pokybuild/yocto-worker/qemux86-64-ptest/build/layers/openembedded-core/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
return func(*args, **kwargs)
File "/srv/pokybuild/yocto-worker/qemux86-64-ptest/build/layers/openembedded-core/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
return func(*args, **kwargs)
File "/srv/pokybuild/yocto-worker/qemux86-64-ptest/build/layers/openembedded-core/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
return func(*args, **kwargs)
File "/srv/pokybuild/yocto-worker/qemux86-64-ptest/build/layers/openembedded-core/meta/lib/oeqa/runtime/cases/ptest.py", line 27, in test_ptestrunner_expectfail
self.do_ptestrunner()
File "/srv/pokybuild/yocto-worker/qemux86-64-ptest/build/layers/openembedded-core/meta/lib/oeqa/runtime/cases/ptest.py", line 120, in do_ptestrunner
self.fail(failmsg)
AssertionError:
Failed ptests:
{'libmodule-build-perl': ['t/xs']}

Hi, Mathieu,

I cannot reproduce this locally,  in my test env,  the missing package is installed as a dependency by someone.

But I think I have find the issue and  send V2, please help to test with V2. Thanks.

Regards

Changqing

Quoted 19 lines

https://autobuilder.yoctoproject.org/valkyrie/#/builders/73/builds/3155
https://autobuilder.yoctoproject.org/valkyrie/#/builders/61/builds/3114
https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/1126

Test logs can be found here:

https://valkyrie.yocto.io/pub/non-release/20260225-48/testresults/qemuarm64-ptest/core-image-ptest-libmodule-build-perl/
https://valkyrie.yocto.io/pub/non-release/20260225-48/testresults/qemux86-64-ptest/core-image-ptest-libmodule-build-perl/

Can you have a look at the issues?

Thanks,
Mathieu

--
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

#3 lore raw

PATCH v2 1/1 perl: upgrade from 5.40.2 to 5.42.0

In reply to Mathieu Dubois-Briand

License-Update: Update copies of GPL to match recent FSF changes

Changes: https://perldoc.perl.org/5.42.0/perldelta

Update RDEPENDS for perl-module-extutils-parsexs, refer [1], this should fix libmodule-build-perl ptest failure:
Failed to load or import from ExtUtils::ParseXS (version 3.57). Please check that ExtUtils::ParseXS is installed correctly and that the newest version will be found in your @INC path: Can't locate ExtUtils/ParseXS/Node.pm in @INC

[1] https://github.com/Perl/perl5/commit/36118f523541d3e74ab495202ca8efbd9c9611b5

---
 meta/recipes-devtools/perl/files/perl-rdepends.txt            | 3 +++
 meta/recipes-devtools/perl/{perl_5.40.2.bb => perl_5.42.0.bb} | 4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)
 rename meta/recipes-devtools/perl/{perl_5.40.2.bb => perl_5.42.0.bb} (99%)
meta/recipes-devtools/perl/files/perl-rdepends.txt +3 -0
index 462456bba0..de383d5ccc 100644
@@ -727,6 +727,8 @@ RDEPENDS:perl-module-extutils-parsexs-constants += "perl-module-warnings"
 RDEPENDS:perl-module-extutils-parsexs-countlines += "perl-module-strict"
 RDEPENDS:perl-module-extutils-parsexs-eval += "perl-module-strict"
 RDEPENDS:perl-module-extutils-parsexs-eval += "perl-module-warnings"
+RDEPENDS:perl-module-extutils-parsexs-node += "perl-module-strict"
+RDEPENDS:perl-module-extutils-parsexs-node += "perl-module-warnings"
 RDEPENDS:perl-module-extutils-parsexs += "perl-module-config"
 RDEPENDS:perl-module-extutils-parsexs += "perl-module-cwd"
 RDEPENDS:perl-module-extutils-parsexs += "perl-module-exporter"
@@ -734,6 +736,7 @@ RDEPENDS:perl-module-extutils-parsexs += "perl-module-extutils-parsexs-constants
 RDEPENDS:perl-module-extutils-parsexs += "perl-module-extutils-parsexs-countlines"
 RDEPENDS:perl-module-extutils-parsexs += "perl-module-extutils-parsexs-eval"
 RDEPENDS:perl-module-extutils-parsexs += "perl-module-extutils-parsexs-utilities"
+RDEPENDS:perl-module-extutils-parsexs += "perl-module-extutils-parsexs-node"
 RDEPENDS:perl-module-extutils-parsexs += "perl-module-file-basename"
 RDEPENDS:perl-module-extutils-parsexs += "perl-module-re"
 RDEPENDS:perl-module-extutils-parsexs += "perl-module-strict"
meta/recipes-devtools/perl/perl_5.42.0.bb renamed from meta/recipes-devtools/perl/perl_5.40.2.bb +2 -2
similarity index 99%
rename from meta/recipes-devtools/perl/perl_5.40.2.bb
rename to meta/recipes-devtools/perl/perl_5.42.0.bb
index 2225dc202b..a154bbc0a9 100644
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.perl.org/"
 DESCRIPTION = "Perl is a highly capable, feature-rich programming language"
 SECTION = "devel"
 LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
-LIC_FILES_CHKSUM = "file://Copying;md5=5b122a36d0f6dc55279a0ebc69f3c60b \
+LIC_FILES_CHKSUM = "file://Copying;md5=8f7dd0873e59530abbb36503972afcdb \
                     file://Artistic;md5=71a4d5d9acc18c0952a6df2218bb68da \
                     "
 
@@ -24,7 +24,7 @@ SRC_URI:append:class-target = " \
            file://encodefix.patch \
 "
 
-SRC_URI[perl.sha256sum] = "10d4647cfbb543a7f9ae3e5f6851ec49305232ea7621aed24c7cfbb0bef4b70d"
+SRC_URI[perl.sha256sum] = "e093ef184d7f9a1b9797e2465296f55510adb6dab8842b0c3ed53329663096dc"
 
 B = "${WORKDIR}/perl-${PV}-build"
 
Signature · 1 line
2.34.1