[FS#866] The DownloadMethod/hg in include/download.mk seems to be broken
LEDE Bugs
lede-bugs at lists.infradead.org
Sat Jun 24 04:46:41 PDT 2017
A new Flyspray task has been opened. Details are below.
User who did this - petrn (petrn)
Attached to Project - LEDE Project
Summary - The DownloadMethod/hg in include/download.mk seems to be broken
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To -
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - All
Due in Version - Undecided
Due Date - Undecided
Details - This is a build issue for packages which are using the Mercurial (hg) source code control system. The DownloadMethod/hg tries to re-stamp the files, but the method to do so seems insufficient.
My current fix is this one (without any claim of correctness or completeness), it allows me to make the builds as before the timestamping change was implemented.
--- a/include/download.mk
+++ b/include/download.mk
@@ -198,7 +198,7 @@ define DownloadMethod/hg
rm -rf $(SUBDIR) && \
[ \! -d $(SUBDIR) ] && \
hg clone -r $(VERSION) $(URL) $(SUBDIR) && \
- export TAR_TIMESTAMP=`cd $(SUBDIR) && hg log --template '@{date}' -l 1` && \
+ export TAR_TIMESTAMP=`cd $(SUBDIR) && hg log --template '@{date}' -l 1 | cut -d'.' -f1` && \
This is with Mercurial 3.7.3 (default Mercurial in Ubuntu 16.04.2)
More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=866
More information about the lede-bugs
mailing list