Summary: | app-misc/zellij-0.39.2: build fails after upgrade to amd64/23.0/split-usr/desktop profile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ben Buhse <me> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | me |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Ben Buhse
2024-03-24 17:26:38 UTC
Created attachment 888459 [details]
build.log
Compiling time-macros-impl v0.1.2 Running `rustc --crate-name time_macros_impl --edition=2018 /var/tmp/portage/app-misc/zellij-0.39.2/work/cargo_home/gentoo/time-macros-impl-0.1.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off -C metadata=d6f49b1e5dde8ada -C extra-filename=-d6f49b1e5dde8ada --out-dir /var/tmp/portage/app-misc/zellij-0.39.2/work/zellij-0.39.2/target/release/deps -C strip=symbols -L dependency=/var/tmp/portage/app-misc/zellij-0.39.2/work/zellij-0.39.2/target/release/deps --extern proc_macro_hack=/var/tmp/portage/app-misc/zellij-0.39.2/work/zellij-0.39.2/target/release/deps/libproc_macro_hack-382d6a71863e2006.so --extern proc_macro2=/var/tmp/portage/app-misc/zellij-0.39.2/work/zellij-0.39.2/target/release/deps/libproc_macro2-432cfbed202a7260.rlib --extern quote=/var/tmp/portage/app-misc/zellij-0.39.2/work/zellij-0.39.2/target/release/deps/libquote-15a0cf822607eeb4.rlib --extern standback=/var/tmp/portage/app-misc/zellij-0.39.2/work/zellij-0.39.2/target/release/deps/libstandback-0d302192df350776.rlib --extern syn=/var/tmp/portage/app-misc/zellij-0.39.2/work/zellij-0.39.2/target/release/deps/libsyn-aff186e5bc9e4b69.rlib --extern proc_macro --cap-lints allow -C opt-level=2 -C target-cpu=native` Running `rustc --crate-name value_bag --edition=2018 /var/tmp/portage/app-misc/zellij-0.39.2/work/cargo_home/gentoo/value-bag-1.0.0-alpha.9/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C metadata=bdcf3f03679d414a -C extra-filename=-bdcf3f03679d414a --out-dir /var/tmp/portage/app-misc/zellij-0.39.2/work/zellij-0.39.2/target/release/deps -C strip=symbols -L dependency=/var/tmp/portage/app-misc/zellij-0.39.2/work/zellij-0.39.2/target/release/deps --extern ctor=/var/tmp/portage/app-misc/zellij-0.39.2/work/zellij-0.39.2/target/release/deps/libctor-7e9965baa5ecdd08.so --cap-lints allow -C opt-level=2 -C target-cpu=native --cfg value_bag_capture_const_type_id` error: to use a constant of type `TypeId` in a pattern, `TypeId` must be annotated with `#[derive(PartialEq, Eq)]` --> /var/tmp/portage/app-misc/zellij-0.39.2/work/cargo_home/gentoo/value-bag-1.0.0-alpha.9/src/internal/cast/primitive.rs:43:33 | 43 | $const_ident => |v| Some(Internal::from(unsafe { &*(*v as *const Self as *const $ty) })), | ^^^^^^^^^^^^ ... 71 | / to_internal![ 72 | | usize: (USIZE, OPTION_USIZE), 73 | | u8: (U8, OPTION_U8), 74 | | u16: (U16, OPTION_U16), ... | 96 | | String: (STRING, OPTION_STRING), 97 | | ]; | |_________- in this macro invocation | = note: the traits must be derived, manual `impl`s are not sufficient = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralEq.html for details = note: this error originates in the macro `to_internal` (in Nightly builds, run with -Z macro-backtrace for more info) dupe of bug 915016, I think *** This bug has been marked as a duplicate of bug 915016 *** (In reply to Sam James from comment #3) > dupe of bug 915016, I think > > *** This bug has been marked as a duplicate of bug 915016 *** actually, I'm not 100% sure -- the links I just found and added to bug 915016 are kind of weird? (In reply to Sam James from comment #4) > (In reply to Sam James from comment #3) > > dupe of bug 915016, I think > > > > *** This bug has been marked as a duplicate of bug 915016 *** > > actually, I'm not 100% sure -- the links I just found and added to bug > 915016 are kind of weird? I think you're right, I switched to rust-bin instead of rust and a different Rust-based packaged that was failing to build succeeded similar to in 915016. I'll try Zellij again once I finish checking a few other packages that were failing. Yeah, `eselect rust set <rust-bin>` fixed this like in 915016 |