FreeBSD Bugzilla – Attachment 257334 Details for
Bug 284667
www/py-qh3: fix build with LLVM_DEFAULT=19
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
www/py-qh3: fix build with LLVM_DEFAULT=19
www__py-qh3-fix-llvm-default-19-1.diff (text/plain), 4.02 KB, created by
Dimitry Andric
on 2025-02-08 22:30:26 UTC
(
hide
)
Description:
www/py-qh3: fix build with LLVM_DEFAULT=19
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2025-02-08 22:30:26 UTC
Size:
4.02 KB
patch
obsolete
>commit afbd16bd7b72e728be4449eb83f86e1bfcef6b2b >Author: Dimitry Andric <dim@FreeBSD.org> >Date: 2025-02-08T23:29:10+01:00 > > 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 > MFH: 2025Q1 > >diff --git a/www/py-qh3/Makefile b/www/py-qh3/Makefile >index 75e6ce1281df..7e7243d5cf7c 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 284667
: 257334