New issue
Advanced search Search tips

Issue 639212 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner: ----
Closed: Aug 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Bug



Sign in to add a comment

Incomplete instructions for Windows build by open-source contributors

Project Member Reported by pwnall@chromium.org, Aug 19 2016

Issue description

Version: master
OS: Windows 10 1607

What steps will reproduce the problem?
(1) Setup a Chromium build on Windows 10 following https://chromium.googlesource.com/chromium/src/+/master/docs/windows_build_instructions.md
(2) ninja -C out/Default

What is the expected output?
A successful build.

What do you see instead?
FAILED: cdb/cdb.exe cdb/dbgeng.dll cdb/dbghelp.dll cdb/dbgmodel.dll cdb/winext/ext.dll cdb/winext/uext.dll cdb/winxp/exts.dll cdb/winxp/ntsdexts.dll
C:/Users/pwnall/depot_tools/python276_bin/python.exe ../../build/win/copy_cdb_to_output.py cdb x64
Traceback (most recent call last):
  File "../../build/win/copy_cdb_to_output.py", line 104, in <module>
    sys.exit(main())
  File "../../build/win/copy_cdb_to_output.py", line 100, in main
    return _CopyCDBToOutput(sys.argv[1], sys.argv[2])
  File "../../build/win/copy_cdb_to_output.py", line 84, in _CopyCDBToOutput
    _CopyImpl('cdb.exe', output_dir, src_dir)
  File "../../build/win/copy_cdb_to_output.py", line 43, in _CopyImpl
    shutil.copy(source, target)
  File "C:\Users\pwnall\depot_tools\python276_bin\lib\shutil.py", line 119, in copy
    copyfile(src, dst)
  File "C:\Users\pwnall\depot_tools\python276_bin\lib\shutil.py", line 82, in copyfile
    with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: 'C:\\Program Files (x86)\\Windows Kits\\10\\Debuggers\\x64\\cdb.exe'

Please use labels and text to provide additional information.

I will upload a CL that modifies the build instructions.
 
Project Member

Comment 2 by bugdroid1@chromium.org, Aug 22 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/43b43ba9d4873b8ab11d1848ceb5ebd9befcf1c8

commit 43b43ba9d4873b8ab11d1848ceb5ebd9befcf1c8
Author: pwnall <pwnall@chromium.org>
Date: Mon Aug 22 19:29:29 2016

Document CDB dependency in Windows build for external contributors.

The Windows 10 SDK installed by Visual Studio 2015 Community Edition
does not include Debugging Tools for Windows. The build process requires
CDB. According to the MSDN page on Debugging Tools, they are also
bundled with the Windows Driver Kit, which is freely available. So, we
can point our external contributors to the WDK to get CDB.

BUG= 639212 

Review-Url: https://codereview.chromium.org/2263513002
Cr-Commit-Position: refs/heads/master@{#413506}

[modify] https://crrev.com/43b43ba9d4873b8ab11d1848ceb5ebd9befcf1c8/docs/windows_build_instructions.md

Comment 3 by pwnall@chromium.org, Aug 23 2016

Status: Fixed (was: Untriaged)

Sign in to add a comment