git: 3e31fc929966 - main - www/hurl: mark hurl build broken for i386
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 13 Nov 2025 23:42:19 UTC
The branch main has been updated by rodrigo:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3e31fc9299664c0102bb012c07e2f2fbf6cf4d2a
commit 3e31fc9299664c0102bb012c07e2f2fbf6cf4d2a
Author: Rodrigo Osorio <rodrigo@FreeBSD.org>
AuthorDate: 2025-11-13 23:15:07 +0000
Commit: Rodrigo Osorio <rodrigo@FreeBSD.org>
CommitDate: 2025-11-13 23:36:44 +0000
www/hurl: mark hurl build broken for i386
Hurl build fails for i386 architectures due to mismatch error during
bindgen tests for libxml.
```
error[E0080]: evaluation of constant value failed
--> /home/jc/rust-libxml/target/debug/build/libxml-0db722a43088e767/out/bindings.rs:407:29
|
407 | ["Size of __max_align_t"][::std::mem::size_of::<__max_align_t>() - 20usize];
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `16_usize - 20_usize`, which would overflow
```
A GH issue reports[1][2][3] where created for this problem and for now the only bypass
found was to disable the test. Which is wrong.
[1] https://github.com/Orange-OpenSource/hurl/issues/4400
[2] https://github.com/KWARC/rust-libxml/issues/186
[3] https://github.com/rust-lang/rust-bindgen/issues/3319
---
www/hurl/Makefile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/www/hurl/Makefile b/www/hurl/Makefile
index d3e2c9ea81ee..f319a39f71ff 100644
--- a/www/hurl/Makefile
+++ b/www/hurl/Makefile
@@ -1,6 +1,6 @@
PORTNAME= hurl
DISTVERSION= 7.0.0
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= www
MAINTAINER= rodrigo@FreeBSD.org
@@ -10,6 +10,8 @@ WWW= https://hurl.dev/
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
+BROKEN_i386= bindgen test for libxml binding fail
+
LIB_DEPENDS= libcurl.so:ftp/curl
USES= cargo gnome ssl llvm