EasyCwmp - easycwmp
View Issue Details
0000345easycwmp[All Projects] Bugpublic2018-07-18 15:052018-12-18 17:44
0000345: Unable to compile OpenWRT package
On a new cloned openwrt repository, i've installed EasyCwmp OpenWRT package (easycwmp-openwrt-1.7.0.tar.gz) but it doest not compiles.

It returns the error "Cannot find appropriate hash command, ensure the provided hash is either a MD5 or SHA256 checksum."
make package/easycwmp/compile V=s
According to
https://github.com/openwrt/openwrt/commit/f4b9d9d6f13c898d473ce678234339e4a9dba5b2#diff-37328c94ce7b51e93bffc95f34083ae7 [^]

the following lines fixes it.
make package/easycwmp/download PKG_HASH=skip V=s
make package/easycwmp/check FIXUP=1 V=s

They add the following
line after
PKG_SOURCE_URL:=http://easycwmp.org/download/ [^]

Hash is required since https://github.com/openwrt/openwrt/commit/b30ba14e2a858cfebcfdbc38348ab96a6d179556 [^]

If you don't need checksum verification, you can add PKG_HASH=skip
No tags attached.
Issue History
2018-07-18 15:05pedro.sanchezNew Issue
2018-07-18 15:53mohamed.kallelNote Added: 0000888
2018-12-18 17:44squigleyNote Added: 0000926

2018-07-18 15:53   
Thank you for the information
2018-12-18 17:44   
Same issue here. I'm trying to use easycwmp-1.8.0.tar.gz, and it fails in the same manner:

SHELL= flock /home/simonq/openwrt/tmp/.easycwmp-1.8.0.tar.gz.flock -c ' /home/simonq/openwrt/scripts/download.pl "/home/simonq/openwrt/dl" "easycwmp-1.8.0.tar.gz" "x" "" "http://easycwmp.org/download/" [^] '
Cannot find appropriate hash command, ensure the provided hash is either a MD5 or SHA256 checksum.

I tried to build just this package skipping the hash, but that didn't work:

$ make package/easycwmp-1.8.0/download PKG_HASH=skip V=s
make[1]: Entering directory '/home/simonq/openwrt'
make[1]: *** No rule to make target 'package/easycwmp-1.8.0/download'. Stop.

but building the whole kernel/image did, ie ~/openwrt$ make V=s PKG_HASH=skip