buildroot.rockchip icon indicating copy to clipboard operation
buildroot.rockchip copied to clipboard

libyaml missing

Open synaption opened this issue 3 years ago • 2 comments

I'm trying to build the quartz64_defconfig, but building linux fails because it cant find libyaml. I have tried installing and uninstalling libyaml-dev on the host. I'm not sure what else to do.

dtc needs libyaml for DT schema validation support. Install the necessary libyaml development package

synaption avatar Jul 19 '22 10:07 synaption

A little mor einformation would be useful. Which package build is failing ? Generally speaking no host libs/tools should be in use - everything which is used should be compiled (except for the base requirements).

Have you tried to remove that package from output/build, then :

make libyaml
make

flatmax avatar Jul 19 '22 22:07 flatmax

It is failing late in the linux build. I got past this error by running make host-libyaml. This is admittedly a hacky workaround. Now it still fails while building linux because dtschema is not in path?

Error: 'dt-doc-validate' not found!
Ensure dtschema python package is installed and in your PATH.

synaption avatar Jul 20 '22 01:07 synaption