Bug 2084613

Summary: qga-win: race condition in build
Product: Red Hat Enterprise Linux 9 Reporter: Kostiantyn Kostiuk <kkostiuk>
Component: mingw-qemu-ga-winAssignee: Kostiantyn Kostiuk <kkostiuk>
Status: CLOSED ERRATA QA Contact: dehanmeng <demeng>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.1CC: mdean, qizhu, yvugenfi
Target Milestone: rcKeywords: TestOnly, Triaged
Target Release: ---Flags: kkostiuk: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mingw-qemu-ga-win-104.0.2-1.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-15 10:22:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kostiantyn Kostiuk 2022-05-12 14:09:28 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:
this is a race condition bug, so it will be very difficult to reproduce.


Steps to Reproduce:
1. ./configure \
   --disable-docs \
   --disable-zlib-test \
   --target-list=x86_64-softmmu \
   --cross-prefix=i686-w64-mingw32- \
   --enable-guest-agent-msi \
   --enable-qga-vss 

2. make -j40 qemu-ga


Actual results:

built failed due to config-poison.h missing, but this header was generated after GCC fail.

[176/701] Compiling C++ object qga/vss-win32/qga-vss.dll.p/provider.cpp.obj
FAILED: qga/vss-win32/qga-vss.dll.p/provider.cpp.obj
fatal error: config-poison.h: No such file or directory


[180/701] Generating config-poison.h with a custom command (wrapped by meson to capture output)



Expected results:

The build should finish without any errors.


Additional info:

Solution:
you need to add "gen_h" to the sources of qga-vss.dll.

Comment 3 dehanmeng 2022-05-19 13:13:01 UTC
After function test with latest qga version mingw-qemu-ga-win-104.0.2-1.el9, although, there is only one minor problem with low priority https://bugzilla.redhat.com/show_bug.cgi?id=2087678, no other further urgent/high bug. so move this bug to VERIFIED.

Comment 6 errata-xmlrpc 2022-11-15 10:22:00 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (mingw-qemu-ga-win bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:8107