Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help with Windows builds #22535

Closed
guybedford opened this issue Aug 26, 2018 · 14 comments
Closed

Help with Windows builds #22535

guybedford opened this issue Aug 26, 2018 · 14 comments
Labels
build Issues and PRs related to build files or the CI. question Issues that look for answers. windows Issues and PRs related to the Windows platform.

Comments

@guybedford
Copy link
Contributor

I previously had Node.js builds working on both Ubuntu subsystem for Windows and through vcbuild.bat, but somehow over the last few months both of these builds have stopped working for me.

With vcbuild.bat it firstly doesn't find my Python install (C:\Python27, which is in PATH). I manually modified find_python.cmd to make sure it would find it, but then I get the following error:

                 'v8_typed_array_max_size_in_heap': 0,
                 'v8_use_snapshot': 'true',
                 'want_separate_host_toolset': 0}}
creating config.gypi
creating config.status
creating config.mk
Warning: Missing input files:
deps\v8\gypfiles\..\src\parsing\preparse-data-format.h

Which I'm kind of clueless as to how to debug.

I've removed Node and re-cloned, reinstalled Visual Studio etc.

Is anyone else having issues building on Windows at all, or is this just me!?

Regardless, help would be appreciated. I'm fine with sticking with Mac workflows, but it would help to test certain things on Windows.

Look forward to being told I've missed something painfully obvious :)

@vsemozhetbyt vsemozhetbyt added question Issues that look for answers. windows Issues and PRs related to the Windows platform. build Issues and PRs related to build files or the CI. labels Aug 26, 2018
@vsemozhetbyt
Copy link
Contributor

cc @nodejs/platform-windows

@refack
Copy link
Contributor

refack commented Aug 26, 2018

Warning: Missing input files:
deps\v8\gypfiles\..\src\parsing\preparse-data-format.h

AFAICT is not a blocking error. Since it's an *.h file it's only used for dependency tracking, the generated makefiles will not try to build it.

@refack
Copy link
Contributor

refack commented Aug 26, 2018

Ref: #22017 (comment)

@targos
Copy link
Member

targos commented Aug 26, 2018

Yeah as the message indicate, this is just a warning. I noticed it while preparing #22017 but kept it because this file is also listed in Build.gn

@guybedford
Copy link
Contributor Author

So the result here is that the warning is stopping the build process from continuing on Windows when it doesn't need to?

Do we need to modify this batch file to continue if there are warnings?

@guybedford
Copy link
Contributor Author

And thanks for the suggestions - this has had me stuck on Windows for months!

@guybedford
Copy link
Contributor Author

Here's the full log if it helps -

 ./vcbuild.bat test-all
Looking for Python 2.x
Looking for NASM
Looking for Visual Studio 2017
calling: "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\\Auxiliary\Build\vcvarsall.bat" amd64
**********************************************************************
** Visual Studio 2017 Developer Command Prompt v15.6.1
** Copyright (c) 2017 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64'
Found MSVS version 15.0
Could Not Find C:\Users\Guy\Projects\node\.tmp_gyp_configure_stamp
Could Not Find C:\Users\Guy\Projects\node\.gyp_configure_stamp
configure  --with-pch --dest-cpu=x64
creating icu_config.gypi
* Using ICU in deps/icu-small
creating icu_config.gypi
{ 'target_defaults': { 'cflags': [],
                       'default_configuration': 'Release',
                       'defines': [],
                       'include_dirs': [],
                       'libraries': []},
  'variables': { 'asan': 0,
                 'build_v8_with_gn': 'false',
                 'coverage': 'false',
                 'debug_nghttp2': 'false',
                 'enable_lto': 'false',
                 'force_dynamic_crt': 0,
                 'host_arch': 'x64',
                 'icu_data_in': '..\\..\\deps/icu-small\\source/data/in\\icudt62l.dat',
                 'icu_endianness': 'l',
                 'icu_gyp_path': 'tools/icu/icu-generic.gyp',
                 'icu_locales': 'en,root',
                 'icu_path': 'deps/icu-small',
                 'icu_small': 'true',
                 'icu_ver_major': '62',
                 'nasm_version': '2.13',
                 'node_byteorder': 'little',
                 'node_debug_lib': 'false',
                 'node_enable_d8': 'false',
                 'node_enable_v8_vtunejit': 'false',
                 'node_install_npm': 'true',
                 'node_module_version': 65,
                 'node_no_browser_globals': 'false',
                 'node_prefix': '/usr/local',
                 'node_release_urlbase': '',
                 'node_shared': 'false',
                 'node_shared_cares': 'false',
                 'node_shared_http_parser': 'false',
                 'node_shared_libuv': 'false',
                 'node_shared_nghttp2': 'false',
                 'node_shared_openssl': 'false',
                 'node_shared_zlib': 'false',
                 'node_tag': '',
                 'node_target_type': 'executable',
                 'node_use_bundled_v8': 'true',
                 'node_use_dtrace': 'false',
                 'node_use_etw': 'true',
                 'node_use_openssl': 'true',
                 'node_use_pch': 'true',
                 'node_use_perfctr': 'true',
                 'node_use_v8_platform': 'true',
                 'node_with_ltcg': 'false',
                 'node_without_node_options': 'false',
                 'openssl_fips': '',
                 'openssl_no_asm': 0,
                 'shlib_suffix': 'so.65',
                 'target_arch': 'x64',
                 'v8_enable_gdbjit': 0,
                 'v8_enable_i18n_support': 1,
                 'v8_enable_inspector': 1,
                 'v8_no_strict_aliasing': 1,
                 'v8_optimized_debug': 0,
                 'v8_promise_internal_field_count': 1,
                 'v8_random_seed': 0,
                 'v8_trace_maps': 0,
                 'v8_typed_array_max_size_in_heap': 0,
                 'v8_use_snapshot': 'true',
                 'want_separate_host_toolset': 0}}
