1

I'm using Buildroot to add a package, it shows the following error in buiding step

cmake3 --build . --target install --config Release
...
ccache: error: configuration setting "cache_dir" must not be the empty string
ninja: build stopped: subcommand failed.

ERROR Backend subprocess exited when trying to invoke build_wheel

I tried rebuiding host-ccache, and in menuconfig, I checked Enable compiler cache, but it doesn't work. Can I get some help, pls?

0andriy
  • 4,183
  • 1
  • 24
  • 37
kinder chen
  • 1,371
  • 5
  • 15
  • 25
  • It could be that you don't have the $HOME environment variable defined in your system? – luislopezmartin Nov 30 '22 at 15:06
  • What is your `BR2_CCACHE_DIR` setting? Sounds like it is empty... If you change its value, don't forget to run `make host-ccache-dirclean` to rebuild ccache itself. – Arnout Nov 30 '22 at 16:13

0 Answers0