Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 742272 - app-emulation/xen-4.14.0-r1 : ld: fatal error: unable to parse script file xen.lds
Summary: app-emulation/xen-4.14.0-r1 : ld: fatal error: unable to parse script file xe...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Tomáš Mózes
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-09-13 07:19 UTC by Toralf Förster
Modified: 2022-07-09 10:38 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.19 KB, text/plain)
2020-09-13 07:19 UTC, Toralf Förster
Details
app-emulation:xen-4.14.0-r1:20200913-060520.log.bz2 (app-emulation:xen-4.14.0-r1:20200913-060520.log.bz2,35.59 KB, application/x-bzip)
2020-09-13 07:19 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,146.79 KB, text/plain)
2020-09-13 07:19 UTC, Toralf Förster
Details
environment (environment,110.05 KB, text/plain)
2020-09-13 07:19 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,24.42 KB, application/x-bzip)
2020-09-13 07:19 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,62.49 KB, application/x-bzip)
2020-09-13 07:19 UTC, Toralf Förster
Details
Patch for xen-4.14.0-r7.ebuild (xen-4.14.0-r7.ebuild.patch,505 bytes, patch)
2021-01-30 17:35 UTC, Jiří Moravec
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-09-13 07:19:33 UTC
    /var/tmp/portage/app-emulation/xen-4.14.0-r1/work/xen-4.14.0/xen/common/symbols-dummy.o -o /var/tmp/portage/app-emulation/xen-4.14.0-r1/work/xen-4.14.0/xen/.xen-syms.0
ld: error: xen.lds:59:47: syntax error, unexpected '-', expecting ')'
ld: fatal error: unable to parse script file xen.lds
make[2]: *** [Makefile:141: /var/tmp/portage/app-emulation/xen-4.14.0-r1/work/xen-4.14.0/xen/xen-syms] Error 1
make[2]: Leaving directory '/var/tmp/portage/app-emulation/xen-4.14.0-r1/work/xen-4.14.0/xen/arch/x86'
make[1]: *** [Makefile:370: /var/tmp/portage/app-emulation/xen-4.14.0-r1/work/xen-4.14.0/xen/xen] Error 2

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-abi32+64-20200908-071541

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-10.2.0 *
clang version 10.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.1
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python2.7 (fallback)
  [5]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.46.0 *
The following VMs are available for generation-2:
*)	IcedTea JDK 3.16.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sun Sep 13 05:05:33 AM UTC 2020

emerge -qpvO app-emulation/xen
[ebuild  N    ] app-emulation/xen-4.14.0-r1  USE="efi flask -debug"
Comment 1 Toralf Förster gentoo-dev 2020-09-13 07:19:34 UTC
this seems to be either still an issue or a similarity to the one reported in bug 700374
Comment 2 Toralf Förster gentoo-dev 2020-09-13 07:19:36 UTC
Created attachment 659985 [details]
emerge-info.txt
Comment 3 Toralf Förster gentoo-dev 2020-09-13 07:19:37 UTC
Created attachment 659988 [details]
app-emulation:xen-4.14.0-r1:20200913-060520.log.bz2
Comment 4 Toralf Förster gentoo-dev 2020-09-13 07:19:39 UTC
Created attachment 659991 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2020-09-13 07:19:41 UTC
Created attachment 659994 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2020-09-13 07:19:42 UTC
Created attachment 659997 [details]
etc.portage.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-09-13 07:19:44 UTC
Created attachment 660000 [details]
temp.tbz2
Comment 8 Jiří Moravec 2021-01-30 17:35:04 UTC
Created attachment 685209 [details, diff]
Patch for xen-4.14.0-r7.ebuild

Without this change, ebuild install phase failed with ld.gold.
Comment 9 Larry the Git Cow gentoo-dev 2021-02-21 16:08:07 UTC
The bug has been referenced in the following commit(s):

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

commit e79e7791eb59e8afeb86e1ef75d5b955492c2e06
Author:     Tomáš Mózes <hydrapolic@gmail.com>
AuthorDate: 2021-02-19 13:33:20 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2021-02-21 16:07:56 +0000

    app-emulation/xen: add security patches
    
    Fixes XSA-364.
    
    Bug: https://bugs.gentoo.org/742272
    Bug: https://bugs.gentoo.org/771117
    Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 app-emulation/xen/Manifest             |   2 +
 app-emulation/xen/xen-4.13.2-r5.ebuild | 165 +++++++++++++++++++++++++++++++++
 app-emulation/xen/xen-4.14.1-r1.ebuild | 165 +++++++++++++++++++++++++++++++++
 3 files changed, 332 insertions(+)