binutils: Fix packaging of bfd-plugins
PATCH v4 1/2 binutils: Fix packaging of bfd-plugins
From: Harish Sadineni <[email protected]>
Fixes the follwing error while building nativesdk-binutils with i686-mingw32 as SDKMACHINE:
ERROR: nativesdk-binutils-2.43.1-r0 do_package: QA Issue: nativesdk-binutils: Files/directories were installed but not shipped in any package:
/usr/local/oe-sdk-hardcoded-buildpath/sysroots/i686-w64-mingw32/usr/lib/bfd-plugins /usr/local/oe-sdk-hardcoded-buildpath/sysroots/i686-w64-mingw32/usr/lib/bfd-plugins/libdep.dll
--- meta/recipes-devtools/binutils/binutils_2.43.1.bb | 1 + 1 file changed, 1 insertion(+)
meta/recipes-devtools/binutils/binutils_2.43.1.bb +1 -0
@@ -72,5 +72,6 @@ SRC_URI:append:class-nativesdk = " file://0003-binutils-nativesdk-Search-for-al USE_ALTERNATIVES_FOR:class-nativesdk = "" FILES:${PN}:append:class-nativesdk = " ${bindir}" +FILES:${PN}:append:class-nativesdk = " ${libdir}/bfd-plugins" BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.43.0
PATCH v4 2/2 nativesdk-packagegroup-sdk-host: Add missing perl modules to RDEPENDS
From: Harish Sadineni <[email protected]>
In SDK, missing perl modules causes 'x86_64-pokysdk-linux-gp-display-html --help' to abort with below errors..
- Can't locate bignum.pm in @INC (you may need to install the feature module).
- Can't locate Math/BigInt.pm in @INC (you may need to install the Math::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
--- .../packagegroups/nativesdk-packagegroup-sdk-host.bb | 3 +++ 1 file changed, 3 insertions(+)
meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb +3 -0
@@ -30,6 +30,9 @@ RDEPENDS:${PN} = "\ nativesdk-bison \ nativesdk-flex \ nativesdk-perl-module-integer \ + nativesdk-perl-module-bignum \ + nativesdk-perl-module-bigint \ + nativesdk-perl-module-math-bigint \ " RDEPENDS:${PN}:darwin = "\
Signature · 1 line
2.43.0
Re: [OE-core] [PATCH v4 2/2] nativesdk-packagegroup-sdk-host: Add missing perl modules to RDEPENDS
Quoted 27 lines · Harish via lists.openembedded.org
From: Harish Sadineni <[email protected]>
In SDK, missing perl modules causes 'x86_64-pokysdk-linux-gp-display-html --help' to abort with below errors..
- Can't locate bignum.pm in @INC (you may need to install the feature module).
- Can't locate Math/BigInt.pm in @INC (you may need to install theMath::BigIntmodule)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]>---
.../packagegroups/nativesdk-packagegroup-sdk-host.bb | 3 +++1 file changed, 3 insertions(+)meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb +3
-0@@ -30,6 +30,9 @@ RDEPENDS:${PN} = "\ nativesdk-bison \ nativesdk-flex \ nativesdk-perl-module-integer \ + nativesdk-perl-module-bignum \ + nativesdk-perl-module-bigint \ + nativesdk-perl-module-math-bigint \
Quoted 3 lines
"
RDEPENDS:${PN}:darwin = "\
This doesn't address my feedback/concerns in the original patch. SHouldn't these dependencies be added to the nativesdk-binutils-gprofng RDEPENDS?
Cheers,
Richard
Re: [OE-core] [PATCH v4 2/2] nativesdk-packagegroup-sdk-host: Add missing perl modules to RDEPENDS
Quoted 3 lines
This doesn't address my feedback/concerns in the original patch. SHouldn't these dependencies be added to the nativesdk-binutils-gprofng RDEPENDS?
As you suggested, we made changes accordingly and sent v5 .
Thanks
Harish
________________________________
From: Richard Purdie <[email protected]>
Sent: Thursday, September 19, 2024 3:35 PM
To: Sadineni, Harish <[email protected]>; [email protected] <[email protected]>
Cc: Gowda, Naveen <[email protected]>; Kokkonda, Sundeep <[email protected]>
Subject: Re: [OE-core] [PATCH v4 2/2] nativesdk-packagegroup-sdk-host: Add missing perl modules to RDEPENDS
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 21 lines · Harish via lists.openembedded.org
From: Harish Sadineni <[email protected]>
In SDK, missing perl modules causes 'x86_64-pokysdk-linux-gp-display-html --help' to abort with below errors..
- Can't locate bignum.pm in @INC (you may need to install the feature module).
- Can't locate Math/BigInt.pm in @INC (you may need to install theMath::BigIntmodule)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]>--- .../packagegroups/nativesdk-packagegroup-sdk-host.bb | 3 +++ 1 file changed, 3 insertions(+)meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb +0
-0
meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb RDEPENDS:${PN} = "\ · line 38
Quoted 9 lines
meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb +3
-0@@ -30,6 +30,9 @@ RDEPENDS:${PN} = "\ nativesdk-bison \ nativesdk-flex \ nativesdk-perl-module-integer \ + nativesdk-perl-module-bignum \ + nativesdk-perl-module-bigint \ + nativesdk-perl-module-math-bigint \ " RDEPENDS:${PN}:darwin = "\
This doesn't address my feedback/concerns in the original patch. SHouldn't these dependencies be added to the nativesdk-binutils-gprofng RDEPENDS?
Cheers,
Richard