Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 783198

Summary: sys-boot/tboot-1.9.11 - ld: cannot use executable file /var/tmp/portage/sys-boot/tboot-1.9.11/work/tboot-1.9.11/tboot/.tboot.0 as
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Jason Zaman <perfinion>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/17607
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
sys-boot:tboot-1.9.11:20210416-183102.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-04-16 19:10:02 UTC
nm -n /var/tmp/portage/sys-boot/tboot-1.9.11/work/tboot-1.9.11/tboot/.tboot.0 >/var/tmp/portage/sys-boot/tboot-1.9.11/work/tboot-1.9.11/tboot/tboot-syms
ld -melf_i386 -T /var/tmp/portage/sys-boot/tboot-1.9.11/work/tboot-1.9.11/tboot/common/tboot.lds  /var/tmp/portage/sys-boot/tboot-1.9.11/work/tboot-1.9.11/tboot/.tboot.0 -o /var/tmp/portage/sys-boot/tboot-1.9.11/work/tboot-1.9.11/tboot/tboot
ld: cannot use executable file '/var/tmp/portage/sys-boot/tboot-1.9.11/work/tboot-1.9.11/tboot/.tboot.0' as input to a link
make[2]: *** [Makefile:40: /var/tmp/portage/sys-boot/tboot-1.9.11/work/tboot-1.9.11/tboot/tboot] Error 1
make[2]: Leaving directory '/var/tmp/portage/sys-boot/tboot-1.9.11/work/tboot-1.9.11/tboot'
make[1]: *** [Makefile:53: build-tboot] Error 2

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_developer-20210410-103050

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.3.0 *
clang version 12.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.0
Python 3.8.9
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.51.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.282_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Fri Apr 16 18:05:36 UTC 2021

emerge -qpvO sys-boot/tboot
[ebuild  N    ] sys-boot/tboot-1.9.11  USE="-custom-cflags (-libressl) (-selinux)"
Comment 1 Toralf Förster gentoo-dev 2021-04-16 19:10:03 UTC
Created attachment 700203 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-04-16 19:10:05 UTC
Created attachment 700206 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-04-16 19:10:06 UTC
Created attachment 700209 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-04-16 19:10:07 UTC
Created attachment 700212 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-04-16 19:10:09 UTC
Created attachment 700215 [details]
sys-boot:tboot-1.9.11:20210416-183102.log
Comment 6 Toralf Förster gentoo-dev 2021-04-16 19:10:10 UTC
Created attachment 700218 [details]
temp.tar.bz2
Comment 7 Christopher Byrne 2021-08-16 02:30:04 UTC
The problem seems to be it can't cope with binutils-2.36.1. binutils-2.35.2 works. However, the newest upstream revision works with binutils-2.36.1.
Comment 8 Larry the Git Cow gentoo-dev 2021-12-20 00:55:40 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=302e8ab6fca4bb824c4b9b657fa454ad163ff10e

commit 302e8ab6fca4bb824c4b9b657fa454ad163ff10e
Author:     Christopher Byrne <salah.coronya@gmail.com>
AuthorDate: 2021-12-19 22:44:08 +0000
Commit:     John Helmert III <ajak@gentoo.org>
CommitDate: 2021-12-20 00:54:14 +0000

    sys-boot/tboot: Bump to 1.10.3
    
    Closes: https://bugs.gentoo.org/709990
    Closes: https://bugs.gentoo.org/725714
    Closes: https://bugs.gentoo.org/743439
    Closes: https://bugs.gentoo.org/783198
    Closes: https://bugs.gentoo.org/815370
    Closes: https://github.com/gentoo/gentoo/pull/15053
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Christopher Byrne <salah.coronya@gmail.com>
    Signed-off-by: John Helmert III <ajak@gentoo.org>

 sys-boot/tboot/Manifest                            |  1 +
 .../tboot/files/tboot-1.10.3-disable-Werror.patch  | 12 ++++
 .../tboot/files/tboot-1.10.3-disable-strip.patch   | 14 +++++
 sys-boot/tboot/tboot-1.10.3.ebuild                 | 65 ++++++++++++++++++++++
 4 files changed, 92 insertions(+)