Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937988 - dev-util/git-delta-0.17.0 - [gcc-15] error[E0282]: type annotations needed for Box<_>
Summary: dev-util/git-delta-0.17.0 - [gcc-15] error[E0282]: type annotations needed fo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sam James
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: rust-1.80
  Show dependency tree
 
Reported: 2024-08-15 18:17 UTC by Toralf Förster
Modified: 2024-09-01 03:06 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.88 KB, text/plain)
2024-08-15 18:17 UTC, Toralf Förster
Details
dev-util:git-delta-0.16.5:20240815-164337.log (dev-util:git-delta-0.16.5:20240815-164337.log,93.35 KB, text/plain)
2024-08-15 18:17 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,39.63 KB, text/plain)
2024-08-15 18:17 UTC, Toralf Förster
Details
environment (environment,128.82 KB, text/plain)
2024-08-15 18:17 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-08-15 18:17 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,32.11 KB, application/x-xz)
2024-08-15 18:17 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,3.55 KB, application/x-xz)
2024-08-15 18:17 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,103.90 KB, text/plain)
2024-08-15 18:17 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,24.94 KB, application/x-xz)
2024-08-15 18:17 UTC, Toralf Förster
Details
A working Cargo.lock (Cargo.lock,42.75 KB, application/octet-stream)
2024-08-30 10:26 UTC, Micha Glave
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-08-15 18:17:28 UTC
too long lines were shrinked:

   Compiling miniz_oxide v0.6.2
     Running `rustc --crate-name miniz_oxide --edition=2018 /var/tmp/portage/dev-util/git-delta-0.16.5/work/cargo_home/gentoo/miniz_oxide-0.6.2/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 em
   Compiling yaml-rust v0.4.5
     Running `rustc --crate-name yaml_rust --edition=2018 /var/tmp/portage/dev-util/git-delta-0.16.5/work/cargo_home/gentoo/yaml-rust-0.4.5/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 embed-
   Compiling time v0.3.20
     Running `rustc --crate-name time --edition=2021 /var/tmp/portage/dev-util/git-delta-0.16.5/work/cargo_home/gentoo/time-0.3.20/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 embed-bitcode=n
error[E0282]: type annotations needed for `Box<_>`
  --> /var/tmp/portage/dev-util/git-delta-0.16.5/work/cargo_home/gentoo/time-0.3.20/src/format_description/parse/mod.rs:83:9
   |

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_systemd-20240814-215502

  UNMASKED:
    Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense.
  <sys-devel/gcc-15.0.9999:15

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang/llvm (if any):
clang version 18.1.8
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.8
Python 3.12.5
Available Rust versions:
  [1]   rust-bin-1.80.1 *
The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.23.0 linux/amd64

  HEAD of ::gentoo
commit dd6c0cbb821be25d3ab8f23fc319e677ab100493
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Aug 15 15:18:58 2024 +0000

    2024-08-15 15:18:58 UTC

emerge -qpvO =dev-util/git-delta-0.16.5
[ebuild  N    ] dev-util/git-delta-0.16.5  USE="-debug"
Comment 1 Toralf Förster gentoo-dev 2024-08-15 18:17:29 UTC
Created attachment 900223 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-08-15 18:17:30 UTC
Created attachment 900224 [details]
dev-util:git-delta-0.16.5:20240815-164337.log
Comment 3 Toralf Förster gentoo-dev 2024-08-15 18:17:31 UTC
Created attachment 900225 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-08-15 18:17:33 UTC
Created attachment 900226 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-08-15 18:17:34 UTC
Created attachment 900227 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-08-15 18:17:35 UTC
Created attachment 900228 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-08-15 18:17:35 UTC
Created attachment 900229 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-08-15 18:17:36 UTC
Created attachment 900230 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2024-08-15 18:17:37 UTC
Created attachment 900231 [details]
temp.tar.xz
Comment 10 Agostino Sarubbo gentoo-dev 2024-08-17 19:00:50 UTC
gcc15_tinderbox has reproduced this issue with version 0.17.0 - Updating summary.
Comment 11 Micha Glave 2024-08-30 10:26:36 UTC
Created attachment 901661 [details]
A working Cargo.lock

This problem is caused and fixed by crate 'time-rs' 

https://github.com/time-rs/time/issues/693 

Could be fixed by regenerating the `Cargo.lock`-File (via `cargo update`) in git-delta.

Is also fixed in current release 0.18.1
Comment 12 Larry the Git Cow gentoo-dev 2024-09-01 03:06:35 UTC
The bug has been closed via the following commit(s):

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

commit 16fa78999cddab9096c7d61945ed7c459c500735
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-09-01 03:05:33 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-09-01 03:05:33 +0000

    dev-util/git-delta: add 0.18.1
    
    Move to using bundled libgit2. I don't like it either but keeping
    the system one downgraded is painful.
    
    Closes: https://bugs.gentoo.org/828561
    Closes: https://bugs.gentoo.org/864064
    Closes: https://bugs.gentoo.org/937988
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-util/git-delta/Manifest                |  34 ++++
 dev-util/git-delta/git-delta-0.18.1.ebuild | 268 +++++++++++++++++++++++++++++
 2 files changed, 302 insertions(+)