Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 642076 - app-emulation/xen-tools-4.8.2-r3 fails to build: tools/firmware/ovmf-dir-remote/Build/OvmfX64/RELEASE_GCC44/X64/OvmfPkg/Sec/SecMain/DEBUG/SecMain.dll unsupported ELF EM_X86_64 relocation 0x1f
Summary: app-emulation/xen-tools-4.8.2-r3 fails to build: tools/firmware/ovmf-dir-remo...
Status: RESOLVED FIXED
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: 2017-12-22 22:28 UTC by water.devil
Modified: 2018-01-15 04:45 UTC (History)
1 user (show)

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


Attachments
Emerge log (app-emulation:xen-tools-4.8.2-r3:20171222-203252.log.bz2,28.75 KB, text/plain)
2017-12-22 22:37 UTC, water.devil
Details
qlist -vURI (qlist-vURI,106.02 KB, text/plain)
2017-12-22 22:39 UTC, water.devil
Details
emerge --info (emerge--info,6.57 KB, text/plain)
2017-12-22 22:41 UTC, water.devil
Details
emerge history genlop -l (genlop-l,47.08 KB, text/plain)
2017-12-22 22:49 UTC, water.devil
Details

Note You need to log in before you can comment on or make changes to this bug.
Description water.devil 2017-12-22 22:28:19 UTC
emerge error since change to profile 17 at 9. Dec. 2017
Did emerge -e. but error.

System was set up with systemd, switched to openrc and later back to systemd again.

uname -a
Linux albiggen 4.12.12-gentoo #3 SMP Mon Nov 27 21:32:04 CET 2017 x86_64 Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz GenuineIntel GNU/Linux
Comment 1 water.devil 2017-12-22 22:37:32 UTC
Created attachment 511506 [details]
Emerge log

Emerge log
Comment 2 water.devil 2017-12-22 22:39:58 UTC
Created attachment 511508 [details]
qlist -vURI
Comment 3 water.devil 2017-12-22 22:41:16 UTC
Created attachment 511510 [details]
emerge --info
Comment 4 water.devil 2017-12-22 22:49:07 UTC
Created attachment 511512 [details]
emerge history genlop -l
Comment 5 water.devil 2017-12-22 22:51:50 UTC
See also similar occurrence https://lists.xenproject.org/archives/html/xen-devel/2016-12/msg00815.html
Comment 6 Tomáš Mózes 2017-12-23 00:51:05 UTC
I don't see the EFI problem you mentioned, the build log fails with:

/var/tmp/portage/app-emulation/xen-tools-4.8.2-r3/work/xen-4.8.2/tools/firmware/ovmf-dir-remote/Build/OvmfX64/RELEASE_GCC44/X64/OvmfPkg/Sec/SecMain/DEBUG/SecMain.dll unsupported ELF EM_X86_64 relocation 0x1d.
GenFw: ERROR 3000: Invalid
...
build.py...
 : error 7000: Failed to execute command
        make tbuild [/var/tmp/portage/app-emulation/xen-tools-4.8.2-r3/work/xen-4.8.2/tools/firmware/ovmf-dir-remote/Build/OvmfX64/RELEASE_GCC44/X64/MdeModulePkg/Core/Pei/PeiMain]


build.py...
 : error F002: Failed to build module
        /var/tmp/portage/app-emulation/xen-tools-4.8.2-r3/work/xen-4.8.2/tools/firmware/ovmf-dir-remote/OvmfPkg/Sec/SecMain.inf [X64, GCC44, RELEASE]

- Failed -
Build end time: 21:33:46, Dec.22 2017
Build total time: 00:00:16

make[5]: *** [Makefile:19: build] Error 1

You can try to emerge without ovmf if you don't need it or try to update manually as noted in https://bugs.gentoo.org/640162. The EFI patch can be found in https://bugs.gentoo.org/602052 (but from the build log it doesn't) seem like you need it.
Comment 7 Yixun Lan archtester gentoo-dev 2017-12-31 13:51:51 UTC
could you try xen-tools-4.9.1-r1?
Comment 8 water.devil 2018-01-02 16:15:37 UTC
xen-tools-4.9.1-r1 works!