creating config.gypi
creating config.status
creating config.mk
Warning: Missing input files:
deps\v8\gypfiles\..\src\parsing\preparse-data-format.h

The process then aborts at that point.

Thanks again for help here.

@targos
Copy link
Member

targos commented Aug 26, 2018

I wish I could help you more. I have a very similar output to yours, then just after the warning it says "Project files generated." and compilation starts.

@bzoz
Copy link
Contributor

bzoz commented Aug 27, 2018

@guybedford could you try set DEBUG_HELPER=1 before running vcbuild? It should display a lot more info.

@guybedford
Copy link
Contributor Author

@bzoz here's the extended log:

C:\Users\Guy\Projects\node>if /I "" == "help" goto help

C:\Users\Guy\Projects\node>if /I "" == "--help" goto help

C:\Users\Guy\Projects\node>if /I "" == "-help" goto help

C:\Users\Guy\Projects\node>if /I "" == "/help" goto help

C:\Users\Guy\Projects\node>if /I "" == "?" goto help

C:\Users\Guy\Projects\node>if /I "" == "-?" goto help

C:\Users\Guy\Projects\node>if /I "" == "--?" goto help

C:\Users\Guy\Projects\node>if /I "" == "/?" goto help

C:\Users\Guy\Projects\node>cd C:\Users\Guy\Projects\node\

C:\Users\Guy\Projects\node>set config=Release

C:\Users\Guy\Projects\node>set target=Build

C:\Users\Guy\Projects\node>set target_arch=x64

C:\Users\Guy\Projects\node>set ltcg=

C:\Users\Guy\Projects\node>set pch=1

C:\Users\Guy\Projects\node>set target_env=

C:\Users\Guy\Projects\node>set noprojgen=

C:\Users\Guy\Projects\node>set projgen=

C:\Users\Guy\Projects\node>set nobuild=

C:\Users\Guy\Projects\node>set sign=

C:\Users\Guy\Projects\node>set nosnapshot=

C:\Users\Guy\Projects\node>set cctest_args=

C:\Users\Guy\Projects\node>set test_args=

C:\Users\Guy\Projects\node>set package=

C:\Users\Guy\Projects\node>set msi=

C:\Users\Guy\Projects\node>set upload=

C:\Users\Guy\Projects\node>set licensertf=

C:\Users\Guy\Projects\node>set lint_js=

C:\Users\Guy\Projects\node>set lint_cpp=

C:\Users\Guy\Projects\node>set lint_md=

C:\Users\Guy\Projects\node>set lint_md_build=

C:\Users\Guy\Projects\node>set noetw=

C:\Users\Guy\Projects\node>set noetw_msi_arg=

C:\Users\Guy\Projects\node>set noperfctr=

C:\Users\Guy\Projects\node>set noperfctr_msi_arg=

C:\Users\Guy\Projects\node>set i18n_arg=

C:\Users\Guy\Projects\node>set download_arg=

