| Summary: | source-check broken for Git downloads | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | Thomas Petazzoni <thomas.petazzoni> |
| Component: | Other | Assignee: | Yann E. MORIN <yann.morin.1998> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | buildroot |
| Priority: | P5 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
|
Description
Thomas Petazzoni
2017-04-07 09:37:18 UTC
But this has nothing to do with github, right? It is simply the source-check infrastructure that gets confused and tries to use wget instead of git. Debugging a bit further, it is because $(PKG) isn't known in the foo-source-check step, so it doesn't pick up LINUX_SITE_METHOD=git and defaults to git. Thomas, you reworked the source-check infrastructure, so I'll let you figure out how/where to get PKG defined ;) Hum, I thought the defconfig was using an http download from Github, but indeed it's using a Git download instead. So indeed, it's an issue with the Git download helper. No, it is really a general problem with source-check (that we normally don't notice as an empty <pkg>_SITE_METHOD is handled with wget, which is correct for most packages). The git handler for source-check looks fine to me, but it never gets called. The underlying reason s that foo-source-check has no stamp file associated to it, and eventually, $(PKG) is empty. I'll fix soonish... Patch sent:
https://patchwork.ozlabs.org/patch/761701/
Fixed by https://git.buildroot.org/buildroot/commit/?id=4c0aacbc317d298397cede593f74ece26d0a89f0. Thanks a lot Yann! |