Opened 9 years ago

Closed 9 years ago

Last modified 7 years ago

#9430 closed Bugs (invalid)

Boost building step stuck on running bootstrap.bat on Win7 with Visual C++ 2010

Reported by: lemannton@… Owned by:
Milestone: To Be Determined Component: Building Boost
Version: Boost 1.55.0 Severity: Problem
Keywords: building boostrap Cc:

Description

Hi team,

Faced building problem with 1.55_0 on Win 7 using Visual C++ 2010.

The problem can be reproduced every time.

The step are:

  1. Unzip the boost_1_55_0.zip file.
  2. Use cmd.exe or Visual Studio Command Prompt and go to boost_1_55_0 folder
  3. Type bootstrap or .\bootstrap.bat, but the process stuck here.

The problem is the screen stopped at "Bootstrapping the build engine" and never went further.

Checked the bootstrap.log. The last line is:

D:\dev\cpp\cpp_libs\boost-build2\boost-build\engine>.\bootstrap\jam0 -f build.jam --toolset=vc10 "--toolset-root=C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\..\..\VC\ "  clean

I even directly go to tools\build\v2\engine and run .\build.bat vc10 but no luck. The same (blocking) result repeated on the screen. I am using Win 7 (64 bits). Can anyone shed some lights on this? Thanks.

Change History (5)

comment:1 by Steven Watanabe, 9 years ago

Can you try running the offending jam0 command with -d+5 and report the output? Does it fail in the latest trunk? (svn checkout http://svn.boost.org/svn/boost/trunk/tools/build/v2/engine; cd engine; build.bat vc10).

There's also something very weird about the path in the output. It claims to be running in a directory that's unrelated to boost_1_55_0.

in reply to:  1 comment:2 by l, 9 years ago

The path in original post is from the build from standalone build system download, which I want to produce b2 executable only.

Time time I tried with (svn checkout http://svn.boost.org/svn/boost/trunk/tools/build/v2/engine; cd engine; build.bat vc10)

Before executing build.bat, I modified it by adding -d+5.

There is another console flush and quit. The final line stuck on main console is

builtins.c md5.c class.c cwd.c w32_getreg.c Generating Code... Compiling... native.c set.c path.c regex.c property-set.c sequence.c order.c Generating Code...

D:\dev\cpp\cpp_libs\engine>.\bootstrap\jam0 -d+5 -f build.jam --toolset=vc10 "-- toolset-root=C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\. .\..\VC\ " clean

Replying to steven_watanabe:

Can you try running the offending jam0 command with -d+5 and report the output? Does it fail in the latest trunk? (svn checkout http://svn.boost.org/svn/boost/trunk/tools/build/v2/engine; cd engine; build.bat vc10).

There's also something very weird about the path in the output. It claims to be running in a directory that's unrelated to boost_1_55_0.

comment:3 by anonymous, 9 years ago

Problem is resolved, by stopping Avast! anti-virus... Thank you ALL.

comment:4 by Marshall Clow, 9 years ago

Resolution: invalid
Status: newclosed

comment:5 by anonymous, 7 years ago

I find this is still an issue. I also find that Avast will hang on programs built with Boost. Are you having the same issues I am? Are there any known workarounds other than disabling Avast on a computer running a program built with Boost?

Note: See TracTickets for help on using tickets.