Skip to contentSkip to conversation

perl: upgrade 5.42.2 -> 5.44.0

PATCH Superseded Jaipaul Cheernam 4 participants 7 messages Jul 21 – Jul 22

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 perl: upgrade 5.42.2 -> 5.44.0

Drop patches already included in this release:
- CVE-2026-8376-01.patch (upstream commit e842efdafe7c)
- CVE-2026-8376-02.patch (upstream commit 5e7f119eb2bb)
- determinism.patch (Encode::Byte sort fix)

Add perlcross patches to support perl 5.44.0:
- Add patchset symlinks directory for perl5-5.44.0
- Add configure checks for d_getentropy, i_stdckdint, i_sysrandom

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

---
 .../files/0001-patches-for-perl-5.42.2.patch  | 110 ------------------
 .../files/0001-patches-for-perl-5.44.0.patch  | 110 ++++++++++++++++++
 ...Add-configure-checks-for-perl-5.44.0.patch |  47 ++++++++
 .../perl-cross/perlcross_1.6.4.bb             |   3 +-
 .../perl/files/CVE-2026-8376-01.patch         |  62 ----------
 .../perl/files/CVE-2026-8376-02.patch         |  49 --------
 .../perl/files/determinism.patch              |  51 --------
 .../perl/{perl_5.42.2.bb => perl_5.44.0.bb}   |   5 +-
 8 files changed, 160 insertions(+), 277 deletions(-)
 delete mode 100644 meta/recipes-devtools/perl-cross/files/0001-patches-for-perl-5.42.2.patch
 create mode 100644 meta/recipes-devtools/perl-cross/files/0001-patches-for-perl-5.44.0.patch
 create mode 100644 meta/recipes-devtools/perl-cross/files/0002-Add-configure-checks-for-perl-5.44.0.patch
 delete mode 100644 meta/recipes-devtools/perl/files/CVE-2026-8376-01.patch
 delete mode 100644 meta/recipes-devtools/perl/files/CVE-2026-8376-02.patch
 delete mode 100644 meta/recipes-devtools/perl/files/determinism.patch
 rename meta/recipes-devtools/perl/{perl_5.42.2.bb => perl_5.44.0.bb} (98%)
