From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: rajendra.desai@emerson.com, openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH 1/5] perl-ptest: include gcc as a recommended package
Date: Fri, 16 May 2025 07:16:52 +0100 [thread overview]
Message-ID: <6ef2eeba0eae48ec4c869e4aa22956dbd62888e2.camel@linuxfoundation.org> (raw)
In-Reply-To: <20250515165010.242349-2-rajendra.desai@emerson.com>
On Thu, 2025-05-15 at 22:20 +0530, Rajendra Desai via lists.openembedded.org wrote:
> The following perl ptests:
>
> dist/ExtUtils-ParseXS/t/001-basic
> dist/ExtUtils-ParseXS/t/002-more
> dist/ExtUtils-ParseXS/t/003-usage
>
> are giving out below warning while running on the yocto CI build:
> Can't exec "x86_64-poky-linux-gcc": No such file or directory at
> /usr/lib/perl/ptest/dist/ExtUtils-ParseXS/../../lib/ExtUtils/CBuilder/Base.pm
> line 362.
>
> additionally, 2 of the tests are skipping out:
> SKIP: cpan/ExtUtils-Constant/t/Constant
> SKIP: cpan/ExtUtils-MakeMaker/t/02-xsdynamic
>
> This is mainly due to a missing gcc dependency which is needed by
> the above tests. Hence, adding the package under RRECOMMENDS to
> make sure the tests are able to find the compiler and that the
> tests do not skip or output the missing file or directory warning.
>
> Signed-off-by: Rajendra Desai <rajendra.desai@emerson.com>
> ---
> meta/recipes-devtools/perl/perl-ptest.inc | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/meta/recipes-devtools/perl/perl-ptest.inc b/meta/recipes-devtools/perl/perl-ptest.inc
> index 4b4756118c..817ad401f4 100644
> --- a/meta/recipes-devtools/perl/perl-ptest.inc
> +++ b/meta/recipes-devtools/perl/perl-ptest.inc
> @@ -60,6 +60,7 @@ python populate_packages:prepend() {
> }
>
> RDEPENDS:${PN}-ptest += "${PN}-modules ${PN}-doc sed procps-ps"
> +RRECOMMENDS:${PN}-ptest += "gcc"
>
> # The perl-ptest package contains Perl internal modules and generating file
> # dependencies for it causes problems.
We've avoided doing this as there are key elements of a build that
require perl and this means those builds will now build gcc. It
effectively means that even small images will end up building target
toolchain tools. I'm not sure that is what people want, even if it does
come at the price of a small number of skipped ptests.
We should perhaps comment this in the recipe through so people know
we've considered it.
Cheers,
Richard
next prev parent reply other threads:[~2025-05-16 6:17 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-15 16:50 [PATCH 0/5] perl-ptest: fix 5 of the ExtUtils ptests Rajendra Desai
2025-05-15 16:50 ` [PATCH 1/5] perl-ptest: include gcc as a recommended package Rajendra Desai
2025-05-16 6:16 ` Richard Purdie [this message]
2025-05-15 16:50 ` [PATCH 2/5] perl-ptest: include libxcrypt-dev as recommended Rajendra Desai
2025-05-16 9:28 ` [OE-core] " Mathieu Dubois-Briand
2025-05-15 16:50 ` [PATCH 3/5] perl-ptest: include g++ as a recommended package Rajendra Desai
2025-05-15 16:50 ` [PATCH 4/5] perl-ptest: include make " Rajendra Desai
2025-05-15 16:50 ` [PATCH 5/5] perl-ptest: copy xconfig data from perl source directory Rajendra Desai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6ef2eeba0eae48ec4c869e4aa22956dbd62888e2.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=openembedded-core@lists.openembedded.org \
--cc=rajendra.desai@emerson.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.