Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 783198 - 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
Summary: sys-boot/tboot-1.9.11 - ld: cannot use executable file /var/tmp/portage/sys-b...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Jason Zaman
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-04-16 19:10 UTC by Toralf Förster
Modified: 2021-12-20 00:55 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.13 KB, text/plain)
2021-04-16 19:10 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,146.00 KB, text/plain)
2021-04-16 19:10 UTC, Toralf Förster
Details
environment (environment,73.77 KB, text/plain)
2021-04-16 19:10 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,23.94 KB, application/x-bzip)
2021-04-16 19:10 UTC, Toralf Förster
Details
sys-boot:tboot-1.9.11:20210416-183102.log (sys-boot:tboot-1.9.11:20210416-183102.log,44.86 KB, text/plain)
2021-04-16 19:10 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,21.43 KB, application/x-bzip)
2021-04-16 19:10 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 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(+)