View Issue Details

IDProjectCategoryView StatusLast Update
0000345easycwmpBugpublic2018-12-18 17:44
Reporterpedro.sanchez Assigned To 
PriorityhighSeveritycrashReproducibilityalways
Status newResolutionopen 
Summary0000345: Unable to compile OpenWRT package
DescriptionOn 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."
Steps To Reproducemake package/easycwmp/compile V=s
Additional InformationAccording 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
PKG_HASH:=b1238970704dcc0384a8f2b059eabf615ce4e2f4584dc281d602cac89e85daa0
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
TagsNo tags attached.
e-mail notification

Activities

mohamed.kallel

2018-07-18 15:53

administrator   ~0000888

Thank you for the information

squigley

2018-12-18 17:44

reporter   ~0000926

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

Issue History

Date Modified Username Field Change
2018-07-18 15:05 pedro.sanchez New Issue
2018-07-18 15:53 mohamed.kallel Note Added: 0000888
2018-12-18 17:44 squigley Note Added: 0000926