New issue
Advanced search Search tips

Issue 856250 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: ----
Type: ----


Previous locations:
gerrit:9338


Sign in to add a comment

Wrong path configured for msdia140.dll on windows

Reported by phoebehu...@gmail.com, Jun 25 2018

Issue description

Affected Version:

What steps will reproduce the problem?
1. set DEPOT_TOOLS_WIN_TOOLCHAIN=0
set GYP_MSVS_VERSION=2017
set vs2017_install=C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise
2. gclient revert 



What is the expected output?
gclient revert successfully

What do you see instead?
[executing command] gclient revert 
Bootstrapping cipd client for windows-amd64 from https://chrome-infra-packages.appspot.com/client?platform=windows-amd64&version=git_revision:4d19637ec2c3d1efd8c6a1b05285118b786919e2...
________ running 'C:\Python27\python.exe src/build/landmines.py' in 'D:\Chrome'
________ running 'C:\Python27\python.exe src/third_party/depot_tools/update_depot_tools_toggle.py --disable' in 'D:\Chrome'
________ running 'C:\Python27\python.exe src/tools/remove_stale_pyc_files.py src/android_webview/tools src/build/android src/gpu/gles2_conform_support src/infra src/ppapi src/printing src/third_party/blink/renderer/build/scripts src/third_party/blink/tools src/third_party/catapult src/third_party/closure_compiler/build src/third_party/WebKit/Tools/Scripts src/tools' in 'D:\Chrome'
________ running 'C:\Python27\python.exe src/build/download_nacl_toolchains.py --mode nacl_core_sdk sync --extract' in 'D:\Chrome'
________ running 'C:\Python27\python.exe src/build/vs_toolchain.py update --force' in 'D:\Chrome'
________ running 'C:\Python27\python.exe src/tools/clang/scripts/update.py' in 'D:\Chrome'
Downloading https://commondatastorage.googleapis.com/chromium-browser-clang/Win/clang-334100-1.tgz .......... Done.

Copying C:\Program Files (x86)\Windows Kits\10\..\DIA SDK\bin\amd64\msdia140.dll to D:\Chrome\src\third_party\llvm-build\Release+Asserts\bin

Traceback (most recent call last):

  File "src/tools/clang/scripts/update.py", line 928, in <module>

    sys.exit(main())

  File "src/tools/clang/scripts/update.py", line 924, in main

    return UpdateClang(args)

  File "src/tools/clang/scripts/update.py", line 471, in UpdateClang

    CopyDiaDllTo(os.path.join(LLVM_BUILD_DIR, 'bin'))

  File "src/tools/clang/scripts/update.py", line 399, in CopyDiaDllTo

    CopyFile(dia_dll, target_dir)

  File "src/tools/clang/scripts/update.py", line 237, in CopyFile

    shutil.copy(src, dst)

  File "C:\Python27\lib\shutil.py", line 133, in copy

    copyfile(src, dst)

  File "C:\Python27\lib\shutil.py", line 96, in copyfile

    with open(src, 'rb') as fsrc:

IOError: [Errno 2] No such file or directory: 'C:\\Program Files (x86)\\Windows Kits\\10\\..\\DIA SDK\\bin\\amd64\\msdia140.dll'

Error: Command 'C:\\Python27\\python.exe src/tools/clang/scripts/update.py' returned non-zero exit status 1 in D:\Chrome
[command took 69 seconds] 


Please provide any additional information below.
This issue from commit https://chromium.googlesource.com/chromium/src/+/68e75c9d2b9d877a0c8d8de3e4279740e48827bb%5E%21/#F0

The msdia140.dll located under C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\DIA SDK\bin\amd64

not C:\Program Files (x86)\Windows Kits\10\..\DIA SDK\bin\amd64\
 

Comment 1 by kaspern@google.com, Jun 25 2018

Components: -PolyGerrit

Comment 2 by kaspern@google.com, Jun 25 2018

Project: chromium
Moved issue gerrit:9338 to now be issue chromium:856250.
Status: Untriaged (was: New)
Issue moved from a project with a different set of status labels. "New" is not a supported status in /p/chromium, so these ended up in a black-hole.

Sign in to add a comment