LS1012A NXP Yocto: Transaction test error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

LS1012A NXP Yocto: Transaction test error

跳至解决方案
1,173 次查看
epoletaev
Contributor III
Error: Transaction test error:
file /usr/sbin/update-rc.d conflicts between attempted installs of update-rc.d-0.8-r0.noarch and ubuntu-main-22.04.1-r0.aarch64
file /usr/sbin/service conflicts between attempted installs of init-system-helpers-service-1.62-r0.aarch64 and ubuntu-main-22.04.1-r0.aarch64
 
I updated repo, removed build* folder and compiled everything from scratch, but getting the same error
 
Full log on pastebin - https://pastebin.com/vYBE1kvD
标记 (1)
0 项奖励
1 解答
915 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Please also add "init-system-helpers-service" in variable "YOCTO-DEPENDS-LIST" in sources/meta-nxp-desktop/recipes-extended/ubuntu/ubuntu-base-image.inc.

 

在原帖中查看解决方案

0 项奖励
6 回复数
1,129 次查看
Irene
NXP Pro Support
NXP Pro Support

Can you copy the log into the ticket? 

What steps did you follow to build?

Which processor are you building for?

0 项奖励
1,114 次查看
epoletaev
Contributor III

CPU: LS1012A (RDB)

Full steps:

 

repo init -u https://github.com/nxp-qoriq/yocto-sdk -b kirkstone -m ls-5.15.71-2.2.0_distro.xml
repo sync
. setup-env -m ls1012ardb
cd ..
DISTRO=fsl-qoriq-distro MACHINE=ls1012ardb source distro-setup-env
echo "INIT_MANAGER=\"none\"" >> conf/local.conf
bitbake  ls-image-lite

 

From my experience full steps should work. Issue happens on next builds, I don't know, something happens on servers or what but build suddenly starts failing.

Steps in this build:

 

cd src6
rm -rf build_ls1012ardb
repo sync
. setup-env -m ls1012ardb
cd ..
DISTRO=fsl-qoriq-distro MACHINE=ls1012ardb source distro-setup-env
bitbake  ls-image-lite

 

Log is attached, I cannot post it in message because it exceeds limits

0 项奖励
1,060 次查看
epoletaev
Contributor III

I did rebuild from scratch using full steps and get the same error.

Seems `kirkstone` branch does not compile anymore.

0 项奖励
993 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Please add "update-rc.d" in variable "YOCTO-DEPENDS-LIST" in sources/meta-nxp-desktop/recipes-extended/ubuntu/ubuntu-base-image.inc.

0 项奖励
974 次查看
epoletaev
Contributor III

Thanks! Tried that, but getting next error:

Error: Transaction test error:
file /usr/sbin/service conflicts between attempted installs of init-system-helpers-service-1.62-r0.aarch64 and ubuntu-main-22.04.1-r0.aarch64

ERROR: Task (/home/ubuntu/src7/sources/meta-nxp-desktop/recipes-fsl/images/ls-image-lite.bb:do_rootfs) failed with exit code '1'

0 项奖励
916 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Please also add "init-system-helpers-service" in variable "YOCTO-DEPENDS-LIST" in sources/meta-nxp-desktop/recipes-extended/ubuntu/ubuntu-base-image.inc.

 

0 项奖励