From nobody Fri Nov 15 05:36:46 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XqQkQ5L9Gz5cfGc; Fri, 15 Nov 2024 05:36:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XqQkQ2jrLz3x5G; Fri, 15 Nov 2024 05:36:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731649006; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=sTLkzscxL7UAv6PJXRQzzvE8YCmR7od4+Q5utGMAgLE=; b=Qhw0mvlV3rYnIkO1vkMl9wtD6JHecZXkjloYrDEuazbVg9Uk+seAB8uMo+CUoA/1rWK5eT uNOc1TaN15jXxgImyosoXSS7/Bom1SASdvqCSc8KIL4SNGVcAdVrOeP+uuhn3eyc0PYiZ4 tXFplLCrxNtHZgSmXt6d5mg8GpY2elhuc8AtN6HIAo1bIlfPyIbzUma9GTkfkFEsQ9Z/IU n5pGHwBg721eRS5zoo+6G05nvxARO9rYFFEtBxp4QNJWnIEoTYTPOpGU2vmaJVt9G0fCBL PRV0JlmGkUjhV87TDyz5sFFTwu9DOXMPnF886d60FI4GWM83pihi1XjX9r9ECA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731649006; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=sTLkzscxL7UAv6PJXRQzzvE8YCmR7od4+Q5utGMAgLE=; b=m1SAJmii9T+5mfU3UM5fZHmpJl8SPRHHXIUXgRb6/s94dQERnT7hgVkdxmJwQrHzRXEL16 shJovG6xrFUWNBlKOrIfdP3W9uJAZQdBH1BSn35Gj88yWh6r6amfO9yegGYp6hUssfG/eI 6fLY9pbp6wQfesF/NkTtGmk/fKKYiIVmslgs7JzTMRCPia1x22DfGBHukuq90hYIW8O1HN DFR/0Im1+zqPmhpkhSvkueDSysQHNfRSbbsU6P/Jzenpv8GLUGiBisM2Abf9rmCrsgmf4G MSlG9cgsTNyoFtF7lfMtQWDrwaOPIk2RL8LT9TI6w0lgg/QsJn2fypssCdQrDA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731649006; a=rsa-sha256; cv=none; b=yoXPw/3CCmKVRijDcDdXDTL6dGzzmOndZqWR+bopuJhDUMQa1lcZtQudUTucnuNhkzxIuP zM5Nfqtzmu4Bt1B/cmacRzEz+GelprA0PMe6sEtEuNRcmoHnxNGBvXRJCEDo6+uu37GU9d CkDtNxHOQtlQDeGirQOrRmyDvheDnaCEe1rBCTDo9zC40+gpJbeU971vjp6kc2p86Co2xw XRAsqndV5wbCXdAv6H8hH1uv1/reYi+AMwkdzletjYsrR/iqjaktG+i+9q01YK+aSQiM1T ox18yPQ/dHvHAtqZfQJAFqAboE4yMEevVAfhFqTXnV5p3PQp1Zo1j+IGFK1mSQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XqQkQ2BbJz192V; Fri, 15 Nov 2024 05:36:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4AF5ak57039450; Fri, 15 Nov 2024 05:36:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4AF5ak1r039447; Fri, 15 Nov 2024 05:36:46 GMT (envelope-from git) Date: Fri, 15 Nov 2024 05:36:46 GMT Message-Id: <202411150536.4AF5ak1r039447@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Jason E. Hale" Subject: git: 612c485103ee - main - multimedia/gstreamer1-plugins-rust: Fix build on i386 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhale X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 612c485103ee7c13d34e822cbd59776a13dcdf8b Auto-Submitted: auto-generated The branch main has been updated by jhale: URL: https://cgit.FreeBSD.org/ports/commit/?id=612c485103ee7c13d34e822cbd59776a13dcdf8b commit 612c485103ee7c13d34e822cbd59776a13dcdf8b Author: Jason E. Hale AuthorDate: 2024-11-15 02:01:28 +0000 Commit: Jason E. Hale CommitDate: 2024-11-15 05:35:45 +0000 multimedia/gstreamer1-plugins-rust: Fix build on i386 Ring assumes SSE and SSE2 are available on i386. This workaround assumes the same, so the build will still fail on ancient hardware without these instruction sets. error[E0080]: evaluation of constant value failed --> /wrkdirs/usr/ports/multimedia/gstreamer1-plugins-rust/work/gst-plugins-rs-0.13.3/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/multimedia/gstreamer1-plugins-rust/work/gst-plugins-rs-0.13.3/cargo-crates/ring-0.17.8/src/cpu/intel.rs:28:9 Reported by: pkg-fallout --- multimedia/gstreamer1-plugins-rust/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/multimedia/gstreamer1-plugins-rust/Makefile b/multimedia/gstreamer1-plugins-rust/Makefile index 44263e9d46d1..3e1a026f9629 100644 --- a/multimedia/gstreamer1-plugins-rust/Makefile +++ b/multimedia/gstreamer1-plugins-rust/Makefile @@ -41,6 +41,11 @@ LTO_UNSAFE= yes CARGO_ENV+= CARGO_PROFILE_RELEASE_LTO=false .endif +.if ${MACHINE_ARCH} == i386 +# https://github.com/briansmith/ring/issues/1832 +RUSTFLAGS+= -C target-feature=+sse,+sse2 +.endif + OPTIONS_DEFINE= ASM CAIRO CSOUND DAV1D GTK4 PANGO SODIUM WEBP OPTIONS_DEFAULT= ASM CAIRO CSOUND DAV1D GTK4 PANGO SODIUM WEBP OPTIONS_EXCLUDE_aarch64= CSOUND # https://github.com/neithanmo/csound-rs/commit/8962b89d7bda