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.