S32G yocto image build bitbake fsl-image-base fail

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

S32G yocto image build bitbake fsl-image-base fail

2,246 Views
chengpei
Contributor III

Hello,

       I'm building image for s32g274,

https://github.com/nxp-auto-linux/auto_yocto_bsp/tree/release/bsp36.0

and the detail info as below:

ERROR: fsl-image-base-1.0-r0 do_rootfs: Could not invoke dnf.
Command '/home/chengpeiliang/fsl-auto-yocto-bsp36.0/build_s32g274aevbubuntu/tmp/work/s32g274aevb-fsl-linux/fsl-image-base/1.0-r0/recipe-sysroot-native/usr/bin/dnf
-v --rpmverbosity=info -y -c /home/chengpeiliang/fsl-auto-yocto-bsp36.0/build_s32g274aevbubuntu/tmp/work/s32g274aevb-fsl-linux/fsl-image-base/1.0-r0/rootfs/etc/dnf/dnf.conf
--setopt=reposdir=/home/chengpeiliang/fsl-auto-yocto-bsp36.0/build_s32g274aevbubuntu/tmp/work/s32g274aevb-fsl-linux/fsl-image-base/1.0-r0/rootfs/etc/yum.repos.d
--installroot=/home/chengpeiliang/fsl-auto-yocto-bsp36.0/build_s32g274aevbubuntu/tmp/work/s32g274aevb-fsl-linux/fsl-image-base/1.0-r0/rootfs
--setopt=logdir=/home/chengpeiliang/fsl-auto-yocto-bsp36.0/build_s32g274aevbubuntu/tmp/work/s32g274aevb-fsl-linux/fsl-image-base/1.0-r0/temp
--repofrompath=oe-repo,/home/chengpeiliang/fsl-auto-yocto-bsp36.0/build_s32g274aevbubuntu/tmp/work/s32g274aevb-fsl-linux/fsl-image-base/1.0-r0/oe-rootfs-repo
--nogpgcheck install dhcpcd iputils kernel-image kernel-modules linux-qspi-tool packagegroup-core-boot pciutils rng-tools run-postinsts setserial util-linux-rtcwake' returned 1:
DNF version: 4.11.1
cachedir: /home/chengpeiliang/fsl-auto-yocto-bsp36.0/build_s32g274aevbubuntu/tmp/work/s32g274aevb-fsl-linux/fsl-image-base/1.0-r0/rootfs/var/cache/dnf
Added oe-repo repo from /home/chengpeiliang/fsl-auto-yocto-bsp36.0/build_s32g274aevbubuntu/tmp/work/s32g274aevb-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 Fri 28 Apr 2023 02:18:00 AM UTC.
--> Starting dependency resolution
---> Package busybox-syslog.cortexa53_crypto 1.35.0-r0 will be installed
---> Package dhcpcd.cortexa53_crypto 9.4.1-r0 will be installed
---> Package iputils.cortexa53_crypto 20211215-r0 will be installed
---> Package iputils-arping.cortexa53_crypto 20211215-r0 will be installed
---> Package iputils-clockdiff.cortexa53_crypto 20211215-r0 will be installed
---> Package iputils-ninfod.cortexa53_crypto 20211215-r0 will be installed
---> Package iputils-rarpd.cortexa53_crypto 20211215-r0 will be installed
---> Package iputils-rdisc.cortexa53_crypto 20211215-r0 will be installed
---> Package iputils-tracepath.cortexa53_crypto 20211215-r0 will be installed
---> Package kernel-5.15.85-rt55+g9133b22fcbe1.s32g274aevb 5.15.85-r0 will be installed
---> Package kernel-image-5.15.85-rt55+g9133b22fcbe1.s32g274aevb 5.15.85-r0 will be installed
---> Package kernel-image-image-5.15.85-rt55+g9133b22fcbe1.s32g274aevb 5.15.85-r0 will be installed
---> Package kernel-module-ip-tables-5.15.85-rt55+g9133b22fcbe1.s32g274aevb 5.15.85-r0 will be installed
---> Package kernel-module-iptable-filter-5.15.85-rt55+g9133b22fcbe1.s32g274aevb 5.15.85-r0 will be installed
---> Package kernel-module-iptable-nat-5.15.85-rt55+g9133b22fcbe1.s32g274aevb 5.15.85-r0 will be installed
---> Package kernel-module-nf-nat-5.15.85-rt55+g9133b22fcbe1.s32g274aevb 5.15.85-r0 will be installed
---> Package kernel-module-x-tables-5.15.85-rt55+g9133b22fcbe1.s32g274aevb 5.15.85-r0 will be installed
---> Package kernel-module-xt-addrtype-5.15.85-rt55+g9133b22fcbe1.s32g274aevb 5.15.85-r0 will be installed
---> Package kernel-module-xt-conntrack-5.15.85-rt55+g9133b22fcbe1.s32g274aevb 5.15.85-r0 will be installed
---> Package kernel-module-xt-ipvs-5.15.85-rt55+g9133b22fcbe1.s32g274aevb 5.15.85-r0 will be installed
---> Package kernel-module-xt-mark-5.15.85-rt55+g9133b22fcbe1.s32g274aevb 5.15.85-r0 will be installed
---> Package kernel-module-xt-masquerade-5.15.85-rt55+g9133b22fcbe1.s32g274aevb 5.15.85-r0 will be installed
---> Package kernel-module-xt-nat-5.15.85-rt55+g9133b22fcbe1.s32g274aevb 5.15.85-r0 will be installed
---> Package kernel-module-xt-tcpudp-5.15.85-rt55+g9133b22fcbe1.s32g274aevb 5.15.85-r0 will be installed
---> Package kernel-modules.s32g274aevb 5.15.85-r0 will be installed
---> Package libcap.cortexa53_crypto 2.65-r0 will be installed
---> Package libcrypt2.cortexa53_crypto 4.4.28-r0 will be installed
---> Package libpam.cortexa53_crypto 1.5.2-r0 will be installed
---> Package libpam-runtime.cortexa53_crypto 1.5.2-r0 will be installed
---> Package libpci3.cortexa53_crypto 3.7.0-r0 will be installed
---> Package linux-qspi-tool.cortexa53_crypto 1.0-r0 will be installed
---> Package mtd-utils.cortexa53_crypto 2.1.4-r0 will be installed
---> Package packagegroup-core-boot.s32g274aevb 1.0-r17 will be installed
---> Package pam-plugin-deny.cortexa53_crypto 1.5.2-r0 will be installed
---> Package pam-plugin-mail.cortexa53_crypto 1.5.2-r0 will be installed
---> Package pam-plugin-permit.cortexa53_crypto 1.5.2-r0 will be installed
---> Package pam-plugin-unix.cortexa53_crypto 1.5.2-r0 will be installed
---> Package pam-plugin-warn.cortexa53_crypto 1.5.2-r0 will be installed
---> Package pciutils.cortexa53_crypto 3.7.0-r0 will be installed
---> Package pciutils-ids.cortexa53_crypto 3.7.0-r0 will be installed
---> Package rng-tools.cortexa53_crypto 5-r0 will be installed
---> Package run-postinsts.noarch 1.0-r10 will be installed
---> Package setserial.cortexa53_crypto 2.17-r3 will be installed
---> Package shadow.cortexa53_crypto 4.11.1-r0 will be installed
---> Package shadow-base.cortexa53_crypto 4.11.1-r0 will be installed
---> Package shadow-securetty.s32g274aevb 4.6-r3 will be installed
---> Package ubuntu-base.cortexa53_crypto 22.04.1-r0 will be installed
---> Package ubuntu-base-doc.cortexa53_crypto 22.04.1-r0 will be installed
---> Package util-linux-rtcwake.cortexa53_crypto 2.37.4-r0 will be installed
---> Package util-linux-sulogin.cortexa53_crypto 2.37.4-r0 will be installed
--> Finished dependency resolution
Dependencies resolved.
=======================================================================================================
Package Architecture Version Repo Size
=======================================================================================================
Installing:
dhcpcd cortexa53_crypto 9.4.1-r0 oe-repo 186 k
iputils cortexa53_crypto 20211215-r0 oe-repo 5.8 k
kernel-image-5.15.85-rt55+g9133b22fcbe1 s32g274aevb 5.15.85-r0 oe-repo 5.7 k
kernel-modules s32g274aevb 5.15.85-r0 oe-repo 6.2 k
linux-qspi-tool cortexa53_crypto 1.0-r0 oe-repo 7.1 k
packagegroup-core-boot s32g274aevb 1.0-r17 oe-repo 5.8 k
pciutils cortexa53_crypto 3.7.0-r0 oe-repo 53 k
rng-tools cortexa53_crypto 5-r0 oe-repo 21 k
run-postinsts noarch 1.0-r10 oe-repo 8.9 k
setserial cortexa53_crypto 2.17-r3 oe-repo 15 k
util-linux-rtcwake cortexa53_crypto 2.37.4-r0 oe-repo 29 k
Installing dependencies:
iputils-arping cortexa53_crypto 20211215-r0 oe-repo 16 k
iputils-clockdiff cortexa53_crypto 20211215-r0 oe-repo 13 k
iputils-ninfod cortexa53_crypto 20211215-r0 oe-repo 24 k
iputils-rarpd cortexa53_crypto 20211215-r0 oe-repo 15 k
iputils-rdisc cortexa53_crypto 20211215-r0 oe-repo 19 k
iputils-tracepath cortexa53_crypto 20211215-r0 oe-repo 13 k
kernel-5.15.85-rt55+g9133b22fcbe1 s32g274aevb 5.15.85-r0 oe-repo 23 k
kernel-image-image-5.15.85-rt55+g9133b22fcbe1 s32g274aevb 5.15.85-r0 oe-repo 5.1 M
kernel-module-ip-tables-5.15.85-rt55+g9133b22fcbe1 s32g274aevb 5.15.85-r0 oe-repo 19 k
kernel-module-iptable-filter-5.15.85-rt55+g9133b22fcbe1 s32g274aevb 5.15.85-r0 oe-repo 9.9 k
kernel-module-iptable-nat-5.15.85-rt55+g9133b22fcbe1 s32g274aevb 5.15.85-r0 oe-repo 10 k
kernel-module-nf-nat-5.15.85-rt55+g9133b22fcbe1 s32g274aevb 5.15.85-r0 oe-repo 20 k
kernel-module-x-tables-5.15.85-rt55+g9133b22fcbe1 s32g274aevb 5.15.85-r0 oe-repo 21 k
kernel-module-xt-addrtype-5.15.85-rt55+g9133b22fcbe1 s32g274aevb 5.15.85-r0 oe-repo 9.6 k
kernel-module-xt-conntrack-5.15.85-rt55+g9133b22fcbe1 s32g274aevb 5.15.85-r0 oe-repo 10 k
kernel-module-xt-ipvs-5.15.85-rt55+g9133b22fcbe1 s32g274aevb 5.15.85-r0 oe-repo 10 k
kernel-module-xt-mark-5.15.85-rt55+g9133b22fcbe1 s32g274aevb 5.15.85-r0 oe-repo 9.1 k
kernel-module-xt-masquerade-5.15.85-rt55+g9133b22fcbe1 s32g274aevb 5.15.85-r0 oe-repo 9.6 k
kernel-module-xt-nat-5.15.85-rt55+g9133b22fcbe1 s32g274aevb 5.15.85-r0 oe-repo 10 k
kernel-module-xt-tcpudp-5.15.85-rt55+g9133b22fcbe1 s32g274aevb 5.15.85-r0 oe-repo 9.7 k
libcap cortexa53_crypto 2.65-r0 oe-repo 34 k
libcrypt2 cortexa53_crypto 4.4.28-r0 oe-repo 89 k
libpam cortexa53_crypto 1.5.2-r0 oe-repo 40 k
libpci3 cortexa53_crypto 3.7.0-r0 oe-repo 30 k
mtd-utils cortexa53_crypto 2.1.4-r0 oe-repo 101 k
pam-plugin-deny cortexa53_crypto 1.5.2-r0 oe-repo 7.9 k
pam-plugin-mail cortexa53_crypto 1.5.2-r0 oe-repo 11 k
pam-plugin-permit cortexa53_crypto 1.5.2-r0 oe-repo 8.5 k
pam-plugin-unix cortexa53_crypto 1.5.2-r0 oe-repo 26 k
pam-plugin-warn cortexa53_crypto 1.5.2-r0 oe-repo 8.9 k
pciutils-ids cortexa53_crypto 3.7.0-r0 oe-repo 282 k
shadow cortexa53_crypto 4.11.1-r0 oe-repo 310 k
shadow-base cortexa53_crypto 4.11.1-r0 oe-repo 52 k
shadow-securetty s32g274aevb 4.6-r3 oe-repo 6.8 k
ubuntu-base cortexa53_crypto 22.04.1-r0 oe-repo 131 M
ubuntu-base-doc cortexa53_crypto 22.04.1-r0 oe-repo 23 M
util-linux-sulogin cortexa53_crypto 2.37.4-r0 oe-repo 30 k
Installing weak dependencies:
busybox-syslog cortexa53_crypto 1.35.0-r0 oe-repo 9.9 k
libpam-runtime cortexa53_crypto 1.5.2-r0 oe-repo 45 k

