Bug 13631 - Commit 54d3d94b6e breaks packages with git download method
Summary: Commit 54d3d94b6e breaks packages with git download method
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: All Linux
: P5 major
Target Milestone: ---
Assignee: Yann E. MORIN
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-18 18:46 UTC by Matthias Hardt
Modified: 2021-03-22 08:14 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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