public inbox for buildroot@busybox.net
 help / color / mirror / Atom feed
From: Julien Olivain via buildroot <buildroot@buildroot.org>
To: Bernd Kuhls <bernd@kuhls.net>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH/next 1/1] package/rust-bindgen: bump version to 0.72.1
Date: Sun, 01 Mar 2026 15:31:11 +0100	[thread overview]
Message-ID: <169c6fd682c814c03e5c6bc787c9a537@free.fr> (raw)
In-Reply-To: <20260226211455.3980585-1-bernd@kuhls.net>

Hi Bernd,

Thanks for the patch.

On 26/02/2026 22:14, Bernd Kuhls wrote:
> https://github.com/rust-lang/rust-bindgen/releases/tag/v0.72.1
> 
> We need to use the tree hash as version number due to a download error:
> 
> $ wget -q 
> https://github.com/rust-lang/rust-bindgen/archive/v0.72.1/rust-bindgen-0.72.1-cargo4.tar.gz 
> -O -
> the given path has multiple possibilities: 
> #<Git::Ref:0x00007d64db1eed90>, #<Git::Ref:0x00007d64db1e7c70>

I believe this issue happen when there is a tag and a branch with the
same name. I think another way to workaround this issue, while keeping
the correct version "0.72.1" would be to prefix the version name in
the github helper with "refs/tags/". See below for an example.

> Fixes a build error with mesa3d 26.x and the upcoming llvm 22 bump:
> https://github.com/rust-lang/rust-bindgen/issues/3264#issuecomment-3218111176
> 
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
> ---
>  package/rust-bindgen/rust-bindgen.hash | 2 +-
>  package/rust-bindgen/rust-bindgen.mk   | 4 ++--
>  2 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/package/rust-bindgen/rust-bindgen.hash 
> b/package/rust-bindgen/rust-bindgen.hash
> index dc79a62ddd..dd2c622297 100644
> --- a/package/rust-bindgen/rust-bindgen.hash
> +++ b/package/rust-bindgen/rust-bindgen.hash
> @@ -1,3 +1,3 @@
>  # Locally calculated
> -sha256  
> f131b9cf87ea0a5db33ff3ad711aec4dbc4d383536f5f2e37493d63cbe95428e  
> rust-bindgen-0.72.0-cargo4.tar.gz
> +sha256  
> b547d29438450601b32a343a936f3c7366a1bcee99b27c0cd841afe758d1eae2  
> rust-bindgen-d874de8d646d9b8a3e7ba2db2bcd52f2fba8f1f5-cargo4.tar.gz
>  sha256  
> c23953d9deb0a3312dbeaf6c128a657f3591acee45067612fa68405eaa4525db  
> LICENSE
> diff --git a/package/rust-bindgen/rust-bindgen.mk 
> b/package/rust-bindgen/rust-bindgen.mk
> index 8c02db557f..0a26a1a9d6 100644
> --- a/package/rust-bindgen/rust-bindgen.mk
> +++ b/package/rust-bindgen/rust-bindgen.mk
> @@ -4,8 +4,8 @@
>  #
>  
> ################################################################################
> 
> -RUST_BINDGEN_VERSION = 0.72.0
> -RUST_BINDGEN_SITE = $(call 
> github,rust-lang,rust-bindgen,v$(RUST_BINDGEN_VERSION))
> +RUST_BINDGEN_VERSION = d874de8d646d9b8a3e7ba2db2bcd52f2fba8f1f5
> +RUST_BINDGEN_SITE = $(call 
> github,rust-lang,rust-bindgen,$(RUST_BINDGEN_VERSION))

This could become:

RUST_BINDGEN_VERSION = 0.72.1
RUST_BINDGEN_SITE = $(call 
github,rust-lang,rust-bindgen,refs/tags/v$(RUST_BINDGEN_VERSION))

Could you test like that, and send an updated patch if this is actually 
working?

>  RUST_BINDGEN_LICENSE = BSD-3-clause
>  RUST_BINDGEN_LICENSE_FILES = LICENSE
> 
> --
> 2.47.3

Best regards,

Julien.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

      reply	other threads:[~2026-03-01 14:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-26 21:14 [Buildroot] [PATCH/next 1/1] package/rust-bindgen: bump version to 0.72.1 Bernd Kuhls
2026-03-01 14:31 ` Julien Olivain via buildroot [this message]

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=169c6fd682c814c03e5c6bc787c9a537@free.fr \
    --to=buildroot@buildroot.org \
    --cc=bernd@kuhls.net \
    --cc=ju.o@free.fr \
    /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