[Buildroot] [Bug 10391] WiringPi retrieves wrong (old) version
bugzilla at busybox.net
bugzilla at busybox.net
Wed Oct 11 14:23:11 UTC 2017
https://bugs.busybox.net/show_bug.cgi?id=10391
Yann E. MORIN <yann.morin.1998 at free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at buildroot.uclibc |yann.morin.1998 at free.fr
|.org |
Resolution|WORKSFORME |---
Status|RESOLVED |REOPENED
CC| |yann.morin.1998 at free.fr
--- Comment #6 from Yann E. MORIN <yann.morin.1998 at free.fr> ---
(In reply to srg.venema from comment #3)
> warning: Remote branch 2.44 not found in upstream origin, using HEAD instead
I've sen that message with older versions of git.
Basically, our wrapper uses: git clone --depth 1 -b ${ref} ${repo}
However, in older versions of git, the -b option only expected a branch,
not a tag. git-2.7.4 does accept either a tag or a branch for -b, while
git-1.7.9.5 only accepts a branch with -b.
What's more, as the message implies, if the branch is not found, then
the HEAD if the default branch is used instead, a warning is printed,
but this is not considered an error, which is clearly bad. :-(
I don't know the exact version which started accepting a tag with -b.
I'll research that, so we can decide if we want to support such an old
git version, or if we start requiring something newer.
Ergo, I'm reopenning, and assigning to me.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the buildroot
mailing list