Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Jun 2024 17:20:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 279559] lang/gleam: can we fix build on i386
Message-ID:  <bug-279559-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279559

            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 =3D "sse") && cfg!(target_feature =
=3D
"sse2"));
   |=20=20=20=20=20=20=20=20
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the
evaluated program panicked at 'assertion failed: cfg!(target_feature =3D "s=
se")
&& cfg!(target_feature =3D "sse2")',
/wrkdirs/usr/ports/lang/gleam/work/gleam-1.2.0/cargo-crates/ring-0.17.8/src=
/cpu/intel.rs:28:9
   |
   =3D 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+=3D   --cap-lints=3Dwarn ${ARCH:S/i386/YES/:C/^[a-z].*//:S/YES/-C
target-feature=3D+sse,+sse2/}

in makefile.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-279559-7788>