Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 646200 - app-emulation/xen-4.9.1-r1 USE=efi - efi/buildid.o: file not recognized: File format is ambiguous
Summary: app-emulation/xen-4.9.1-r1 USE=efi - efi/buildid.o: file not recognized: File...
Status: RESOLVED DUPLICATE of bug 602052
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Xen Devs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-31 09:42 UTC by Krzysztof Tomczyk
Modified: 2018-01-31 18:18 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,541.53 KB, text/plain)
2018-01-31 10:45 UTC, Krzysztof Tomczyk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Krzysztof Tomczyk 2018-01-31 09:42:40 UTC
Xen fails to build here is tail end of compilation:

make[3]: Leaving directory '/var/tmp/portage/app-emulation/xen-4.9.1-r1/work/xen-4.9.1/xen/arch/x86'
x86_64-pc-linux-gnu-ld  -T xen.lds -N prelink.o --build-id=sha1 \
    /var/tmp/portage/app-emulation/xen-4.9.1-r1/work/xen-4.9.1/xen/.xen-syms.0.o -o /var/tmp/portage/app-emulation/xen-4.9.1-r1/work/xen-4.9.1/xen/.xen-syms.1
nm -pa --format=sysv /var/tmp/portage/app-emulation/xen-4.9.1-r1/work/xen-4.9.1/xen/.xen-syms.1 \
        | /var/tmp/portage/app-emulation/xen-4.9.1-r1/work/xen-4.9.1/xen/tools/symbols  --sysv --sort  \
        >/var/tmp/portage/app-emulation/xen-4.9.1-r1/work/xen-4.9.1/xen/.xen-syms.1.S
make -f /var/tmp/portage/app-emulation/xen-4.9.1-r1/work/xen-4.9.1/xen/Rules.mk /var/tmp/portage/app-emulation/xen-4.9.1-r1/work/xen-4.9.1/xen/.xen-syms.1.o
make[3]: Entering directory '/var/tmp/portage/app-emulation/xen-4.9.1-r1/work/xen-4.9.1/xen/arch/x86'
x86_64-pc-linux-gnu-gcc -D__ASSEMBLY__ -m64 -DBUILD_ID -fno-strict-aliasing -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs -O2 -fomit-frame-pointer -nostdinc -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -include /var/tmp/portage/app-emulation/xen-4.9.1-r1/work/xen-4.9.1/xen/include/xen/config.h '-D__OBJECT_FILE__="/var/tmp/portage/app-emulation/xen-4.9.1-r1/work/xen-4.9.1/xen/.xen-syms.1.o"' -Wa,--strip-local-absolute -MMD -MF /var/tmp/portage/app-emulation/xen-4.9.1-r1/work/xen-4.9.1/xen/..xen-syms.1.o.d -I/var/tmp/portage/app-emulation/xen-4.9.1-r1/work/xen-4.9.1/xen/include -I/var/tmp/portage/app-emulation/xen-4.9.1-r1/work/xen-4.9.1/xen/include/asm-x86/mach-generic -I/var/tmp/portage/app-emulation/xen-4.9.1-r1/work/xen-4.9.1/xen/include/asm-x86/mach-default -DXEN_IMG_OFFSET=0x200000 '-D__OBJECT_LABEL__=arch$x86$$var$tmp$portage$app_emulation$xen_4.9.1_r1$work$xen_4.9.1$xen$.xen_syms.1.o' -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_GAS_VMX -DHAVE_GAS_SSE4_2 -DHAVE_GAS_EPT -DHAVE_GAS_RDRAND -DHAVE_GAS_FSGSBASE -DHAVE_GAS_RDSEED -U__OBJECT_LABEL__ -DHAVE_GAS_QUOTED_SYM '-D__OBJECT_LABEL__=arch/x86//var/tmp/portage/app-emulation/xen-4.9.1-r1/work/xen-4.9.1/xen/.xen-syms.1.o' -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -DBUILD_ID_EFI -c /var/tmp/portage/app-emulation/xen-4.9.1-r1/work/xen-4.9.1/xen/.xen-syms.1.S -o /var/tmp/portage/app-emulation/xen-4.9.1-r1/work/xen-4.9.1/xen/.xen-syms.1.o
make[3]: Leaving directory '/var/tmp/portage/app-emulation/xen-4.9.1-r1/work/xen-4.9.1/xen/arch/x86'
x86_64-pc-linux-gnu-ld  -T xen.lds -N prelink.o --build-id=sha1 \
    /var/tmp/portage/app-emulation/xen-4.9.1-r1/work/xen-4.9.1/xen/.xen-syms.1.o -o /var/tmp/portage/app-emulation/xen-4.9.1-r1/work/xen-4.9.1/xen/xen-syms
