S32G build fsl-image-base with our package failed

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32G build fsl-image-base with our package failed

3,027 Views
zk-panfei
Contributor I

detail info is this:

Build Configuration:
BB_VERSION = "1.48.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "aarch64-fsl-linux"
MACHINE = "s32g274ardb2"
DISTRO = "fsl-auto"
DISTRO_VERSION = "30.0"
TUNE_FEATURES = "aarch64"
TARGET_FPU = ""
meta
meta-poky
meta-yocto-bsp = "HEAD:671fe65b31ca35379916a180415e1ab7d47bd51b"
meta-oe
meta-multimedia
meta-python = "HEAD:ac4ccd2fbbb599d75ca4051911fcbaca39dbe6d7"
meta-python2 = "HEAD:c43c29e57f16af4e77441b201855321fbd546661"
meta-networking
meta-gnome
meta-filesystems
meta-webserver
meta-perl
meta-xfce = "HEAD:ac4ccd2fbbb599d75ca4051911fcbaca39dbe6d7"
meta-virtualization = "HEAD:74e0b8d2acc6b9bbc0345a500a700932d70772f4"
meta-optee = "HEAD:11091b487e1ad4c6a4adfac34d958a3d9d9ccd17"
meta-security = "HEAD:d0adcbaa53ffdf5618a90456b93ec7d25612b541"
meta-freescale = "HEAD:41d4f625c6db7a778f0f9a735c2cb48e023bc49b"
meta-zeekros = "<unknown>:<unknown>"
meta-alb = "HEAD:0f648b819e035db696e194ec48b7e0babe0fd95d"

Initialising tasks: 100% |##################################################################################################################################################################################| Time: 0:00:03
Sstate summary: Wanted 84 Found 73 Missed 11 Current 752 (86% match, 98% complete)
NOTE: Executing Tasks
ERROR: fsl-image-base-1.0-r0 do_rootfs: Could not invoke dnf. Command '/home/a/code/s32g-yocto0623/fsl-auto-yocto-bsp/build_s32g274ardb2/tmp/work/s32g274ardb2-fsl-linux/fsl-image-base/1.0-r0/recipe-sysroot-native/usr/bi
n/dnf -v --rpmverbosity=info -y -c /home/a/code/s32g-yocto0623/fsl-auto-yocto-bsp/build_s32g274ardb2/tmp/work/s32g274ardb2-fsl-linux/fsl-image-base/1.0-r0/rootfs/etc/dnf/dnf.conf --setopt=reposdir=/home/a/code/s32g-yocto0623/fsl-auto-yocto-bsp/build_s32g274ardb2/tmp/work/s32g274ardb2-fsl-linux/fsl-image-base/1.0-r0/rootfs/etc/yum.repos.d --installroot=/home/a/code/s32g-yocto0623/fsl-auto-yocto-bsp/build_s32g274ardb2/tmp/work/s32g274ardb2-fsl-linux/fsl-image-base/1.0-r0/rootfs --setopt=logdir=/home/a/code/s32g-yocto0623/fsl-auto-yocto-bsp/build_s32g274ardb2/tmp/work/s32g274ardb2-fsl-linux/fsl-image-base/1.0-r0/temp --repofrompath=oe-repo,/home/a/code/s32g-yocto0623/fsl-auto-yocto-bsp/build_s32g274ardb2/tmp/work/s32g274ardb2-fsl-linux/fsl-image-base/1.0-r0/oe-rootfs-repo --nogpgcheck install dhcpcd iputils kernel-image kernel-modules packagegroup-core-boot pciutils
run-postinsts setserial sja1110 util-linux-rtcwake zeekros' returned 1:
DNF version: 4.2.23
cachedir: /home/a/code/s32g-yocto0623/fsl-auto-yocto-bsp/build_s32g274ardb2/tmp/work/s32g274ardb2-fsl-linux/fsl-image-base/1.0-r0/rootfs/var/cache/dnf
Added oe-repo repo from /home/a/code/s32g-yocto0623/fsl-auto-yocto-bsp/build_s32g274ardb2/tmp/work/s32g274ardb2-fsl-linux/fsl-image-base/1.0-r0/oe-rootfs-repo
User-Agent: falling back to 'libdnf': could not detect OS or basearch
repo: using cache for: oe-repo
oe-repo: using metadata from Mon 18 Jul 2022 02:02:29 AM UTC.
--> Starting dependency resolution
--> Finished dependency resolution
Error:
Problem: conflicting requests
- nothing provides libc.so.6(GLIBC_2.34)(64bit) needed by zeekros-0.1-r0.aarch64
- nothing provides libpthread.so.0(GLIBC_2.2.5)(64bit) needed by zeekros-0.1-r0.aarch64
- nothing provides libstdc++.so.6(CXXABI_1.3.13)(64bit) needed by zeekros-0.1-r0.aarch64
- nothing provides libstdc++.so.6(GLIBCXX_3.4.29)(64bit) needed by zeekros-0.1-r0.aarch64
(try to add '--skip-broken' to skip uninstallable packages)