C:\Users\Guy\Projects\node>set build_release=

C:\Users\Guy\Projects\node>set enable_vtune_arg=

C:\Users\Guy\Projects\node>set configure_flags=

C:\Users\Guy\Projects\node>set build_addons=

C:\Users\Guy\Projects\node>set dll=

C:\Users\Guy\Projects\node>set enable_static=

C:\Users\Guy\Projects\node>set build_addons_napi=

C:\Users\Guy\Projects\node>set test_node_inspect=

C:\Users\Guy\Projects\node>set test_check_deopts=

C:\Users\Guy\Projects\node>set js_test_suites=default

C:\Users\Guy\Projects\node>set v8_test_options=

C:\Users\Guy\Projects\node>set v8_build_options=

C:\Users\Guy\Projects\node>set "common_test_suites=default doctool addons addons-napi&set build_addons=1&set build_addons_napi=1"

C:\Users\Guy\Projects\node>set http2_debug=

C:\Users\Guy\Projects\node>set nghttp2_debug=

C:\Users\Guy\Projects\node>set link_module=

C:\Users\Guy\Projects\node>set no_cctest=

C:\Users\Guy\Projects\node>set openssl_no_asm=

C:\Users\Guy\Projects\node>set doc=

C:\Users\Guy\Projects\node>if "" == "" goto args-done

C:\Users\Guy\Projects\node>if "" == "lint" (goto lint-cpp )

C:\Users\Guy\Projects\node>if defined build_release (
set config=Release
 set package=1
 set msi=1
 set licensertf=1
 set download_arg="--download=all"
 set i18n_arg=small-icu
 set projgen=1
 set ltcg=1
 set "pch="
)

C:\Users\Guy\Projects\node>set "node_exe=Release\node.exe"

C:\Users\Guy\Projects\node>set "node_gyp_exe="Release\node.exe" deps\npm\node_modules\node-gyp\bin\node-gyp"

C:\Users\Guy\Projects\node>set "npm_exe="C:\Users\Guy\Projects\node\Release\node.exe" C:\Users\Guy\Projects\node\deps\npm\bin\npm-cli.js"

C:\Users\Guy\Projects\node>if "" == "vs2017" set "node_gyp_exe="Release\node.exe" deps\npm\node_modules\node-gyp\bin\node-gyp --msvs_version=2017"

C:\Users\Guy\Projects\node>if "Release" == "Debug" set configure_flags= --debug

C:\Users\Guy\Projects\node>if defined nosnapshot set configure_flags= --without-snapshot

C:\Users\Guy\Projects\node>if defined noetw set configure_flags= --without-etw  & set noetw_msi_arg=/p:NoETW=1

C:\Users\Guy\Projects\node>if defined noperfctr set configure_flags= --without-perfctr  & set noperfctr_msi_arg=/p:NoPerfCtr=1

C:\Users\Guy\Projects\node>if defined ltcg set configure_flags= --with-ltcg

C:\Users\Guy\Projects\node>if defined pch set configure_flags= --with-pch

C:\Users\Guy\Projects\node>if defined release_urlbase set configure_flags= --with-pch --release-urlbase=

C:\Users\Guy\Projects\node>if defined download_arg set configure_flags= --with-pch

C:\Users\Guy\Projects\node>if defined enable_vtune_arg set configure_flags= --with-pch --enable-vtune-profiling

C:\Users\Guy\Projects\node>if defined dll set configure_flags= --with-pch --shared

C:\Users\Guy\Projects\node>if defined enable_static set configure_flags= --with-pch --enable-static

C:\Users\Guy\Projects\node>if defined no_NODE_OPTIONS set configure_flags= --with-pch --without-node-options

C:\Users\Guy\Projects\node>if defined link_module set configure_flags= --with-pch

C:\Users\Guy\Projects\node>if defined i18n_arg set configure_flags= --with-pch --with-intl=

C:\Users\Guy\Projects\node>if defined config_flags set configure_flags= --with-pch

C:\Users\Guy\Projects\node>if defined target_arch set configure_flags= --with-pch --dest-cpu=x64

C:\Users\Guy\Projects\node>if defined openssl_no_asm set configure_flags= --with-pch --dest-cpu=x64 --openssl-no-asm

C:\Users\Guy\Projects\node>if not exist "C:\Users\Guy\Projects\node\deps\icu" goto no-depsicu

C:\Users\Guy\Projects\node>call tools\msvs\find_python.cmd

