33 Commits

Author SHA1 Message Date
Yoann Congal 8d4b8287b8 ptest-packagelists-meta-perl: remove libxml-libxml-perl
libxml-libxml-perl recipe is currently skipped. Remove it from the ptest
lists as well.

This should fix these warnings from AB[0]:
  WARNING: Nothing RPROVIDES 'libxml-libxml-perl-ptest' (but virtual:mcextend:libxml-libxml-perl:/srv/pokybuild/yocto-worker/meta-oe-mirror/build/meta-openembedded/meta-perl/recipes-core/images/meta-perl-image-ptest.bb RDEPENDS on or otherwise requires it)
  libxml-libxml-perl RPROVIDES libxml-libxml-perl-ptest but was skipped: Recipe will be skipped because: Not compatible with latest libxml
  NOTE: Runtime target 'libxml-libxml-perl-ptest' is unbuildable, removing...
  Missing or unbuildable dependency chain was: ['libxml-libxml-perl-ptest']
  WARNING: Nothing RPROVIDES 'meta-perl-image-ptest-libxml-libxml-perl'
  No eligible RPROVIDERs exist for 'meta-perl-image-ptest-libxml-libxml-perl'
  NOTE: Runtime target 'meta-perl-image-ptest-libxml-libxml-perl' is unbuildable, removing...
  Missing or unbuildable dependency chain was: ['meta-perl-image-ptest-libxml-libxml-perl']

[0]: https://autobuilder.yoctoproject.org/valkyrie/#/builders/82/builds/494/steps/13/logs/stdio

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-31 11:38:34 -07:00
Gyorgy Sarvari 5c0c80437e libconfig-autoconf-perl: fix ptests
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 <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-25 08:45:03 -07:00
Gyorgy Sarvari 83cf087892 libmodule-build-tiny-perl: fix ptests
Add missing dependency.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-25 08:45:03 -07:00
Gyorgy Sarvari 2d1e7f1716 libnet-dns-sec-perl: upgrade 1.10 -> 1.26
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 <expression>.
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 <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-25 08:45:03 -07:00
Gyorgy Sarvari 683fe62c99 libnet-dns-perl: upgrade 1.52 -> 1.53
Also fix ptests.

Changelog:
-Suppress autovivified undefined $rr->{class} and $rr->{ttl}.
-Rework test scripts for SVCB and DELEG.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-25 08:45:03 -07:00
Gyorgy Sarvari 73aa35ee7f libnet-ssleay-perl: upgrade 1.85 -> 1.94
Also fix ptests.

Added two backported patches that makes patches compatible with the latest openssl.

Changelog: https://metacpan.org/release/CHRISN/Net-SSLeay-1.94/changes

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-25 08:45:03 -07:00
Gyorgy Sarvari d762cd031d libtest-harness-perl: fix ptests
Add required dependencies.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-24 17:11:36 -07:00
Gyorgy Sarvari 007aec5e7e liburi-perl: fix ptests
Add required dependency.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-24 17:11:36 -07:00
Gyorgy Sarvari 83dca42b0d libmime-base32-perl: add recipe
It's a runtime dependency for liburi-perl-ptest.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-24 17:11:36 -07:00
Gyorgy Sarvari 1f83ed659c libunicode-linebreak-perl: fix ptests
Add missing dependencies.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-24 17:11:36 -07:00
Gyorgy Sarvari 1c336d152b libtest-warn-perl: fix ptests
Add missing runtime dependencies.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-24 17:11:36 -07:00
Gyorgy Sarvari 8a9881972d libtest-deep-perl: fix ptests
Add missing dependency.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-24 17:11:36 -07:00
Gyorgy Sarvari d20350bcba libsub-uplevel-perl: fix ptests
Add missing dependency.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-24 17:11:36 -07:00
Gyorgy Sarvari eb10bdb4b1 libmime-types-perl: fix ptests
Add missing runtime dependency.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-24 17:11:35 -07:00
Gyorgy Sarvari 87c16bd907 libfile-slurper-perl: fix ptests
Add missing dependencies, and install lib/File in ptest folder, because it
is considered as test data, accessed by the tests.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-24 17:11:35 -07:00
Gyorgy Sarvari 61553f8931 libdigest-sha1-perl: fix ptests
Add missing dependencies.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-24 17:11:35 -07:00
Gyorgy Sarvari d5e2230e0e libdbd-sqlite-perl: fix ptests
Add missing dependencies and install missing files for testing.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-24 17:11:35 -07:00
Gyorgy Sarvari 85a6e07eb9 libdata-hexdump-perl: fix ptests
Add missing dependencies.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-24 17:11:35 -07:00
Gyorgy Sarvari b18644c713 libcrypt-openssl-rsa-perl: fix ptests
Add missing dependencies.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-24 17:11:35 -07:00
Gyorgy Sarvari 72222a8901 libcrypt-openssl-guess-perl: fix ptests
Add missing dependency.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-24 17:11:35 -07:00
Gyorgy Sarvari 3de902d169 libcgi-perl: remove from problem ptest list
The tests can be executed fine, they pass without a failure (and it takes
less than 3 seconds)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-24 09:06:24 -07:00
Gyorgy Sarvari f0c505b075 libauthen-sasl-perl: fix ptests
Add missing dependencies.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-24 09:06:24 -07:00
Yoann Congal bf400cd73f reproducibility: move known non-repro list to layer.conf
The current include file that stores the known non-reproducible packages
is layer dependent and that forces the user of the layers to maintain
the list of the files (for example, see AB config[0]).

