Skip to content

error: No repo or cache detected

I'm currently writing a recipe for the buildroot project and encountering this error. Actually I'm not crosscompiling anything, just trying to compile for x86_64 inside buildroot.

[3/3] Processing /home/angelo/DEV/BUILDROOT/br_x86-64/build/ntpsec-0_9_7/ntpd/version.h,/home/angelo/DEV/BUILDROOT/br_x86-64/build/ntpsec-0_9_7/wafhelpers/.autorevision-cache: VERSION wafhelpers/autorevision.sh -> ntpd/version.h wafhelpers/.autorevision-cache
22:51:33 runner ' VCS_EXTRA=`cat /home/angelo/DEV/BUILDROOT/br_x86-64/build/ntpsec-0_9_7/VERSION` wafhelpers/autorevision.sh -o /home/angelo/DEV/BUILDROOT/br_x86-64/build/ntpsec-0_9_7/wafhelpers/.autorevision-cache -e VERSION -t h >/home/angelo/DEV/BUILDROOT/br_x86-64/build/ntpsec-0_9_7/ntpd/version.h '
error: No repo or cache detected.

Waf: Leaving directory `/home/angelo/DEV/BUILDROOT/br_x86-64/build/ntpsec-0_9_7/build/host'
Build failed
 -> task in '/home/angelo/DEV/BUILDROOT/br_x86-64/build/ntpsec-0_9_7/ntpd/version.h,/home/angelo/DEV/BUILDROOT/br_x86-64/build/ntpsec-0_9_7/wafhelpers/.autorevision-cache' failed with exit status 1: 
        {task 139962225180496: /home/angelo/DEV/BUILDROOT/br_x86-64/build/ntpsec-0_9_7/ntpd/version.h,/home/angelo/DEV/BUILDROOT/br_x86-64/build/ntpsec-0_9_7/wafhelpers/.autorevision-cache VERSION,autorevision.sh -> version.h,.autorevision-cache}
' VCS_EXTRA=`cat /home/angelo/DEV/BUILDROOT/br_x86-64/build/ntpsec-0_9_7/VERSION` wafhelpers/autorevision.sh -o /home/angelo/DEV/BUILDROOT/br_x86-64/build/ntpsec-0_9_7/wafhelpers/.autorevision-cache -e VERSION -t h >/home/angelo/DEV/BUILDROOT/br_x86-64/build/ntpsec-0_9_7/ntpd/version.h '
package/pkg-generic.mk:227: recipe for target '/home/angelo/DEV/BUILDROOT/br_x86-64/build/ntpsec-0_9_7/.stamp_built' failed
make[1]: *** [/home/angelo/DEV/BUILDROOT/br_x86-64/build/ntpsec-0_9_7/.stamp_built] Error 1
Makefile:16: recipe for target '_all' failed
make: *** [_all] Error 2

Could you give advice on how to solve this error?

Thanks!