C:\Users\Guy\Projects\node>echo Looking for Python 2.x
Looking for Python 2.x

C:\Users\Guy\Projects\node>SETLOCAL

C:\Users\Guy\Projects\node>FOR /F "delims=" %a IN ('where python.exe 2> NUL') DO (
SET need_path=0
 SET p=%~dpa
 IF NOT ERRORLEVEL 1 GOTO :validate
)

C:\Users\Guy\Projects\node>(
SET need_path=0
 SET p=C:\Python27\
 IF NOT ERRORLEVEL 1 GOTO :validate
)

C:\Users\Guy\Projects\node>IF NOT EXIST "C:\Python27\python.exe" goto :no-python

C:\Users\Guy\Projects\node>"C:\Python27\python.exe" -V   2>&1  | findstr /R "^Python.2.*"  1>NUL

C:\Users\Guy\Projects\node>IF ERRORLEVEL 1 goto :no-python2

C:\Users\Guy\Projects\node>ENDLOCAL   & SET pt=C:\Python27\  & SET need_path_ext=0

C:\Users\Guy\Projects\node>SET VCBUILD_PYTHON_LOCATION=C:\Python27\python.exe

C:\Users\Guy\Projects\node>IF 0 == 1 SET Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\dotnet\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Git\cmd;C:\Program Files\Microsoft VS Code\bin;C:\Program Files\nodejs\;C:\Users\Guy\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Microsoft VS Code\bin;C:\Users\Guy\Projects\depot_tools;C:\Python27;C:\Users\Guy\AppData\Roaming\npm;C:\Python27\

C:\Users\Guy\Projects\node>SET need_path_ext=

C:\Users\Guy\Projects\node>EXIT /B 0

C:\Users\Guy\Projects\node>if errorlevel 1 goto :exit

C:\Users\Guy\Projects\node>if not defined openssl_no_asm call tools\msvs\find_nasm.cmd

C:\Users\Guy\Projects\node>ECHO Looking for NASM
Looking for NASM

C:\Users\Guy\Projects\node>FOR /F "delims=" %a IN ('where nasm 2> NUL') DO (EXIT /B 0 )

C:\Users\Guy\Projects\node>IF EXIST "C:\Program Files\NASM\nasm.exe" (
SET "Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\dotnet\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Git\cmd;C:\Program Files\Microsoft VS Code\bin;C:\Program Files\nodejs\;C:\Users\Guy\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Microsoft VS Code\bin;C:\Users\Guy\Projects\depot_tools;C:\Python27;C:\Users\Guy\AppData\Roaming\npm;C:\Program Files\NASM"
 EXIT /B 0
)

C:\Users\Guy\Projects\node>if errorlevel 1 echo Could not find NASM, install it or build with openssl-no-asm. See BUILDING.md.

C:\Users\Guy\Projects\node>call :getnodeversion   || exit /b 1

C:\Users\Guy\Projects\node>set NODE_VERSION=

C:\Users\Guy\Projects\node>set TAG=

C:\Users\Guy\Projects\node>set FULLVERSION=

C:\Users\Guy\Projects\node>for /F "usebackq tokens=*" %i in (`python "C:\Users\Guy\Projects\node\tools\getnodeversion.py"`) do set NODE_VERSION=%i

C:\Users\Guy\Projects\node>set NODE_VERSION=11.0.0

C:\Users\Guy\Projects\node>if not defined NODE_VERSION (
echo Cannot determine current version of Node.js
 exit /b 1
)

C:\Users\Guy\Projects\node>if not defined DISTTYPE set DISTTYPE=release

C:\Users\Guy\Projects\node>if "release" == "release" (
set FULLVERSION=11.0.0
 goto distexit
)

C:\Users\Guy\Projects\node>if not defined DISTTYPEDIR set DISTTYPEDIR=release

C:\Users\Guy\Projects\node>goto :EOF

C:\Users\Guy\Projects\node>if defined TAG set configure_flags= --with-pch --dest-cpu=x64 --tag=

C:\Users\Guy\Projects\node>if not "Build" == "Clean" goto skip-clean

C:\Users\Guy\Projects\node>if defined noprojgen if defined nobuild if not defined sign if not defined msi goto licensertf

C:\Users\Guy\Projects\node>set msvs_host_arch=x86

C:\Users\Guy\Projects\node>if _AMD64_ == _AMD64_ set msvs_host_arch=amd64

