Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 939188 - [guru] gui-apps/ReGreet-0.1.1-r7 fails to compile: error[E0282]: type annotations needed for Box<_>
Summary: [guru] gui-apps/ReGreet-0.1.1-r7 fails to compile: error[E0282]: type annotat...
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gonçalo Negrier Duarte
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-06 15:26 UTC by Agostino Sarubbo
Modified: 2024-09-18 23:46 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,230.85 KB, text/plain)
2024-09-06 15:26 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-09-06 15:26:38 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: gui-apps/ReGreet-0.1.1-r7 fails to compile.
Discovered on: amd64 (internal ref: guru_ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-09-06 15:26:39 UTC
Created attachment 902253 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-09-06 15:26:40 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


error[E0282]: type annotations needed for `Box<_>`
error: could not compile `time` (lib) due to 1 previous error
Comment 3 Lucio Sauer 2024-09-06 17:32:20 UTC
This is a known issue https://github.com/rust-lang/rust/issues/125319.
The time crate needs to be updated to at least time@0.3.36 (cargo update time@0.3.34 --precise 0.3.36).

Alternatively, you could bump the package to gui-apps/ReGreet-0.1.1_p20240607 at commit hash 2c4e7ffb2b82b5c1e7a53b1fdba0e6c5f91dcf25, where the compatibility with the >=rust-1.80.x toolchain was established.
Comment 4 Gonçalo Negrier Duarte 2024-09-10 12:53:52 UTC
(In reply to Lucio Sauer from comment #3)
> This is a known issue https://github.com/rust-lang/rust/issues/125319.
> The time crate needs to be updated to at least time@0.3.36 (cargo update
> time@0.3.34 --precise 0.3.36).

After looking at the Cargo.Lock I forget to bump the rust dependencies when I bump the package version, since 0.1.1 uses time@0.3.17. But thanks for the notice
Comment 5 Larry the Git Cow gentoo-dev 2024-09-18 23:46:36 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b03baf7825e4fb6650010e7a2323ca58deacb917

commit b03baf7825e4fb6650010e7a2323ca58deacb917
Author:     Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
AuthorDate: 2024-09-10 12:56:07 +0000
Commit:     Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
CommitDate: 2024-09-17 11:37:25 +0000

    gui-apps/ReGreet: bump rust crates
    
    Closes: https://bugs.gentoo.org/939188
    Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>

 gui-apps/ReGreet/Manifest                | 270 ++++++++++++--------------
 gui-apps/ReGreet/ReGreet-0.1.1-r7.ebuild | 323 -------------------------------
 gui-apps/ReGreet/ReGreet-0.1.1-r8.ebuild | 307 +++++++++++++++++++++++++++++
 3 files changed, 434 insertions(+), 466 deletions(-)