binutils-cross-canadian: Add missing perl mpodules to RDEPENDS
PATCH 1/2 binutils-cross-canadian: Add missing perl mpodules to RDEPENDS
From: Harish Sadineni <[email protected]>
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
--- meta/recipes-devtools/binutils/binutils-cross-canadian.inc | 1 + 1 file changed, 1 insertion(+)
meta/recipes-devtools/binutils/binutils-cross-canadian.inc +1 -0
@@ -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 \ "
Signature · 1 line
2.49.0
PATCH 2/2 Revert "binutils: Add missing perl modules to RDEPENDS for nativsdk variant"
From: Harish Sadineni <[email protected]>
The missing Perl modules are now provided by binutils-cross-canadian.inc. Including them again for nativesdk-gprofng is redudant, as the modules are already installed.
This reverts commit a827c8133b99ed9e2aeb3c9933812bc2913a7bd1.
--- meta/recipes-devtools/binutils/binutils_2.45.bb | 4 ---- 1 file changed, 4 deletions(-)
meta/recipes-devtools/binutils/binutils_2.45.bb +0 -4
@@ -73,9 +73,5 @@ SRC_URI:append:class-nativesdk = " file://0003-binutils-nativesdk-Search-for-al USE_ALTERNATIVES_FOR:class-nativesdk = "" FILES:${PN}:append:class-nativesdk = " ${bindir}" -RDEPENDS:gprofng:class-nativesdk = " nativesdk-perl-module-bignum \ - nativesdk-perl-module-bigint \ - nativesdk-perl-module-math-bigint \ -" BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.49.0
Quoted 23 lines · Harish via lists.openembedded.org
From: Harish Sadineni <[email protected]>
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 moduleBy adding the following perl modules to RDEPENDS fixes the above errors:
nativesdk-perl-module-bignum
nativesdk-perl-module-bigint nativesdk-perl-module-math-bigintSigned-off-by Harish Sadineni <[email protected]>---
meta/recipes-devtools/binutils/binutils-cross-canadian.inc | 1 +1 file changed, 1 insertion(+)meta/recipes-devtools/binutils/binutils-cross-canadian.inc +0
-0@@ -5,6 +5,7 @@ PN = "binutils-cross-canadian-${TRANSLATED_TARGET_ARCH}"
Quoted 7 lines
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}?
Cheers,
Richard
Quoted 29 lines · Richard Purdie
CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know the content is safe.Quoted 25 lines · Harish via lists.openembedded.org
From: Harish Sadineni<[email protected]>
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 moduleBy adding the following perl modules to RDEPENDS fixes the above errors:
nativesdk-perl-module-bignum
nativesdk-perl-module-bigint nativesdk-perl-module-math-bigintSigned-off-by Harish Sadineni<[email protected]>--- meta/recipes-devtools/binutils/binutils-cross-canadian.inc | 1 + 1 file changed, 1 insertion(+)meta/recipes-devtools/binutils/binutils-cross-canadian.inc +0
-0@@ -5,6 +5,7 @@ PN = "binutils-cross-canadian-${TRANSLATED_TARGET_ARCH}" BPN = "binutils"
Quoted 7 lines
meta/recipes-devtools/binutils/binutils-cross-canadian.inc PN = "binutils-cross-canadian-${TRANSLATED_TARGET_ARCH}" · line 11
Quoted 5 lines
meta/recipes-devtools/binutils/binutils-cross-canadian.inc +1
-0DEPENDS = "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.
Thanks,
Harish
Quoted 4 lines
Cheers,
Richard
Quoted 36 lines · Harish Sadineni
On 9/30/2025 7:17 PM, Richard Purdie wrote:
Quoted 25 lines · Harish via lists.openembedded.org
Quoted 25 lines
From: Harish Sadineni <[email protected]>
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 moduleBy adding the following perl modules to RDEPENDS fixes the above errors:
nativesdk-perl-module-bignum
nativesdk-perl-module-bigint nativesdk-perl-module-math-bigintSigned-off-by Harish Sadineni <[email protected]>---
meta/recipes-devtools/binutils/binutils-cross-canadian.inc | 1 +1 file changed, 1 insertion(+)meta/recipes-devtools/binutils/binutils-cross-canadian.inc +0
-0@@ -5,6 +5,7 @@ PN = "binutils-cross-canadian-${TRANSLATED_TARGET_ARCH}"BPN = "binutils"
Quoted 9 lines
Quoted 6 lines
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}?
Quoted 12 lines
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
Quoted 46 lines · Richard Purdie via lists.openembedded.org
Quoted 44 lines · Harish Sadineni
On 9/30/2025 7:17 PM, Richard Purdie wrote:
Quoted 25 lines · Harish via lists.openembedded.org
Quoted 25 lines
From: Harish Sadineni <[email protected]>
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 moduleBy adding the following perl modules to RDEPENDS fixes the above errors:
nativesdk-perl-module-bignum
nativesdk-perl-module-bigint nativesdk-perl-module-math-bigintSigned-off-by Harish Sadineni <[email protected]>--- meta/recipes-devtools/binutils/binutils-cross-canadian.inc | 1 + 1 file changed, 1 insertion(+)meta/recipes-devtools/binutils/binutils-cross-canadian.inc +0
-0@@ -5,6 +5,7 @@ PN = "binutils-cross-canadian-${TRANSLATED_TARGET_ARCH}" BPN = "binutils"Quoted 9 lines
meta/recipes-devtools/binutils/binutils-cross-canadian.inc PN = "binutils-cross-canadian-${TRANSLATED_TARGET_ARCH}" · line 11
Quoted 6 lines
meta/recipes-devtools/binutils/binutils-cross-canadian.inc +1
-0DEPENDS = "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.
Quoted 8 lines
Quoted 4 lines
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?
right, that would make it live with the right set of sub-package as well.
Quoted 15 lines
Cheers,
Richard
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#224204): https://lists.openembedded.org/g/openembedded-core/message/224204
Mute This Topic: https://lists.openembedded.org/mt/115512852/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 51 lines · Khem Raj
CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know the content is safe.Quoted 45 lines · Richard Purdie via lists.openembedded.org
Quoted 44 lines · Harish Sadineni
On 9/30/2025 7:17 PM, Richard Purdie wrote:
Quoted 25 lines · Harish via lists.openembedded.org
Quoted 25 lines
From: Harish Sadineni <[email protected]>
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 moduleBy adding the following perl modules to RDEPENDS fixes the above errors:
nativesdk-perl-module-bignum
nativesdk-perl-module-bigint nativesdk-perl-module-math-bigintSigned-off-by Harish Sadineni <[email protected]>--- meta/recipes-devtools/binutils/binutils-cross-canadian.inc | 1 + 1 file changed, 1 insertion(+)meta/recipes-devtools/binutils/binutils-cross-canadian.inc +0
-0@@ -5,6 +5,7 @@ PN = "binutils-cross-canadian-${TRANSLATED_TARGET_ARCH}" BPN = "binutils"Quoted 9 lines
meta/recipes-devtools/binutils/binutils-cross-canadian.inc PN = "binutils-cross-canadian-${TRANSLATED_TARGET_ARCH}" · line 11
Quoted 6 lines
meta/recipes-devtools/binutils/binutils-cross-canadian.inc +1
-0DEPENDS = "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.
Quoted 8 lines
Quoted 7 lines
Quoted 4 lines
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?
right, that would make it live with the right set of sub-package as well.
Hi Khem, Richard,
We attempted to package gprofng separately from binutils-cross-canadian.
We’ve verified that under the package split and its working correctly, and gprofng is being generated as an independent package.
However, during SDK population, the gprofng package is still being included along with the main binutils-cross-canadian package, even though it hasn’t been explicitly added.
I also checked whether there is any code that packages all the packages created under binutils-cross-canadian, but I couldn’t find anything relevant. Is this expected or do you have any suggestion.
Thanks,
Harish
Quoted 14 lines
Quoted 14 lines
Cheers,
Richard
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#224204): https://lists.openembedded.org/g/openembedded-core/message/224204
Mute This Topic: https://lists.openembedded.org/mt/115512852/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 79 lines · Harish Sadineni
Quoted 2 lines · Khem Raj
CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender
and know the content is safe.
Quoted 7 lines
Quoted 3 lines · Richard Purdie via lists.openembedded.org
Quoted 2 lines · Harish Sadineni
On 9/30/2025 7:17 PM, Richard Purdie wrote:
On Tue, 2025-09-30 at 05:39 -0700, Sadineni, Harish viaQuoted 7 lines · lists.openembedded.org
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
From: Harish Sadineni <[email protected]>
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 bigintmodule
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
By adding the following perl modules to RDEPENDS fixes the above
errors:
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
nativesdk-perl-module-bignum
nativesdk-perl-module-bigint
nativesdk-perl-module-math-bigintSigned-off-by Harish Sadineni <[email protected]>--- 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
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
meta/recipes-devtools/binutils/binutils-cross-canadian.inc PN =
Quoted 4 lines
index
7d7ffe92ce..9dc73fbdf1100644meta/recipes-devtools/binutils/binutils-cross-canadian.inc +0
-0@@ -5,6 +5,7 @@ PN ="binutils-cross-canadian-${TRANSLATED_TARGET_ARCH}"
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
meta/recipes-devtools/binutils/binutils-cross-canadian.inc PN = "binutils-cross-canadian-${TRANSLATED_TARGET_ARCH}"
Quoted 3 lines
meta/recipes-devtools/binutils/binutils-cross-canadian.inc +0
-0BPN = "binutils" DEPENDS = "flex-native bison-native virtual/nativesdk-cross-ccvirtual/nativesdk-libc nativesdk-zlib nativesdk-gettext nativesdk-flex"
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
meta/recipes-devtools/binutils/binutils-cross-canadian.inc PN = · line 8
Quoted 1 line
meta/recipes-devtools/binutils/binutils-cross-canadian.inc +1
-0+RDEPENDS:${PN} += "nativesdk-perl-module-bignumnativesdk-perl-module-bigint nativesdk-perl-module-math-bigint"
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
meta/recipes-devtools/binutils/binutils-cross-canadian.inc PN = · line 9
Quoted 1 line
meta/recipes-devtools/binutils/binutils-cross-canadian.inc +0
-0EXTRA_OECONF +="--with-sysroot=${SDKPATH}/sysroots/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS} \
Quoted 14 lines
Quoted 14 lines
Quoted 14 lines
Quoted 6 lines
meta/recipes-devtools/binutils/binutils-cross-canadian.inc PN = "binutils-cross-canadian-${TRANSLATED_TARGET_ARCH}" · line 11
Quoted 3 lines
meta/recipes-devtools/binutils/binutils-cross-canadian.inc +0
-0--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.Quoted 8 lines
Quoted 7 lines
Quoted 4 lines
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?
right, that would make it live with the right set of sub-package as well.
Hi Khem, Richard,
We attempted to package gprofng separately from binutils-cross-canadian. We’ve verified that under the package split and its working correctly, and gprofng is being generated as an independent package.
Quoted 10 lines
However, during SDK population, the gprofng package is still being included along with the main binutils-cross-canadian package, even though it hasn’t been explicitly added.
I also checked whether there is any code that packages all the packages created under binutils-cross-canadian,
but I couldn’t find anything relevant. Is this expected or do you have any suggestion.
I would suggest to look into shared libraries that gets into gprofng package and
then see if there is a binary or .so in other other packages listing one of those
.so in DT_NEEDED section of the ELF header.
Quoted 20 lines
Thanks,
HarishQuoted 9 lines
Quoted 9 lines
Cheers,
Richard
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#224204):https://lists.openembedded.org/g/openembedded-core/message/224204
Quoted 3 lines
Quoted 3 lines
Mute This Topic: https://lists.openembedded.org/mt/115512852/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [Quoted 2 lines
Quoted 2 lines
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 8 lines · Harish via lists.openembedded.org Sadineni
From: Harish Sadineni <[email protected]>
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
Quoted 7 lines
By adding the following perl modules to RDEPENDS fixes the above errors:
nativesdk-perl-module-bignum
nativesdk-perl-module-bigint nativesdk-perl-module-math-bigintSigned-off-by Harish Sadineni <[email protected]>---
Hi Harish,
Thanks for your patches.
I'm seeing some strange things on the autobuilder with this series. I had a first build without errors, on another build I got:
ERROR: nativesdk-binutils-2.45-r0 do_package_qa: QA Issue: nativesdk-gprofng rdepends on nativesdk-perl-module-bigint, but it isn't a build dependency, missing one of nativesdk-perl in DEPENDS or PACKAGECONFIG? [build-deps]
ERROR: nativesdk-binutils-2.45-r0 do_package_qa: QA Issue: nativesdk-gprofng rdepends on nativesdk-perl-module-bignum, but it isn't a build dependency, missing one of nativesdk-perl in DEPENDS or PACKAGECONFIG? [build-deps]
ERROR: nativesdk-binutils-2.45-r0 do_package_qa: QA Issue: nativesdk-gprofng rdepends on nativesdk-perl-module-math-bigint, but it isn't a build dependency, missing one of nativesdk-perl in DEPENDS or PACKAGECONFIG? [build-deps]
https://autobuilder.yoctoproject.org/valkyrie/#/builders/19/builds/2495
Thanks,
Mathieu
Signature · 3 lines
Mathieu Dubois-Briand, Bootlin Embedded Linux and Kernel engineering https://bootlin.com