Bug 13631

Summary: Commit 54d3d94b6e breaks packages with git download method
Product: buildroot Reporter: Matthias Hardt <mhardt>
Component: OtherAssignee: Yann E. MORIN <yann.morin.1998>
Status: RESOLVED FIXED    
Severity: major CC: buildroot, yann.morin.1998
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

Description Matthias Hardt 2021-03-18 18:46:53 UTC
When using a package with git download method the download step is broken when not using a silent build (make -s).

The reason is the commit date being used for creating an archive of the repository and the output now contains an additional line containing the git command. This obviously cannot be parsed as a date.

Example output:

date: invalid date 'GIT_DIR=<some-dir>/git/.git git log -1 --pretty=format:%ci \n2021-03-12 08:58:14 +0100'
Detected a corrupted git cache.
Comment 1 Yann E. MORIN 2021-03-19 20:38:02 UTC
Matthias, All,

Thanks for your report!

We believe this has been fixed with commit b70ce56651 (support/download: fix git/svn corrupted cache) which was just merged.

Care to check on your side that everythig is back to normal?

Regards,
Yann E. MORIN
Comment 2 Matthias Hardt 2021-03-22 08:14:26 UTC
Hello Yann,

it works now. Good work.

Regards,
Matthias