> All of the TC's work the same way, but...
> 
> https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithu
> b.com%2FXilinx%2Fmeta-
> xilinx%2Fblob%2F6cbae9509694a2ed65435f391c5a900e4c1d3908%2Fmeta-
> xilinx-standalone%2Fconf%2Fmachine%2Farm-rm-
> tc.conf%23L18&data=05%7C01%7Cchris.laplante%40agilent.com%7C23
> 2e824fcfc1481118ad08dacdbb2775%7Ca9c0bc098b46420693512ba12fb4a5
> c0%7C0%7C0%7C638048500992323698%7CUnknown%7CTWFpbGZsb3d8eyJ
> WIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%
> 7C3000%7C%7C%7C&sdata=8MafMReQHfdsiN9sXZzxZgmYqXQJuHigyW
> dLh%2Bx%2FX4U%3D&reserved=0
> 
> Lines 18-27 control the build combinations.  Plus the default tune is 
> 'armv7r'.
> 
> Since you only want to target the R5, you can zero out the MULTILIBs value
> and ONLY build for the default tune.  In your local.conf do:
> 
> MULTILIBS:forcevariable = ""
> 
> Then build: MACHINE=arm-rm-tc bitbake meta-toolchain
> 
> (The same works for other toolchain specific configs as well..  Alternatively
> just select a single multiple that you need.  This will build MUCH faster then
> the full set.)

Hmm, this almost worked but it fell apart at the final 
meta-toolchain:do_populate_sdk:

ERROR: meta-toolchain-1.0-r7 do_populate_sdk: Could not invoke dnf. Command 
'/home/laplante/next_yocto/honister/build/tmp/work/armv7afpthf-xilinx-eabi/meta-toolchain/1.0-r7/recipe-sysroot-native/usr/bin/dnf
 -v --rpmverbosity=info -y -c 
/home/laplante/next_yocto/honister/build/tmp/work/armv7afpthf-xilinx-eabi/meta-toolchain/1.0-r7/sdk/image/etc/dnf/dnf.conf
 
--setopt=reposdir=/home/laplante/next_yocto/honister/build/tmp/work/armv7afpthf-xilinx-eabi/meta-toolchain/1.0-r7/sdk/image/etc/yum.repos.d
 
--installroot=/home/laplante/next_yocto/honister/build/tmp/work/armv7afpthf-xilinx-eabi/meta-toolchain/1.0-r7/sdk/image
 
--setopt=logdir=/home/laplante/next_yocto/honister/build/tmp/work/armv7afpthf-xilinx-eabi/meta-toolchain/1.0-r7/temp
 
--repofrompath=oe-repo,/home/laplante/next_yocto/honister/build/tmp/work/armv7afpthf-xilinx-eabi/meta-toolchain/1.0-r7/oe-sdk-repo
 --nogpgcheck install nativesdk-qemu packagegroup-cross-canadian-aarch32-tc' 
returned 1:
DNF version: 4.8.0
cachedir: 
/home/laplante/next_yocto/honister/build/tmp/work/armv7afpthf-xilinx-eabi/meta-toolchain/1.0-r7/sdk/image/var/cache/dnf
Added oe-repo repo from 
/home/laplante/next_yocto/honister/build/tmp/work/armv7afpthf-xilinx-eabi/meta-toolchain/1.0-r7/oe-sdk-repo
User-Agent: constructed: 'libdnf (Linux Mint 19.3; generic; Linux.x86_64)'
repo: using cache for: oe-repo
oe-repo: using metadata from Mon 28 Nov 2022 06:42:43 PM UTC.
--> Starting dependency resolution
--> Finished dependency resolution
Error: 
 Problem 1: package nativesdk-qemu-6.0.0-r0.0.x86_64_nativesdk requires 
libz.so.1()(64bit), but none of the providers can be installed
  - package nativesdk-qemu-6.0.0-r0.0.x86_64_nativesdk requires 
libz.so.1(ZLIB_1.2.0)(64bit), but none of the providers can be installed
  - package nativesdk-qemu-6.0.0-r0.0.x86_64_nativesdk requires nativesdk-libz1 
>= 1.2.11, but none of the providers can be installed
  - conflicting requests
  - nothing provides /bin/sh needed by 
nativesdk-libz1-1.2.11-r0.1.x86_64_nativesdk
 Problem 2: package 
packagegroup-cross-canadian-aarch32-tc-1.0-r0.0.x86_64_nativesdk requires 
gdb-cross-canadian-arm, but none of the providers can be installed
  - conflicting requests
  - nothing provides /bin/sh needed by 
gdb-cross-canadian-arm-10.2-r0.0.x86_64_nativesdk
(try to add '--skip-broken' to skip uninstallable packages)

ERROR: Logfile of failure stored in: 
/home/laplante/next_yocto/honister/build/tmp/work/armv7afpthf-xilinx-eabi/meta-toolchain/1.0-r7/temp/log.do_populate_sdk.52902
ERROR: Task 
(/home/laplante/next_yocto/honister/sources/poky/meta/recipes-core/meta/meta-toolchain.bb:do_populate_sdk)
 failed with exit code '1' 




There was this warning at the top, so maybe it is related:
NOTE: Resolving any missing task queue dependencies
NOTE: Multiple providers are available for runtime nativesdk-qemu 
(nativesdk-qemu, nativesdk-qemu-xilinx)
Consider defining a PREFERRED_RPROVIDER entry to match nativesdk-qemu
NOTE: Multiple providers are available for qemu-native (qemu-native, 
qemu-xilinx-native)
Consider defining a PREFERRED_PROVIDER entry to match qemu-native


Though it doesn't explain the '/bin/sh' problem.

Chris
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#5097): 
https://lists.yoctoproject.org/g/meta-xilinx/message/5097
Mute This Topic: https://lists.yoctoproject.org/mt/95098230/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-xilinx/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to