Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 938192 - app-portage/emlop-0.7.0 - [ncurses-6.5] [gcc-15] error[E0282]: type annotations needed for Box<_>
Summary: app-portage/emlop-0.7.0 - [ncurses-6.5] [gcc-15] error[E0282]: type annotatio...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Vincent de Phily
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: rust-1.80
  Show dependency tree
 
Reported: 2024-08-19 17:38 UTC by Toralf Förster
Modified: 2024-08-30 14:54 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.30 KB, text/plain)
2024-08-19 17:38 UTC, Toralf Förster
Details
app-portage:emlop-0.7.0:20240819-013914.log (app-portage:emlop-0.7.0:20240819-013914.log,97.78 KB, text/plain)
2024-08-19 17:38 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,224.31 KB, text/plain)
2024-08-19 17:38 UTC, Toralf Förster
Details
environment (environment,112.14 KB, text/plain)
2024-08-19 17:39 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.35 KB, application/x-xz)
2024-08-19 17:39 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,51.54 KB, application/x-xz)
2024-08-19 17:39 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,418.90 KB, application/x-xz)
2024-08-19 17:39 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,58.42 KB, application/x-xz)
2024-08-19 17:39 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,23.71 KB, application/x-xz)
2024-08-19 17:39 UTC, Toralf Förster
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-19 17:38:55 UTC
too long lines were shrinked:

   Compiling toml_edit v0.22.6
     Running `rustc --crate-name toml_edit --edition=2021 /var/tmp/portage/app-portage/emlop-0.7.0/work/cargo_home/gentoo/toml_edit-0.22.6/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 panic=a
   Compiling time v0.3.34
     Running `rustc --crate-name time --edition=2021 /var/tmp/portage/app-portage/emlop-0.7.0/work/cargo_home/gentoo/time-0.3.34/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 panic=abort -C li
   Compiling regex v1.10.3
     Running `rustc --crate-name regex --edition=2021 /var/tmp/portage/app-portage/emlop-0.7.0/work/cargo_home/gentoo/regex-1.10.3/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 panic=abort -C 
error[E0282]: type annotations needed for `Box<_>`
  --> /var/tmp/portage/app-portage/emlop-0.7.0/work/cargo_home/gentoo/time-0.3.34/src/format_description/parse/mod.rs:83:9
   |

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_hardened_systemd-20240816-062001

  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
    Requested by sam
  >=sys-libs/ncurses-6.5

  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 Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.80.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.12_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.422_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
  [1]   php8.2
  [2]   php8.3 *
go version go1.23.0 linux/amd64

  HEAD of ::gentoo
commit b93d0f3b037c4102163e214a80cb9d28b91b05f6
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Aug 19 00:19:00 2024 +0000

    2024-08-19 00:18:59 UTC

emerge -qpvO =app-portage/emlop-0.7.0
[ebuild  N    ] app-portage/emlop-0.7.0  USE="-debug"
Comment 1 Toralf Förster gentoo-dev 2024-08-19 17:38:56 UTC
Created attachment 900621 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-08-19 17:38:57 UTC
Created attachment 900622 [details]
app-portage:emlop-0.7.0:20240819-013914.log
Comment 3 Toralf Förster gentoo-dev 2024-08-19 17:38:58 UTC
Created attachment 900623 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-08-19 17:39:00 UTC
Created attachment 900624 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-08-19 17:39:00 UTC
Created attachment 900625 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-08-19 17:39:01 UTC
Created attachment 900626 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-08-19 17:39:03 UTC
Created attachment 900627 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-08-19 17:39:04 UTC
Created attachment 900628 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-08-19 17:39:04 UTC
Created attachment 900629 [details]
temp.tar.xz
Comment 10 Vincent de Phily 2024-08-22 19:15:28 UTC
Thanks for the report. This can be fixed by updating these dependencies in the ebuild:

   time v0.3.30 -> v0.3.36
   time-macros v0.2.15 -> v0.2.18

But I'll make a 0.7.1 release with the fix too.
Comment 11 Vincent de Phily 2024-08-24 11:10:53 UTC
https://github.com/gentoo/gentoo/pull/38278
Comment 12 Larry the Git Cow gentoo-dev 2024-08-25 19:01:22 UTC
The bug has been referenced in the following commit(s):

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

commit 51fa6ed42e92447e236d12fcf2482ea5870bcf49
Author:     Vincent de Phily <moltonel@gmail.com>
AuthorDate: 2024-08-24 10:49:28 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-08-25 19:00:36 +0000

    app-portage/emlop: Fix build with rust 1.80
    
    Bug: https://bugs.gentoo.org/938192
    Signed-off-by: Vincent de Phily <moltonel@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/38278
    Signed-off-by: Sam James <sam@gentoo.org>

 app-portage/emlop/Manifest                         |  4 ++--
 app-portage/emlop/emlop-0.7.0.ebuild               |  9 +++++--
 app-portage/emlop/files/emlop-0.7.0-time_dep.patch | 28 ++++++++++++++++++++++
 3 files changed, 37 insertions(+), 4 deletions(-)