ERROR: Logfile of failure stored in: /home/a/code/s32g-yocto0623/fsl-auto-yocto-bsp/build_s32g274ardb2/tmp/work/s32g274ardb2-fsl-linux/fsl-image-base/1.0-r0/temp/log.do_rootfs.3396521
ERROR: Task (/home/a/code/s32g-yocto0623/fsl-auto-yocto-bsp/sources/meta-alb/recipes-fsl/images/fsl-image-base.bb:do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2327 tasks of which 2306 didn't need to be rerun and 1 failed.

0 Kudos
Reply
4 Replies

3,018 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello zk,

You must have all the proper packages on your host before building yocto:

https://docs.yoctoproject.org/1.8/yocto-project-qs/yocto-project-qs.html

In this case you need:

libc.so.6(GLIBC_2.34)(64bit)
libpthread.so.0(GLIBC_2.2.5)(64bit)
libstdc++.so.6(CXXABI_1.3.13)(64bit)
libstdc++.so.6(GLIBCXX_3.4.29)(64bit)

 

Regards

0 Kudos
Reply

3,007 Views
zk-panfei
Contributor I

I keep my package glibc version same with S32G ,and now only this one lib error,I dont know how to fix

oe-repo: using metadata from Tue 19 Jul 2022 02:29:37 AM UTC.
Last metadata expiration check: 0:00:01 ago on Tue 19 Jul 2022 02:29:37 AM UTC.
--> Starting dependency resolution
--> Finished dependency resolution
Error:
Problem: conflicting requests
- nothing provides libpthread.so.0(GLIBC_2.2.5)(64bit) needed by zeekros-0.1-r0.aarch64
(try to add '--skip-broken' to skip uninstallable packages)

ERROR: Logfile of failure stored in: /home/a/code/s32g-yocto0623/fsl-auto-yocto-bsp/build_s32g274ardb2/tmp/work/s32g274ardb2-fsl-linux/fsl-image-base/1.0-r0/temp/log.do_rootfs.5406
ERROR: Task (/home/a/code/s32g-yocto0623/fsl-auto-yocto-bsp/sources/meta-alb/recipes-fsl/images/fsl-image-base.bb:do_rootfs) failed with exit code '1'

0 Kudos
Reply

2,998 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Correct you need erase everything about yocto and restart again,that libthreat means tht you need to download the packages before building.

Regards

0 Kudos
Reply

3,009 Views
zk-panfei
Contributor I

Hello Bio

we have these lib so in build folder,we also need install these libs on Ubuntu?

a@a-ThinkPad-P15v-Gen-2i:~/code/s32g-yocto0623/fsl-auto-yocto-bsp/build_s32g274ardb2/tmp/work/aarch6
4-fsl-linux/zeekros/0.1-r0/recipe-sysroot/lib$ ls
ld-2.31.so libgcc_s.so libnss_db.so.2 libresolv-2.31.so
ld-linux-aarch64.so.1 libgcc_s.so.1 libnss_dns-2.31.so libresolv.so.2
libanl-2.31.so libm-2.31.so libnss_dns.so.2 librt-2.31.so
libanl.so.1 libmemusage.so libnss_files-2.31.so librt.so.1
libBrokenLocale-2.31.so libm.so.6 libnss_files.so.2 libSegFault.so
libBrokenLocale.so.1 libnsl-2.31.so libnss_hesiod-2.31.so libthread_db-1.0.so
libc-2.31.so libnsl.so.1 libnss_hesiod.so.2 libthread_db.so.1
libc.so.6 libnss_compat-2.31.so libpcprofile.so libutil-2.31.so
libdl-2.31.so libnss_compat.so.2 libpthread-2.31.so libutil.so.1
libdl.so.2 libnss_db-2.31.so libpthread.so.0

thanks

0 Kudos
Reply