Opened 11 years ago

Closed 10 years ago

#1430 closed Bugs (fixed)

Regression fails under Cygwin

Reported by: John Pavel <jrp@…> Owned by: René Rivera
Milestone: Boost 1.36.0 Component: Regression Testing USE GITHUB
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

If you python run.py the regression scripts are downloaded bjam.exe is built into tools_bjam/bin.cygwinx86/ from where the regression.py script can't find it

# Preinstalled "/cygdrive/c/temp/regression/bjam" is not found; building one...
# Found "bjam" source directory "/cygdrive/c/temp/regression/tools_bjam"
# Building "bjam" (./build.sh )...
###
### Using 'gcc' toolset.
###
rm -rf bootstrap
mkdir bootstrap
gcc -o bootstrap/jam0 command.c compile.c debug.c expand.c glob.c hash.c hdrmacr
o.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 na
tive.c w32_getreg.c modules/set.c modules/path.c modules/regex.c modules/propert
y-set.c modules/sequence.c modules/order.c execunix.c fileunix.c
./bootstrap/jam0 -f build.jam --toolset=gcc --toolset-root= clean
...found 1 target...
...updating 1 target...
[DELETE] clean
...updated 1 target...
./bootstrap/jam0 -f build.jam --toolset=gcc --toolset-root=
...found 47 targets...
...updating 1 target...
[COMPILE] bin.cygwinx86/bjam.exe
...updated 1 target...
# Searching for "bjam" in "/cygdrive/c/temp/regression/tools_bjam"...
Traceback (most recent call last):
  File "run.py", line 51, in <module>
    runner(root)
  File "/cygdrive/c/temp/regression/tools_regression_src/regression.py", line 18
1, in __init__
    self.main()
  File "/cygdrive/c/temp/regression/tools_regression_src/regression.py", line 46
7, in main
    getattr(self,action_m)()
  File "/cygdrive/c/temp/regression/tools_regression_src/regression.py", line 42
4, in command_regression
    self.command_setup()
  File "/cygdrive/c/temp/regression/tools_regression_src/regression.py", line 27
9, in command_setup
    self.build_if_needed(self.bjam,self.bjam_toolset)
  File "/cygdrive/c/temp/regression/tools_regression_src/regression.py", line 56
6, in build_if_needed
    tool[ 'build_path' ] = self.tool_path( tool )
  File "/cygdrive/c/temp/regression/tools_regression_src/regression.py", line 59
1, in tool_path
    , '\n'.join( [ name_or_spec[ 'path' ], build_dir ] )
Exception: Cannot find "bjam" in any of the following locations:
/cygdrive/c/temp/regression/bjam
/cygdrive/c/temp/regression/tools_bjam

If you put a bjam.exe into the root directory, then the process_log.exe cannot be found.

Change History (1)

comment:1 Changed 10 years ago by Steven Watanabe

Resolution: fixed
Status: newclosed

Fixed in [50115]

Note: See TracTickets for help on using tickets.