From: Eric Le Bihan <eric.le.bihan.dev@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] Problem when $(PKG)_SOURCE does not contain $(PKG)_VERSION
Date: Sat, 25 Mar 2017 15:34:56 +0100 [thread overview]
Message-ID: <20170325143456.GA2470@itchy> (raw)
Hi all!
I will soon post a new patch series to add support for the Rust programming
language (version 1.16.0).
One of the patches adds a package named host-cargo-bootstrap, which
fetches a binary version of Cargo, the build tool for Rust.
The package Makefile looks like this:
```
CARGO_BOOTSTRAP_VERSION = 6e0c18cccc8b0c06fba8a8d76486f81a792fb420
CARGO_BOOTSTRAP_SITE = https://s3.amazonaws.com/rust-lang-ci/cargo-builds/$(CARGO_BOOTSTRAP_VERSION)
CARGO_BOOTSTRAP_SOURCE = cargo-nightly-$(HOSTARCH)-unknown-linux-gnu.tar.gz
```
As you can see, $(CARGO_BOOTSTRAP_SOURCE) does not refer to
$(CARGO_BOOTSTRAP_VERSION), only $(CARGO_BOOTSTRAP_SITE) does.
In my build environment, I already had a previous version of
cargo-nightly-$(HOSTARCH)-unknown-linux-gnu.tar.gz in my dl directory,
so when I bumped the version, Buildroot did not download the new
version.
Is there a way to fix this problem, by renaming the tarball in a
post-download hook or using a hash verification trick?
Best regards,
--
ELB
next reply other threads:[~2017-03-25 14:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-25 14:34 Eric Le Bihan [this message]
2017-03-25 14:47 ` [Buildroot] Problem when $(PKG)_SOURCE does not contain $(PKG)_VERSION Thomas Petazzoni
2017-03-25 15:34 ` Eric Le Bihan
2017-03-25 18:15 ` Thomas Petazzoni
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=20170325143456.GA2470@itchy \
--to=eric.le.bihan.dev@free.fr \
--cc=buildroot@busybox.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.