joyent/node — Issue #2838: Build error due to v8 3.9.9 upgrade
Author: jbergstroem
Created: 2012-02-27 20:50:51+00:00
State: open

Looks like they removed `werror` in common.gypi, breaking the build:

```
# make
tools/gyp_node -f make
Traceback (most recent call last):
File "tools/gyp_node", line 58, in
run_gyp(gyp_args)
File "tools/gyp_node", line 18, in run_gyp
rc = gyp.main(args)
File "./tools/gyp/pylib/gyp/__init__.py", line 471, in main
options.circular_check)
File "./tools/gyp/pylib/gyp/__init__.py", line 111, in Load
depth, generator_input_info, check, circular_check)
File "./tools/gyp/pylib/gyp/input.py", line 2289, in Load
depth, check)
File "./tools/gyp/pylib/gyp/input.py", line 433, in LoadTargetBuildFile
includes, depth, check)
File "./tools/gyp/pylib/gyp/input.py", line 387, in LoadTargetBuildFile
build_file_path)
File "./tools/gyp/pylib/gyp/input.py", line 1003, in ProcessVariablesAndConditionsInDict
build_file, key)
File "./tools/gyp/pylib/gyp/input.py", line 1003, in ProcessVariablesAndConditionsInDict
build_file, key)
File "./tools/gyp/pylib/gyp/input.py", line 1003, in ProcessVariablesAndConditionsInDict
build_file, key)
File "./tools/gyp/pylib/gyp/input.py", line 984, in ProcessVariablesAndConditionsInDict
ProcessConditionsInDict(the_dict, is_late, variables, build_file)
File "./tools/gyp/pylib/gyp/input.py", line 861, in ProcessConditionsInDict
variables, build_file)
File "./tools/gyp/pylib/gyp/input.py", line 1010, in ProcessVariablesAndConditionsInDict
build_file)
File "./tools/gyp/pylib/gyp/input.py", line 1029, in ProcessVariablesAndConditionsInList
expanded = ExpandVariables(item, is_late, variables, build_file)
File "./tools/gyp/pylib/gyp/input.py", line 709, in ExpandVariables
' in ' + build_file
KeyError: 'Undefined variable werror in /var/lib/build/node/linux32/build/deps/v8/tools/gyp/v8.gyp while loading dependencies of /var/lib/build/node/linux32/build/node.gyp while trying to load /var/lib/build/node/linux32/build/node.gyp'
```