nm -pa --format=sysv /var/tmp/portage/app-emulation/xen-4.9.1-r1/work/xen-4.9.1/xen/xen-syms \
        | /var/tmp/portage/app-emulation/xen-4.9.1-r1/work/xen-4.9.1/xen/tools/symbols --xensyms --sysv --sort \
        >/var/tmp/portage/app-emulation/xen-4.9.1-r1/work/xen-4.9.1/xen/xen-syms.map
rm -f /var/tmp/portage/app-emulation/xen-4.9.1-r1/work/xen-4.9.1/xen/.xen-syms.[0-9]*
make[2]: Leaving directory '/var/tmp/portage/app-emulation/xen-4.9.1-r1/work/xen-4.9.1/xen/arch/x86'
make[1]: *** [Makefile:149: /var/tmp/portage/app-emulation/xen-4.9.1-r1/work/xen-4.9.1/xen/xen] Error 2
make[1]: Leaving directory '/var/tmp/portage/app-emulation/xen-4.9.1-r1/work/xen-4.9.1/xen'
make: *** [Makefile:45: build] Error 2
make: Leaving directory '/var/tmp/portage/app-emulation/xen-4.9.1-r1/work/xen-4.9.1/xen'
 * ERROR: app-emulation/xen-4.9.1-r1::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=app-emulation/xen-4.9.1-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/xen-4.9.1-r1::gentoo'`.
 * The complete build log is located at '/var/log/portage/app-emulation:xen-4.9.1-r1:20180123-180805.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-emulation/xen-4.9.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/xen-4.9.1-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/xen-4.9.1-r1/work/xen-4.9.1'
 * S: '/var/tmp/portage/app-emulation/xen-4.9.1-r1/work/xen-4.9.1'
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2018-01-31 09:59:39 UTC
Please attach the entire build log to this bug report.
Please post your `emerge --info` output in a comment.
Comment 2 Krzysztof Tomczyk 2018-01-31 10:45:36 UTC
Created attachment 517228 [details]
build.log
Comment 3 Krzysztof Tomczyk 2018-01-31 10:46:38 UTC
emerge --info output:

Portage 2.3.19 (python 2.7.14-final-0, default/linux/amd64/17.0, gcc-6.4.0, glibc-2.25-r9, 4.9.6-gentoo-r1 x86_64)
=================================================================
System uname: Linux-4.9.6-gentoo-r1-x86_64-Intel-R-_Xeon-R-_CPU_L5640_@_2.27GHz-with-gentoo-2.4.1
KiB Mem:     1975016 total,    173820 free
KiB Swap:    6291452 total,   6291452 free
Timestamp of repository gentoo: Wed, 31 Jan 2018 00:30:01 +0000
Head commit of repository gentoo: af1d571a6cbacf7c0628c60318a5302dfb687f8e
sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.5-r1::gentoo, 3.5.4-r1::gentoo, 3.6.3-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo, 6.4.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r9::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://portage.power.com.pl/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: --bwlimit=1500

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 Oracle-BCLA-JavaSE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages/czarny"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--bwlimit=1500"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl amd64 berkdb bzip2 cli crypt cxx dri fortran gdbm iconv mailwrapper modules multilib ncurses nfs nls nptl openmp pam pcre readline seccomp ssl syslog tools unicode xattr xen zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 4 Tomáš Mózes 2018-01-31 18:18:48 UTC

*** This bug has been marked as a duplicate of bug 602052 ***