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

Bug 815370

Summary: sys-boot/tboot-1.9.11-r1 - ld: cannot use executable file .../.tboot.0 as input to alink
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-r1:20210929-142537.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-09-29 15:43:59 UTC
nm -n /var/tmp/portage/sys-boot/tboot-1.9.11-r1/work/tboot-1.9.11/tboot/.tboot.0 >/var/tmp/portage/sys-boot/tboot-1.9.11-r1/work/tboot-1.9.11/tboot/tboot-syms
ld -melf_i386 -T /var/tmp/portage/sys-boot/tboot-1.9.11-r1/work/tboot-1.9.11/tboot/common/tboot.lds  /var/tmp/portage/sys-boot/tboot-1.9.11-r1/work/tboot-1.9.11/tboot/.tboot.0 -o /var/tmp/portage/sys-boot/tboot-1.9.11-r1/work/tboot-1.9.11/tboot/tboot
ld: cannot use executable file '/var/tmp/portage/sys-boot/tboot-1.9.11-r1/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-r1/work/tboot-1.9.11/tboot/tboot] Error 1
make[2]: Leaving directory '/var/tmp/portage/sys-boot/tboot-1.9.11-r1/work/tboot-1.9.11/tboot'
make[1]: *** [Makefile:53: build-tboot] Error 2
make[1]: Leaving directory '/var/tmp/portage/sys-boot/tboot-1.9.11-r1/work/tboot-1.9.11'

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-j4-20210926-150447

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
clang version 12.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.1
Python 3.9.7
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.55.0 *
The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit 44f0c91a8f74df6b69deff55709ac30d1daa2d5f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Sep 29 13:21:31 2021 +0000

    2021-09-29 13:21:30 UTC

emerge -qpvO sys-boot/tboot
[ebuild  N    ] sys-boot/tboot-1.9.11-r1  USE="-custom-cflags (-selinux)"
Comment 1 Toralf Förster gentoo-dev 2021-09-29 15:44:00 UTC
Created attachment 742005 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-09-29 15:44:02 UTC
Created attachment 742008 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-09-29 15:44:03 UTC
Created attachment 742011 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-09-29 15:44:05 UTC
Created attachment 742014 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-09-29 15:44:06 UTC
Created attachment 742017 [details]
sys-boot:tboot-1.9.11-r1:20210929-142537.log
Comment 6 Toralf Förster gentoo-dev 2021-09-29 15:44:07 UTC
Created attachment 742020 [details]
temp.tar.bz2
Comment 7 Christopher Byrne 2021-10-08 01:26:41 UTC
The current upstream - 1.10.2 does not have this issue
Comment 8 Larry the Git Cow gentoo-dev 2021-12-20 00:55:38 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(+)