From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Harish Sadineni <Harish.Sadineni@windriver.com>,
openembedded-core@lists.openembedded.org
Cc: Sundeep.Kokkonda@windriver.com
Subject: Re: [OE-core] [PATCH 1/2] binutils-cross-canadian: Add missing perl mpodules to RDEPENDS
Date: Wed, 01 Oct 2025 10:57:20 +0100 [thread overview]
Message-ID: <d63a917901287e45aeee4b6b256615537124c2a6.camel@linuxfoundation.org> (raw)
In-Reply-To: <93d2d7a5-a6c7-4b0c-ad89-01be28b407ed@windriver.com>
On Wed, 2025-10-01 at 14:17 +0530, Harish Sadineni wrote:
> On 9/30/2025 7:17 PM, Richard Purdie wrote:
> On Tue, 2025-09-30 at 05:39 -0700, Sadineni, Harish via lists.openembedded.org wrote:
> > > From: Harish Sadineni <Harish.Sadineni@windriver.com>
> > >
> > > In sdk while running "x86_64-poky-linux-gp-display-html --help" gives
> > > following error:
> > > $sdk/sysroots/x86_64-pokysdk-linux/usr/bin/x86_64-poky-linux->
> > > ./x86_64-poky-linux-gp-display-html --help
> > > Can't locate bigint.pm in @INC (you may need to install the bigint module
> > >
> > > By adding the following perl modules to RDEPENDS fixes the above errors:
> > > nativesdk-perl-module-bignum
> > > nativesdk-perl-module-bigint
> > > nativesdk-perl-module-math-bigint
> > >
> > > Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
> > > ---
> > > meta/recipes-devtools/binutils/binutils-cross-canadian.inc | 1 +
> > > 1 file changed, 1 insertion(+)
> > >
> > > diff --git a/meta/recipes-devtools/binutils/binutils-cross-canadian.inc b/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
> > > index 7d7ffe92ce..9dc73fbdf1 100644
> > > --- a/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
> > > +++ b/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
> > > @@ -5,6 +5,7 @@ PN = "binutils-cross-canadian-${TRANSLATED_TARGET_ARCH}"
> > > BPN = "binutils"
> > >
> > > DEPENDS = "flex-native bison-native virtual/nativesdk-cross-cc virtual/nativesdk-libc nativesdk-zlib nativesdk-gettext nativesdk-flex"
> > > +RDEPENDS:${PN} += "nativesdk-perl-module-bignum nativesdk-perl-module-bigint nativesdk-perl-module-math-bigint"
> > > EXTRA_OECONF += "--with-sysroot=${SDKPATH}/sysroots/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS} \
> > > --enable-poison-system-directories \
> > > "
> > >
> > This is probably the right direction but shouldn't this be for the
> > gprofng package rather than ${PN}?
> >
> Hi Richard,
>
> In the SDK at $sdk/sysroots/x86_64-pokysdk-linux/usr/bin/x86_64-
> poky-linux, the script "x86_64-poky-linux-gp-display-html" is not
> pulled or packaged by the gprofng package.
> Instead, it is installed as part of the binutils-cross-canadian
> package.
>
> Adding the perl module dependencies to gprofng package will not
> resolve this issue , it would be effective only if "nativesdk-
> gprofng" is explicitly installed by the user.
>
Fair enough. Should x86_64-poky-linux-gp-display-html not be part of
the gprofng package though? Perhaps we should change it to be packaged
there, then add the dependency to that?
Cheers,
Richard
next prev parent reply other threads:[~2025-10-01 9:57 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-30 12:39 [PATCH 1/2] binutils-cross-canadian: Add missing perl mpodules to RDEPENDS Harish.Sadineni
2025-09-30 12:39 ` [PATCH 2/2] Revert "binutils: Add missing perl modules to RDEPENDS for nativsdk variant" Harish.Sadineni
2025-09-30 13:47 ` [OE-core] [PATCH 1/2] binutils-cross-canadian: Add missing perl mpodules to RDEPENDS Richard Purdie
2025-10-01 8:47 ` Harish Sadineni
2025-10-01 9:57 ` Richard Purdie [this message]
2025-10-01 16:56 ` Khem Raj
2026-04-01 12:40 ` Harish Sadineni
2026-04-01 20:39 ` Khem Raj
2025-10-02 14:04 ` Mathieu Dubois-Briand
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=d63a917901287e45aeee4b6b256615537124c2a6.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=Harish.Sadineni@windriver.com \
--cc=Sundeep.Kokkonda@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox