<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>16024</bug_id>
          
          <creation_ts>2025-10-21 10:55:21 +0000</creation_ts>
          <short_desc>AB-INT: wine: Can&apos;t recognize cmd.exe as an internal or external command, or batch script</short_desc>
          <delta_ts>2026-04-22 11:57:59 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Runtime Testing</product>
          <component>testsdk</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>AB-INT</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>6.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mathieu Dubois-Briand">mathieu.dubois-briand</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>JPEWhacker</cc>
    
    <cc>ross.burton</cc>
    
    <cc>tim.orling</cc>
    
    <cc>yoann.congal</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>103004</commentid>
    <comment_count>0</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2025-10-21 10:55:21 +0000</bug_when>
    <thetext>NOTE: Running task 1 of 1 (/srv/pokybuild/yocto-worker/meta-mingw/build/meta-mingw/recipes-core/images/core-image-mingw-sdktest.bb:do_testsdk)
NOTE: recipe core-image-mingw-sdktest-1.0-r0: task do_testsdk: Started
SDK testing environment: x86-64-v3-poky-linux.bat
Traceback (most recent call last):
  File &quot;/srv/pokybuild/yocto-worker/meta-mingw/build/meta-mingw/lib/oeqa/sdkmingw/cases/gcc.py&quot;, line 31, in test_gcc_compile_and_link
    self.assertIsTargetElf(os.path.join(self.test_dir, &apos;test.o&apos;))
  File &quot;/srv/pokybuild/yocto-worker/meta-mingw/build/meta-mingw/lib/oeqa/sdkmingw/case.py&quot;, line 78, in assertIsTargetElf
    output = self._run(&quot;echo %OECORE_TARGET_OS%:%OECORE_TARGET_ARCH%&quot;)
  File &quot;/srv/pokybuild/yocto-worker/meta-mingw/build/meta-mingw/lib/oeqa/sdkmingw/case.py&quot;, line 67, in _run
    return subprocess.check_output(command, env=self.tc.get_wine_env(),
  File &quot;/usr/lib/python3.10/subprocess.py&quot;, line 421, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File &quot;/usr/lib/python3.10/subprocess.py&quot;, line 526, in run
    raise CalledProcessError(retcode, process.args,
oeqa.utils.subprocesstweak.OETestCalledProcessError: Command &apos;[&apos;wine&apos;, &apos;cmd&apos;, &apos;/c&apos;, &apos;W:\\testimage-sdk\\environment-setup-x86-64-v3-poky-linux.bat&apos;, &apos;&gt;&apos;, &apos;NUL&apos;, &apos;&amp;&amp;&apos;, &apos;echo&apos;, &apos;%OECORE_TARGET_OS%:%OECORE_TARGET_ARCH%&apos;]&apos; returned non-zero exit status 49.
Standard Output: Can&apos;t recognize &apos;C:\windows\system32\cmd.exe /C exit 0 &apos; as an internal or external command, or batch script.
linux:x86_64</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103006</commentid>
    <comment_count>1</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2025-10-21 11:03:01 +0000</bug_when>
    <thetext>meta-mingw ubuntu2204-vk-4 master completed at 2025-10-15 01:11:23+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/7/builds/2638/steps/18/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104961</commentid>
    <comment_count>2</comment_count>
    <who name="Joshua Watt">JPEWhacker</who>
    <bug_when>2026-04-06 14:28:23 +0000</bug_when>
    <thetext>These issues were only seen on the autobuild (AFAICT) and we aren&apos;t regularly testing MinGW on the AB anymore so this can be closed</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105194</commentid>
    <comment_count>3</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2026-04-22 11:57:59 +0000</bug_when>
    <thetext>meta-mingw ubuntu2204-vk-3 whinlatter completed at 2026-04-22 10:38:57+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/7/builds/3384</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>