From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 2/2] support/dependencies/dependencies.sh: ensure git is >= 2.0.0 for vendoring
Date: Tue, 28 Feb 2023 16:52:46 +0100 [thread overview]
Message-ID: <878rghkcs1.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <20230207170040.3503236-2-peter@korsgaard.com> (Peter Korsgaard's message of "Tue, 7 Feb 2023 18:00:40 +0100")
>>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:
> The go vendoring fails on CentOS 7 (which uses git 1.8.3.1) with errors
> related to shallow clones:
> make docker-compose-source
> ..
> go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.4
> github.com/docker/compose/v2/pkg/mocks imports
> github.com/theupdateframework/notary/client imports
> github.com/docker/go/canonical/json: github.com/docker/go@v1.5.1-1.0.20160303222718-d30aec9fd63c: invalid pseudo-version: git fetch --unshallow -f origin in /home/jacmet/source/buildroot-mirror/output/host/share/go-path/pkg/mod/cache/vcs/48fbd2dfabec81f4c93170677bfc89087d4bec07a2d08f6ca5ce3d17962677ee: exit status 128:
> fatal: git fetch-pack: expected shallow list
> make[1]: *** [/home/jacmet/source/buildroot-mirror/output/build/docker-compose-2.15.1/.stamp_downloaded] Error 1
> It works with git 2.0.0 (released May 2014, included in Debian 8), so check
> for >= 2.0.0 with logic similar to the GNU patch version check.
> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Committed to 2022.11.x and 2022.02.x, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2023-02-28 15:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-07 17:00 [Buildroot] [PATCH 1/2] package/pkg-generic.mk: require git on the host for packages using cargo/go vendoring Peter Korsgaard
2023-02-07 17:00 ` [Buildroot] [PATCH 2/2] support/dependencies/dependencies.sh: ensure git is >= 2.0.0 for vendoring Peter Korsgaard
2023-02-28 15:52 ` Peter Korsgaard [this message]
2023-02-07 22:06 ` [Buildroot] [PATCH 1/2] package/pkg-generic.mk: require git on the host for packages using cargo/go vendoring Thomas Petazzoni via buildroot
2023-02-28 15:52 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878rghkcs1.fsf@dell.be.48ers.dk \
--to=peter@korsgaard.com \
--cc=buildroot@buildroot.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox