https://bugs.winehq.org/show_bug.cgi?id=56010
Bug ID: 56010 Summary: uninstaller.exe update breaks "winetricks dotnet35" (uninstallr.exe prints the list to stderr) Product: Wine Version: 9.0-rc1 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: programs Assignee: wine-bugs@winehq.org Reporter: sagawa.aki+winebugs@gmail.com Regression SHA1: 8e00767fb441c90240129b40798aecb1941514d1 Distribution: Ubuntu
After upgrading to Wine 9.0-rc1, winetricks dotnet35 fails to run.
git bisect shows the following is the first bad commit: commit 8e00767fb441c90240129b40798aecb1941514d1 Author: Eric Pouech epouech@codeweavers.com Date: Tue Nov 28 18:49:41 2023 +0100
uninstall: No longer use console/file output APIs.
Regular GUI apps don't.
Signed-off-by: Eric Pouech epouech@codeweavers.com
After the commit, uninstall --list prints the list to standard error via MESSAGE().
On the other hand, winetricks expects the list to be printed to standard output. That is https://github.com/Winetricks/winetricks/blob/07c6d38913433c6318c4d5358ea759... .
https://bugs.winehq.org/show_bug.cgi?id=56010
Sagawa sagawa.aki+winebugs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression, source
https://bugs.winehq.org/show_bug.cgi?id=56010
Sagawa sagawa.aki+winebugs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|uninstaller.exe update |uninstaller.exe update |breaks "winetricks |breaks "winetricks |dotnet35" (uninstallr.exe |dotnet35" (uninstaller.exe |prints the list to stderr) |prints the list to stderr)
https://bugs.winehq.org/show_bug.cgi?id=56010
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=56010
Eric Pouech eric.pouech@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |eric.pouech@gmail.com
--- Comment #1 from Eric Pouech eric.pouech@gmail.com --- Unfortunately this change is the less impacting we could make on Wine side
Austin: the best fix would be to put the fix on winetricks side by grabbing both fd 1 & 2 on output like mono_uuid="$("${WINE_ARCH}" WINEDEBUG=err-all,fixme-all uninstaller --list | grep 'Wine Mono' | cut -f1 -d| 2>&1)"
(which should also work on wine < 9) didn't check all the winetricks code, but there are likely other places to be fixed as well
https://bugs.winehq.org/show_bug.cgi?id=56010
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |NOTOURBUG Status|UNCONFIRMED |RESOLVED
--- Comment #2 from Austin English austinenglish@gmail.com --- https://github.com/Winetricks/winetricks/commit/f01baf12d37f76c2fdbb1fba220d...
https://bugs.winehq.org/show_bug.cgi?id=56010
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Austin English austinenglish@gmail.com --- Closing, fixed in winetricks.