Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 943496 - app-misc/zellij-0.41.1-r1: failed to build with error: could not compile `value-bag` (lib) due to 3 previous errors
Summary: app-misc/zellij-0.41.1-r1: failed to build with error: could not compile `val...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-14 04:54 UTC by nurali
Modified: 2024-11-14 05:15 UTC (History)
2 users (show)

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


Attachments
build.log (zellij_build_failure_log.log,430.10 KB, text/x-log)
2024-11-14 04:54 UTC, nurali
Details
Results of emerge -pvq (zellij_emerge-pvq.txt,65 bytes, text/plain)
2024-11-14 04:54 UTC, nurali
Details
Results of emerge --info (zellij_emerge-info.txt,19.53 KB, text/plain)
2024-11-14 04:55 UTC, nurali
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nurali 2024-11-14 04:54:06 UTC
Created attachment 908691 [details]
build.log

The app-misc/zellij-0.41.1-r1: failed to build with error: could not compile `value-bag` (lib) due to 3 previous errors
I tried with dev-lang/rust:1.82 and dev-lang/rust-bin:1.79, and nothing changed.
Just can not be compiled.
Comment 1 nurali 2024-11-14 04:54:43 UTC
Created attachment 908692 [details]
Results of emerge -pvq
Comment 2 nurali 2024-11-14 04:55:11 UTC
Created attachment 908693 [details]
Results of emerge --info
Comment 3 nurali 2024-11-14 04:59:04 UTC
The three previous errors are:
**1.** error: to use a constant of type `TypeId` in a pattern, `TypeId` must be annotated with `#[derive(PartialEq)]`

**2.**error: to use a constant of type `TypeId` in a pattern, `TypeId` must be annotated with `#[derive(PartialEq)]`
  --> /var/tmp/portage/app-misc/zellij-0.41.1-r1/work/cargo_home/gentoo/value-bag-1.0.0-alpha.9/src/internal/cast/primitive.rs:46:33
   |
46 |                                   $option_ident => |v| Some({
   | 
                                  ^^^^^^^^^^^^^
**3.** error: to use a constant of type `TypeId` in a pattern, `TypeId` must be annotated with `#[derive(PartialEq)]`
  --> /var/tmp/portage/app-misc/zellij-0.41.1-r1/work/cargo_home/gentoo/value-bag-1.0.0-alpha.9/src/internal/cast/primitive.rs:55:29
   |
55 |                               STR => |v| Some(Internal::from(unsafe { &**(v as *const &'a Self as *const &'a str) })),
   |                               ^^^