meta/recipes-devtools/perl-cross/files/0001-patches-for-perl-5.42.2.patch deleted +0 -110
deleted file mode 100644
index 8d9aa26293..0000000000
@@ -1,110 +0,0 @@
-From 61e182b82c13111c91ccbe9f6e94ceb4164b2aea Mon Sep 17 00:00:00 2001
-From: Francois Perrad <[email protected]>
-Date: Wed, 29 Apr 2026 12:43:32 +0200
-Subject: [PATCH] patches for perl-5.42.2
-
-Upstream-Status: Submitted [https://github.com/arsv/perl-cross/pull/174]
-Signed-off-by: Alexander Kanavin <[email protected]>
----
- cnf/diffs/perl5-5.42.2/constant.patch       | 1 +
- cnf/diffs/perl5-5.42.2/dynaloader.patch     | 1 +
- cnf/diffs/perl5-5.42.2/findext.patch        | 1 +
- cnf/diffs/perl5-5.42.2/installscripts.patch | 1 +
- cnf/diffs/perl5-5.42.2/liblist.patch        | 1 +
- cnf/diffs/perl5-5.42.2/makemaker.patch      | 1 +
- cnf/diffs/perl5-5.42.2/posix-makefile.patch | 1 +
- cnf/diffs/perl5-5.42.2/test-checkcase.patch | 1 +
- cnf/diffs/perl5-5.42.2/test-makemaker.patch | 1 +
- cnf/diffs/perl5-5.42.2/xconfig.patch        | 1 +
- 10 files changed, 10 insertions(+)
- create mode 120000 cnf/diffs/perl5-5.42.2/constant.patch
- create mode 120000 cnf/diffs/perl5-5.42.2/dynaloader.patch
- create mode 120000 cnf/diffs/perl5-5.42.2/findext.patch
- create mode 120000 cnf/diffs/perl5-5.42.2/installscripts.patch
- create mode 120000 cnf/diffs/perl5-5.42.2/liblist.patch
- create mode 120000 cnf/diffs/perl5-5.42.2/makemaker.patch
- create mode 120000 cnf/diffs/perl5-5.42.2/posix-makefile.patch
- create mode 120000 cnf/diffs/perl5-5.42.2/test-checkcase.patch
- create mode 120000 cnf/diffs/perl5-5.42.2/test-makemaker.patch
- create mode 120000 cnf/diffs/perl5-5.42.2/xconfig.patch
-
-diff --git a/cnf/diffs/perl5-5.42.2/constant.patch b/cnf/diffs/perl5-5.42.2/constant.patch
-new file mode 120000
-index 0000000..065e198
---- /dev/null
-+++ b/cnf/diffs/perl5-5.42.2/constant.patch
-@@ -0,0 +1 @@
-+../perl5-5.22.3/constant.patch
-\ No newline at end of file
-diff --git a/cnf/diffs/perl5-5.42.2/dynaloader.patch b/cnf/diffs/perl5-5.42.2/dynaloader.patch
-new file mode 120000
-index 0000000..ffb73eb
---- /dev/null
-+++ b/cnf/diffs/perl5-5.42.2/dynaloader.patch
-@@ -0,0 +1 @@
-+../perl5-5.22.3/dynaloader.patch
-\ No newline at end of file
-diff --git a/cnf/diffs/perl5-5.42.2/findext.patch b/cnf/diffs/perl5-5.42.2/findext.patch
-new file mode 120000
-index 0000000..9efbe5b
---- /dev/null
-+++ b/cnf/diffs/perl5-5.42.2/findext.patch
-@@ -0,0 +1 @@
-+../perl5-5.22.3/findext.patch
-\ No newline at end of file
-diff --git a/cnf/diffs/perl5-5.42.2/installscripts.patch b/cnf/diffs/perl5-5.42.2/installscripts.patch
-new file mode 120000
-index 0000000..1c05e0f
---- /dev/null
-+++ b/cnf/diffs/perl5-5.42.2/installscripts.patch
-@@ -0,0 +1 @@
-+../perl5-5.36.0/installscripts.patch
-\ No newline at end of file
-diff --git a/cnf/diffs/perl5-5.42.2/liblist.patch b/cnf/diffs/perl5-5.42.2/liblist.patch
-new file mode 120000
-index 0000000..5037380
---- /dev/null
-+++ b/cnf/diffs/perl5-5.42.2/liblist.patch
-@@ -0,0 +1 @@
-+../perl5-5.42.0/liblist.patch
-\ No newline at end of file
-diff --git a/cnf/diffs/perl5-5.42.2/makemaker.patch b/cnf/diffs/perl5-5.42.2/makemaker.patch
-new file mode 120000
-index 0000000..d7bd609
---- /dev/null
-+++ b/cnf/diffs/perl5-5.42.2/makemaker.patch
-@@ -0,0 +1 @@
-+../perl5-5.38.0/makemaker.patch
-\ No newline at end of file
-diff --git a/cnf/diffs/perl5-5.42.2/posix-makefile.patch b/cnf/diffs/perl5-5.42.2/posix-makefile.patch
-new file mode 120000
-index 0000000..29463b7
---- /dev/null
-+++ b/cnf/diffs/perl5-5.42.2/posix-makefile.patch
-@@ -0,0 +1 @@
-+../perl5-5.22.3/posix-makefile.patch
-\ No newline at end of file
-diff --git a/cnf/diffs/perl5-5.42.2/test-checkcase.patch b/cnf/diffs/perl5-5.42.2/test-checkcase.patch
-new file mode 120000
-index 0000000..36c5186
---- /dev/null
-+++ b/cnf/diffs/perl5-5.42.2/test-checkcase.patch
-@@ -0,0 +1 @@
-+../perl5-5.22.3/test-checkcase.patch
-\ No newline at end of file
-diff --git a/cnf/diffs/perl5-5.42.2/test-makemaker.patch b/cnf/diffs/perl5-5.42.2/test-makemaker.patch
-new file mode 120000
-index 0000000..4e970ff
---- /dev/null
-+++ b/cnf/diffs/perl5-5.42.2/test-makemaker.patch
-@@ -0,0 +1 @@
-+../perl5-5.34.0/test-makemaker.patch
-\ No newline at end of file
-diff --git a/cnf/diffs/perl5-5.42.2/xconfig.patch b/cnf/diffs/perl5-5.42.2/xconfig.patch
-new file mode 120000
-index 0000000..87ac501
---- /dev/null
-+++ b/cnf/diffs/perl5-5.42.2/xconfig.patch
-@@ -0,0 +1 @@
-+../perl5-5.42.0/xconfig.patch
-\ No newline at end of file
meta/recipes-devtools/perl-cross/files/0001-patches-for-perl-5.44.0.patch new file +110 -0

110 lines not on this page · raw message

meta/recipes-devtools/perl-cross/files/0002-Add-configure-checks-for-perl-5.44.0.patch new file +47 -0

47 lines not on this page · raw message

meta/recipes-devtools/perl-cross/perlcross_1.6.4.bb +2 -1
index bc5bb4f4d7..bc8d085ef7 100644
@@ -15,7 +15,8 @@ SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/perl-cross-${PV}.tar.gz;name=perl-c
            file://0001-perl-cross-add-LDFLAGS-when-linking-libperl.patch \
            file://determinism.patch \
            file://0001-Makefile-check-the-file-if-patched-or-not.patch \
-           file://0001-patches-for-perl-5.42.2.patch \
+           file://0001-patches-for-perl-5.44.0.patch \
+           file://0002-Add-configure-checks-for-perl-5.44.0.patch \
            "
 GITHUB_BASE_URI = "https://github.com/arsv/perl-cross/releases/"
 
meta/recipes-devtools/perl/files/CVE-2026-8376-01.patch deleted +0 -62

62 lines not on this page · raw message

meta/recipes-devtools/perl/files/CVE-2026-8376-02.patch deleted +0 -49

49 lines not on this page · raw message

meta/recipes-devtools/perl/files/determinism.patch deleted +0 -51

51 lines not on this page · raw message

meta/recipes-devtools/perl/perl_5.44.0.bb renamed from meta/recipes-devtools/perl/perl_5.42.2.bb +1 -4
similarity index 98%
rename from meta/recipes-devtools/perl/perl_5.42.2.bb
rename to meta/recipes-devtools/perl/perl_5.44.0.bb
index 30e707df0a..a449b904fa 100644
@@ -14,10 +14,7 @@ SRC_URI = "https://www.cpan.org/src/5.0/perl-${PV}.tar.gz;name=perl \
            file://native-perlinc.patch \
            file://perl-dynloader.patch \
            file://0002-Constant-Fix-up-shebang.patch \
-           file://determinism.patch \
            file://0001-cpan-Sys-Syslog-Makefile.PL-Fix-_PATH_LOG-for-determ.patch \
-           file://CVE-2026-8376-01.patch \
-           file://CVE-2026-8376-02.patch \
            "
 SRC_URI:append:class-native = " \
            file://perl-configpm-switch.patch \
@@ -26,7 +23,7 @@ SRC_URI:append:class-target = " \
            file://encodefix.patch \
 "
 
-SRC_URI[perl.sha256sum] = "9384e8deb75b7b1695e5637971b752281aaecd025a3d5d4734d33c1d0adfee47"
+SRC_URI[perl.sha256sum] = "3b855066b92491cb40e86affb1ca57d1a388aa43e51b91c7806a32c2f65f96c3"
 
 B = "${WORKDIR}/perl-${PV}-build"
 
#1 lore raw

Patchtest results for [PATCH] perl: upgrade 5.42.2 -> 5.44.0

Thank you for your submission. Patchtest identified one or more issues with the patch. Please see the log below for more information:

---
Testing patch /home/patchtest/share/mboxes/perl-upgrade-5.42.2---5.44.0.patch

FAIL: test CVE tag format: Missing or incorrectly formatted CVE tag in patch file. Correct or include the CVE tag in the patch with format: "CVE: CVE-YYYY-XXXX" (test_patch.TestPatch.test_cve_tag_format)

PASS: pretest src uri left files (test_metadata.TestMetadata.pretest_src_uri_left_files)
PASS: test CVE check ignore (test_metadata.TestMetadata.test_cve_check_ignore)
PASS: test Signed-off-by presence (test_mbox.TestMbox.test_signed_off_by_presence)
PASS: test Signed-off-by presence (test_patch.TestPatch.test_signed_off_by_presence)
PASS: test Upstream-Status presence (test_patch.TestPatch.test_upstream_status_presence_format)
PASS: test author valid (test_mbox.TestMbox.test_author_valid)
PASS: test commit message presence (test_mbox.TestMbox.test_commit_message_presence)
PASS: test commit message user tags (test_mbox.TestMbox.test_commit_message_user_tags)
PASS: test lic files chksum modified not mentioned (test_metadata.TestMetadata.test_lic_files_chksum_modified_not_mentioned)
PASS: test max line length (test_metadata.TestMetadata.test_max_line_length)
PASS: test mbox format (test_mbox.TestMbox.test_mbox_format)
PASS: test non-AUH upgrade (test_mbox.TestMbox.test_non_auh_upgrade)
PASS: test shortlog format (test_mbox.TestMbox.test_shortlog_format)
PASS: test shortlog length (test_mbox.TestMbox.test_shortlog_length)
PASS: test src uri left files (test_metadata.TestMetadata.test_src_uri_left_files)
PASS: test target mailing list (test_mbox.TestMbox.test_target_mailing_list)

SKIP: pretest pylint: No python related patches, skipping test (test_python_pylint.PyLint.pretest_pylint)
SKIP: test bugzilla entry format: No bug ID found (test_mbox.TestMbox.test_bugzilla_entry_format)
SKIP: test lic files chksum presence: No added recipes, skipping test (test_metadata.TestMetadata.test_lic_files_chksum_presence)
SKIP: test license presence: No added recipes, skipping test (test_metadata.TestMetadata.test_license_presence)
SKIP: test pylint: No python related patches, skipping test (test_python_pylint.PyLint.test_pylint)
SKIP: test series merge on head: Merge test is disabled for now (test_mbox.TestMbox.test_series_merge_on_head)
SKIP: test summary presence: No added recipes, skipping test (test_metadata.TestMetadata.test_summary_presence)

---

Please address the issues identified and
submit a new revision of the patch, or alternatively, reply to this email with an explanation of why the patch should be accepted. If you believe these results are due to an error in patchtest, please submit a bug at https://bugzilla.yoctoproject.org/ (use the 'Patchtest' category under 'Yocto Project Subprojects'). For more information on specific failures, see: https://wiki.yoctoproject.org/wiki/Patchtest. Thank you!

#2 lore raw

Re: [OE-core] Patchtest results for [PATCH] perl: upgrade 5.42.2 -> 5.44.0

HI,

This is a version upgrade (5.42.2 → 5.44.0), not a CVE backport patch.

The CVE tag format check is triggering because the commit removes existing CVE patch files that are now included upstream.

Should I extract all CVEs fixed between 5.42.2 and 5.44.0 from the upstream changelog and add formal CVE: CVE-YYYY-XXXX tags for each in the commit message?

Regards,
Jaipaul Cheernam

🔗 EST Website<https://www.est.tech/>
🔗 EST LinkedIn<https://www.linkedin.com/company/ericsson-software-technology/>

From: [email protected] <[email protected]> on behalf of Patchtest via lists.openembedded.org <[email protected]>
Date: Tuesday, 21 July 2026 at 16:03
To: Jaipaul Cheernam <[email protected]>
Cc: [email protected] <[email protected]>
Subject: [OE-core] Patchtest results for [PATCH] perl: upgrade 5.42.2 -> 5.44.0

Thank you for your submission. Patchtest identified one or more issues with the patch. Please see the log below for more information:

---
Testing patch /home/patchtest/share/mboxes/perl-upgrade-5.42.2---5.44.0.patch

FAIL: test CVE tag format: Missing or incorrectly formatted CVE tag in patch file. Correct or include the CVE tag in the patch with format: "CVE: CVE-YYYY-XXXX" (test_patch.TestPatch.test_cve_tag_format)

PASS: pretest src uri left files (test_metadata.TestMetadata.pretest_src_uri_left_files)
PASS: test CVE check ignore (test_metadata.TestMetadata.test_cve_check_ignore)
PASS: test Signed-off-by presence (test_mbox.TestMbox.test_signed_off_by_presence)
PASS: test Signed-off-by presence (test_patch.TestPatch.test_signed_off_by_presence)
PASS: test Upstream-Status presence (test_patch.TestPatch.test_upstream_status_presence_format)
PASS: test author valid (test_mbox.TestMbox.test_author_valid)
PASS: test commit message presence (test_mbox.TestMbox.test_commit_message_presence)
PASS: test commit message user tags (test_mbox.TestMbox.test_commit_message_user_tags)
PASS: test lic files chksum modified not mentioned (test_metadata.TestMetadata.test_lic_files_chksum_modified_not_mentioned)
PASS: test max line length (test_metadata.TestMetadata.test_max_line_length)
PASS: test mbox format (test_mbox.TestMbox.test_mbox_format)
PASS: test non-AUH upgrade (test_mbox.TestMbox.test_non_auh_upgrade)
PASS: test shortlog format (test_mbox.TestMbox.test_shortlog_format)
PASS: test shortlog length (test_mbox.TestMbox.test_shortlog_length)
PASS: test src uri left files (test_metadata.TestMetadata.test_src_uri_left_files)
PASS: test target mailing list (test_mbox.TestMbox.test_target_mailing_list)

SKIP: pretest pylint: No python related patches, skipping test (test_python_pylint.PyLint.pretest_pylint)
SKIP: test bugzilla entry format: No bug ID found (test_mbox.TestMbox.test_bugzilla_entry_format)
SKIP: test lic files chksum presence: No added recipes, skipping test (test_metadata.TestMetadata.test_lic_files_chksum_presence)
SKIP: test license presence: No added recipes, skipping test (test_metadata.TestMetadata.test_license_presence)
SKIP: test pylint: No python related patches, skipping test (test_python_pylint.PyLint.test_pylint)
SKIP: test series merge on head: Merge test is disabled for now (test_mbox.TestMbox.test_series_merge_on_head)
SKIP: test summary presence: No added recipes, skipping test (test_metadata.TestMetadata.test_summary_presence)

---

Please address the issues identified and
submit a new revision of the patch, or alternatively, reply to this email with an explanation of why the patch should be accepted. If you believe these results are due to an error in patchtest, please submit a bug at https://bugzilla.yoctoproject.org/ (use the 'Patchtest' category under 'Yocto Project Subprojects'). For more information on specific failures, see: https://wiki.yoctoproject.org/wiki/Patchtest. Thank you!

#3 lore raw

Re: [OE-core] Patchtest results for [PATCH] perl: upgrade 5.42.2 -> 5.44.0

Quoted 7 lines · Jaipaul Cheernam via lists.openembedded.org

HI,

This is a version upgrade (5.42.2 → 5.44.0), not a CVE backport patch.

The CVE tag format check is triggering because the commit removes existing CVE patch files that are now included upstream.

Should I extract all CVEs fixed between 5.42.2 and 5.44.0 from the upstream changelog and add formal CVE: CVE-YYYY-XXXX tags for each in the commit message?

No, this is a patchtest false-positive. You can ignore it.

Regards,

Quoted 20 lines

Regards,
Jaipaul Cheernam

🔗 EST Website<https://www.est.tech/>
🔗 EST LinkedIn<https://www.linkedin.com/company/ericsson-software-technology/>

From: [email protected] <[email protected]> on behalf of Patchtest via lists.openembedded.org <[email protected]>
Date: Tuesday, 21 July 2026 at 16:03
To: Jaipaul Cheernam <[email protected]>
Cc: [email protected] <[email protected]>
Subject: [OE-core] Patchtest results for [PATCH] perl: upgrade 5.42.2 -> 5.44.0

Thank you for your submission. Patchtest identified one or more issues with the patch. Please see the log below for more information:

---
Testing patch /home/patchtest/share/mboxes/perl-upgrade-5.42.2---5.44.0.patch

FAIL: test CVE tag format: Missing or incorrectly formatted CVE tag in patch file. Correct or include the CVE tag in the patch with format: "CVE: CVE-YYYY-XXXX" (test_patch.TestPatch.test_cve_tag_format)

Signature · 2 lines
Yoann Congal
Smile ECS
#4 lore raw
In reply to Jaipaul Cheernam
Quoted 5 lines · Jaipaul Cheernam

Drop patches already included in this release:
- CVE-2026-8376-01.patch (upstream commit e842efdafe7c)
- CVE-2026-8376-02.patch (upstream commit 5e7f119eb2bb)
- determinism.patch (Encode::Byte sort fix)

Quoted 8 lines

Add perlcross patches to support perl 5.44.0:
- Add patchset symlinks directory for perl5-5.44.0
- Add configure checks for d_getentropy, i_stdckdint, i_sysrandom

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

---

Hi Jaipaul,

Thanks for the upgrade.

It looks like some ptests are failing:

Failed ptests:
{'perl': ['ext/POSIX/t/time', 'perl']}

https://autobuilder.yoctoproject.org/valkyrie/#/builders/73/builds/4089
https://autobuilder.yoctoproject.org/valkyrie/#/builders/61/builds/4073

Ptest logs can be found here:

https://valkyrie.yocto.io/pub/non-release/20260722-36/testresults/qemux86-64-ptest/core-image-ptest-perl/
https://valkyrie.yocto.io/pub/non-release/20260722-36/testresults/qemuarm64-ptest/core-image-ptest-perl/

Can you have a look at the issue?

Thanks,
Mathieu

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

PATCH v2 1/1 perl: upgrade 5.42.2 -> 5.44.0

In reply to Jaipaul Cheernam

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

Add perlcross patches to support perl 5.44.0:
- Patchset symlinks for perl5-5.44.0
- Configure checks for d_getentropy, i_stdckdint, i_sysrandom
- Fix checkfield() for C23/GCC 16 compatibility

Verified: ptest 2730 passed, 0 failed, 211 skipped (qemuarm64).

Drop patches already included in this release:
- CVE-2026-8376-01.patch (upstream commit e842efdafe7c)
- CVE-2026-8376-02.patch (upstream commit 5e7f119eb2bb)
- determinism.patch (Encode::Byte sort fix)

---
Changes in v2:
- Fix perlcross checkfield() for C23/GCC 16 compatibility to resolve ext/POSIX/t/time.t ptest failures

---
 .../files/0001-patches-for-perl-5.42.2.patch  | 110 ------------------
 .../files/0001-patches-for-perl-5.44.0.patch  | 110 ++++++++++++++++++
 ...Add-configure-checks-for-perl-5.44.0.patch |  47 ++++++++
 ...Fix-checkfield-for-C23-compatibility.patch |  35 ++++++
 .../perl-cross/perlcross_1.6.4.bb             |   4 +-
 .../perl/files/CVE-2026-8376-01.patch         |  62 ----------
 .../perl/files/CVE-2026-8376-02.patch         |  49 --------
 .../perl/files/determinism.patch              |  51 --------
 .../perl/{perl_5.42.2.bb => perl_5.44.0.bb}   |   5 +-
 9 files changed, 196 insertions(+), 277 deletions(-)
 delete mode 100644 meta/recipes-devtools/perl-cross/files/0001-patches-for-perl-5.42.2.patch
 create mode 100644 meta/recipes-devtools/perl-cross/files/0001-patches-for-perl-5.44.0.patch
 create mode 100644 meta/recipes-devtools/perl-cross/files/0002-Add-configure-checks-for-perl-5.44.0.patch
 create mode 100644 meta/recipes-devtools/perl-cross/files/0003-Fix-checkfield-for-C23-compatibility.patch
 delete mode 100644 meta/recipes-devtools/perl/files/CVE-2026-8376-01.patch
 delete mode 100644 meta/recipes-devtools/perl/files/CVE-2026-8376-02.patch
 delete mode 100644 meta/recipes-devtools/perl/files/determinism.patch
 rename meta/recipes-devtools/perl/{perl_5.42.2.bb => perl_5.44.0.bb} (98%)
meta/recipes-devtools/perl-cross/files/0001-patches-for-perl-5.42.2.patch deleted +0 -110
deleted file mode 100644
index 8d9aa26293..0000000000
@@ -1,110 +0,0 @@
-From 61e182b82c13111c91ccbe9f6e94ceb4164b2aea Mon Sep 17 00:00:00 2001
-From: Francois Perrad <[email protected]>
-Date: Wed, 29 Apr 2026 12:43:32 +0200
-Subject: [PATCH] patches for perl-5.42.2
-
-Upstream-Status: Submitted [https://github.com/arsv/perl-cross/pull/174]
-Signed-off-by: Alexander Kanavin <[email protected]>
----
- cnf/diffs/perl5-5.42.2/constant.patch       | 1 +
- cnf/diffs/perl5-5.42.2/dynaloader.patch     | 1 +
- cnf/diffs/perl5-5.42.2/findext.patch        | 1 +
- cnf/diffs/perl5-5.42.2/installscripts.patch | 1 +
- cnf/diffs/perl5-5.42.2/liblist.patch        | 1 +
- cnf/diffs/perl5-5.42.2/makemaker.patch      | 1 +
- cnf/diffs/perl5-5.42.2/posix-makefile.patch | 1 +
- cnf/diffs/perl5-5.42.2/test-checkcase.patch | 1 +
- cnf/diffs/perl5-5.42.2/test-makemaker.patch | 1 +
- cnf/diffs/perl5-5.42.2/xconfig.patch        | 1 +
- 10 files changed, 10 insertions(+)
- create mode 120000 cnf/diffs/perl5-5.42.2/constant.patch
- create mode 120000 cnf/diffs/perl5-5.42.2/dynaloader.patch
- create mode 120000 cnf/diffs/perl5-5.42.2/findext.patch
- create mode 120000 cnf/diffs/perl5-5.42.2/installscripts.patch
- create mode 120000 cnf/diffs/perl5-5.42.2/liblist.patch
- create mode 120000 cnf/diffs/perl5-5.42.2/makemaker.patch
- create mode 120000 cnf/diffs/perl5-5.42.2/posix-makefile.patch
- create mode 120000 cnf/diffs/perl5-5.42.2/test-checkcase.patch
- create mode 120000 cnf/diffs/perl5-5.42.2/test-makemaker.patch
- create mode 120000 cnf/diffs/perl5-5.42.2/xconfig.patch
-
-diff --git a/cnf/diffs/perl5-5.42.2/constant.patch b/cnf/diffs/perl5-5.42.2/constant.patch
-new file mode 120000
-index 0000000..065e198
---- /dev/null
-+++ b/cnf/diffs/perl5-5.42.2/constant.patch
-@@ -0,0 +1 @@
-+../perl5-5.22.3/constant.patch
-\ No newline at end of file
-diff --git a/cnf/diffs/perl5-5.42.2/dynaloader.patch b/cnf/diffs/perl5-5.42.2/dynaloader.patch
-new file mode 120000
-index 0000000..ffb73eb
---- /dev/null
-+++ b/cnf/diffs/perl5-5.42.2/dynaloader.patch
-@@ -0,0 +1 @@
-+../perl5-5.22.3/dynaloader.patch
-\ No newline at end of file
-diff --git a/cnf/diffs/perl5-5.42.2/findext.patch b/cnf/diffs/perl5-5.42.2/findext.patch
-new file mode 120000
-index 0000000..9efbe5b
---- /dev/null
-+++ b/cnf/diffs/perl5-5.42.2/findext.patch
-@@ -0,0 +1 @@
-+../perl5-5.22.3/findext.patch
-\ No newline at end of file
-diff --git a/cnf/diffs/perl5-5.42.2/installscripts.patch b/cnf/diffs/perl5-5.42.2/installscripts.patch
-new file mode 120000
-index 0000000..1c05e0f
---- /dev/null
-+++ b/cnf/diffs/perl5-5.42.2/installscripts.patch
-@@ -0,0 +1 @@
-+../perl5-5.36.0/installscripts.patch
-\ No newline at end of file
-diff --git a/cnf/diffs/perl5-5.42.2/liblist.patch b/cnf/diffs/perl5-5.42.2/liblist.patch
-new file mode 120000
-index 0000000..5037380
---- /dev/null
-+++ b/cnf/diffs/perl5-5.42.2/liblist.patch
-@@ -0,0 +1 @@
-+../perl5-5.42.0/liblist.patch
-\ No newline at end of file
-diff --git a/cnf/diffs/perl5-5.42.2/makemaker.patch b/cnf/diffs/perl5-5.42.2/makemaker.patch
-new file mode 120000
-index 0000000..d7bd609
---- /dev/null
-+++ b/cnf/diffs/perl5-5.42.2/makemaker.patch
-@@ -0,0 +1 @@
-+../perl5-5.38.0/makemaker.patch
-\ No newline at end of file
-diff --git a/cnf/diffs/perl5-5.42.2/posix-makefile.patch b/cnf/diffs/perl5-5.42.2/posix-makefile.patch
-new file mode 120000
-index 0000000..29463b7
---- /dev/null
-+++ b/cnf/diffs/perl5-5.42.2/posix-makefile.patch
-@@ -0,0 +1 @@
-+../perl5-5.22.3/posix-makefile.patch
-\ No newline at end of file
-diff --git a/cnf/diffs/perl5-5.42.2/test-checkcase.patch b/cnf/diffs/perl5-5.42.2/test-checkcase.patch
-new file mode 120000
-index 0000000..36c5186
---- /dev/null
-+++ b/cnf/diffs/perl5-5.42.2/test-checkcase.patch
-@@ -0,0 +1 @@
-+../perl5-5.22.3/test-checkcase.patch
-\ No newline at end of file
-diff --git a/cnf/diffs/perl5-5.42.2/test-makemaker.patch b/cnf/diffs/perl5-5.42.2/test-makemaker.patch
-new file mode 120000
-index 0000000..4e970ff
---- /dev/null
-+++ b/cnf/diffs/perl5-5.42.2/test-makemaker.patch
-@@ -0,0 +1 @@
-+../perl5-5.34.0/test-makemaker.patch
-\ No newline at end of file
-diff --git a/cnf/diffs/perl5-5.42.2/xconfig.patch b/cnf/diffs/perl5-5.42.2/xconfig.patch
-new file mode 120000
-index 0000000..87ac501
---- /dev/null
-+++ b/cnf/diffs/perl5-5.42.2/xconfig.patch
-@@ -0,0 +1 @@
-+../perl5-5.42.0/xconfig.patch
-\ No newline at end of file
meta/recipes-devtools/perl-cross/files/0001-patches-for-perl-5.44.0.patch new file +110 -0

110 lines not on this page · raw message

meta/recipes-devtools/perl-cross/files/0002-Add-configure-checks-for-perl-5.44.0.patch new file +47 -0

47 lines not on this page · raw message

meta/recipes-devtools/perl-cross/files/0003-Fix-checkfield-for-C23-compatibility.patch new file +35 -0
new file mode 100644
index 0000000000..b92995b131
@@ -0,0 +1,35 @@
+From 7faa8a36afb579f07101a48065e4a19729034807 Mon Sep 17 00:00:00 2001
+From: Jaipaul Cheernam <[email protected]>
+Date: Wed, 22 Jul 2026 09:21:26 +0000
+Subject: [PATCH] configure_type_ext: Fix checkfield for C23/GCC 16
+
+In C23, 'void foo()' means no parameters, so calling foo(value.field)
+fails with GCC 16 when -Werror is used. This breaks detection of
+struct fields like tm_gmtoff and tm_zone.
+
+Use (void)value.field instead, which works for any field type.
+
+Upstream-Status: Submitted [https://github.com/arsv/perl-cross/pull/178]
+Signed-off-by: Jaipaul Cheernam <[email protected]>
+---
+ cnf/configure_type_ext.sh | 6 ++----
+ 1 file changed, 2 insertions(+), 4 deletions(-)
+
+diff --git a/cnf/configure_type_ext.sh b/cnf/configure_type_ext.sh
+index 0136c90..9ecd3fb 100644
+--- a/cnf/configure_type_ext.sh
++++ b/cnf/configure_type_ext.sh
+@@ -7,11 +7,9 @@ checkfield() {
+ 	
+ 	try_start
+ 	try_includes $4
+-	try_add 'void foo();'
+-	try_add 'void bar()'
+-        try_add "{"
++	try_add 'void bar(void) {'
+ 	try_add "	$2 value;"
+-	try_add "	foo(value.$3);"
++	try_add "	(void)value.$3;"
+ 	try_add "}"
+ 	try_compile
+ 
meta/recipes-devtools/perl-cross/perlcross_1.6.4.bb +3 -1
index bc5bb4f4d7..1aeee7a2c9 100644
@@ -15,7 +15,9 @@ SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/perl-cross-${PV}.tar.gz;name=perl-c
            file://0001-perl-cross-add-LDFLAGS-when-linking-libperl.patch \
            file://determinism.patch \
            file://0001-Makefile-check-the-file-if-patched-or-not.patch \
-           file://0001-patches-for-perl-5.42.2.patch \
+           file://0001-patches-for-perl-5.44.0.patch \
+           file://0002-Add-configure-checks-for-perl-5.44.0.patch \
+           file://0003-Fix-checkfield-for-C23-compatibility.patch \
            "
 GITHUB_BASE_URI = "https://github.com/arsv/perl-cross/releases/"
 
meta/recipes-devtools/perl/files/CVE-2026-8376-01.patch deleted +0 -62

62 lines not on this page · raw message

meta/recipes-devtools/perl/files/CVE-2026-8376-02.patch deleted +0 -49

49 lines not on this page · raw message

meta/recipes-devtools/perl/files/determinism.patch deleted +0 -51

51 lines not on this page · raw message

meta/recipes-devtools/perl/perl_5.44.0.bb renamed from meta/recipes-devtools/perl/perl_5.42.2.bb +1 -4
similarity index 98%
rename from meta/recipes-devtools/perl/perl_5.42.2.bb
rename to meta/recipes-devtools/perl/perl_5.44.0.bb
index 30e707df0a..a449b904fa 100644
@@ -14,10 +14,7 @@ SRC_URI = "https://www.cpan.org/src/5.0/perl-${PV}.tar.gz;name=perl \
            file://native-perlinc.patch \
            file://perl-dynloader.patch \
            file://0002-Constant-Fix-up-shebang.patch \
-           file://determinism.patch \
            file://0001-cpan-Sys-Syslog-Makefile.PL-Fix-_PATH_LOG-for-determ.patch \
-           file://CVE-2026-8376-01.patch \
-           file://CVE-2026-8376-02.patch \
            "
 SRC_URI:append:class-native = " \
            file://perl-configpm-switch.patch \
@@ -26,7 +23,7 @@ SRC_URI:append:class-target = " \
            file://encodefix.patch \
 "
 
-SRC_URI[perl.sha256sum] = "9384e8deb75b7b1695e5637971b752281aaecd025a3d5d4734d33c1d0adfee47"
+SRC_URI[perl.sha256sum] = "3b855066b92491cb40e86affb1ca57d1a388aa43e51b91c7806a32c2f65f96c3"
 
 B = "${WORKDIR}/perl-${PV}-build"
 
#6 lore raw

Patchtest results for [PATCH v2] perl: upgrade 5.42.2 -> 5.44.0

Thank you for your submission. Patchtest identified one or more issues with the patch. Please see the log below for more information:

---
Testing patch /home/patchtest/share/mboxes/v2-perl-upgrade-5.42.2---5.44.0.patch

FAIL: test CVE tag format: Missing or incorrectly formatted CVE tag in patch file. Correct or include the CVE tag in the patch with format: "CVE: CVE-YYYY-XXXX" (test_patch.TestPatch.test_cve_tag_format)

PASS: pretest src uri left files (test_metadata.TestMetadata.pretest_src_uri_left_files)
PASS: test CVE check ignore (test_metadata.TestMetadata.test_cve_check_ignore)
PASS: test Signed-off-by presence (test_mbox.TestMbox.test_signed_off_by_presence)
PASS: test Signed-off-by presence (test_patch.TestPatch.test_signed_off_by_presence)
PASS: test Upstream-Status presence (test_patch.TestPatch.test_upstream_status_presence_format)
PASS: test author valid (test_mbox.TestMbox.test_author_valid)
PASS: test commit message presence (test_mbox.TestMbox.test_commit_message_presence)
PASS: test commit message user tags (test_mbox.TestMbox.test_commit_message_user_tags)
PASS: test lic files chksum modified not mentioned (test_metadata.TestMetadata.test_lic_files_chksum_modified_not_mentioned)
PASS: test max line length (test_metadata.TestMetadata.test_max_line_length)
PASS: test mbox format (test_mbox.TestMbox.test_mbox_format)
PASS: test non-AUH upgrade (test_mbox.TestMbox.test_non_auh_upgrade)
PASS: test shortlog format (test_mbox.TestMbox.test_shortlog_format)
PASS: test shortlog length (test_mbox.TestMbox.test_shortlog_length)
PASS: test src uri left files (test_metadata.TestMetadata.test_src_uri_left_files)
PASS: test target mailing list (test_mbox.TestMbox.test_target_mailing_list)

SKIP: pretest pylint: No python related patches, skipping test (test_python_pylint.PyLint.pretest_pylint)
SKIP: test bugzilla entry format: No bug ID found (test_mbox.TestMbox.test_bugzilla_entry_format)
SKIP: test lic files chksum presence: No added recipes, skipping test (test_metadata.TestMetadata.test_lic_files_chksum_presence)
SKIP: test license presence: No added recipes, skipping test (test_metadata.TestMetadata.test_license_presence)
SKIP: test pylint: No python related patches, skipping test (test_python_pylint.PyLint.test_pylint)
SKIP: test series merge on head: Merge test is disabled for now (test_mbox.TestMbox.test_series_merge_on_head)
SKIP: test summary presence: No added recipes, skipping test (test_metadata.TestMetadata.test_summary_presence)

---

Please address the issues identified and
submit a new revision of the patch, or alternatively, reply to this email with an explanation of why the patch should be accepted. If you believe these results are due to an error in patchtest, please submit a bug at https://bugzilla.yoctoproject.org/ (use the 'Patchtest' category under 'Yocto Project Subprojects'). For more information on specific failures, see: https://wiki.yoctoproject.org/wiki/Patchtest. Thank you!