By moving the exclude list to each layer.conf and extending the common
OEQA_REPRODUCIBLE_EXCLUDED_PACKAGES variable, the known non-reproducible
packages will be automatically excluded for each layer used in the
reproducibility test without any special knowledge in the test
environment.

NB: the empty list for meta-initramfs was just removed not moved.

[0]: https://git.yoctoproject.org/yocto-autobuilder-helper/tree/config.json?id=7d8933e75bdf7fb821a25617cb2dcabf1f3f8700#n322

Suggested-by: Quentin Schulz <quentin.schulz@cherry.de>
Co-Developed-by: Guillaume Swaenepoel <guillaume.swaenepoel@smile.fr>
Signed-off-by: Guillaume Swaenepoel <guillaume.swaenepoel@smile.fr>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-20 10:34:11 -07:00
Khem Raj c0af0952e1 ptest-packagelists-meta-perl: adjust automated ptest runs
Based on current pass/fail results

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-12 10:11:32 -07:00
Jason Schonberg a6ed1c867d Fix warning : lack of whitespace around assignment
Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-05 07:45:31 -07:00
Alexander Kanavin 0531f2c072 liburi-perl: add to meta-perl from oe-core
The recipe has no usage in core.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-27 12:37:34 -08:00
Yoann Congal d3751ce994 reproducibility: move repro excludes from AB config.json to meta-oe
For now, the known non-reproducible packages list is stored inside the
autobuilder config.json file. This is not ideal. Let's move this list
into each layers of meta-openembedded.

These lists can be used with, in local.conf:
  include conf/include/non-repro-meta-oe.inc
  OEQA_REPRODUCIBLE_EXCLUDED_PACKAGES = "${KNOWN_NON_REPRO_META_OE}"

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Acked-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-29 11:11:51 -07:00
Tim Orling 90668d6fc6 liberror-perl: move recipe from oe-core
While this package is deprecated by the upstream maintainer,
we do not know if there are any users in the wider OpenEmbedded
ecosystem, so move the recipe from oe-core to meta-perl.

[YOCTO #15461]

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-31 08:32:39 -07:00
Khem Raj 22de033d9a ptest-packagelists-meta-perl.inc: Move couple of test to PTESTS_FAST_META_PERL
libdigest-hmac-perl and libextutils-installpaths-perl are passing fine
under 20s on qemux86-64, therefore remove them out of PTESTS_PROBLEMS_META_PERL

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-26 08:13:21 -08:00
Tim Orling 57de043dd6 libencode-perl: drop recipe
Encode.pm is packaged in perl itself and users should
instead RDEPENDS on perl-module-encode

This was originally added a long time ago when I did not understand
the way the packages split was done.

See the other Encode::* sub-packages in:
https://git.openembedded.org/openembedded-core/tree/meta/recipes-devtools/perl/files/perl-rdepends.txt#n313

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-26 08:13:21 -08:00
Khem Raj f9cc7d4c56 meta-perl: Add libtext-diff-perl to fast ptest list
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-10-13 13:23:05 -07:00
Tim Orling 8d353c0491 libmodule-build-tiny-perl: upgrade 0.045 -> 0.046
* Drop redundant do_install
* Use four spaces for indent in RDEPENDS
* RDEPENDS:
  - += not =
  - sort alphabetically
  - Add perl-module-perl-ostype
  - Add perl-module-extutils-cbuilder-base
  - Replace perl-module-ipc-open3 with -ipc-cmd
  - Add perl-module-metadata
  - Add perl-module-parse-cpan-meta
  - Add perl-module-extutils-install
  - Add perl-module-encode-encoding
* Enable ptest
* RDEPENDS for ptest:
  - Add perl-module-ipc-open2
  - Add perl-module-blib
  - Add packagegroup-core-buildessential
  - Add perl-dev (for "EXTERN.h")
* INSANE_SKIP dev-deps for -ptest

0.046 2023-06-01 19:31:21+02:00 Europe/Amsterdam
      - Add src/ to include paths

License-Update: Updated Artistic-1.0 (Perl) text

Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-08 20:32:03 -07:00
Tim Orling 99972beb1d ptest-packagelists-meta-perl.inc: add ptest recipes
Similar to ptest-packagelists.inc in oe-core, this list enables
per image ptest (isolated ptests for a given recipe)

* Add recipes to PTEST_FAST_META_PERL for ptests which take less than ~30s
* Add recipes to PTEST_SLOW_META_PERL for ptests which take longer
* Add recipes to PTEST_PROBLEMS_META_PERL for ptests which have failing tests
  or other issues with ptest package

The initial list was taken from:

meta_perl_ptest_recipes=$(bitbake-layers show-recipes --recipes-only \
    --layer meta-perl --inherits ptest --bare | tr '\n' ' ' | \
    pcregrep -o1 '^NOTE:.+===(.+)$')

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-04 13:39:46 -07:00