View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000345easycwmp[All Projects] Bugpublic2018-07-18 15:052018-12-18 17:44
Assigned To 
PlatformOSOS Version
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
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.
Attached Files

- Relationships

-  Notes
mohamed.kallel (manager)
2018-07-18 15:53

Thank you for the information
squigley (reporter)
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

- 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

Copyright © 2000 - 2021 MantisBT Team
Powered by Mantis Bugtracker