C:\Users\Guy\Projects\node>if __ == _AMD64_ set msvs_host_arch=amd64

C:\Users\Guy\Projects\node>set vcvarsall_arg=amd64_x64

C:\Users\Guy\Projects\node>if x64 == x64 if amd64 == amd64 set vcvarsall_arg=amd64

C:\Users\Guy\Projects\node>if x64 == x86 if amd64 == x86 set vcvarsall_arg=x86

C:\Users\Guy\Projects\node>if defined target_env if "" NEQ "vs2017" goto msbuild-not-found

C:\Users\Guy\Projects\node>echo Looking for Visual Studio 2017
Looking for Visual Studio 2017

C:\Users\Guy\Projects\node>call tools\msvs\vswhere_usability_wrapper.cmd

C:\Users\Guy\Projects\node>setlocal

C:\Users\Guy\Projects\node>if "" == "prerelease" set VSWHERE_WITH_PRERELEASE=1

C:\Users\Guy\Projects\node>set "InstallerPath=C:\Program Files (x86)\Microsoft Visual Studio\Installer"

C:\Users\Guy\Projects\node>if not exist "C:\Program Files (x86)\Microsoft Visual Studio\Installer" set "InstallerPath=C:\Program Files\Microsoft Visual Studio\Installer"

C:\Users\Guy\Projects\node>if not exist "C:\Program Files (x86)\Microsoft Visual Studio\Installer" goto :no-vswhere

C:\Users\Guy\Projects\node>set "Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\dotnet\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Git\cmd;C:\Program Files\Microsoft VS Code\bin;C:\Program Files\nodejs\;C:\Users\Guy\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Microsoft VS Code\bin;C:\Users\Guy\Projects\depot_tools;C:\Python27;C:\Users\Guy\AppData\Roaming\npm;C:\Program Files\NASM;C:\Program Files (x86)\Microsoft Visual Studio\Installer"

C:\Users\Guy\Projects\node>where vswhere  2>nul 1>nul

C:\Users\Guy\Projects\node>if errorlevel 1 goto :no-vswhere

C:\Users\Guy\Projects\node>set VSWHERE_REQ=-requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64

C:\Users\Guy\Projects\node>set VSWHERE_PRP=-property installationPath

C:\Users\Guy\Projects\node>set VSWHERE_LMT=-version "[15.0,16.0)"

C:\Users\Guy\Projects\node>vswhere -prerelease  1>nul

C:\Users\Guy\Projects\node>if not errorlevel 1 if "" == "1" set "VSWHERE_LMT=-version "[15.0,16.0)" -prerelease"

C:\Users\Guy\Projects\node>SET VSWHERE_ARGS=-latest -products * -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath -version "[15.0,16.0)"

C:\Users\Guy\Projects\node>for /F "usebackq tokens=*" %i in (`vswhere -latest -products * -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath -version "[15.0,16.0)"`) do (
endlocal
 set "VCINSTALLDIR=%i\VC\"
 set "VS150COMNTOOLS=%i\Common7\Tools\"
 exit /B 0
)

C:\Users\Guy\Projects\node>(
endlocal
 set "VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\"
 set "VS150COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\"
 exit /B 0
)

C:\Users\Guy\Projects\node>if "_C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\_" == "__" goto msbuild-not-found

C:\Users\Guy\Projects\node>if defined msi (
echo Looking for WiX installation for Visual Studio 2017...
 if not exist "\SDK\VS2017" (
echo Failed to find WiX install for Visual Studio 2017
 echo VS2017 support for WiX is only present starting at version 3.11
 goto msbuild-not-found
)
 if not exist "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\\..\MSBuild\Microsoft\WiX" (
echo Failed to find the Wix Toolset Visual Studio 2017 Extension
 goto msbuild-not-found
)
)

C:\Users\Guy\Projects\node>if "__" == "_15.0_" if "__" == "_x64_" goto found_vs2017

C:\Users\Guy\Projects\node>set "VSINSTALLDIR="

C:\Users\Guy\Projects\node>set "VSCMD_START_DIR=C:\Users\Guy\Projects\node"

C:\Users\Guy\Projects\node>set vcvars_call="C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\\Auxiliary\Build\vcvarsall.bat" amd64

C:\Users\Guy\Projects\node>echo calling: "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\\Auxiliary\Build\vcvarsall.bat" amd64
calling: "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\\Auxiliary\Build\vcvarsall.bat" amd64

