gh-action-sdk icon indicating copy to clipboard operation
gh-action-sdk copied to clipboard

"PKG_MIRROR_HASH:=skip" in Makefile, but build fails with "Package HASH check failed".

Open qwerttvv opened this issue 3 months ago • 2 comments

"PKG_MIRROR_HASH:=skip" in Makefile, but build fails with "Package HASH check failed".

I saw this https://github.com/openwrt/gh-action-sdk/issues/18 but it didn't help

Makefile like

PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://www.github.com/xx/xx.git PKG_MIRROR_HASH:=skip PKG_SOURCE_VERSION:=b482340c35d47f63fecfb324f4d513c5f2255190

build log step: make package/openwrt-pkg/check

make[1]: Entering directory '/builder' make[2]: Entering directory '/feed/openwrt-pkg' WARNING: PKG_MIRROR_HASH uses deprecated hash, set to 5cb6d1cf30437d42a1b172a7d3477eea178f26330dd26e32fff2c7741559cae1 make[2]: Leaving directory '/feed/openwrt-pkg' time: package/feeds/packages_ci/openwrt-pkg/check#0.01#0.00#0.02 make[1]: Leaving directory '/builder' Package HASH check failed Error: Process completed with exit code 1.

I removed "PKG_MIRROR_HASH:=skip" from the Makefile, the problem is still there, the error is WARNING: PKG_MIRROR_HASH is missing, set to

Any help?

qwerttvv avatar Mar 08 '24 16:03 qwerttvv