https://bugs.winehq.org/show_bug.cgi?id=58027
Bug ID: 58027 Summary: trivial use of Win32 GNU make failes with Wine 10.x but not with Wine 9.0 Product: Wine Version: 10.4 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: dl.soluz@gmx.net Distribution: ---
Created attachment 78286 --> https://bugs.winehq.org/attachment.cgi?id=78286 contains the specific make.exe (with MD5, and source-infos)+makefile and scenarios
its a super simple makefile that does nothing more then
clean: del *.not_existing_at_all
and make fails to run the del command on 10.x Wine versions but works on Wine 9.0
i created a git-repo with the make.exe (with MD5) a makefile and a clear description whats happening - in short Wine 10.x breaks someway the del command run
the repo: https://github.com/LowLevelMahn/bug_repo0 (i also attached the 3 files of the repo as zip)
i don't know if that is a real Wine bug but its strange that is does not happen with a older Wine version (tested only 9.0 so far)
tested with
up-to-date Ubuntu 24.10 (up-to-date) + sudo apt install wine32 => wine 9.0 up-to-date WSL2/SUSE Tumbleweed + sudo zypper install wine => wine 10.0 up-to-date Fedora 42 (Beta) + sudo dnf install wine32 => wine 10.4
https://bugs.winehq.org/show_bug.cgi?id=58027
dl.soluz@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://github.com/LowLevel | |Mahn/bug_repo0
--- Comment #1 from dl.soluz@gmx.net --- running "wine make.exe" in the sample folder gives the error on Wine 10.x
https://bugs.winehq.org/show_bug.cgi?id=58027
--- Comment #2 from dl.soluz@gmx.net --- comparing the output of "make.exe -d > out.txt 2>&1" between Wine 10.0 and Windows shows some "Reaping" problems with Wine 10.0
---- makefile:2: update target 'clean' due to: target does not exist Creating temporary batch file C:\users\linux\AppData\Local\Temp\make32-1.bat Batch file contents: @echo off del *.not_existing_at_all del *.not_existing_at_all CreateProcess(C:\users\linux\AppData\Local\Temp\make32-1.bat,C:\users\linux\AppData\Local\Temp\make32-1.bat,...) Putting child 00cdefa0 (clean) PID 13494880 on the chain. Live child 00cdefa0 (clean) PID 13494880 Main thread handle = 00000058 Reaping losing child 00cdefa0 PID 13494880 <======= !!!! Cleaning up temp batch file C:\users\linux\AppData\Local\Temp\make32-1.bat make: *** [makefile:2: clean] Error 1 Removing child 00cdefa0 PID 13494880 from chain. ----
Windows and Wine 9.0 got "Reaping winning child ..." there
https://bugs.winehq.org/show_bug.cgi?id=58027
--- Comment #3 from dl.soluz@gmx.net --- Ubuntu 22.04.5 LTS (up-to-date) + sudo apt install wine32 => wine 6.0.3
works also
https://bugs.winehq.org/show_bug.cgi?id=58027
--- Comment #4 from dl.soluz@gmx.net --- works also on
Debian GNU/Linux 12 (bookworm) with default wine-8.0 (Debian 8.0~repack-4)
https://bugs.winehq.org/show_bug.cgi?id=58027
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|trivial use of Win32 GNU |trivial use of Win32 GNU |make failes with Wine 10.x |make fails |but not with Wine 9.0 | Keywords| |download, regression
--- Comment #5 from Austin English austinenglish@gmail.com --- Please run a regression test: https://gitlab.winehq.org/wine/wine/-/wikis/Regression-Testing
https://bugs.winehq.org/show_bug.cgi?id=58027
--- Comment #6 from dl.soluz@gmx.net --- the behavior difference of delete (compared to windows) started with
-------------- commit ca3b24733a981b456edc8f26859ce988a293a7c8 Author: Eric Pouech epouech@codeweavers.com Date: Thu Jun 27 17:39:24 2024 +0200
cmd: Set success/failure return code DELETE command. --------------
between wine-9.12 --> wine-9.13
seems to be valid someway but behaves different when run on real Windows
https://bugs.winehq.org/show_bug.cgi?id=58027
--- Comment #7 from dl.soluz@gmx.net --- can be reproduced without make.exe with a simple batch file
"del_test.bat" ----- del *.not_existing_at_all echo ERRORLEVEL: %ERRORLEVEL% -----
up-to-date Windows 10 returns ERRORLEVEL: 0
Wine returns ERRORLEVEL: 1 so not finding any files to be delete results in an error - which is not correct
https://bugs.winehq.org/show_bug.cgi?id=58027
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alexhenrie24@gmail.com Regression SHA1| |ca3b24733a981b456edc8f26859 | |ce988a293a7c8 Component|-unknown |cmd Version|10.4 |9.13
https://bugs.winehq.org/show_bug.cgi?id=58027
--- Comment #8 from dl.soluz@gmx.net --- "del_test.sh" ----- rm *.not_existing_at_all echo error: $? -----
gives error: 1 on not finding files - that is different to the windows del command