Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 926668 - dev-util/elfshaker-0.9.0_p20230918 - error[E0310]: the parameter type T may not live long enough
Summary: dev-util/elfshaker-0.9.0_p20230918 - error[E0310]: the parameter type T may n...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sam James
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-10 09:22 UTC by Toralf Förster
Modified: 2024-05-05 12:59 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,20.38 KB, text/plain)
2024-03-10 09:22 UTC, Toralf Förster
Details
dev-util:elfshaker-0.9.0_p20230918:20240309-221429.log (dev-util:elfshaker-0.9.0_p20230918:20240309-221429.log,74.91 KB, text/plain)
2024-03-10 09:22 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,75.56 KB, application/x-xz)
2024-03-10 09:22 UTC, Toralf Förster
Details
environment (environment,108.72 KB, text/plain)
2024-03-10 09:22 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.10 KB, application/x-xz)
2024-03-10 09:22 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,21.79 KB, application/x-xz)
2024-03-10 09:22 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,77.74 KB, application/x-xz)
2024-03-10 09:22 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,28.48 KB, application/x-xz)
2024-03-10 09:22 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-03-10 09:22:14 UTC
too long lines were shrinked:

   Compiling strsim v0.8.0
     Running `rustc --crate-name strsim /var/tmp/portage/dev-util/elfshaker-0.9.0_p20230918/work/cargo_home/gentoo/strsim-0.8.0/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=no -
   Compiling vec_map v0.8.2
     Running `rustc --crate-name vec_map /var/tmp/portage/dev-util/elfshaker-0.9.0_p20230918/work/cargo_home/gentoo/vec_map-0.8.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 embed-bitcode=no
   Compiling rustc-serialize v0.3.24
     Running `rustc --crate-name rustc_serialize /var/tmp/portage/dev-util/elfshaker-0.9.0_p20230918/work/cargo_home/gentoo/rustc-serialize-0.3.24/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
error[E0310]: the parameter type `T` may not live long enough
    --> /var/tmp/portage/dev-util/elfshaker-0.9.0_p20230918/work/cargo_home/gentoo/rustc-serialize-0.3.24/src/serialize.rs:1155:5
     |

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_split_usr_no_multilib_hardened-20240302-194750

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 18.1.0
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.0
Python 3.11.8
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.76.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-bin-8]
2)	Eclipse Temurin JDK 11.0.22_p7 [openjdk-bin-11]
3)	Eclipse Temurin JDK 17.0.10_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.2_p13 [openjdk-bin-21]
5)	Eclipse Temurin JDK 8.402_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8 
  [2]   openjdk-bin-8 
  [3]   openjdk-bin-11 
  [4]   openjdk-bin-17 
  [5]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.22.1 linux/amd64

  HEAD of ::gentoo
commit 5f9cd538b4daca3e34b50f14857f6013e6ecda81
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Mar 9 21:34:21 2024 +0000

    2024-03-09 21:34:21 UTC

emerge -qpvO dev-util/elfshaker
[ebuild  N    ] dev-util/elfshaker-0.9.0_p20230918  USE="-debug"
Comment 1 Toralf Förster gentoo-dev 2024-03-10 09:22:15 UTC
Created attachment 887241 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-03-10 09:22:16 UTC
Created attachment 887242 [details]
dev-util:elfshaker-0.9.0_p20230918:20240309-221429.log
Comment 3 Toralf Förster gentoo-dev 2024-03-10 09:22:17 UTC
Created attachment 887243 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2024-03-10 09:22:19 UTC
Created attachment 887244 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-03-10 09:22:19 UTC
Created attachment 887245 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-03-10 09:22:20 UTC
Created attachment 887246 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-03-10 09:22:22 UTC
Created attachment 887247 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-03-10 09:22:23 UTC
Created attachment 887248 [details]
temp.tar.xz
Comment 9 Larry the Git Cow gentoo-dev 2024-05-05 12:54:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7245cd2a7fd28704c08a27e6a11e97affd5c324c

commit 7245cd2a7fd28704c08a27e6a11e97affd5c324c
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-05-05 12:48:00 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-05-05 12:53:43 +0000

    dev-util/elfshaker: fix build w/ rust-1.76.0 (bump rustc-serialize crate)
    
    Thanks to Ionen for the hint. It's just an annotation so looks like no
    need to revbump.
    
    Closes: https://bugs.gentoo.org/926668
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-util/elfshaker/Manifest                              |  2 +-
 dev-util/elfshaker/elfshaker-0.9.0_p20230918.ebuild      |  8 ++++++--
 ...lfshaker-0.9.0_p20230918-update-rustc-serialize.patch | 16 ++++++++++++++++
 3 files changed, 23 insertions(+), 3 deletions(-)