C:\Users\Guy\Projects\node>call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\\Auxiliary\Build\vcvarsall.bat" amd64
**********************************************************************
** Visual Studio 2017 Developer Command Prompt v15.6.1
** Copyright (c) 2017 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64'
Found MSVS version 15.0
Could Not Find C:\Users\Guy\Projects\node\.tmp_gyp_configure_stamp
Could Not Find C:\Users\Guy\Projects\node\.gyp_configure_stamp
configure  --with-pch --dest-cpu=x64
creating icu_config.gypi
* Using ICU in deps/icu-small
creating icu_config.gypi
{ 'target_defaults': { 'cflags': [],
                       'default_configuration': 'Release',
                       'defines': [],
                       'include_dirs': [],
                       'libraries': []},
  'variables': { 'asan': 0,
                 'build_v8_with_gn': 'false',
                 'coverage': 'false',
                 'debug_nghttp2': 'false',
                 'enable_lto': 'false',
                 'force_dynamic_crt': 0,
                 'host_arch': 'x64',
                 'icu_data_in': '..\\..\\deps/icu-small\\source/data/in\\icudt62l.dat',
                 'icu_endianness': 'l',
                 'icu_gyp_path': 'tools/icu/icu-generic.gyp',
                 'icu_locales': 'en,root',
                 'icu_path': 'deps/icu-small',
                 'icu_small': 'true',
                 'icu_ver_major': '62',
                 'nasm_version': '2.13',
                 'node_byteorder': 'little',
                 'node_debug_lib': 'false',
                 'node_enable_d8': 'false',
                 'node_enable_v8_vtunejit': 'false',
                 'node_install_npm': 'true',
                 'node_module_version': 65,
                 'node_no_browser_globals': 'false',
                 'node_prefix': '/usr/local',
                 'node_release_urlbase': '',
                 'node_shared': 'false',
                 'node_shared_cares': 'false',
                 'node_shared_http_parser': 'false',
                 'node_shared_libuv': 'false',
                 'node_shared_nghttp2': 'false',
                 'node_shared_openssl': 'false',
                 'node_shared_zlib': 'false',
                 'node_tag': '',
                 'node_target_type': 'executable',
                 'node_use_bundled_v8': 'true',
                 'node_use_dtrace': 'false',
                 'node_use_etw': 'true',
                 'node_use_openssl': 'true',
                 'node_use_pch': 'true',
                 'node_use_perfctr': 'true',
                 'node_use_v8_platform': 'true',
                 'node_with_ltcg': 'false',
                 'node_without_node_options': 'false',
                 'openssl_fips': '',
                 'openssl_no_asm': 0,
                 'shlib_suffix': 'so.65',
                 'target_arch': 'x64',
                 'v8_enable_gdbjit': 0,
                 'v8_enable_i18n_support': 1,
                 'v8_enable_inspector': 1,
                 'v8_no_strict_aliasing': 1,
                 'v8_optimized_debug': 0,
                 'v8_promise_internal_field_count': 1,
                 'v8_random_seed': 0,
                 'v8_trace_maps': 0,
                 'v8_typed_array_max_size_in_heap': 0,
                 'v8_use_snapshot': 'true',
                 'want_separate_host_toolset': 0}}
creating config.gypi
creating config.status
creating config.mk
Warning: Missing input files:
deps\v8\gypfiles\..\src\parsing\preparse-data-format.h

Thanks for pointers.

Any suggestions as to what toolchain I could try "uninstall and reinstall" would be appreciated...

@targos
Copy link
Member

targos commented Aug 27, 2018

FWIW I have the latest version of the "Visual Studio Build Tools 2017" (selected "Visual C++ build tools" in the installer).

@guybedford
Copy link
Contributor Author

Sure, let me try another installation.

@guybedford
Copy link
Contributor Author

I've uninstalled everything to do with Visual Studio from my machine and reinstalled the Visual C++ build tools from the installer and still get the same issue.

Any other suggestions welcome, but will close for now as an unsolvable mystery.

@refack
Copy link
Contributor

refack commented Aug 27, 2018

vcvarsall.bat reset echo off (similar to +x in bash). So could you call vcbuild twice:

set DEBUG_HELPER=1
vcbuild.bat
vcbuild.bat

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues and PRs related to build files or the CI. question Issues that look for answers. windows Issues and PRs related to the Windows platform.
Projects
None yet
Development

No branches or pull requests

5 participants