Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 785928 - media-video/rav1e-0.4.1: stabilisation (was: media-video/rav1e-0.4.0 incompatibility with rust-1.51.0)
Summary: media-video/rav1e-0.4.1: stabilisation (was: media-video/rav1e-0.4.0 incompat...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Stabilization (show other bugs)
Hardware: All Linux
: Normal major
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords: CC-ARCHES, PATCH
Depends on:
Blocks:
 
Reported: 2021-04-27 01:41 UTC by Francisco Blas Izquierdo Riera (RETIRED)
Modified: 2021-05-09 21:44 UTC (History)
3 users (show)

See Also:
Package list:
media-video/rav1e-0.4.1
Runtime testing required: ---
nattka: sanity-check+


Attachments
The freebsd patch (rav1e-0.4.0-support_rust_1.51.patch,1.46 KB, patch)
2021-04-27 01:41 UTC, Francisco Blas Izquierdo Riera (RETIRED)
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Francisco Blas Izquierdo Riera (RETIRED) gentoo-dev 2021-04-27 01:41:29 UTC
When trying to build rav1e-0.4.0 with rust-1.51.0-r2 the compilation fails with the following error:
error: failed to run custom build command for `rav1e v0.4.0 (/var/tmp/portage/media-video/rav1e-0.4.0/work/rav1e-0.4.0)`

Caused by:
  process didn't exit successfully: `/var/tmp/portage/media-video/rav1e-0.4.0/work/rav1e-0.4.0/target/release/build/rav1e-a085bd1ca3c970d7/build-script-build` (exit code: 101)
  --- stderr
  thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: LlvmVersionError(TooManyComponents)', build.rs:179:16
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: build failed
 * ERROR: media-video/rav1e-0.4.0::gentoo failed (compile phase):
 *   cargo build failed
 * 
 * Call stack:
 *     ebuild.sh, line 125:  Called src_compile
 *   environment, line 1699:  Called die
 * The specific snippet of code:
 *       cargo build ${args} || die "cargo build failed";
 * 
 * If you need support, post the output of `emerge --info '=media-video/rav1e-0.4.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-video/rav1e-0.4.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-video/rav1e-0.4.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/rav1e-0.4.0/temp/environment'.
 * Working directory: '/var/tmp/portage/media-video/rav1e-0.4.0/work/rav1e-0.4.0'
 * S: '/var/tmp/portage/media-video/rav1e-0.4.0/work/rav1e-0.4.0'

>>> Failed to emerge media-video/rav1e-0.4.0, Log file:

>>>  '/var/tmp/portage/media-video/rav1e-0.4.0/temp/build.log'

 * Messages for package media-video/rav1e-0.4.0:

 * ERROR: media-video/rav1e-0.4.0::gentoo failed (compile phase):
 *   cargo build failed
 * 
 * Call stack:
 *     ebuild.sh, line 125:  Called src_compile
 *   environment, line 1699:  Called die
 * The specific snippet of code:
 *       cargo build ${args} || die "cargo build failed";
 * 
 * If you need support, post the output of `emerge --info '=media-video/rav1e-0.4.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-video/rav1e-0.4.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-video/rav1e-0.4.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/rav1e-0.4.0/temp/environment'.
 * Working directory: '/var/tmp/portage/media-video/rav1e-0.4.0/work/rav1e-0.4.0'
 * S: '/var/tmp/portage/media-video/rav1e-0.4.0/work/rav1e-0.4.0'

Reproducible: Always

Steps to Reproduce:
1. Emerge  >=dev-lang/rust-1.51.0-r2
2. Emerge media-video/rav1e-0.4.0 

Actual Results:  
Build fails

Expected Results:  
Build completes and all works as expected

This issue is already known and freebsd has a patch that does solve the issue at: https://svnweb.freebsd.org/ports/head/multimedia/rav1e/files/patch-build.rs?view=markup&pathrev=569295
Comment 1 Francisco Blas Izquierdo Riera (RETIRED) gentoo-dev 2021-04-27 01:41:56 UTC
Created attachment 702648 [details, diff]
The freebsd patch
Comment 2 Ionen Wolkens gentoo-dev 2021-04-27 01:49:27 UTC
I believe this is already fixed in 0.4.1, may be simpler to just stabilize it a bit early.
Comment 3 Francisco Blas Izquierdo Riera (RETIRED) gentoo-dev 2021-04-27 01:54:58 UTC
Indeed, I have tried with 0.4.1 and it merged flawlessly.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-05-09 07:46:46 UTC
amd64 done
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-05-09 07:48:07 UTC
arm done
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-05-09 07:48:09 UTC
ppc64 done
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-05-09 10:57:43 UTC
arm64 done
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-05-09 21:44:33 UTC
x86 done

all arches done