Closed GoogleCodeExporter closed 8 years ago
This is probably not a winetricks bug, but rather a Wine or OSX/Clang bug (see
below).
Does it work with the X11 driver? If you keep the Mac driver, but use
winetricks' quiet mode, does it work?
If it only fails with Mac driver and non-quiet mode, can you try compiling wine
with gcc instead of clang? I think you may be seeing
http://bugs.winehq.org/show_bug.cgi?id=33746
Original comment by austinenglish@gmail.com
on 30 Jul 2013 at 12:48
Ok, did some more tests
My wine is built with macports gcc4.8 and OS X 10.8 SDK. It fails with both the
X11 and the mac driver.
The setup windows show up fine, but it looks like winetricks think it's
finished for some reason and tries to check for the file before the setup has a
chance to start. It doesn't look like the issue in the link you provided
P.S. I'm running winetricks with the "--no-isolate" switch
Original comment by thanou...@gmail.com
on 30 Jul 2013 at 8:54
So I tested this on a Mac. It's a clang bug.
Workarounds are compiling wine with gcc-apple-4.2 (from XCode or Macports) or
disabling the mac driver (winetricks macdriver=x11).
Original comment by austinenglish@gmail.com
on 1 Aug 2013 at 11:41
Got a link to the clang bug report?
Original comment by daniel.r...@gmail.com
on 1 Aug 2013 at 11:54
No, I'll be filing one shortly. I'm narrowing down what source file it's
miscompiling.
Original comment by austinenglish@gmail.com
on 1 Aug 2013 at 11:57
I can't get it to consistently happen :/.
In any case, not a winetricks bug.
Original comment by austinenglish@gmail.com
on 2 Aug 2013 at 1:23
I'm sorry, I don't get it.
How is it possible it's a clang bug when I compile with gcc-mp-4.8?
Furthermore, I already said that it fails with both the X11 and the mac driver.
Compiling with gcc-4.2 is not an option for me as I'm trying to make a game
that needs to be compiled with >=gcc4.5 run
Original comment by thanou...@gmail.com
on 2 Aug 2013 at 11:04
gcc-mp-4.8 can't compile wine, it lacks support for blocks. How did you get it
to compile?
In any case, it's not a winetricks bug, the bug is somewhere else..
Original comment by austinenglish@gmail.com
on 2 Aug 2013 at 5:05
I'm compiling everything with gcc-mp-4.8 except for the winemac.drv which I'm
compiling it with clang. Is this possibly the cause of the issue?
I'll try and build wine with gcc48 and winemac.drv with gcc42, see if that works
The only thing I don't understand is why it still fails for me with x11
Original comment by thanou...@gmail.com
on 2 Aug 2013 at 11:55
I found a similar issue with the Batman Arkham Asylum demo, and tracked it down
to
http://llvm.org/bugs/show_bug.cgi?id=9707
you might try with a lower version of gcc-mp, instead of 4.8. Try 4.6/4.7 and
see if it helps.
The bug that clang exposed was in dlls/user32/dialog.c, fwiw. Potentially the
same bug is showing in winemac.drv (though it also occurs for you in x11).
Original comment by austinenglish@gmail.com
on 3 Aug 2013 at 12:23
Ok problem solved.
The problem was a bash script I built. I basically had to rename the wine and
wineserver binaries, and replace them with my own wine and wineserver bash
scripts, which do all the redirection needed for the input and output. The
problem, I guess, was that winetricks couldn't find the process as it was no
longer named wine or wineserver.
Sorry for wasting your time, you were right, it had nothing to do with
winetricks.
Thanks
Original comment by thanou...@gmail.com
on 7 Aug 2013 at 9:43
Glad you got it sorted out.
Original comment by austinenglish@gmail.com
on 7 Aug 2013 at 9:46
Original issue reported on code.google.com by
thanou...@gmail.com
on 25 Jul 2013 at 11:07