Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 754033 - app-emulation/xen-tools-4.13.2: Failed compilation with OVMF in Tests phase
Summary: app-emulation/xen-tools-4.13.2: Failed compilation with OVMF in Tests phase
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Tomáš Mózes
URL:
Whiteboard:
Keywords: PullRequest, TESTFAILURE
Depends on:
Blocks:
 
Reported: 2020-11-11 13:51 UTC by awilum
Modified: 2020-11-12 03:30 UTC (History)
3 users (show)

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


Attachments
Build log of xen-tools-4.13.2 (xen-tools-4.13.2-build.log.gz,23.41 KB, application/gzip)
2020-11-11 13:51 UTC, awilum
Details
emerge --info (emerge_--info.txt.gz,3.19 KB, application/gzip)
2020-11-11 13:51 UTC, awilum
Details
xen-tools-4.13.2-r1 compilation successed (xen-tools-4.13.2-r1_build.log.gz,232.83 KB, application/gzip)
2020-11-12 03:22 UTC, awilum
Details

Note You need to log in before you can comment on or make changes to this bug.
Description awilum 2020-11-11 13:51:08 UTC
Created attachment 670924 [details]
Build log of xen-tools-4.13.2

Hi everyone

There was a update to xen-4.13.2, so I try to update it.
app-emulation/xen-4.13.2 build with success, but
app-emulation/xen-tools-4.13.2 has failed.

make[8]: Entering directory '/var/tmp/portage/app-emulation/xen-tools-4.13.2/work/xen-4.13.2/tools/firmware/ovmf-dir-remote/BaseTools/Tests'
.
..
...
testUtf16InUniFile (CheckUnicodeSourceFiles.Tests) ... FAIL
testValidUtf8File (CheckUnicodeSourceFiles.Tests) ... FAIL
testValidUtf8FileWithBom (CheckUnicodeSourceFiles.Tests) ... FAIL
.
..
...
Ran 270 tests in 4.437s

FAILED (failures=3)
make[8]: Leaving directory '/var/tmp/portage/app-emulation/xen-tools-4.13.2/work/xen-4.13.2/tools/firmware/ovmf-dir-remote/BaseTools/Tests'
make[7]: Leaving directory '/var/tmp/portage/app-emulation/xen-tools-4.13.2/work/xen-4.13.2/tools/firmware/ovmf-dir-remote/BaseTools'
Running edk2 build for OvmfPkgX64
Build environment: Linux-5.9.6-msi-x86_64-AMD_Ryzen_7_1700X_Eight-Core_Processor-with-glibc2.32
Build start time: 14:10:09, Nov.11 2020


$ emerge -avuDN xen-tools
[ebuild     U  ] app-emulation/xen-tools-4.13.2:0/4.13::gentoo [4.13.1-r4:0/4.13::gentoo] USE="hvm ipxe ovmf pam pygrub python qemu qemu-traditional rombios sdl -api -debug (-doc) -flask (-ocaml) -screen -static-libs -system-ipxe -system-qemu -system-seabios" PYTHON_SINGLE_TARGET="python3_7 -python3_6 -python3_8" 0 KiB
Comment 1 awilum 2020-11-11 13:51:57 UTC
Created attachment 670927 [details]
emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-11-11 14:22:41 UTC
Huh. It seems to be:
1) calling gcc directly;
2) running tests in src_compile
Comment 3 Tomáš Mózes 2020-11-11 15:22:59 UTC
Sadly, ovmf started to fail a time ago, forgot to open a bug report for it, so thanks for reporting, we'll have it tracked.

Just tested building xen-tools-4.13.1-r4 with USE=ovmf, it fails to same.
Comment 4 Tomáš Mózes 2020-11-11 16:10:32 UTC
@awilum, can you please test https://github.com/hydrapolic/gentoo/blob/master/app-emulation/xen-tools/xen-tools-4.13.2-r1.ebuild ? Build tested on ~amd64.
Comment 5 Larry the Git Cow gentoo-dev 2020-11-11 22:37:50 UTC
The bug has been closed via the following commit(s):

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

commit 666f5a08663cbcea9577196b6ed8233f75753b16
Author:     Tomáš Mózes <hydrapolic@gmail.com>
AuthorDate: 2020-11-11 19:37:16 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2020-11-11 22:35:44 +0000

    app-emulation/xen-tools: add security patches, drop vulnerable
    
    Closes: https://bugs.gentoo.org/754033
    Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/18226
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 app-emulation/xen-tools/Manifest                   |   6 +-
 app-emulation/xen-tools/files/gentoo-patches.conf  |  10 +
 app-emulation/xen-tools/xen-tools-4.13.2-r1.ebuild | 512 +++++++++++++++++++++
 ...4.14.0-r2.ebuild => xen-tools-4.14.0-r3.ebuild} |  17 +-
 4 files changed, 536 insertions(+), 9 deletions(-)
Comment 6 awilum 2020-11-12 03:20:48 UTC
(In reply to Tomáš Mózes from comment #4)
> @awilum, can you please test
> https://github.com/hydrapolic/gentoo/blob/master/app-emulation/xen-tools/xen-
> tools-4.13.2-r1.ebuild ? Build tested on ~amd64.

It's maybe late but I have tested the xen-tools-4.13.2-r1 on ~amd64, and the compilation had successed.
Comment 7 awilum 2020-11-12 03:22:48 UTC
Created attachment 670975 [details]
xen-tools-4.13.2-r1 compilation successed
Comment 8 Tomáš Mózes 2020-11-12 03:30:18 UTC
(In reply to awilum from comment #6)
> (In reply to Tomáš Mózes from comment #4)
> > @awilum, can you please test
> > https://github.com/hydrapolic/gentoo/blob/master/app-emulation/xen-tools/xen-
> > tools-4.13.2-r1.ebuild ? Build tested on ~amd64.
> 
> It's maybe late but I have tested the xen-tools-4.13.2-r1 on ~amd64, and the
> compilation had successed.

Thanks for testing, 4.13.2-r1 is now in portage with additional patches.