Bug 16030

Summary: AB-INT: wine .../PkgConfigTest returned non-zero exit status 1
Product: [QA/Testing] Runtime Testing Reporter: Mathieu Dubois-Briand <mathieu.dubois-briand>
Component: testimageAssignee: Joshua Watt <JPEWhacker>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: Medium    
Version: unspecified   
Target Milestone: 6.0   
Hardware: x86   
OS: Multiple   
Whiteboard: AB-INT
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Mathieu Dubois-Briand 2025-10-27 12:06:36 UTC
SDK testing environment: x86-64-v3-poky-linux.bat
Traceback (most recent call last):
  File "/srv/pokybuild/yocto-worker/meta-mingw/build/layers/openembedded-core/meta/lib/oeqa/core/case.py", line 54, in _oeSetUp
    self.setUpMethod()
  File "/srv/pokybuild/yocto-worker/meta-mingw/build/meta-mingw/lib/oeqa/sdkmingw/cases/pkgconfig.py", line 11, in setUp
    super().setUp()
  File "/srv/pokybuild/yocto-worker/meta-mingw/build/meta-mingw/lib/oeqa/sdkmingw/case.py", line 23, in setUp
    self.wine_test_dir = self.tc.wine_path(self.test_dir)
  File "/srv/pokybuild/yocto-worker/meta-mingw/build/meta-mingw/lib/oeqa/sdkmingw/context.py", line 55, in wine_path
    o = subprocess.check_output(['wine', 'winepath', '-w', p], env=self.get_wine_env())
  File "/usr/lib/python3.10/subprocess.py", line 421, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/usr/lib/python3.10/subprocess.py", line 526, in run
    raise CalledProcessError(retcode, process.args,
oeqa.utils.subprocesstweak.OETestCalledProcessError: Command '['wine', 'winepath', '-w', '/srv/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/qemux86_64-poky-linux/core-image-mingw-sdktest/1.0/testimage-sdk/PkgConfigTest-iw1ka54n']' returned non-zero exit status 1.
Standard Output: 
RESULTS - pkgconfig.PkgConfigTest.test_pkg_config: ERROR (0.01s)
Comment 1 Mathieu Dubois-Briand 2025-10-28 09:02:42 UTC
meta-mingw ubuntu2204-vk-2 mathieu/master-next completed at 2025-10-26 20:24:44+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/7/builds/2691/steps/18/logs/stdio
Comment 2 Joshua Watt 2025-10-30 14:38:37 UTC
This is a problem in the wine test setup, not the execution of programs (meaning, that it probably doesn't affect actual usage of the SDK on Windows, but just the wine test setup that the AB uses)
Comment 3 Joshua Watt 2026-04-06 14:28:06 UTC
These issues were only seen on the autobuild (AFAICT) and we aren't regularly testing MinGW on the AB anymore so this can be closed