Transaction Summary
=======================================================================================================
Install 50 Packages

Total size: 160 M
Installed size: 556 M
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Error: Transaction test error:
file /etc/environment conflicts between attempted installs of libpam-runtime-1.5.2-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto
file /etc/pam.d/common-auth conflicts between attempted installs of libpam-runtime-1.5.2-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto
file /etc/pam.d/common-password conflicts between attempted installs of libpam-runtime-1.5.2-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto
file /etc/pam.d/common-session conflicts between attempted installs of libpam-runtime-1.5.2-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto
file /etc/pam.d/common-session-noninteractive conflicts between attempted installs of libpam-runtime-1.5.2-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto
file /etc/pam.d/other conflicts between attempted installs of libpam-runtime-1.5.2-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto
file /etc/security/limits.conf conflicts between attempted installs of libpam-runtime-1.5.2-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto
file /usr/sbin/faillock conflicts between attempted installs of libpam-runtime-1.5.2-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto
file /usr/sbin/mkhomedir_helper conflicts between attempted installs of libpam-runtime-1.5.2-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto
file /usr/sbin/pam_timestamp_check conflicts between attempted installs of libpam-runtime-1.5.2-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto
file /usr/sbin/unix_chkpwd conflicts between attempted installs of libpam-runtime-1.5.2-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto
file /usr/sbin/unix_update conflicts between attempted installs of libpam-runtime-1.5.2-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto
file /etc/login.defs conflicts between attempted installs of shadow-base-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto
file /etc/pam.d/login conflicts between attempted installs of shadow-base-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto
file /etc/pam.d/su conflicts between attempted installs of shadow-base-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto
file /usr/bin/sg conflicts between attempted installs of shadow-base-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto
file /etc/default/useradd conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto
file /etc/pam.d/chfn conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto
file /etc/pam.d/chpasswd conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto
file /etc/pam.d/chsh conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto
file /etc/pam.d/newusers conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto
file /etc/pam.d/passwd conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto
file /usr/bin/chage conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto
file /usr/bin/expiry conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto
file /usr/bin/faillog conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto
file /usr/bin/gpasswd conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto
file /usr/bin/lastlog conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto
file /usr/sbin/chgpasswd conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto
file /usr/sbin/groupadd conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto
file /usr/sbin/groupdel conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto
file /usr/sbin/groupmems conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto
file /usr/sbin/groupmod conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto
file /usr/sbin/grpck conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto
file /usr/sbin/grpconv conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto
file /usr/sbin/grpunconv conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto
file /usr/sbin/newusers conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto
file /usr/sbin/pwck conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto
file /usr/sbin/pwconv conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto
file /usr/sbin/pwunconv conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto
file /usr/sbin/useradd conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto
file /usr/sbin/userdel conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto
file /usr/sbin/usermod conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto
file /var/spool/mail conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto


