Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 938017 - dev-util/rustup-1.27.0 - [icu-75.1] error[E0282]: type annotations needed for Box<_>
Summary: dev-util/rustup-1.27.0 - [icu-75.1] error[E0282]: type annotations needed for...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Rust Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: rust-1.80
  Show dependency tree
 
Reported: 2024-08-16 15:36 UTC by Toralf Förster
Modified: 2024-09-13 16:51 UTC (History)
4 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,21.95 KB, text/plain)
2024-08-16 15:36 UTC, Toralf Förster
Details
dev-util:rustup-1.27.0:20240816-070336.log (dev-util:rustup-1.27.0:20240816-070336.log,202.03 KB, text/plain)
2024-08-16 15:36 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,84.89 KB, application/x-xz)
2024-08-16 15:36 UTC, Toralf Förster
Details
environment (environment,101.60 KB, text/plain)
2024-08-16 15:36 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.14 KB, application/x-xz)
2024-08-16 15:36 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,51.79 KB, application/x-xz)
2024-08-16 15:36 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,4.39 KB, application/x-xz)
2024-08-16 15:36 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,88.50 KB, application/x-xz)
2024-08-16 15:36 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,23.65 KB, application/x-xz)
2024-08-16 15:36 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-16 15:36:43 UTC
too long lines were shrinked:

   Compiling clap_builder v4.5.2
     Running `rustc --crate-name clap_builder --edition=2021 /var/tmp/portage/dev-util/rustup-1.27.0/work/cargo_home/gentoo/clap_builder-4.5.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 lin
     Running `/var/tmp/portage/dev-util/rustup-1.27.0/work/rustup-1.27.0/target/release/build/curl-7723ae008e4c697b/build-script-build`
     Running `/var/tmp/portage/dev-util/rustup-1.27.0/work/rustup-1.27.0/target/release/build/serde_json-5cf07ea3ca7a56b5/build-script-build`
   Compiling time v0.3.34
     Running `rustc --crate-name time --edition=2021 /var/tmp/portage/dev-util/rustup-1.27.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 embed-bitcode=no --warn=variant-s
error[E0282]: type annotations needed for `Box<_>`
  --> /var/tmp/portage/dev-util/rustup-1.27.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_no_multilib_hardened-20240810-085003

  UNMASKED:
    Requested by sam
  ~dev-libs/icu-75.1
  ~dev-libs/icu-layoutex-75.1

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
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:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.80.1
  [2]   rust-1.80.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.24_p8 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.12_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.422_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

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 062757292ca8d9346aef3dad39a3269fffd5fbba
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Aug 16 06:34:07 2024 +0000

    2024-08-16 06:34:07 UTC

emerge -qpvO =dev-util/rustup-1.27.0
[ebuild  N    ] dev-util/rustup-1.27.0  USE="-debug"
Comment 1 Toralf Förster gentoo-dev 2024-08-16 15:36:44 UTC
Created attachment 900279 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-08-16 15:36:45 UTC
Created attachment 900280 [details]
dev-util:rustup-1.27.0:20240816-070336.log
Comment 3 Toralf Förster gentoo-dev 2024-08-16 15:36:46 UTC
Created attachment 900281 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2024-08-16 15:36:48 UTC
Created attachment 900282 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-08-16 15:36:48 UTC
Created attachment 900283 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-08-16 15:36:49 UTC
Created attachment 900284 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-08-16 15:36:50 UTC
Created attachment 900285 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-08-16 15:36:51 UTC
Created attachment 900286 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-08-16 15:36:52 UTC
Created attachment 900287 [details]
temp.tar.xz
Comment 10 Holger Hoffstätte 2024-08-18 10:19:54 UTC
This is fixed in 1.27.1, which uses an updated time dependency.
Comment 11 Vincent de Phily 2024-09-13 16:27:07 UTC
I wanted to do the revbump and send a PR, but the 1.27.0 ebuild points to a tarball of all crates instead of individual crates, like the 1.25.2 ebuild and most rust ebuilds:

    CRATES="                                                                                                                                                                                                                                    
    "
    SRC_URI="https://github.com/rust-lang/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz                                                                                                                                                         
        ${CARGO_CRATE_URIS}                                                                                                                                                                                                                 
        https://dev.gentoo.org/~arthurzam/distfiles/dev-util/${PN}/${P}-crates.tar.xz                                                                                                                                                       
    "

Should we keep it that way and wait for @arthurzam (or some other dev) to create an updated tarball, or should I send my PR with explicit crate versions ?
Comment 12 Larry the Git Cow gentoo-dev 2024-09-13 16:51:52 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=980349fd26a8d933f3f8de77ab2863fde66c0828

commit 980349fd26a8d933f3f8de77ab2863fde66c0828
Author:     Arthur Zamarin <arthurzam@gentoo.org>
AuthorDate: 2024-09-13 16:51:12 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2024-09-13 16:51:27 +0000

    dev-util/rustup: add 1.27.1
    
    Closes: https://bugs.gentoo.org/938017
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 dev-util/rustup/Manifest             |  2 +
 dev-util/rustup/rustup-1.27.1.ebuild | 95 ++++++++++++++++++++++++++++++++++++
 2 files changed, 97 insertions(+)