From owner-svn-ports-all@freebsd.org Sat Mar 27 06:00:37 2021 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EB6795BA49C; Sat, 27 Mar 2021 06:00:37 +0000 (UTC) (envelope-from tobik@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F6p9K6Qq7z4mCL; Sat, 27 Mar 2021 06:00:37 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C5B8C27AFC; Sat, 27 Mar 2021 06:00:37 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 12R60bQj076069; Sat, 27 Mar 2021 06:00:37 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 12R60bSc076068; Sat, 27 Mar 2021 06:00:37 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <202103270600.12R60bSc076068@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Sat, 27 Mar 2021 06:00:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r569295 - head/multimedia/rav1e/files X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/multimedia/rav1e/files X-SVN-Commit-Revision: 569295 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Mar 2021 06:00:38 -0000 Author: tobik Date: Sat Mar 27 06:00:37 2021 New Revision: 569295 URL: https://svnweb.freebsd.org/changeset/ports/569295 Log: multimedia/*rav1e: Unbreak build with Rust 1.51.0 (D29425) process didn't exit successfully: `/wrkdirs/usr/ports/multimedia/librav1e/work/target/release/build/rav1e-b2f4b3ce116fbed0/build-script-build` (exit code: 101) --- stderr thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: LlvmVersionError(TooManyComponents)', build.rs:179:16 stack backtrace: 0: rust_begin_unwind 1: core::panicking::panic_fmt 2: core::result::unwrap_failed 3: core::result::Result::unwrap at /wrkdirs/usr/ports/lang/rust/work/rustc-1.51.0-src/library/core/src/result.rs:1037:23 4: build_script_build::rustc_version_check at ./build.rs:179:6 5: build_script_build::main at ./build.rs:268:3 6: core::ops::function::FnOnce::call_once at /wrkdirs/usr/ports/lang/rust/work/rustc-1.51.0-src/library/core/src/ops/function.rs:227:5 http://pb2.nyi.freebsd.org/data/122i386-default-foo/2021-03-26_19h05m59s/logs/errors/librav1e-0.4.0_1.log PR: 254578 Added: head/multimedia/rav1e/files/ head/multimedia/rav1e/files/patch-build.rs (contents, props changed) Added: head/multimedia/rav1e/files/patch-build.rs ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/rav1e/files/patch-build.rs Sat Mar 27 06:00:37 2021 (r569295) @@ -0,0 +1,35 @@ +error: failed to run custom build command for `rav1e v0.4.0 (/wrkdirs/usr/ports/multimedia/librav1e/work/rav1e-0.4.0)` + +Caused by: + process didn't exit successfully: `/wrkdirs/usr/ports/multimedia/librav1e/work/target/release/build/rav1e-b2f4b3ce116fbed0/build-script-build` (exit code: 101) + --- stderr + thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: LlvmVersionError(TooManyComponents)', build.rs:179:16 + stack backtrace: + 0: rust_begin_unwind + 1: core::panicking::panic_fmt + 2: core::result::unwrap_failed + 3: core::result::Result::unwrap + at /wrkdirs/usr/ports/lang/rust/work/rustc-1.51.0-src/library/core/src/result.rs:1037:23 + 4: build_script_build::rustc_version_check + at ./build.rs:179:6 + 5: build_script_build::main + at ./build.rs:268:3 + 6: core::ops::function::FnOnce::call_once + at /wrkdirs/usr/ports/lang/rust/work/rustc-1.51.0-src/library/core/src/ops/function.rs:227:5 + note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. + +--- build.rs.orig 2021-03-27 02:26:03 UTC ++++ build.rs +@@ -174,12 +174,6 @@ fn build_asm_files() { + } + + fn rustc_version_check() { +- // This should match the version in the CI +- const REQUIRED_VERSION: &str = "1.44.1"; +- if version().unwrap() < Version::parse(REQUIRED_VERSION).unwrap() { +- eprintln!("rav1e requires rustc >= {}.", REQUIRED_VERSION); +- exit(1); +- } + } + + #[cfg(feature = "asm")]