http://bugs.winehq.org/show_bug.cgi?id=21410
Summary: Visual C++ 2005 Trial hangs sometimes in middle of large builds? Product: Wine Version: 1.1.36 Platform: x86 OS/Version: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
While building chromium's base_unittests, visual C++ 2005's devenv.exe sometimes just gets stuck. Rerunning the build lets it pick up from where it left off. To repeat:
First, set up the environment as follows:
$ svn checkout http://winezeug.googlecode.com/svn/trunk/ winezeug $ cd winezeug/testsuites/chromium $ more build.sh ... apply the two patches mentioned near the top, for bug 21382 and bug 21322 $ sh build.sh ... click through the winetricks install of various things, and (ulp) enter your password when prompted to mount and unmount the vc2005trial iso. (Did I mention you should read the script, and winetricks, first?)
That takes about two or three hours with a fast connection, less if you've already got a full winetrickscache.
Then, to build base_unittests.exe, try: $ sh build.sh base
(You may need to comment out a compile-time assert in c:/chromium/src/base/win_util.cc; that assert checks that you have vc 2005 sp1 installed, which we can't yet because of bug 19502.)
The script will exit once the build completes, but sometimes it hangs. Rerunning build.sh base should continue the build where it left off.
To monitor build progress, do du ~/.wine-chromium-tests/drive_c/chromium/src/Debug When the build is complete, that will show 156440 MB (153MiB). If the build hangs, it'll be a lot smaller.
The build takes about 12 minutes on my Q9300. devenv takes about ten seconds before it spawns the first cl.exe.