Building weston: chroot: failed to run command ‘ldconfig’: Input/output error

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Building weston: chroot: failed to run command ‘ldconfig’: Input/output error

ソリューションへジャンプ
2,368件の閲覧回数
userland
Contributor II

Hi

I'm currently trying to build using flexbuild on Ubuntu 18.04 on WSL2

Executing flex-builder -m lx2160ardb_rev2 works until it comes to building weston:

Building weston ...
chroot: failed to run command ‘ldconfig’: Input/output error
/home/userland/flexbuild_lsdk2012/packages/apps/multimedia/multimedia.mk:84: recipe for target 'weston' failed
make[1]: *** [weston] Error 126
make[1]: Leaving directory '/home/userland/flexbuild_lsdk2012/packages/apps'
Makefile:28: recipe for target 'apps' failed
make: *** [apps] Error 2
make: Leaving directory '/home/userland/flexbuild_lsdk2012'

 

I've made sure that binfmt-support, qemu-system-common and qemu-user-static is installed.
I've also made sure that meson was installed.

0 件の賞賛
返信
1 解決策
2,334件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Please put the attached flex-builder file in folder flexbuild_lsdk2012/tools, then run the following command.

$ flex-builder -c weston -a arm64

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
2,361件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Please try the following workaround.

Open the script "flexbuild_lsdk2012/tools/flex-builder" and remove the command line "sudo chroot $RFSDIR ldconfig". re-compile again.

0 件の賞賛
返信
2,357件の閲覧回数
userland
Contributor II

Hello

I tried to remove the line but it didn't work.
But I got a different ldconfig error this time:

Building weston ...
chroot: failed to run command ‘ldconfig’: Exec format error
/home/userland/flexbuild_lsdk2012/packages/apps/multimedia/multimedia.mk:84: recipe for target 'weston' failed
make[1]: *** [weston] Error 126
make[1]: Leaving directory '/home/userland/flexbuild_lsdk2012/packages/apps'
Makefile:28: recipe for target 'apps' failed
make: *** [apps] Error 2
make: Leaving directory '/home/userland/flexbuild_lsdk2012'

0 件の賞賛
返信
2,335件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Please put the attached flex-builder file in folder flexbuild_lsdk2012/tools, then run the following command.

$ flex-builder -c weston -a arm64

0 件の賞賛
返信
2,330件の閲覧回数
userland
Contributor II

That seemed to do the trick!

Thanks!

0 件の賞賛
返信