http://bugs.winehq.org/show_bug.cgi?id=24792
Summary: nmake output text no longer visible (dogfood) Product: Wine Version: 1.3.5 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: ntdll AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
This makes it kind of hard to build stuff with visual c++.
To reproduce:
rm -rf .wine sh winetricks vc2005express cd ".wine/drive_c/Program Files/Microsoft Visual Studio 8/Common7/Tools" wine cmd vsvars32 nmake
nmake should output
Microsoft (R) Program Maintenance Utility Version 8.00.50727.42 Copyright (C) Microsoft Corporation. All rights reserved.
NMAKE : fatal error U1064: MAKEFILE not found and no target specified Stop.
bisect finds There are only 'skip'ped commits left to test. The first bad commit could be any of: 45ade6c2f57adaa9bde009063d3d5b9294dc5d35 e4d090277b3f4f76b39e55480e5d1387798dbabe We cannot bisect more!
commit 45ade6c2f57adaa9bde009063d3d5b9294dc5d35 Author: Eric Pouech eric.pouech@orange.fr Date: Mon Aug 30 22:19:18 2010 +0200
ntdll: Allocate a console (without renderer) when starting a program from unix console.
commit e4d090277b3f4f76b39e55480e5d1387798dbabe Author: Eric Pouech eric.pouech@orange.fr Date: Mon Aug 30 22:19:24 2010 +0200
kernel32: Properly handle bare console on input.
http://bugs.winehq.org/show_bug.cgi?id=24792
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression
http://bugs.winehq.org/show_bug.cgi?id=24792
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |eric.pouech@orange.fr
http://bugs.winehq.org/show_bug.cgi?id=24792
--- Comment #1 from Eric Pouech eric.pouech@orange.fr 2010-10-18 04:43:44 CDT --- do you get the same behavior with both native and builtin msvcrt ? A+
http://bugs.winehq.org/show_bug.cgi?id=24792
--- Comment #2 from Dan Kegel dank@kegel.com 2010-10-18 05:30:53 CDT --- yes, winetricks vcrun6 vcrun2005 does not help.
http://bugs.winehq.org/show_bug.cgi?id=24792
--- Comment #3 from Eric Pouech eric.pouech@orange.fr 2010-10-20 04:32:24 CDT --- 1/ I cannot succeed in installing vc2005 using the steps described in #1. 2/ when I try to reuse my windows regular install of vc2005: + it loads msvcr80 from manifests + msvcr80 fails to initialize (I'm still trying to figure out why. It looks like from traces that a Tls allocated slot (ie the index itself) is not correctly handled (ie one Tls slot is allocated, and is never reused by -1 instead). => I'll try to work around that. So, if you could send me a +seh,+console,+relay,+snoop,+module trace, it could help off loading from the critical path of the resolution some other bugs to be fixed at first.
A+
http://bugs.winehq.org/show_bug.cgi?id=24792
--- Comment #4 from Dan Kegel dank@kegel.com 2010-10-20 08:55:07 CDT --- Created an attachment (id=31401) --> (http://bugs.winehq.org/attachment.cgi?id=31401) +seh,+console,+relay,+snoop,+module log of cmd running vsvars32 and nmake
ok, here's the log.
http://bugs.winehq.org/show_bug.cgi?id=24792
--- Comment #5 from Eric Pouech eric.pouech@orange.fr 2010-10-20 14:56:47 CDT --- Created an attachment (id=31404) --> (http://bugs.winehq.org/attachment.cgi?id=31404) tentative patch (force msvcrt io inheritance block to be always created in cmd)
does the attached patch help ? btw, does running nmake directly from unix command prompt work as expected ? A+
http://bugs.winehq.org/show_bug.cgi?id=24792
--- Comment #6 from Dan Kegel dank@kegel.com 2010-10-21 19:25:10 CDT --- I don't think the patch helps.
The command doesn't output anything at the Linux prompt, either, unless you redirect its output and stderr to a file; the file then contains the desired output.
http://bugs.winehq.org/show_bug.cgi?id=24792
--- Comment #7 from Dan Kegel dank@kegel.com 2010-10-22 14:18:39 CDT --- You can also reproduce by just copying nmake.exe from a windows system into a clean wineprefix, and running it with wine. You should see its error message, but you won't unless you redirect it to a file and cat the file.
http://bugs.winehq.org/show_bug.cgi?id=24792
Eric Pouech eric.pouech@orange.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #31404|0 |1 is obsolete| | Status|NEW |ASSIGNED AssignedTo|wine-bugs@winehq.org |eric.pouech@orange.fr
--- Comment #8 from Eric Pouech eric.pouech@orange.fr 2010-10-23 04:58:33 CDT --- Created an attachment (id=31457) --> (http://bugs.winehq.org/attachment.cgi?id=31457) another tentative patch
this patch is likely to work better A+
http://bugs.winehq.org/show_bug.cgi?id=24792
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
--- Comment #9 from Dan Kegel dank@kegel.com 2010-10-23 10:16:46 CDT --- Bingo! That patch seems to work.
http://bugs.winehq.org/show_bug.cgi?id=24792
--- Comment #10 from Eric Pouech eric.pouech@orange.fr 2010-11-16 14:40:40 CST --- should be fixed in current git (either with native or builtin msvcrt) A+
http://bugs.winehq.org/show_bug.cgi?id=24792
Andrew Nguyen arethusa26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED
--- Comment #11 from Andrew Nguyen arethusa26@gmail.com 2011-05-08 11:03:58 CDT --- nmake's output works perfectly well in wine-1.3.19-203-gf555c2d.
http://bugs.winehq.org/show_bug.cgi?id=24792
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Alexandre Julliard julliard@winehq.org 2011-05-13 13:33:38 CDT --- Closing bugs fixed in 1.3.20.