[Boost-bugs] [Boost C++ Libraries] #5680: bootstrap Boost.Build fails with MinGW 20110530: missing sys/wait.h, sys/resource.h, ar.h

Subject: [Boost-bugs] [Boost C++ Libraries] #5680: bootstrap Boost.Build fails with MinGW 20110530: missing sys/wait.h, sys/resource.h, ar.h
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-07-08 18:32:13


#5680: bootstrap Boost.Build fails with MinGW 20110530: missing sys/wait.h,
sys/resource.h, ar.h
-------------------------------------------------------------------+--------
 Reporter: Alex Millian Hankins <lx_boost@…> | Owner:
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: Building Boost
  Version: Boost 1.46.1 | Severity: Showstopper
 Keywords: |
-------------------------------------------------------------------+--------
 My OS is Windows XP Pro.

 To reproduce:
 * Install MinGW 20110530.
 * Download and uncompress boost_1_46_1.tar.bz2.
 * Launch MinGW Shell from Start menu.
 * Verify path:

 {{{
 $ printenv PATH
 .:/mingw/bin:/bin:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem
 }}}

 * cd and run bootstrap:

 {{{
 $ cd boost_1_46_1/tools/build/v2
 $ sh bootstrap.sh
 Bootstrapping the build engine with toolset gcc...
 Failed to bootstrap the build engine
 Consult 'bootstrap.log' for more details
 $ cat bootstrap.log
 ###
 ### Using 'gcc' toolset.
 ###
 rm -rf bootstrap
 mkdir bootstrap
 gcc -o bootstrap/jam0 command.c compile.c debug.c expand.c glob.c hash.c
 hdrmacro.c headers.c jam.c jambase.c jamgram.c lists.c make.c make1.c
 newstr.c option.c output.c parse.c pathunix.c pathvms.c regexp.c rules.c
 scan.c search.c subst.c timestamp.c variable.c modules.c strings.c
 filesys.c builtins.c pwd.c class.c native.c md5.c w32_getreg.c
 modules/set.c modules/path.c modules/regex.c modules/property-set.c
 modules/sequence.c modules/order.c execunix.c fileunix.c
 builtins.c:32:23: fatal error: sys/wait.h: No such file or directory
 compilation terminated.
 execunix.c:17:26: fatal error: sys/resource.h: No such file or directory
 compilation terminated.
 fileunix.c:97:17: fatal error: ar.h: No such file or directory
 compilation terminated.
 }}}

 Surrounding the above failed includes with #ifndef {{{__}}}MINGW32{{{__}}}
 ... #endif did not fix the problem.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5680>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:06 UTC