git: 0d47e63e74ee - 2025Q1 - www/py-qh3: fix build with LLVM_DEFAULT=19
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 26 Feb 2025 19:03:11 UTC
The branch 2025Q1 has been updated by dim:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0d47e63e74ee3fc23bc82aa98c4df6429a0877ff
commit 0d47e63e74ee3fc23bc82aa98c4df6429a0877ff
Author: Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2025-02-08 22:29:10 +0000
Commit: Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2025-02-26 19:02:51 +0000
www/py-qh3: fix build with LLVM_DEFAULT=19
When building with LLVM_DEFAULT set to 19, www/py-qh3 errors out with:
error[E0425]: cannot find function, tuple struct or tuple variant `ERR_GET_LIB_RUST` in this scope
--> /wrkdirs/usr/ports/www/py-qh3/work-py311/qh3-1.0.9/cargo-crates/aws-lc-sys-0.20.1/src/lib.rs:74:14
|
74 | unsafe { ERR_GET_LIB_RUST(packed_error) }
| ^^^^^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find function, tuple struct or tuple variant `ERR_GET_REASON_RUST` in this scope
--> /wrkdirs/usr/ports/www/py-qh3/work-py311/qh3-1.0.9/cargo-crates/aws-lc-sys-0.20.1/src/lib.rs:80:14
|
80 | unsafe { ERR_GET_REASON_RUST(packed_error) }
| ^^^^^^^^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find function, tuple struct or tuple variant `ERR_GET_FUNC_RUST` in this scope
--> /wrkdirs/usr/ports/www/py-qh3/work-py311/qh3-1.0.9/cargo-crates/aws-lc-sys-0.20.1/src/lib.rs:86:14
|
86 | unsafe { ERR_GET_FUNC_RUST(packed_error) }
| ^^^^^^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find function, tuple struct or tuple variant `BIO_ctrl` in this scope
--> /wrkdirs/usr/ports/www/py-qh3/work-py311/qh3-1.0.9/cargo-crates/aws-lc-sys-0.20.1/src/lib.rs:91:14
|
91 | unsafe { BIO_ctrl(b, BIO_CTRL_INFO, 0, pp.cast::<c_void>()) }
| ^^^^^^^^ not found in this scope
error[E0425]: cannot find function, tuple struct or tuple variant `CRYPTO_library_init` in this scope
--> /wrkdirs/usr/ports/www/py-qh3/work-py311/qh3-1.0.9/cargo-crates/aws-lc-sys-0.20.1/src/lib.rs:95:14
|
95 | unsafe { CRYPTO_library_init() }
| ^^^^^^^^^^^^^^^^^^^ not found in this scope
In https://github.com/aws/aws-lc-rs/issues/476#issuecomment-2402442254
justsmth mentions:
> With the release of bindgen 0.69.5 this problem should now be resolved.
Bumping the bindgen CARGO_CRATES entry to 0.69.5 indeed allows the port
to built against llvm 19.
PR: 284667
Approved by: maintainer timeout (2 weeks)
MFH: 2025Q1
(cherry picked from commit 9cccbd8cf04893ddf7fef2f2653487e06f0b94d8)
---
www/py-qh3/Makefile | 2 +-
www/py-qh3/distinfo | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/www/py-qh3/Makefile b/www/py-qh3/Makefile
index f95394e4ce3b..fe3582201c22 100644
--- a/www/py-qh3/Makefile
+++ b/www/py-qh3/Makefile
@@ -39,7 +39,7 @@ CARGO_CRATES= aead-0.5.2 \
base64-0.22.1 \
base64ct-1.6.0 \
bindgen-0.66.1 \
- bindgen-0.69.4 \
+ bindgen-0.69.5 \
bitflags-2.6.0 \
block-buffer-0.10.4 \
block-padding-0.3.3 \
diff --git a/www/py-qh3/distinfo b/www/py-qh3/distinfo
index df0bc7b65ad7..6ef0fd9d6359 100644
--- a/www/py-qh3/distinfo
+++ b/www/py-qh3/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1725493857
+TIMESTAMP = 1739053067
SHA256 (rust/crates/aead-0.5.2.crate) = d122413f284cf2d62fb1b7db97e02edb8cda96d769b16e443a4f6195e35662b0
SIZE (rust/crates/aead-0.5.2.crate) = 15509
SHA256 (rust/crates/aes-0.8.4.crate) = b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0
@@ -25,8 +25,8 @@ SHA256 (rust/crates/base64ct-1.6.0.crate) = 8c3c1a368f70d6cf7302d78f8f7093da241f
SIZE (rust/crates/base64ct-1.6.0.crate) = 28870
SHA256 (rust/crates/bindgen-0.66.1.crate) = f2b84e06fc203107bfbad243f4aba2af864eb7db3b1cf46ea0a023b0b433d2a7
SIZE (rust/crates/bindgen-0.66.1.crate) = 218860
-SHA256 (rust/crates/bindgen-0.69.4.crate) = a00dc851838a2120612785d195287475a3ac45514741da670b735818822129a0
-SIZE (rust/crates/bindgen-0.69.4.crate) = 221092
+SHA256 (rust/crates/bindgen-0.69.5.crate) = 271383c67ccabffb7381723dea0672a673f292304fcb45c01cc648c7a8d58088
+SIZE (rust/crates/bindgen-0.69.5.crate) = 221128
SHA256 (rust/crates/bitflags-2.6.0.crate) = b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de
SIZE (rust/crates/bitflags-2.6.0.crate) = 45357
SHA256 (rust/crates/block-buffer-0.10.4.crate) = 3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71