flatmax / buildroot.rockchip

buildroot external for rockchip boards
Other
60 stars 22 forks source link

libyaml missing #7

Open synaption opened 2 years ago

synaption commented 2 years ago

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
flatmax commented 2 years ago

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
synaption commented 2 years ago

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.