ERROR: Logfile of failure stored in: /home/chengpeiliang/fsl-auto-yocto-bsp36.0/build_s32g274aevbubuntu/tmp/work/s32g274aevb-fsl-linux/fsl-image-base/1.0-r0/temp/log.do_rootfs.2702433
ERROR: Task (/home/chengpeiliang/fsl-auto-yocto-bsp36.0/sources/meta-alb/recipes-fsl/images/fsl-image-base.bb:do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2472 tasks of which 2452 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/home/chengpeiliang/fsl-auto-yocto-bsp36.0/sources/meta-alb/recipes-fsl/images/fsl-image-base.bb:do_rootfs
Summary: There was 1 ERROR message, returning a non-zero exit code.

Labels (1)
0 Kudos
Reply
6 Replies

1,649 Views
dzvernik_gk
Contributor I

Dear colleagues, 

Has anyone succeeded to identify the issue ? Absolutely the same happens with BSP38 (https://github.com/nxp-auto-linux/auto_yocto_bsp)

for the s32g274ardb2ubuntu machine (see below). What is the resolution ?

 

ERROR: fsl-image-ubuntu-1.0-r0 do_rootfs: Could not invoke dnf. Command '/home/builder1/work/fsl-auto-yocto-bsp/build_s32g274ardb2ubuntu/tmp/work/s32g274ardb2-fsl-linux/fsl-image-ubuntu/1.0-r0/recipe-sysroot-native/usr/bin/dnf -v --rpmverbosity=info -y -c /home/builder1/work/fsl-auto-yocto-bsp/build_s32g274ardb2ubuntu/tmp/work/s32g274ardb2-fsl-linux/fsl-image-ubuntu/1.0-r0/rootfs/etc/dnf/dnf.conf --setopt=reposdir=/home/builder1/work/fsl-auto-yocto-bsp/build_s32g274ardb2ubuntu/tmp/work/s32g274ardb2-fsl-linux/fsl-image-ubuntu/1.0-r0/rootfs/etc/yum.repos.d --installroot=/home/builder1/work/fsl-auto-yocto-bsp/build_s32g274ardb2ubuntu/tmp/work/s32g274ardb2-fsl-linux/fsl-image-ubuntu/1.0-r0/rootfs --setopt=logdir=/home/builder1/work/fsl-auto-yocto-bsp/build_s32g274ardb2ubuntu/tmp/work/s32g274ardb2-fsl-linux/fsl-image-ubuntu/1.0-r0/temp --repofrompath=oe-repo,/home/builder1/work/fsl-auto-yocto-bsp/build_s32g274ardb2ubuntu/tmp/work/s32g274ardb2-fsl-linux/fsl-image-ubuntu/1.0-r0/oe-rootfs-repo --nogpgcheck install kernel-devicetree kernel-devsrc kernel-image kernel-modules ldd linux-kernelitb-norootfs-image nfs-utils sja1110 ubuntu-base ubuntu-base-dbg ubuntu-base-dev ubuntu-base-doc' returned 1:

DNF version: 4.11.1

cachedir: /home/builder1/work/fsl-auto-yocto-bsp/build_s32g274ardb2ubuntu/tmp/work/s32g274ardb2-fsl-linux/fsl-image-ubuntu/1.0-r0/rootfs/var/cache/dnf

Added oe-repo repo from /home/builder1/work/fsl-auto-yocto-bsp/build_s32g274ardb2ubuntu/tmp/work/s32g274ardb2-fsl-linux/fsl-image-ubuntu/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 Thu 16 Nov 2023 08:01:05 AM UTC.

Last metadata expiration check: 0:00:01 ago on Thu 16 Nov 2023 08:01:05 AM UTC.

--> Starting dependency resolution

---> Package kernel-5.15.119-rt65guardknox+ge18f05316cd9.s32g274ardb2 5.15.119-r0 will be installed

---> Package kernel-devicetree.s32g274ardb2 5.15.119-r0 will be installed

---> Package kernel-devsrc.s32g274ardb2 1.0-r0 will be installed

---> Package kernel-image-5.15.119-rt65guardknox+ge18f05316cd9.s32g274ardb2 5.15.119-r0 will be installed

---> Package kernel-image-image-5.15.119-rt65guardknox+ge18f05316cd9.s32g274ardb2 5.15.119-r0 will be installed

---> Package kernel-module-ip-tables-5.15.119-rt65GuardKnox+ge18f05316cd9.s32g274ardb2 5.15.119-r0 will be installed

---> Package kernel-module-iptable-filter-5.15.119-rt65GuardKnox+ge18f05316cd9.s32g274ardb2 5.15.119-r0 will be installed

---> Package kernel-module-iptable-nat-5.15.119-rt65GuardKnox+ge18f05316cd9.s32g274ardb2 5.15.119-r0 will be installed

---> Package kernel-module-nf-nat-5.15.119-rt65GuardKnox+ge18f05316cd9.s32g274ardb2 5.15.119-r0 will be installed

---> Package kernel-module-x-tables-5.15.119-rt65GuardKnox+ge18f05316cd9.s32g274ardb2 5.15.119-r0 will be installed

---> Package kernel-module-xt-addrtype-5.15.119-rt65GuardKnox+ge18f05316cd9.s32g274ardb2 5.15.119-r0 will be installed

---> Package kernel-module-xt-conntrack-5.15.119-rt65GuardKnox+ge18f05316cd9.s32g274ardb2 5.15.119-r0 will be installed

---> Package kernel-module-xt-ipvs-5.15.119-rt65GuardKnox+ge18f05316cd9.s32g274ardb2 5.15.119-r0 will be installed

---> Package kernel-module-xt-mark-5.15.119-rt65GuardKnox+ge18f05316cd9.s32g274ardb2 5.15.119-r0 will be installed

---> Package kernel-module-xt-masquerade-5.15.119-rt65GuardKnox+ge18f05316cd9.s32g274ardb2 5.15.119-r0 will be installed

---> Package kernel-module-xt-nat-5.15.119-rt65GuardKnox+ge18f05316cd9.s32g274ardb2 5.15.119-r0 will be installed

---> Package kernel-module-xt-tcpudp-5.15.119-rt65GuardKnox+ge18f05316cd9.s32g274ardb2 5.15.119-r0 will be installed

---> Package kernel-modules.s32g274ardb2 5.15.119-r0 will be installed

---> Package ldd.cortexa53_crypto 2.35-r0 will be installed

---> Package libcap.cortexa53_crypto 2.66-r0 will be installed

---> Package libcrypt2.cortexa53_crypto 4.4.30-r0 will be installed

---> Package libpam.cortexa53_crypto 1.5.2-r0 will be installed

---> Package libpam-runtime.cortexa53_crypto 1.5.2-r0 will be installed

---> Package libwrap0.cortexa53_crypto 7.6-r10 will be installed

---> Package linux-kernelitb-norootfs-image.cortexa53_crypto 1.0-r0 will be installed

---> Package nfs-utils.cortexa53_crypto 2.6.1-r0 will be installed

---> Package nfs-utils-client.cortexa53_crypto 2.6.1-r0 will be installed

---> Package nfs-utils-mount.cortexa53_crypto 2.6.1-r0 will be installed

---> Package pam-plugin-deny.cortexa53_crypto 1.5.2-r0 will be installed

---> Package pam-plugin-mail.cortexa53_crypto 1.5.2-r0 will be installed

---> Package pam-plugin-permit.cortexa53_crypto 1.5.2-r0 will be installed

---> Package pam-plugin-unix.cortexa53_crypto 1.5.2-r0 will be installed

---> Package pam-plugin-warn.cortexa53_crypto 1.5.2-r0 will be installed

---> Package rpcbind.cortexa53_crypto 1.2.6-r0 will be installed

---> Package shadow.cortexa53_crypto 4.11.1-r0 will be installed

---> Package shadow-base.cortexa53_crypto 4.11.1-r0 will be installed

---> Package shadow-securetty.s32g274ardb2 4.6-r3 will be installed

---> Package sja1110.s32g274ardb2 1.0-r0 will be installed

---> Package ubuntu-base.cortexa53_crypto 22.04.1-r0 will be installed

---> Package ubuntu-base-dbg.cortexa53_crypto 22.04.1-r0 will be installed

---> Package ubuntu-base-dev.cortexa53_crypto 22.04.1-r0 will be installed

---> Package ubuntu-base-doc.cortexa53_crypto 22.04.1-r0 will be installed

---> Package util-linux-sulogin.cortexa53_crypto 2.37.4-r0 will be installed

--> Finished dependency resolution

Dependencies resolved.

=================================================================================================================

 Package                                                             Architecture      Version     Repo      Size

=================================================================================================================

Installing:

 kernel-devicetree                                                   s32g274ardb2      5.15.119-r0 oe-repo   15 k

 kernel-devsrc                                                       s32g274ardb2      1.0-r0      oe-repo   11 M

 kernel-image-5.15.119-rt65guardknox+ge18f05316cd9                   s32g274ardb2      5.15.119-r0 oe-repo  5.7 k

 kernel-modules                                                      s32g274ardb2      5.15.119-r0 oe-repo  6.3 k

 ldd                                                                 cortexa53_crypto  2.35-r0     oe-repo  8.6 k

 linux-kernelitb-norootfs-image                                      cortexa53_crypto  1.0-r0      oe-repo  6.0 M

 nfs-utils                                                           cortexa53_crypto  2.6.1-r0    oe-repo  101 k

 sja1110                                                             s32g274ardb2      1.0-r0      oe-repo   15 k

 ubuntu-base                                                         cortexa53_crypto  22.04.1-r0  oe-repo  132 M

 ubuntu-base-dbg                                                     cortexa53_crypto  22.04.1-r0  oe-repo   10 k

 ubuntu-base-dev                                                     cortexa53_crypto  22.04.1-r0  oe-repo  5.9 k

 ubuntu-base-doc                                                     cortexa53_crypto  22.04.1-r0  oe-repo   23 M

Installing dependencies:

 kernel-5.15.119-rt65guardknox+ge18f05316cd9                         s32g274ardb2      5.15.119-r0 oe-repo   23 k

 kernel-image-image-5.15.119-rt65guardknox+ge18f05316cd9             s32g274ardb2      5.15.119-r0 oe-repo  5.1 M

 kernel-module-ip-tables-5.15.119-rt65GuardKnox+ge18f05316cd9        s32g274ardb2      5.15.119-r0 oe-repo   19 k

 kernel-module-iptable-filter-5.15.119-rt65GuardKnox+ge18f05316cd9   s32g274ardb2      5.15.119-r0 oe-repo   10 k

 kernel-module-iptable-nat-5.15.119-rt65GuardKnox+ge18f05316cd9      s32g274ardb2      5.15.119-r0 oe-repo   10 k

 kernel-module-nf-nat-5.15.119-rt65GuardKnox+ge18f05316cd9           s32g274ardb2      5.15.119-r0 oe-repo   20 k

 kernel-module-x-tables-5.15.119-rt65GuardKnox+ge18f05316cd9         s32g274ardb2      5.15.119-r0 oe-repo   21 k

 kernel-module-xt-addrtype-5.15.119-rt65GuardKnox+ge18f05316cd9      s32g274ardb2      5.15.119-r0 oe-repo  9.8 k

 kernel-module-xt-conntrack-5.15.119-rt65GuardKnox+ge18f05316cd9     s32g274ardb2      5.15.119-r0 oe-repo   10 k

 kernel-module-xt-ipvs-5.15.119-rt65GuardKnox+ge18f05316cd9          s32g274ardb2      5.15.119-r0 oe-repo   10 k

 kernel-module-xt-mark-5.15.119-rt65GuardKnox+ge18f05316cd9          s32g274ardb2      5.15.119-r0 oe-repo  9.3 k

 kernel-module-xt-masquerade-5.15.119-rt65GuardKnox+ge18f05316cd9    s32g274ardb2      5.15.119-r0 oe-repo  9.8 k

 kernel-module-xt-nat-5.15.119-rt65GuardKnox+ge18f05316cd9           s32g274ardb2      5.15.119-r0 oe-repo   10 k

 kernel-module-xt-tcpudp-5.15.119-rt65GuardKnox+ge18f05316cd9        s32g274ardb2      5.15.119-r0 oe-repo  9.9 k

 libcap                                                              cortexa53_crypto  2.66-r0     oe-repo   34 k

 libcrypt2                                                           cortexa53_crypto  4.4.30-r0   oe-repo   89 k

 libpam                                                              cortexa53_crypto  1.5.2-r0    oe-repo   40 k

 libwrap0                                                            cortexa53_crypto  7.6-r10     oe-repo   22 k

 nfs-utils-client                                                    cortexa53_crypto  2.6.1-r0    oe-repo   85 k

 nfs-utils-mount                                                     cortexa53_crypto  2.6.1-r0    oe-repo   60 k

 pam-plugin-deny                                                     cortexa53_crypto  1.5.2-r0    oe-repo  7.9 k

 pam-plugin-mail                                                     cortexa53_crypto  1.5.2-r0    oe-repo   11 k

 pam-plugin-permit                                                   cortexa53_crypto  1.5.2-r0    oe-repo  8.5 k

 pam-plugin-unix                                                     cortexa53_crypto  1.5.2-r0    oe-repo   26 k

 pam-plugin-warn                                                     cortexa53_crypto  1.5.2-r0    oe-repo  8.9 k

 rpcbind                                                             cortexa53_crypto  1.2.6-r0    oe-repo   47 k

 shadow                                                              cortexa53_crypto  4.11.1-r0   oe-repo  310 k

 shadow-base                                                         cortexa53_crypto  4.11.1-r0   oe-repo   52 k

 shadow-securetty                                                    s32g274ardb2      4.6-r3      oe-repo  6.8 k

 util-linux-sulogin                                                  cortexa53_crypto  2.37.4-r0   oe-repo   30 k

Installing weak dependencies:

 libpam-runtime                                                      cortexa53_crypto  1.5.2-r0    oe-repo   45 k

Transaction Summary

=================================================================================================================

Install  43 Packages

Total size: 178 M

Installed size: 621 M

Downloading Packages:

Running transaction check

Transaction check succeeded.

Running transaction test

Error: Transaction test error:

  file /etc/environment conflicts between attempted installs of libpam-runtime-1.5.2-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto

  file /etc/pam.d/common-auth conflicts between attempted installs of libpam-runtime-1.5.2-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto

  file /etc/pam.d/common-password conflicts between attempted installs of libpam-runtime-1.5.2-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto

  file /etc/pam.d/common-session conflicts between attempted installs of libpam-runtime-1.5.2-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto

  file /etc/pam.d/common-session-noninteractive conflicts between attempted installs of libpam-runtime-1.5.2-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto

  file /etc/pam.d/other conflicts between attempted installs of libpam-runtime-1.5.2-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto

  file /etc/security/limits.conf conflicts between attempted installs of libpam-runtime-1.5.2-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto

  file /usr/sbin/faillock conflicts between attempted installs of libpam-runtime-1.5.2-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto

  file /usr/sbin/mkhomedir_helper conflicts between attempted installs of libpam-runtime-1.5.2-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto

  file /usr/sbin/pam_timestamp_check conflicts between attempted installs of libpam-runtime-1.5.2-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto

  file /usr/sbin/unix_chkpwd conflicts between attempted installs of libpam-runtime-1.5.2-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto

  file /usr/sbin/unix_update conflicts between attempted installs of libpam-runtime-1.5.2-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto

  file /etc/login.defs conflicts between attempted installs of shadow-base-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto

  file /etc/pam.d/login conflicts between attempted installs of shadow-base-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto

  file /etc/pam.d/su conflicts between attempted installs of shadow-base-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto

  file /usr/bin/sg conflicts between attempted installs of shadow-base-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto

  file /etc/default/useradd conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto

  file /etc/pam.d/chfn conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto

  file /etc/pam.d/chpasswd conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto

  file /etc/pam.d/chsh conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto

  file /etc/pam.d/newusers conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto

  file /etc/pam.d/passwd conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto

  file /usr/bin/chage conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto

  file /usr/bin/expiry conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto

  file /usr/bin/faillog conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto

  file /usr/bin/gpasswd conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto

  file /usr/bin/lastlog conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto

  file /usr/sbin/chgpasswd conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto

  file /usr/sbin/groupadd conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto

  file /usr/sbin/groupdel conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto

  file /usr/sbin/groupmems conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto

  file /usr/sbin/groupmod conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto

  file /usr/sbin/grpck conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto

  file /usr/sbin/grpconv conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto

  file /usr/sbin/grpunconv conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto

  file /usr/sbin/newusers conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto

  file /usr/sbin/pwck conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto

  file /usr/sbin/pwconv conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto

  file /usr/sbin/pwunconv conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto

  file /usr/sbin/useradd conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto

  file /usr/sbin/userdel conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto

  file /usr/sbin/usermod conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto

  file /var/spool/mail conflicts between attempted installs of shadow-4.11.1-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto

  file /usr/bin/ldd conflicts between attempted installs of ldd-2.35-r0.cortexa53_crypto and ubuntu-base-22.04.1-r0.cortexa53_crypto

ERROR: Logfile of failure stored in: /home/builder1/work/fsl-auto-yocto-bsp/build_s32g274ardb2ubuntu/tmp/work/s32g274ardb2-fsl-linux/fsl-image-ubuntu/1.0-r0/temp/log.do_rootfs.2738097

ERROR: Task (/home/builder1/work/fsl-auto-yocto-bsp/sources/meta-alb/recipes-fsl/images/fsl-image-ubuntu.bb:do_rootfs) failed with exit code '1'



0 Kudos
Reply

1,612 Views
dzvernik_gk
Contributor I

The issue was solved. Unfortunately, it appeared because of adding ldd and nfs-utils (as a habit from getting used to do that for a regular YOCTO style builds) to the local.conf which clashed with the ubuntu packages. Removing everything from the local.conf and leaving it empty from any add-ons solved the issue. So, I confirm that fsl-image-ubuntu-base and other fsl-image-ubuntu* are built successfully for the BSP#38.

0 Kudos
Reply

2,229 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

 

Something happens in you host, it appears you missed some package to install, when running yocto make sure you have all the packages and erase everything yocto did before building again,

https://docs.yoctoproject.org/

 

Regards

 

0 Kudos
Reply

2,160 Views
chengpei
Contributor III

Hello, Bio

I have check my packages on my host, they are all match the requirements mentioned in the yocto document:

yocto required:

  • Git 1.8.3.1 or greater

  • tar 1.28 or greater

  • Python 3.8.0 or greater

  • GNU make 4.0 or greater

mine:

  • git version 2.25.1
  • tar (GNU tar) 1.30
  • Python 3.8.10
  • GNU Make 4.2.1

And this was also done:

sudo apt install gawk wget git diffstat unzip texinfo gcc build-essential chrpath socat cpio python3 python3-pip python3-pexpect xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev python3-subunit mesa-common-dev zstd liblz4-tool file locales

 But it still fail the same.

And the yocto poky demo: https://docs.yoctoproject.org/brief-yoctoprojectqs/index.html can be build successfully on my host.

Best regards!

0 Kudos
Reply

1,717 Views
KJNK
Contributor II

May I know How to fix this error?

@chengpei 

0 Kudos
Reply

1,646 Views
dzvernik_gk
Contributor I

I'm wondering the same. Would appreciate. Please see our log as one the replies above.

0 Kudos
Reply