All of lore.kernel.org
 help / color / mirror / Atom feed
* Unable to run bitbake core-image-minimal -c populate_sdk in poke "Warrior" branch.
@ 2020-02-10 16:15 Michael
  0 siblings, 0 replies; only message in thread
From: Michael @ 2020-02-10 16:15 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 3590 bytes --]

I created a build environment for powerpc-nf using poke "warrior" branch.
I was able to run "bitbake core-image-minimal" successfully.
I was also able to run "bitbake core-image-minimal -c populate_sdk" successfully.

Then I added a new package from my internal team.
After adding this package, I was still able to execute  "bitbake core-image-minimal" successfully.
However, bitbake core-image-minimal -c populate_sdk"  failed with the following error message...

*****************************************************************************************************
NOTE: Executing RunQueue Tasks
*ERROR: core-image-minimal-1.0-r0 do_populate_sdk: Could not invoke dnf.* Command '/tmp/youhour/fips-build/b20200206b/fips-ppcnf/build/tmp/work/fips_ppcnf-poky-linux/core-image-minimal/1.0-r0/recipe-sysroot-native/usr/bin/dnf -v --rpmverbosity=info -y -c /tmp/youhour/fips-build/b20200206b/fips-ppcnf/build/tmp/work/fips_ppcnf-poky-linux/core-image-minimal/1.0-r0/sdk/image/etc/dnf/dnf.conf --setopt=reposdir=/tmp/youhour/fips-build/b20200206b/fips-ppcnf/build/tmp/work/fips_ppcnf-poky-linux/core-image-minimal/1.0-r0/sdk/image/etc/yum.repos.d --installroot=/tmp/youhour/fips-build/b20200206b/fips-ppcnf/build/tmp/work/fips_ppcnf-poky-linux/core-image-minimal/1.0-r0/sdk/image --setopt=logdir=/tmp/youhour/fips-build/b20200206b/fips-ppcnf/build/tmp/work/fips_ppcnf-poky-linux/core-image-minimal/1.0-r0/temp --repofrompath=oe-repo,/tmp/youhour/fips-build/b20200206b/fips-ppcnf/build/tmp/work/fips_ppcnf-poky-linux/core-image-minimal/1.0-r0/oe-sdk-repo --nogpgcheck install nativesdk-mdchroot nativesdk-packagegroup-sdk-host packagegroup-cross-canadian-fips-ppcnf' returned 1:
DNF version: 4.1.0
cachedir: /tmp/youhour/fips-build/b20200206b/fips-ppcnf/build/tmp/work/fips_ppcnf-poky-linux/core-image-minimal/1.0-r0/sdk/image/var/cache/dnf
Added oe-repo repo from /tmp/youhour/fips-build/b20200206b/fips-ppcnf/build/tmp/work/fips_ppcnf-poky-linux/core-image-minimal/1.0-r0/oe-sdk-repo
repo: using cache for: oe-repo
not found other for:
not found modules for:
not found deltainfo for:
not found updateinfo for:
oe-repo: using metadata from Fri 07 Feb 2020 02:56:24 PM UTC.
Last metadata expiration check: 0:00:01 ago on Fri 07 Feb 2020 02:56:25 PM UTC.
*No module defaults found*
*No match for argument: nativesdk-mdchroot*
*Error: Unable to find a match*

ERROR: core-image-minimal-1.0-r0 do_populate_sdk:
ERROR: core-image-minimal-1.0-r0 do_populate_sdk: Function failed: do_populate_sdk
ERROR: Logfile of failure stored in: /tmp/youhour/fips-build/b20200206b/fips-ppcnf/build/tmp/work/fips_ppcnf-poky-linux/core-image-minimal/1.0-r0/temp/log.do_populate_sdk.10934
ERROR: Task (/esw/san5/youhour/yocto_mcp/b20200206b/fips-build/meta/recipes-core/images/core-image-minimal.bb:do_populate_sdk) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3715 tasks of which 3714 didn't need to be rerun and 1 failed.
****************************************************************************************************

I googled  " do_populate_sdk: Could not invoke dnf " and found many similar problems with suggested solutions.  However, only find one work around that resolve the issue.
This work around is to change PACKAGE_CLASSES = "package_rpm" in the conf/local.conf file to PACKAGE_CLASSES = "package_ipk package_rpm".  While working, this solution use almost double the space for the build directory.

Has any one seen this problem and have a solution other than setting the PACKAGE_CLASSES = "package_ipk package_rpm" ?

Thank you in advance.

[-- Attachment #2: Type: text/html, Size: 4115 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-02-10 16:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-10 16:15 Unable to run bitbake core-image-minimal -c populate_sdk in poke "Warrior" branch Michael

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.