Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 927856 - app-emulation/ruffle-0_p20240319: error[E0658]: use of unstable library feature 'result_option_inspect'
Summary: app-emulation/ruffle-0_p20240319: error[E0658]: use of unstable library featu...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Ionen Wolkens
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-26 08:02 UTC by creative.centre.of.excellence
Modified: 2024-03-26 19:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emergeinfo.txt,12.72 KB, text/plain)
2024-03-26 08:02 UTC, creative.centre.of.excellence
Details

Note You need to log in before you can comment on or make changes to this bug.
Description creative.centre.of.excellence 2024-03-26 08:02:49 UTC
Created attachment 888602 [details]
emerge --info

Does a bump to uptstream version 20240119 is available upstream fix this?

app-emulation/ruffle fails to compile:

[32m * [39;49;00mPackage:    app-emulation/ruffle-0_p20240319:0
[32m * [39;49;00mRepository: gentoo
[32m * [39;49;00mMaintainer: ionen@gentoo.org
[32m * [39;49;00mUSE:        abi_x86_64 amd64 elibc_glibc kernel_linux
[32m * [39;49;00mFEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking ruffle-nightly-2024-03-19.tar.gz to /var/tmp/portage/app-emulation/ruffle-0_p20240319/work
 [32m*[0m Loading ab_glyph-0.2.23.crate into Cargo registry ...
[A[72C [34;01m[ [32;01mok[34;01m ][0m
 [32m*[0m Loading ab_glyph_rasterizer-0.1.8.crate into Cargo registry ...
[A[72C [34;01m[ [32;01mok[34;01m ][0m
 [32m*[0m Loading accesskit-0.12.3.crate into Cargo registry ...
[A[72C [34;01m[ [32;01mok[34;01m ][0m


etc..
/work/ruffle-nightly-2024-03-19/target/release/deps/libruffle_render_wgpu-1347b29bf299214e.rlib --extern ruffle_video_software=/var/tmp/portage/app-emulation/ruffle-0_p20240319/work/ruffle-nightly-2024-03-19/target/release/deps/libruffle_video_software-10bd63b211999081.rlib --extern slotmap=/var/tmp/portage/app-emulation/ruffle-0_p20240319/work/ruffle-nightly-2024-03-19/target/release/deps/libslotmap-594f5f5111c470db.rlib --extern sys_locale=/var/tmp/portage/app-emulation/ruffle-0_p20240319/work/ruffle-nightly-2024-03-19/target/release/deps/libsys_locale-71d9beaf5d929bb5.rlib --extern toml_edit=/var/tmp/portage/app-emulation/ruffle-0_p20240319/work/ruffle-nightly-2024-03-19/target/release/deps/libtoml_edit-d6b38014a43150c9.rlib --extern tracing=/var/tmp/portage/app-emulation/ruffle-0_p20240319/work/ruffle-nightly-2024-03-19/target/release/deps/libtracing-75262144589c79cf.rlib --extern tracing_appender=/var/tmp/portage/app-emulation/ruffle-0_p20240319/work/ruffle-nightly-2024-03-19/target/release/deps/libtracing_appender-6adbbb265b12d968.rlib --extern tracing_subscriber=/var/tmp/portage/app-emulation/ruffle-0_p20240319/work/ruffle-nightly-2024-03-19/target/release/deps/libtracing_subscriber-3eda8fb4d14c5381.rlib --extern unic_langid=/var/tmp/portage/app-emulation/ruffle-0_p20240319/work/ruffle-nightly-2024-03-19/target/release/deps/libunic_langid-050bbc4fbeca93e6.rlib --extern url=/var/tmp/portage/app-emulation/ruffle-0_p20240319/work/ruffle-nightly-2024-03-19/target/release/deps/liburl-dbdc5f4515448d47.rlib --extern urlencoding=/var/tmp/portage/app-emulation/ruffle-0_p20240319/work/ruffle-nightly-2024-03-19/target/release/deps/liburlencoding-33b4cee76acb5862.rlib --extern webbrowser=/var/tmp/portage/app-emulation/ruffle-0_p20240319/work/ruffle-nightly-2024-03-19/target/release/deps/libwebbrowser-4e7bdea775f2b447.rlib --extern wgpu=/var/tmp/portage/app-emulation/ruffle-0_p20240319/work/ruffle-nightly-2024-03-19/target/release/deps/libwgpu-91b87fe152753887.rlib --extern winit=/var/tmp/portage/app-emulation/ruffle-0_p20240319/work/ruffle-nightly-2024-03-19/target/release/deps/libwinit-3ae0f6be5f038d34.rlib -C target-cpu=znver3 --cfg=web_sys_unstable_apis -L native=/usr/lib64 -L native=/usr/lib64 -L native=/var/tmp/portage/app-emulation/ruffle-0_p20240319/work/ruffle-nightly-2024-03-19/target/release/build/curl-sys-ae89f84eb0fa8fd5/out/build -L native=/var/tmp/portage/app-emulation/ruffle-0_p20240319/work/ruffle-nightly-2024-03-19/target/release/build/libnghttp2-sys-83d65b7f1ac170d0/out/i/lib --cfg nightly` (exit status: 1)
[1m[33mwarning[0m[1m:[0m build failed, waiting for other jobs to finish...
 [31;01m*[0m ERROR: app-emulation/ruffle-0_p20240319::gentoo failed (compile phase):
 [31;01m*[0m   cargo build failed
 [31;01m*[0m 
 [31;01m*[0m Call stack:
 [31;01m*[0m     ebuild.sh, line  136:  Called src_compile
 [31;01m*[0m   environment, line 3057:  Called cargo_src_compile
 [31;01m*[0m   environment, line 1638:  Called die
 [31;01m*[0m The specific snippet of code:
 [31;01m*[0m       "${@}" || die "cargo build failed"
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of `emerge --info '=app-emulation/ruffle-0_p20240319::gentoo'`,
 [31;01m*[0m the complete build log and the output of `emerge -pqv '=app-emulation/ruffle-0_p20240319::gentoo'`.
 [31;01m*[0m The complete build log is located at '/var/log/portage/app-emulation:ruffle-0_p20240319:20240326-074955.log'.
 [31;01m*[0m For convenience, a symlink to the build log is located at '/var/tmp/portage/app-emulation/ruffle-0_p20240319/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/app-emulation/ruffle-0_p20240319/temp/environment'.
 [31;01m*[0m Working directory: '/var/tmp/portage/app-emulation/ruffle-0_p20240319/work/ruffle-nightly-2024-03-19'
 [31;01m*[0m S: '/var/tmp/portage/app-emulation/ruffle-0_p20240319/work/ruffle-nightly-2024-03-19'
Comment 1 Ionen Wolkens gentoo-dev 2024-03-26 08:08:33 UTC
Please attach the complete build.log, this does not show the actual error.
Comment 2 Ionen Wolkens gentoo-dev 2024-03-26 19:23:30 UTC
Actually I can take a guess at what happened, build log probably has:

error[E0658]: use of unstable library feature 'result_option_inspect'

This is because you are using the ~testing ruffle with stable rust-1.75.0 (stable ruffle-0_p20240217 would build fine -- you actually need an *older* version rather than a newer one).

I'll bump the minimum rust dependency to >=virtual/rust-1.76 for this version.
Comment 3 Larry the Git Cow gentoo-dev 2024-03-26 19:25:23 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3bf1f5679f50ebb6c328c0ff7858511eed265c8

commit e3bf1f5679f50ebb6c328c0ff7858511eed265c8
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2024-03-26 19:24:40 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2024-03-26 19:24:59 +0000

    app-emulation/ruffle: crank up rust requirement
    
    Closes: https://bugs.gentoo.org/927856
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 app-emulation/ruffle/ruffle-0_p20240319.ebuild | 2 +-
 app-emulation/ruffle/ruffle-9999.ebuild        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Comment 4 Ionen Wolkens gentoo-dev 2024-03-26 19:55:30 UTC
(In reply to creative.centre.of.excellence from comment #0)
> Created attachment 888602 [details]
> emerge --info
> 
> Does a bump to uptstream version 20240119 is available upstream fix this?
Oh and, think there's confusion here.

This is version 20240319 (which is newer than 20240119 by 2 months), the packages.gentoo.org repology report just misunderstand the versioning format used here.