edk2 ftbfs in jammy with -march=x86-64-v3

Bug #1976267 reported by Matthias Klose
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
edk2 (Ubuntu)
Fix Released
Undecided
dann frazier

Bug Description

see
https://launchpadlibrarian.net/604216947/buildlog_ubuntu-jammy-amd64.edk2_2022.02-3_BUILDING.txt.gz

[...]
Added to ISO image: directory '/'='/tmp/tmpimfsmdyg'
xorriso : UPDATE : 2 files added in 1 seconds
xorriso : UPDATE : 2 files added in 1 seconds
xorriso : UPDATE : 60.61% done
ISO image produced: 65741 sectors
Written to medium : 65741 sectors at LBA 0
Writing to 'stdio:/tmp/tmp4gtj0a_g' completed successfully.

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/./debian/edk2-vars-generator.py", line 120, in <module>
    child.expect(['Press .* or any other key to continue'], timeout=60)
  File "/usr/lib/python3/dist-packages/pexpect/spawnbase.py", line 343, in expect
    return self.expect_list(compiled_pattern_list,
  File "/usr/lib/python3/dist-packages/pexpect/spawnbase.py", line 372, in expect_list
    return exp.expect_loop(timeout)
  File "/usr/lib/python3/dist-packages/pexpect/expect.py", line 181, in expect_loop
    return self.timeout(e)
  File "/usr/lib/python3/dist-packages/pexpect/expect.py", line 144, in timeout
    raise exc
pexpect.exceptions.TIMEOUT: Timeout exceeded.
<pexpect.pty_spawn.spawn object at 0x7f623be6f2e0>
command: /usr/bin/qemu-system-x86_64
args: ['/usr/bin/qemu-system-x86_64', '-machine', 'q35,accel=tcg', '-no-user-config', '-nodefaults', '-m', '256', '-smp', '2,sockets=2,cores=1,threads=1', '-display', 'none', '-serial', 'stdio', '-chardev', 'pty,id=charserial1', '-device', 'isa-serial,chardev=charserial1,id=serial1', '-drive', 'file=debian/ovmf-install/OVMF_CODE.fd,if=pflash,format=raw,unit=0,readonly=on', '-drive', 'file=/tmp/tmpc38318jq,if=pflash,format=raw,unit=1,readonly=off', '-global', 'ICH9-LPC.disable_s3=1', '-drive', 'file=/tmp/tmp4gtj0a_g,format=raw', '-smb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+KQxspc04tJdvQ+pDEtTUiXVE0zcBip2EJgPVK0szO5H6gtXbfyoTqDr1DKaD4x9JD3yKQ==']
buffer (last 100 chars): b'char device redirected to /dev/pts/1 (label charserial1)\r\n'
before (last 100 chars): b'char device redirected to /dev/pts/1 (label charserial1)\r\n'
after: <class 'pexpect.exceptions.TIMEOUT'>
match: None
match_index: None
exitstatus: None
flag_eof: False
pid: 92111
child_fd: 5
closed: False
timeout: 30
delimiter: <class 'pexpect.exceptions.EOF'>
logfile: None
logfile_read: None
logfile_send: None
maxread: 2000
ignorecase: False
searchwindowsize: None
delaybeforesend: 0.05
delayafterclose: 0.1
delayafterterminate: 0.1
searcher: searcher_re:
    0: re.compile(b'Press .* or any other key to continue')
make[1]: *** [debian/rules:161: debian/ovmf-install/OVMF_VARS.ms.fd] Error 1
rm debian/oem-string-vendor debian/oem-string-snakeoil
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:47: build] Error 2

Matthias Klose (doko)
tags: added: ftbfs x86-64-v3
Matthias Klose (doko)
summary: - edk2 ftbfs in jammy with -march=x86-64-v2
+ edk2 ftbfs in jammy with -march=x86-64-v3
Changed in edk2 (Ubuntu):
status: New → Triaged
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Interesting, seems to build but later fail to boot correctly (or in time) at the self tests.

Since DannF usually handles edk2 for Debian and Ubuntu I subscribed him and wanted to ask if he looks at this as well (to avoid duplicate work)?

dann frazier (dannf)
Changed in edk2 (Ubuntu):
status: Triaged → In Progress
assignee: nobody → dann frazier (dannf)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package edk2 - 2022.05-2

---------------
edk2 (2022.05-2) unstable; urgency=medium

  * d/p/x64-baseline-abi.patch: Override microarchitecture ABI for x64
    to retain compatibility with generic x86-64 platforms. LP: #1976267.

 -- dann frazier <email address hidden> Mon, 06 Jun 2022 18:48:56 +0100

Changed in edk2 (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.