From patchwork Sat Oct 25 14:26:17 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gyorgy Sarvari X-Patchwork-Id: 73032 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1EDA1CCF9E3 for ; Sat, 25 Oct 2025 14:26:26 +0000 (UTC) Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) by mx.groups.io with SMTP id smtpd.web10.6565.1761402384921641665 for ; Sat, 25 Oct 2025 07:26:25 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=YE77AxEl; spf=pass (domain: gmail.com, ip: 209.85.221.46, mailfrom: skandigraun@gmail.com) Received: by mail-wr1-f46.google.com with SMTP id ffacd0b85a97d-3ece0e4c5faso2799083f8f.1 for ; Sat, 25 Oct 2025 07:26:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1761402383; x=1762007183; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=O1r0GrTknpgRc3Byw0uFLGTX3dSrRikgJe/Pxw4Omn4=; b=YE77AxElzg4Q4BL5P0JngMJZUMNqmFIwb3yNBb509xgEYcDz5x22NNCL4g1a4OfCD0 PMfHMZpz0YwGtKLRy+H97bvJM8JjixFdyYG1s0KktI6Mt2B66bBB9csMWojPu/jzXhLw sRdO+fcbLBccXXCAiDWyVTYr5hDF/iA65AeGPuXuN6FYwWK0tlV+SzgA/4Vv9OWJ4Rkp eCvK3aZAflFrVcluYMM3OYA/tGx61XOJsrHGwYyGAb0fB+Zxkkje+++tHLplLmkAukv1 GftH23P75U2k1u7jjVZeqv5hJ5X3vwwQnSDUXxC7Lz96XdVqE+ips56bHC6X1dxNQ5xw 6PiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761402383; x=1762007183; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=O1r0GrTknpgRc3Byw0uFLGTX3dSrRikgJe/Pxw4Omn4=; b=vY8TCkrpnI1j8ui5hMVKh33E/VwedB2AOvvqG3aRlJa1YLOS9uOCDKmYCcz+5HSHTG KsbIuT0XCaFw2191PekeB+/jh4kG22sIDXSgFs6IA4hjrCGPIZmNesPjqkRuykF91980 Gy+Jcww0v/hteG52ZTCCL4dA9uVnBh1TRZrcboaZsJWTVmW+5nbjzYvbUBn22QNnFcbJ h6inK/bGPXWFIRXLnOpkh9XzVvKWOo84CmjecTBlmDygH2t41qE2eGJMgiujI4IjlvCO +NsPpIy8UznGA1FAT+6H9kk7BK4IcC0OyM9uE3bpEg+0TSAGVPTN8HRDZjflvM/1J+U3 np3g== X-Gm-Message-State: AOJu0Ywa5IvuB4mfwOc8KsFT3FeQ7mBTEc9cZWeZjneqkUy7xrKjOqsZ f/Zaft0davKm1D+3Bm6j1QZ1nbCCJZSTBxY+AimMgH22JaxJGWCx0w7E2y47Hg== X-Gm-Gg: ASbGncv5i75eYEqse6qhsEbDlq7AH/OBgttHoaemGDFlAzBoDuhC7FJpDrTxgefWd3z tsoQ57LX1ramhMMWHlTUEYFNu8L6+U7xO7Ebwd2JJ/zZiedKoi0Xa1QYSwzmP9MDPdTWYeI61si qFkTDoT61m36GCvY4gqvFqKgxYgSVvKSBt0W5caWmODUQt29ztE0/3Hl907GncGsaVYFJhG3BOj RZzQ0DUTl6PXOd/FZFzZ3g8+/YABlhEz+0H1XPGlq+8Zhc8Vn+139nwtWkhc46/PyCwfey/N/gU u+uRv6dyAf0+xR4uj4X2C1UNNLIHQXLSTWLDSIUQrPf1bKlhOe87XVa2bKRbpXzes29i8TZ1eGS p+stgVXqlx/OEu02ltzpsflLXEjHy/Dxibis+a/emMq4GV9/PsQk/PBFY7yuYBRJeb7TAlgIWlw == X-Google-Smtp-Source: AGHT+IGuSSiEkQymaEr4m/dFZtYNjmodsQe8C4tr/iJrSlyGDM/uSgY8P/vnfPlYAkgc0YWCq+MjVw== X-Received: by 2002:a05:6000:178f:b0:429:92d8:3371 with SMTP id ffacd0b85a97d-42992d8343dmr3683742f8f.11.1761402383005; Sat, 25 Oct 2025 07:26:23 -0700 (PDT) Received: from desktop ([51.154.145.205]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-429952b7ce1sm3867482f8f.0.2025.10.25.07.26.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Oct 2025 07:26:22 -0700 (PDT) From: Gyorgy Sarvari To: openembedded-devel@lists.openembedded.org Subject: [meta-perl][PATCH 1/5] libnet-dns-perl: upgrade 1.52 -> 1.53 Date: Sat, 25 Oct 2025 16:26:17 +0200 Message-ID: <20251025142621.1566114-1-skandigraun@gmail.com> X-Mailer: git-send-email 2.51.1 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sat, 25 Oct 2025 14:26:26 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/121001 Also fix ptests. Changelog: -Suppress autovivified undefined $rr->{class} and $rr->{ttl}. -Rework test scripts for SVCB and DELEG. Signed-off-by: Gyorgy Sarvari --- .../include/ptest-packagelists-meta-perl.inc | 2 +- ...ns-perl_1.52.bb => libnet-dns-perl_1.53.bb} | 18 ++++++++++++++++-- 2 files changed, 17 insertions(+), 3 deletions(-) rename meta-perl/recipes-perl/libnet/{libnet-dns-perl_1.52.bb => libnet-dns-perl_1.53.bb} (71%) diff --git a/meta-perl/conf/include/ptest-packagelists-meta-perl.inc b/meta-perl/conf/include/ptest-packagelists-meta-perl.inc index e923bd00c4..612754635b 100644 --- a/meta-perl/conf/include/ptest-packagelists-meta-perl.inc +++ b/meta-perl/conf/include/ptest-packagelists-meta-perl.inc @@ -25,6 +25,7 @@ PTESTS_FAST_META_PERL = "\ libmime-base32-perl \ libmime-types-perl \ libmozilla-ca-perl \ + libnet-dns-perl \ libnet-ldap-perl \ libnet-ssleay-perl \ libstrictures-perl \ @@ -47,7 +48,6 @@ PTESTS_PROBLEMS_META_PERL = "\ libconfig-autoconf-perl \ libhtml-parser-perl \ libmodule-build-tiny-perl \ - libnet-dns-perl \ libnet-dns-sec-perl \ libunix-statgrab \ libxml-libxml-perl \ diff --git a/meta-perl/recipes-perl/libnet/libnet-dns-perl_1.52.bb b/meta-perl/recipes-perl/libnet/libnet-dns-perl_1.53.bb similarity index 71% rename from meta-perl/recipes-perl/libnet/libnet-dns-perl_1.52.bb rename to meta-perl/recipes-perl/libnet/libnet-dns-perl_1.53.bb index d0f8141794..cccbb16a59 100644 --- a/meta-perl/recipes-perl/libnet/libnet-dns-perl_1.52.bb +++ b/meta-perl/recipes-perl/libnet/libnet-dns-perl_1.53.bb @@ -9,7 +9,7 @@ DEPENDS += "perl" SRC_URI = "${CPAN_MIRROR}/authors/id/N/NL/NLNETLABS/Net-DNS-${PV}.tar.gz" -SRC_URI[sha256sum] = "c9884fcb08e4d03c23188d4e10836c2382fcb65b69859581a20845a3235a7203" +SRC_URI[sha256sum] = "04acb4f177d57c147dcedc4bd70e23806af3db75a532f46f95461b2bc9a94959" UPSTREAM_CHECK_REGEX = "Net\-DNS\-(?P(\d+\.\d+))(?!_\d+).tar" @@ -41,12 +41,27 @@ RRECOMMENDS:${PN} += " \ libnet-dns-sec-perl \ " +do_install_ptest_perl:append(){ + install ${S}/MANIFEST ${D}${PTEST_PATH} + cp -r ${S}/lib ${D}${PTEST_PATH} + cp ${D}${PTEST_PATH}/t/TestToolkit.pm ${D}${PTEST_PATH} + + # This test tries to reconcile the MANIFEST file content with the actual + # package content. While this might be useful for package integrity + # verification, it is not much for runtime testing. It also requires the + # whole source package to be installed. Rather just drop this test. + rm ${D}${PTEST_PATH}/t/00-install.t +} + RDEPENDS:${PN}-ptest += " \ perl-module-encode \ + perl-module-encode-encoding \ perl-module-encode-byte \ perl-module-extutils-mm \ perl-module-extutils-mm-unix \ perl-module-overload \ + perl-module-perlio \ + perl-module-perlio-encoding \ " python __anonymous () { @@ -61,4 +76,3 @@ python __anonymous () { raise bb.parse.SkipRecipe("incompatible with %s C library" % d.getVar('TCLIBC')) } - From patchwork Sat Oct 25 14:26:18 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gyorgy Sarvari X-Patchwork-Id: 73033 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 20972CCF9E5 for ; Sat, 25 Oct 2025 14:26:26 +0000 (UTC) Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) by mx.groups.io with SMTP id smtpd.web10.6566.1761402385416973691 for ; Sat, 25 Oct 2025 07:26:25 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=FjL7fOhl; spf=pass (domain: gmail.com, ip: 209.85.221.49, mailfrom: skandigraun@gmail.com) Received: by mail-wr1-f49.google.com with SMTP id ffacd0b85a97d-3ece0e4c5faso2799087f8f.1 for ; Sat, 25 Oct 2025 07:26:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1761402384; x=1762007184; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=YbvBQUp0ZX3E6LNQsF4BJQZ3aXuK5PB//pjq9SR6hjQ=; b=FjL7fOhlQTnD5xBaD0CoonUmrtVTXz4AZ/8jBsRP/50COsx0/894SdrAl3W+/2IN9X /cwVCClc8CfT4FKqmnlfVuBNGbm1ECAv4c4VvaFaDNP3rvI6HPkxuSkybcvn+EUmqEm4 afy8a4QdEYTPEdgeIWGMXSJmYAew6H4rRDCbgohpdUzkpexklXwvtXZ7ZGciSSfPHpSR szUxLmEH+EsBmi60geH36xQAi6Nl9jrDGRvgHHgSMuj49pKzI8AUX4FHHDu4b/+1JzFM Za87CkeifB3OmStqsu46JyYZMx++RW9AqATVMCLYEI+RAaoAMC24CdobZFpf05AvdJk2 g4ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761402384; x=1762007184; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YbvBQUp0ZX3E6LNQsF4BJQZ3aXuK5PB//pjq9SR6hjQ=; b=DlfoQvGxGeDeMeXqNh/O9ps/g8jTG///qNpNUfXF/pCZykMc9+LgXt2ih/jjWFpghZ mWNCncUzl/LCjsm5N/UleCP9IoI9H+wiQbCWB9S9ECpSsIHjqyI76Nl1OI/oEQB0iHFL nzwNYE87tH6L1FDcnbCSlXibNg5OA6sv//WgyOUKWXXIamg/dKQuSuXBI22BfgndOGz2 zpmG8ex0+Bc9ru9+vUDoye20LcyogmLUS2V8jOSOoaugHZW+U3dakFptKdS10IEg8vKD 6kEPDRNYO4o0ijxDQo0fEhpvtlp3bibn9hFjsGoI3376ggkryd1/gAVDHkb4AtZBW8HP +mVQ== X-Gm-Message-State: AOJu0Yy3vpWUr1uE/C16yG6SjwGZJxoRBRWMQ5HN4emj/ES1ZfulmeR7 gjjpU1LQlZVEfpYLkTvTv30XV3CT7qbrMuk4UdLsCL41f1QepyqtdIIvixZTDg== X-Gm-Gg: ASbGncubW4THRM0oeOYzaJmaBM2q2F1Xz2fK+XhhsU1dYRgN6oMKSQor0MUaK0w8t+C a5spzFLsfF0oNOxeNpBX37NeuEpIWDa1LRVhz+dx4R3VYcm7QbNJzuaahi/GnoDYgjhR2yBnXpu TJt0LUCHHej7zIQfEzcybjf+wLl2tO1LvnPBwZSIkGiHcG8wXBIiDtt0YoOyk7SVtKn0vWwWiQJ +cQ2QvUoJlz0eP+UZWV4Ap1bCmZ8L5HbPugSLJdSX9cv4MAl8gVBEkgr4WLqAkhwhLDKvfyC65l uuxqvS/9O8QIEOkBaICQ1EdpUg6jS4t/HUzQ2kMTIAO/Wnxawez6w/xWywFW/JP3/XmuYgLKHRd rwr78GNV5nlA2v6qlvgDqyOF1wMwT+gkeBaFHWZn2QrNpbIGXFxwJs1uaEyWSOtHnXMNfjN44qR jnf7bQF5Oc X-Google-Smtp-Source: AGHT+IEH6zLG7qa+EF0fEoEPy4HUBCIImqCCVu8AkWKX6VrPd6YAtE7DWPrraakVOyfF/qASuQORcg== X-Received: by 2002:a05:6000:25c7:b0:427:854:787 with SMTP id ffacd0b85a97d-4270854085bmr22633833f8f.51.1761402383683; Sat, 25 Oct 2025 07:26:23 -0700 (PDT) Received: from desktop ([51.154.145.205]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-429952b7ce1sm3867482f8f.0.2025.10.25.07.26.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Oct 2025 07:26:23 -0700 (PDT) From: Gyorgy Sarvari To: openembedded-devel@lists.openembedded.org Subject: [meta-perl][PATCH 2/5] libnet-dns-sec-perl: upgrade 1.10 -> 1.26 Date: Sat, 25 Oct 2025 16:26:18 +0200 Message-ID: <20251025142621.1566114-2-skandigraun@gmail.com> X-Mailer: git-send-email 2.51.1 In-Reply-To: <20251025142621.1566114-1-skandigraun@gmail.com> References: <20251025142621.1566114-1-skandigraun@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sat, 25 Oct 2025 14:26:26 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/121002 Also fix ptests. Changelog: 1.26: -Avoid test failure on RedHat by requiring DSA-SHA1 opt-in. -Fix: Rocky linux 9: libcrypto error 1.25: -Suppress AUTOLOAD for Net::DNS::SEC::Private::_index. -Abandon support for OpenSSL pre-1.1.1 API. -Fix: Tests exhibiting signatures with SHA-1 fail since Fedora 41 -Fix: Net::DNS minimum version dependency 1.24: -Eliminate deprecated RSA CRT parameter names. -Add support for SM3 digest. 1.23: -Code refactoring of XS component. 1.22: -Enable Ed25519 sign/verify for BoringSSL & LibreSSL. -Use EC curve names instead of literal NIDs. -Circumvent sign/verify test failures on EBCDIC platforms. -Fix: openssl-SNAP-20230831 breaks RSA sign/verify 1.21: -Add new t/TestToolkit.pm -Rework pre-installation test scripts. - Fix: libressl-3.7.1 breaks DSA verify 1.20: -Improve Net::DNS::SEC::Keyset tests and error reporting. -Avoid test failures if/when DSA|MD5|SHA1 become unsupported. 1.19: -Discontinue support for obsolete ECC-GOST. -Add LICENSE file to comply with Fedora/RedHat announcement and WARNING of restrictions on use of strong cryptography. 1.18: -Eliminate bareword filehandle usage. -Eliminate indirect object syntax. -Eliminate grep/map . 1.17: -Recognise BIND private key accessed via symbolic link. 1.16: -Improve testing of verify() functions. -Rework code in Digest.pm -SEC.xs code reduction. 1.15: -Provide access to OpenSSL message digest implementations. 1.14: -Improve exception capture in test scripts. -Support more efficient algorithm mapping in Net::DNS. 1.13: -Tweaks to resolve compilation errors with BoringSSL. 1.12: -Avoid use of EC_POINT_set_affine_coordinates_GFp which is deprecated in OpenSSL 3.0.0 -Reduce level of support for OpenSSL non-LTS releases. 1.11: -Explain why compilation aborted in Net::DNS::SEC::DSA et al. -Fix Makefile.PL to suppress parallel test execution. Signed-off-by: Gyorgy Sarvari --- .../include/ptest-packagelists-meta-perl.inc | 2 +- .../libnet/libnet-dns-sec-perl_1.10.bb | 30 ------------ .../libnet/libnet-dns-sec-perl_1.26.bb | 46 +++++++++++++++++++ 3 files changed, 47 insertions(+), 31 deletions(-) delete mode 100644 meta-perl/recipes-perl/libnet/libnet-dns-sec-perl_1.10.bb create mode 100644 meta-perl/recipes-perl/libnet/libnet-dns-sec-perl_1.26.bb diff --git a/meta-perl/conf/include/ptest-packagelists-meta-perl.inc b/meta-perl/conf/include/ptest-packagelists-meta-perl.inc index 612754635b..fc32c709bc 100644 --- a/meta-perl/conf/include/ptest-packagelists-meta-perl.inc +++ b/meta-perl/conf/include/ptest-packagelists-meta-perl.inc @@ -26,6 +26,7 @@ PTESTS_FAST_META_PERL = "\ libmime-types-perl \ libmozilla-ca-perl \ libnet-dns-perl \ + libnet-dns-sec-perl \ libnet-ldap-perl \ libnet-ssleay-perl \ libstrictures-perl \ @@ -48,7 +49,6 @@ PTESTS_PROBLEMS_META_PERL = "\ libconfig-autoconf-perl \ libhtml-parser-perl \ libmodule-build-tiny-perl \ - libnet-dns-sec-perl \ libunix-statgrab \ libxml-libxml-perl \ " diff --git a/meta-perl/recipes-perl/libnet/libnet-dns-sec-perl_1.10.bb b/meta-perl/recipes-perl/libnet/libnet-dns-sec-perl_1.10.bb deleted file mode 100644 index ee365f9328..0000000000 --- a/meta-perl/recipes-perl/libnet/libnet-dns-sec-perl_1.10.bb +++ /dev/null @@ -1,30 +0,0 @@ -DESCRIPTION = "DNSSEC extensions to Net::DNS" -HOMEPAGE = "http://www.net-dns.org/" -SECTION = "libs" - -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://README;beginline=165;endline=192;md5=6ef523fa09e8c272675839e21de16bde" - -SRC_URI = "${CPAN_MIRROR}/authors/id/W/WI/WILLEM/Net-DNS-SEC-${PV}.tar.gz" -SRC_URI[sha256sum] = "37a47d4def72d7338f3cc7cd807ec19bd9e2ae638ae656fa536cf0314801989e" - -DEPENDS += "openssl" - -UPSTREAM_CHECK_REGEX = "Net\-DNS\-SEC\-(?P(\d+\.\d+))(?!_\d+).tar" - -S = "${UNPACKDIR}/Net-DNS-SEC-${PV}" - -EXTRA_CPANFLAGS = "INC='-I${STAGING_INCDIR}' LIBS='-L${STAGING_LIBDIR} -lssl -L${STAGING_BASELIBDIR} -lcrypto'" - -inherit cpan ptest-perl - -RDEPENDS:${PN} = " \ - libnet-dns-perl \ - libcrypto \ - perl-module-dynaloader \ - perl-module-file-find \ - perl-module-file-spec \ - perl-module-io-file \ - perl-module-mime-base64 \ - perl-module-test-more \ -" diff --git a/meta-perl/recipes-perl/libnet/libnet-dns-sec-perl_1.26.bb b/meta-perl/recipes-perl/libnet/libnet-dns-sec-perl_1.26.bb new file mode 100644 index 0000000000..d0e46783d5 --- /dev/null +++ b/meta-perl/recipes-perl/libnet/libnet-dns-sec-perl_1.26.bb @@ -0,0 +1,46 @@ +DESCRIPTION = "DNSSEC extensions to Net::DNS" +HOMEPAGE = "http://www.net-dns.org/" +SECTION = "libs" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=2b7e4176275d57d0b036bdccbc01a0e7" + +SRC_URI = "${CPAN_MIRROR}/authors/id/N/NL/NLNETLABS/Net-DNS-SEC-${PV}.tar.gz" +SRC_URI[sha256sum] = "88592c65487fb7b4d05134f2f9c48e649a9cd533a8493c50189b649b4ea711a6" + +DEPENDS += "openssl" + +UPSTREAM_CHECK_REGEX = "Net\-DNS\-SEC\-(?P(\d+\.\d+))(?!_\d+).tar" + +S = "${UNPACKDIR}/Net-DNS-SEC-${PV}" + +EXTRA_CPANFLAGS = "INC='-I${STAGING_INCDIR}' LIBS='-L${STAGING_LIBDIR} -lssl -L${STAGING_BASELIBDIR} -lcrypto'" + +inherit cpan ptest-perl + +RDEPENDS:${PN} = " \ + libnet-dns-perl \ + libcrypto \ + perl-module-dynaloader \ + perl-module-file-find \ + perl-module-file-spec \ + perl-module-io-file \ + perl-module-mime-base64 \ + perl-module-test-more \ +" + +do_install_ptest_perl:append(){ + cp ${D}${PTEST_PATH}/t/TestToolkit.pm ${D}${PTEST_PATH} + + # This test reconciles the perl module's MANIFEST file with the actual files + # in the module. This might be useful for package integrity check, but not so + # much for runtime testing - and it also requires the whole source tree to + # be installed. Rather just remove it. + rm ${D}${PTEST_PATH}/t/00-install.t +} + +RDEPENDS:${PN}-ptest += "\ + libnet-dns-perl \ + perl-module-extutils-mm-unix \ + perl-module-file-spec-functions \ + perl-module-perlio" From patchwork Sat Oct 25 14:26:19 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gyorgy Sarvari X-Patchwork-Id: 73035 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 00980CCD1BF for ; Sat, 25 Oct 2025 14:26:36 +0000 (UTC) Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) by mx.groups.io with SMTP id smtpd.web11.6582.1761402385960747029 for ; Sat, 25 Oct 2025 07:26:26 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=nqNlHakw; spf=pass (domain: gmail.com, ip: 209.85.221.43, mailfrom: skandigraun@gmail.com) Received: by mail-wr1-f43.google.com with SMTP id ffacd0b85a97d-4283be7df63so1357624f8f.1 for ; Sat, 25 Oct 2025 07:26:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1761402384; x=1762007184; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=4fwelrRzIIin2ARlyFzBxCdxlFiu+PZ97uI2clpo1Sc=; b=nqNlHakwhVbl/P+HXxdEr2b0hbFE8gNPn0tEsG7QZeWlXcSb3le4VTel1slbGgau4t DP+dQGqtxSITf/KYeXNu+hPJ4RSrhjLV7omrlflAawLQ/FKg8/WQu+hXMQb0SXyP9N6l /x/PpgEJ9U7Cl+gS08CpwPB03I1pj1Q278uFSbR2IVbYH2qMmbjUru8WUA4HvSskNsOG /F4FfRcbii0FG08Umu7xXjFXDUZdXrwZRMt2ju8aHg5Yn0PjKJBllNntgBH246p4ibBK Mk7Zlfdgq74oy8raD//47GAIsqdEbJyAzaFBGiKfzgTDJV9/90XGvgM90sHdrGSMDJXI UdbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761402384; x=1762007184; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4fwelrRzIIin2ARlyFzBxCdxlFiu+PZ97uI2clpo1Sc=; b=lUL8I/7lkfthhVaflQYoD01L7H+Ed/aFL8/Mg0vB8DGRhuAwWh+QRgyOn3QMs+uDtI rQjvHIIb77Bf0Ur9UZ7w13C8Loq54X4LK3LQbV3CCidDZxFe0qe72v3shNLsfs5khFR7 RnpLI3pEe/ArkSkwixBaES32Hn6srY+LvdLR5ZPwotOipBzb1HantIakiz4KyGZZRcw3 N4u9KOUUaZAYuRc8EHzVzhDk5PKQ3sS0waHjJjw4jXZiGYLjCRoRVZuRk3WDNUQj3K50 +2L40D2Jm6kkMo4uyniU1Tk5Okt4pB7V8v1nMukJJAzBeJUvwMtNf5lFIRGEb0ODwLfd 62pg== X-Gm-Message-State: AOJu0YxPr932EkPcFnB4+CzFPa60nD4S+ocZKrFycoYNPsC3Rp2hoK3x ey5zIZKIu5DqL0nMxpTGSzUfEskhQCDTBgffor0jvmfAZKVPIcpILS7kL7qlhg== X-Gm-Gg: ASbGncsCso+hTsFOF2il9UoPPNFyzglMgaqgb6H9a/1G0uD6vrCmhjT4fABY6n/cByu RlGbc7mKss5n/iK3ODoeYGVgkKOBNt4FJITVTezvMO11i5wq9X0nuebjOqmSwCvJ9nL9l42AnZK WxYiNvIjM5wL1ZyXez8XQPbZqSvESP/YgzXoQGQQxVCU2lvEIt1A5w/jLcPmvDKImkOhePI4VWL yxkBhVP/Kl0KFATAeFdqMGmzp4WwOdMd8nFkO/4jmlTT0BxP0DKP+Y3l629f6ZrIg0/AWtLWjpk KX6TnargaNLbmU3NLbASPmSrlfK7tDWZYL2RaIpn09pHK1S+FDZXFbFXf/R5QSL2X3inbx7z/tH Xa+Q4hO03SJNMQ2pKF6eLt1RY2Cfej9ywkqG6zcn/441szGR/Rdvx5dgSBvbQmSCLj8v5sne2Vi xiXN39+M+k X-Google-Smtp-Source: AGHT+IGwivK9O2cYkRQ8yFXKZVOgIgqj+oIyP/wAOTDQEsS2nuG/Ks99cF3VhEp35uw+d6gvVzm8Nw== X-Received: by 2002:a05:6000:186e:b0:3e0:c28a:abbb with SMTP id ffacd0b85a97d-42704d51e46mr25111204f8f.13.1761402384304; Sat, 25 Oct 2025 07:26:24 -0700 (PDT) Received: from desktop ([51.154.145.205]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-429952b7ce1sm3867482f8f.0.2025.10.25.07.26.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Oct 2025 07:26:23 -0700 (PDT) From: Gyorgy Sarvari To: openembedded-devel@lists.openembedded.org Subject: [meta-perl][PATCH 3/5] cpan-requirements-dynamic: add recipe Date: Sat, 25 Oct 2025 16:26:19 +0200 Message-ID: <20251025142621.1566114-3-skandigraun@gmail.com> X-Mailer: git-send-email 2.51.1 In-Reply-To: <20251025142621.1566114-1-skandigraun@gmail.com> References: <20251025142621.1566114-1-skandigraun@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sat, 25 Oct 2025 14:26:35 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/121003 It's a runtime requirement for libmodule-build-tiny-perl-ptest Signed-off-by: Gyorgy Sarvari --- .../cpan-requirements-dynamic_0.002.bb | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 meta-perl/recipes-extended/requirements-dynamic/cpan-requirements-dynamic_0.002.bb diff --git a/meta-perl/recipes-extended/requirements-dynamic/cpan-requirements-dynamic_0.002.bb b/meta-perl/recipes-extended/requirements-dynamic/cpan-requirements-dynamic_0.002.bb new file mode 100644 index 0000000000..4ee221a8a0 --- /dev/null +++ b/meta-perl/recipes-extended/requirements-dynamic/cpan-requirements-dynamic_0.002.bb @@ -0,0 +1,13 @@ +SUMMARY = "Dynamic prerequisites in meta files" +DESCRIPTION = "This module implements a format for describing dynamic prerequisites \ +of a distribution.cts and (by default) mails MIME messages." +HOMEPAGE = "https://metacpan.org/pod/CPAN::Requirements::Dynamic" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" +LIC_FILES_CHKSUM = "file://LICENSE;md5=818dfe6ef2e2204af6c824ca00e2b485" + +SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEONT/CPAN-Requirements-Dynamic-${PV}.tar.gz" +SRC_URI[sha256sum] = "9e290179fd1ab8574f7a2297baf015ea4fef3703a99d48798f61ec9347b4905b" + +S = "${UNPACKDIR}/CPAN-Requirements-Dynamic-${PV}" + +inherit cpan From patchwork Sat Oct 25 14:26:20 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gyorgy Sarvari X-Patchwork-Id: 73034 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 009C1CCF9E3 for ; Sat, 25 Oct 2025 14:26:36 +0000 (UTC) Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) by mx.groups.io with SMTP id smtpd.web11.6583.1761402386576706754 for ; Sat, 25 Oct 2025 07:26:26 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=RxfCg+VA; spf=pass (domain: gmail.com, ip: 209.85.221.43, mailfrom: skandigraun@gmail.com) Received: by mail-wr1-f43.google.com with SMTP id ffacd0b85a97d-421851bca51so2762824f8f.1 for ; Sat, 25 Oct 2025 07:26:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1761402385; x=1762007185; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=oVe5HZ88sjWbBHqN0S8Au7o9AcFqlchexpBvAWPQjUs=; b=RxfCg+VASBWr7RWgOcQpQHFDnGyjfZ4XYqjFunTQIx1DvMDuP8KaAX3aoCsNqumq4q owU69EZ3y6cEEViNYYevK8aH5lgiZxwH2CaduvBNA336/q3h+0SyxErrtCOVdfUsH1m5 mGX/35MqbK6xGQzeoefBlbKpBadaldptvvguGwL6YqKzHwea8o6Ju3XglHYiiWEVEPZX EWEMOSbYIq+L1pWRDxkdnOic2c8K0Cnm+buKwzAAczosMbmoRubJQJ3781iYHatbxxkM DxCPqE7zpTEZh5Q9OCSiGFep2Gw1ItITRn7Z/kDbhlh3ksdYnl14i1zngdNymAm0HRpd Rh1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761402385; x=1762007185; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=oVe5HZ88sjWbBHqN0S8Au7o9AcFqlchexpBvAWPQjUs=; b=aj/8TnL/AUahQPQgmW4SJqS4z7ohB29Maxh+tizZUofkTY3ne/uYfobff8y6uFea79 0gAOvm0uPkZ5dHpP5EHt36FxdHubKhPpJObj/RCVqZGDlp6R6EMrnm1trbNVZHk+wksJ wtpL75MgvaLyS63/S+9GHtPej77LBofNBPudJUbdvpg0cv9ihaBbPkHS+sLui2AN5PZC MqtIGXeZbHOLlnLQQLWV/6CRVZNJ9R7XRNjsUAv9jsJwVYVmFrX/7jQ5sL36r2tlG+gk gOWw/Y8qNF4tDVSp+5wIHN0bbqn2Lbcsb1KH8FnE8i4+gx+KnnV2rr+S3mzEqW280VNC fIvA== X-Gm-Message-State: AOJu0Yxd0XdeaTXHS/+iiuE5co1EUvpYdduSQoJQKmvwwTdSgrXgRfTf zfb6T7sYa85TBJDD8pv4TGNZjquFAbVRZP/dO5h699t6bBBdmw3n2OBvhLgQ9w== X-Gm-Gg: ASbGnctXzEOoWc28suCiQwzYOxPqwSerxsFTFb5T7kf7BDn5XmSpw3M29JX6SPOY1PL Ap0pHPtXIVxYHtu7OFsRgIEbphl/pGCDU0HYk5/Jc3zcu7dvRdPdja05o9+DnLt60zcd6c0KAG8 AlMMLvtTJ3EPWj0IWyLjWUCuNcdkBepzR44fYX3UbTcsmiyQShp/nXWDIQ7/8RNwsjBZPc+MjQE 5UewySWvGrOC/wor5so9e6TypDjKtFJy/LRK7p6g1WrL3jnSR9NzLITZCJh84JnqW3QxWehzJfI GyfcYcFBrVA/HYFmjIpVsJW39tTwOGLiN+Ch70ewEN0YRRwJYtmvFJoQReXrKc3FpZ9UvXG1v20 dR/eNL88MHC3EJAOfGq4LBvjaL02+4+n/IHR2MXA4nI4VWdUVFqAkbN92sI2bcpaXpXGbXWRVem vc5Vm9Yvoe801u2o4DpNI= X-Google-Smtp-Source: AGHT+IFB4/sGIPAungx2Yk6T6DbBROok76Q+zguISN19sA1gUU9ffoM/lmuawFEgsc7hTFGCAjJXYA== X-Received: by 2002:a05:6000:220c:b0:3ec:ce37:3a6d with SMTP id ffacd0b85a97d-42990755939mr5074802f8f.47.1761402384908; Sat, 25 Oct 2025 07:26:24 -0700 (PDT) Received: from desktop ([51.154.145.205]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-429952b7ce1sm3867482f8f.0.2025.10.25.07.26.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Oct 2025 07:26:24 -0700 (PDT) From: Gyorgy Sarvari To: openembedded-devel@lists.openembedded.org Subject: [meta-perl][PATCH 4/5] libmodule-build-tiny-perl: fix ptests Date: Sat, 25 Oct 2025 16:26:20 +0200 Message-ID: <20251025142621.1566114-4-skandigraun@gmail.com> X-Mailer: git-send-email 2.51.1 In-Reply-To: <20251025142621.1566114-1-skandigraun@gmail.com> References: <20251025142621.1566114-1-skandigraun@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sat, 25 Oct 2025 14:26:35 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/121004 Add missing dependency. Signed-off-by: Gyorgy Sarvari --- meta-perl/conf/include/ptest-packagelists-meta-perl.inc | 2 +- .../recipes-perl/libmodule/libmodule-build-tiny-perl_0.048.bb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/meta-perl/conf/include/ptest-packagelists-meta-perl.inc b/meta-perl/conf/include/ptest-packagelists-meta-perl.inc index fc32c709bc..7488da3351 100644 --- a/meta-perl/conf/include/ptest-packagelists-meta-perl.inc +++ b/meta-perl/conf/include/ptest-packagelists-meta-perl.inc @@ -24,6 +24,7 @@ PTESTS_FAST_META_PERL = "\ libhtml-tagset-perl \ libmime-base32-perl \ libmime-types-perl \ + libmodule-build-tiny-perl \ libmozilla-ca-perl \ libnet-dns-perl \ libnet-dns-sec-perl \ @@ -48,7 +49,6 @@ PTESTS_SLOW_META_PERL = "\ PTESTS_PROBLEMS_META_PERL = "\ libconfig-autoconf-perl \ libhtml-parser-perl \ - libmodule-build-tiny-perl \ libunix-statgrab \ libxml-libxml-perl \ " diff --git a/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.048.bb b/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.048.bb index f3c6e1a016..52c6088b51 100644 --- a/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.048.bb +++ b/meta-perl/recipes-perl/libmodule/libmodule-build-tiny-perl_0.048.bb @@ -61,6 +61,7 @@ RDEPENDS:${PN} += " \ " RDEPENDS:${PN}-ptest += " \ + cpan-requirements-dynamic \ packagegroup-core-buildessential \ perl-dev \ perl-module-blib \ From patchwork Sat Oct 25 14:26:21 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gyorgy Sarvari X-Patchwork-Id: 73036 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0CC33CCF9E5 for ; Sat, 25 Oct 2025 14:26:36 +0000 (UTC) Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) by mx.groups.io with SMTP id smtpd.web10.6567.1761402387305642998 for ; Sat, 25 Oct 2025 07:26:27 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ipI14GGl; spf=pass (domain: gmail.com, ip: 209.85.221.44, mailfrom: skandigraun@gmail.com) Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-427060bc0f5so1678881f8f.3 for ; Sat, 25 Oct 2025 07:26:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1761402386; x=1762007186; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=mSpICL/6U6G20TDuuyonwT4uPVq835X987E4nQ5bnpE=; b=ipI14GGlfNul13Fgwutqxd0mdIEIsI+b2AedgY4csJSUu/1+a8J35XoiEa7rkogHDD Bo0Vg0yDJSECjUKzXeRuBiAKvL+dNuFKr6e6/4RLy1K1Km7Dcf1qyDgXH4dPZGTKcVYG yWwGQbc4Sbe9UaMR2Kh1e+oUhL2k78xvflqdyYr+OBRmWnWReypaTjjbvICBp5XikQg6 GpIpT88v7I8ry7wcM62PahgaQxsXO/ZwcBAMYiXYBshqxKwFO9R0R6VFmICygX9hn8kA t7ocUrgbQXtbk+KD+9jOj+4cRHA755SLYUwvTKSK4h9V8NJoe9U0ebK9ms9iGJeIG4aH oEXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761402386; x=1762007186; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mSpICL/6U6G20TDuuyonwT4uPVq835X987E4nQ5bnpE=; b=Nfi8Czdj5xXLfff0W0FnySEXwY1ddvHcp1y3GYsZWVr3+uioLtS3AzMayNbkoOUyVO ee4Qk0PiGEvboRREQhC61MjkVpeU0aOQJxY2Z7LsOm50RBqoVFN2D6z4Oa+FNiXu69Ln PNitPeXv1MUD1B/62jD1nnnyfJ3Ur5TedeaIRMOjdhgY72E7pMck2BAVMVbSfccS2wVr mGJh/fYQjxrquopj0tHjqtr1WfVETA31Bgzj96lArxRF6T+ntyTN8zgDoSHxKFLX/+K3 vbnNYyzv3ZkcxMWZiO9YeKtPAZsPtr0Nr36U07QKpew/8QjpKVXfM0oRxGNd2Hz2PeET xI+A== X-Gm-Message-State: AOJu0YyB97snDByW32m/6hjJX7l4GL1xC9KrhzqqFvmM8CRWKvTWouEM eelTdnO6r3dk9GO8qiTixiZinfN3GY1nfDY8721MDF6BGh68UAHXCQpED+pNJg== X-Gm-Gg: ASbGncs+3rmZCQ0Rky/xnhEoikS2UIw0crRkxSogpEdIPvfGDK9zl0PSvfMLIRsOoG7 10+eTgOiY17jWqJFaujLjxdBUKLttI/wcKfzaFKic+dsB2HImolsbfzhqSz1mm+bfUZEUEvUEck dRC2HII+/Dp5B0jkLjseWCsPXC3SIBy0UCf8a1vNsEfJ/lCOQ39aPSX1SVmVDvxnE50+7ojb66z XVKUbeEB5GQ5GavWuxOykb7hJmsEPyYXJTMyPjQdRKFDL7RQYLgPzT5T+Ui3LF8JVsMalA99FYc meyZIQZHNfoG2HlWH9BaKInRPS3ytO19AsaTNuDN7gjazrgW5nCmMOR78u7RBBiqxRDenQur3Xw bAjl/VffuAAq42S1RyLADtbrCipBqPOKsFRCNPunx9XgGKb+DxdmTn8LYQD4jMq6s5HUIIt7Zbx ZIr0HiVUKG X-Google-Smtp-Source: AGHT+IEJn4OqP4lvMsI7HQHBgr76MlCyhZ1uBd5v6Rke1Dpndin2tUGZd716GhDKIZfOGSWtc4oYow== X-Received: by 2002:a05:6000:26cf:b0:3ea:e0fd:290a with SMTP id ffacd0b85a97d-42990701991mr3932457f8f.12.1761402385566; Sat, 25 Oct 2025 07:26:25 -0700 (PDT) Received: from desktop ([51.154.145.205]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-429952b7ce1sm3867482f8f.0.2025.10.25.07.26.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Oct 2025 07:26:25 -0700 (PDT) From: Gyorgy Sarvari To: openembedded-devel@lists.openembedded.org Subject: [meta-perl][PATCH 5/5] libconfig-autoconf-perl: fix ptests Date: Sat, 25 Oct 2025 16:26:21 +0200 Message-ID: <20251025142621.1566114-5-skandigraun@gmail.com> X-Mailer: git-send-email 2.51.1 In-Reply-To: <20251025142621.1566114-1-skandigraun@gmail.com> References: <20251025142621.1566114-1-skandigraun@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sat, 25 Oct 2025 14:26:36 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/121005 Add missing dependencies. Also, fixing the tests have surfaced an actual bug: the module expects unversioned perl library to be present on the system (or at least present in Perl's $Config{libperl}), however the OE Perl build has a versioned library, which causes final linking to fail. A patch to correct this is part of this change, and it has been submitted upstream also. Signed-off-by: Gyorgy Sarvari --- .../include/ptest-packagelists-meta-perl.inc | 2 +- .../0001-correct-libperl-regex.patch | 42 +++++++++++++++++++ .../libconfig-autoconf-perl_0.320.bb | 16 ++++++- 3 files changed, 58 insertions(+), 2 deletions(-) create mode 100644 meta-perl/recipes-perl/libconfig/libconfig-autoconf-perl/0001-correct-libperl-regex.patch diff --git a/meta-perl/conf/include/ptest-packagelists-meta-perl.inc b/meta-perl/conf/include/ptest-packagelists-meta-perl.inc index 7488da3351..ef0c59dc2f 100644 --- a/meta-perl/conf/include/ptest-packagelists-meta-perl.inc +++ b/meta-perl/conf/include/ptest-packagelists-meta-perl.inc @@ -9,6 +9,7 @@ PTESTS_FAST_META_PERL = "\ libauthen-sasl-perl \ libcapture-tiny-perl \ + libconfig-autoconf-perl \ libcrypt-openssl-guess-perl \ libcrypt-openssl-random-perl \ libcrypt-openssl-rsa-perl \ @@ -47,7 +48,6 @@ PTESTS_SLOW_META_PERL = "\ " PTESTS_PROBLEMS_META_PERL = "\ - libconfig-autoconf-perl \ libhtml-parser-perl \ libunix-statgrab \ libxml-libxml-perl \ diff --git a/meta-perl/recipes-perl/libconfig/libconfig-autoconf-perl/0001-correct-libperl-regex.patch b/meta-perl/recipes-perl/libconfig/libconfig-autoconf-perl/0001-correct-libperl-regex.patch new file mode 100644 index 0000000000..373f773070 --- /dev/null +++ b/meta-perl/recipes-perl/libconfig/libconfig-autoconf-perl/0001-correct-libperl-regex.patch @@ -0,0 +1,42 @@ +From 5ffd363a7acd4ef794eb265eaf6c42321097cd46 Mon Sep 17 00:00:00 2001 +From: Gyorgy Sarvari +Date: Sat, 25 Oct 2025 15:48:51 +0200 +Subject: [PATCH] correct libperl regex + +The module expects the libperl library's format (from $Config{libperl}) +to be versionless, just simply libperl.so. However this value in the +OE builds is versioned, causing some issues. + +The module transforms this value into a linker flag, and tries to link +with the library. The transformation is simple: cut off the "lib" from +the start, and everything after the last dot. + +With versionless version, the transformation works: libperl.so -> perl + +However with versioned library it looks like this: +libperl.so.5.99.9 -> perl.so.5.99 +which is just wrong. + +This patch changes this transformation in way that throws away everything +after the first dot (instead of the last one). + +Upstream-Status: Submitted [https://github.com/ambs/Config-AutoConf/pull/19] + +Signed-off-by: Gyorgy Sarvari +--- + lib/Config/AutoConf.pm | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/Config/AutoConf.pm b/lib/Config/AutoConf.pm +index 0bba5a4..a2e7099 100644 +--- a/lib/Config/AutoConf.pm ++++ b/lib/Config/AutoConf.pm +@@ -3001,7 +3001,7 @@ sub _check_link_perlapi + + my $libperl = $Config{libperl}; + $libperl =~ s/^lib//; +- $libperl =~ s/\.[^\.]*$//; ++ $libperl =~ s/^([^\.]*)\..*$/$1/; + + push @{$self->{extra_link_flags}}, "-L" . File::Spec->catdir($Config{installarchlib}, "CORE"); + push @{$self->{extra_libs}}, "$libperl"; diff --git a/meta-perl/recipes-perl/libconfig/libconfig-autoconf-perl_0.320.bb b/meta-perl/recipes-perl/libconfig/libconfig-autoconf-perl_0.320.bb index d8ca2ae247..5c233ed22d 100644 --- a/meta-perl/recipes-perl/libconfig/libconfig-autoconf-perl_0.320.bb +++ b/meta-perl/recipes-perl/libconfig/libconfig-autoconf-perl_0.320.bb @@ -14,7 +14,9 @@ LICENSE = "Artistic-1.0 | GPL-1.0-or-later" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 \ file://${COMMON_LICENSE_DIR}/GPL-1.0-or-later;md5=30c0b8a5048cc2f4be5ff15ef0d8cf61" -SRC_URI = "${CPAN_MIRROR}/authors/id/A/AM/AMBS/Config-AutoConf-${PV}.tar.gz" +SRC_URI = "${CPAN_MIRROR}/authors/id/A/AM/AMBS/Config-AutoConf-${PV}.tar.gz \ + file://0001-correct-libperl-regex.patch \ + " SRC_URI[sha256sum] = "bb57a958ef49d3f7162276dae14a7bd5af43fd1d8513231af35d665459454023" RDEPENDS:${PN} += "libcapture-tiny-perl" @@ -31,8 +33,20 @@ RDEPENDS:${PN} += "perl-module-scalar-util" RDEPENDS:${PN} += "perl-module-strict" RDEPENDS:${PN} += "perl-module-text-parsewords" RDEPENDS:${PN} += "perl-module-warnings" + +RDEPENDS:${PN}-ptest += " \ + packagegroup-core-buildessential \ + perl-dev \ + perl-module-file-glob \ + perl-module-perl-ostype \ + perl-module-metadata" + RRECOMMENDS:${PN} += "libfile-slurper-perl" +# One test requires perl headers (perl-dev) to compile some +# test application. +INSANE_SKIP:${PN}-ptest += "dev-deps" + S = "${UNPACKDIR}/Config-AutoConf-${PV}" inherit cpan ptest-perl