[FS#367] mkhash causes error in feed update after make dirclean (always if prereq has not yet been run)

LEDE Bugs lede-bugs at lists.infradead.org
Thu Jan 5 02:34:03 PST 2017


A new Flyspray task has been opened.  Details are below. 

User who did this - Hannu Nyman (hnyman) 

Attached to Project - LEDE Project
Summary - mkhash causes error in feed update after make dirclean (always if prereq has not yet been run)
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - I updated LEDE and feeds to the newest source and to my surprise I got errors in the update action:


perus at u1610:/xxx/r7800$ make dirclean
 make[1] dirclean

perus at u1610:/xxx/r7800$ git pull
Already up-to-date.

perus at u1610:/xxx/r7800$ ./scripts/feeds update
Updating feed 'packages' from 'https://git.lede-project.org/feed/packages.git' ...
Already up-to-date.
Create index file './feeds/packages.index' 
/bin/sh: 3: mkhash: not found
Collecting package info: done
/bin/sh: 3: mkhash: not found
Collecting target info: done
Updating feed 'luci' from 'https://git.lede-project.org/project/luci.git' ...
Already up-to-date.
Create index file './feeds/luci.index' 
/bin/sh: 3: mkhash: not found
...

perus at u1610:/xxx/r7800$ ./scripts/feeds update
Updating feed 'packages' from 'https://git.lede-project.org/feed/packages.git' ...
Already up-to-date.
Create index file './feeds/packages.index' 
Collecting package info: done
Collecting target info: done


Interestingly, if I run the same ./scripts/feeds update immediately afterwards, the error does not materialise. Looks like "make prereq" gets somehow run in between (via prepare-tmpinfo ???).

Looks like the scripts use the new "mkhash" even in the initial feed update phase without checking if that yet exists. Or without running "make prereq" in advance.


More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=367



More information about the lede-bugs mailing list