Hi ,
I am trying to compile flexbuild_lsdk1909_update_221019 "app" component but I am getting following error :
make[2]: Leaving directory '/NXP/flexbuild_lsdk1909_update_221019/packages/apps/libdrm'
Build libdrm [Done]
Building weston ...
chroot: failed to run command ‘ldconfig’: No such file or directory
Makefile:720: recipe for target 'weston' failed
make[1]: *** [weston] Error 127
make[1]: Leaving directory '/NXP/flexbuild_lsdk1909_update_221019/packages/apps'
Makefile:28: recipe for target 'apps' failed
make: *** [apps] Error 2
make: Leaving directory '/home/beckh/NXP/flexbuild_lsdk1909_update_221019'
Please let me know what is the issue ?
Regards,
Neeraj R.Mohture
Well I've found a correct build step list, after I tried to fix this "weston" error, here are the steps:
Here are some details and hints:
Reference:
I have the same problem too.
My board is LS1028ARDB, LSDK version is 2012.
Here is my error log:
Building weston ...
Collecting meson
Using cached https://files.pythonhosted.org/packages/1a/79/3a0d776ccdd431a5f4763a2577ca8a5585de3d4a306e4b05f86749...
Installing collected packages: meson
Successfully installed meson-0.60.1
/sbin/ldconfig.real: /usr/local/lib/libOpenVG.so is not a symbolic link
Traceback (most recent call last):
File "/home/hmxf/.local/bin/meson", line 7, in <module>
from mesonbuild.mesonmain import main
ModuleNotFoundError: No module named 'mesonbuild'
/home/hmxf/flexbuild_lsdk2012/packages/apps/multimedia/multimedia.mk:84: recipe for target 'weston' failed
make[1]: *** [weston] Error 1
make[1]: Leaving directory '/home/hmxf/flexbuild_lsdk2012/packages/apps'
Makefile:28: recipe for target 'apps' failed
make: *** [apps] Error 2
make: Leaving directory '/home/hmxf/flexbuild_lsdk2012'
Do “ sudo apt install -y binfmt-support qemu-system-common qemu-user-static “ will resolve the issue.
This conditional dependency will automatically be added in next LSDK release.
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
I just had a similar problem. But with 2012
This was my error:
Building weston ...
Collecting meson
Installing collected packages: meson
Successfully installed meson-0.58.1
/sbin/ldconfig.real: /usr/local/lib/libOpenVG.so is not a symbolic link
/bin/bash: line 16: meson: command not found
/home/glen/ls1043/flexbuild_lsdk2012/packages/apps/multimedia/multimedia.mk:84: recipe for target 'weston' failed
make[1]: *** [weston] Error 127
make[1]: Leaving directory '/home/glen/ls1043/flexbuild_lsdk2012/packages/apps'
Makefile:28: recipe for target 'apps' failed
make: *** [apps] Error 2
make: Leaving directory '/home/glen/ls1043/flexbuild_lsdk2012'
glen@Sparky:~/ls1043/flexbuild_lsdk2012$
I did your apt-get install and got the same error. Any ideas?