* [Buildroot] [PATCH/next 1/1] package/rust-bindgen: bump version to 0.72.1
@ 2026-02-26 21:14 Bernd Kuhls
2026-03-01 14:31 ` Julien Olivain via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2026-02-26 21:14 UTC (permalink / raw)
To: buildroot
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>
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))
RUST_BINDGEN_LICENSE = BSD-3-clause
RUST_BINDGEN_LICENSE_FILES = LICENSE
--
2.47.3
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH/next 1/1] package/rust-bindgen: bump version to 0.72.1
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
0 siblings, 0 replies; 2+ messages in thread
From: Julien Olivain via buildroot @ 2026-03-01 14:31 UTC (permalink / raw)
To: Bernd Kuhls; +Cc: buildroot
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-03-01 14:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox