[Bug 279559] lang/gleam: can we fix build on i386
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 06 Jun 2024 17:20:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279559 Bug ID: 279559 Summary: lang/gleam: can we fix build on i386 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: dch@freebsd.org Compiling camino v1.1.6 Compiling wasm-bindgen v0.2.92 Compiling regex v1.10.4 Compiling wasm-bindgen-macro-support v0.2.92 error[E0080]: evaluation of constant value failed --> /wrkdirs/usr/ports/lang/gleam/work/gleam-1.2.0/cargo-crates/ring-0.17.8/src/cpu/intel.rs:28:9 | 28 | assert!(cfg!(target_feature = "sse") && cfg!(target_feature = "sse2")); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'assertion failed: cfg!(target_feature = "sse") && cfg!(target_feature = "sse2")', /wrkdirs/usr/ports/lang/gleam/work/gleam-1.2.0/cargo-crates/ring-0.17.8/src/cpu/intel.rs:28:9 | = note: this error originates in the macro `assert` (in Nightly builds, run with -Z macro-backtrace for more info) Compiling mime v0.3.17 Compiling adler v1.0.2 Compiling capnpc v0.14.9 Compiling miniz_oxide v0.7.2 For more information about this error, try `rustc --explain E0080`. error: could not compile `ring` (lib) due to 1 previous error warning: build failed, waiting for other jobs to finish... *** Error code 101 despite having: # add sse sse2 target-features only on i386 RUSTFLAGS+= --cap-lints=warn ${ARCH:S/i386/YES/:C/^[a-z].*//:S/YES/-C target-feature=+sse,+sse2/} in makefile. -- You are receiving this mail because: You are the assignee for the bug.