question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't build brave browser

See original GitHub issue

Description

When running the build command it has errors.

Steps to Reproduce

Actual result:

e\app\theme\default_200_percent\chromium\webstore_icon_24.png
c:\brave-browser\src\brave\app\theme\default_200_percent\brave\webstore_icon_32.png copied to c:\brave-browser\src\chrome\app\theme\default_200_percent\chromium\webstore_icon_32.png
building brave...
update omaha midl files...
gn gen c:\brave-browser\src\out\Release --args="safe_browsing_mode=1 root_extra_deps=[\"//brave\"] is_component_build=false proprietary_codecs=true ffmpeg_branding=\"Chrome\" enable_nacl=false enable_widevine=true target_cpu=\"x64\" is_official_build=false is_debug=false dcheck_always_on=false brave_channel=\"development\" google_api_key=\"AIzaSyAH90V94EcZBP5oH7oc-mXQrSKgASVxER8\" brave_google_api_key=\"AIzaSyAQfxPJiounkhOjODEO5ZieffeBv6yft2Q\" brave_google_api_endpoint=\"https://www.googleapis.com/geolocation/v1/geolocate?key=\" brave_product_name=\"Brave\" brave_project_name=\"brave\" brave_version_major=\"0\" brave_version_minor=\"64\" brave_version_build=\"4\" chrome_version_string=\"73.0.3683.75\" chrome_version_major=\"73\" safebrowsing_api_endpoint=\"safebrowsing.brave.com\" brave_referrals_api_key=\"\" enable_hangout_services_extension=true symbol_level=2 enable_profiling=true is_win_fastlink=true cc_wrapper=\"c:\brave-browser\src\brave\script\redirect-cc.cmd\" "
Traceback (most recent call last):
  File "c:/brave-browser/src/build/vs_toolchain.py", line 502, in <module>
    sys.exit(main())
  File "c:/brave-browser/src/build/vs_toolchain.py", line 498, in main
    return commands[sys.argv[1]](*sys.argv[2:])
  File "c:/brave-browser/src/build/vs_toolchain.py", line 324, in CopyDlls
    _CopyDebugger(target_dir, target_cpu)
  File "c:/brave-browser/src/build/vs_toolchain.py", line 357, in _CopyDebugger
    % (debug_file, full_path))
Exception: dbghelp.dll not found in "C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\dbghelp.dll"
You must install the "Debugging Tools for Windows" feature from the Windows 10 SDK.
ERROR at //build/toolchain/win/BUILD.gn:50:3: Script returned non-zero exit code.
  exec_script("../../vs_toolchain.py",
  ^----------
Current dir: c:/brave-browser/src/out/Release/
Command: c:/brave-browser/vendor/depot_tools/win_tools-2_7_6_bin/python/bin/python.exe c:/brave-browser/src/build/vs_toolchain.py copy_dlls c:/brave-browser/src/out/Release Release x64
Returned 1 and printed out:

Copying C:\WINDOWS\Sysnative\msvcp140.dll to c:/brave-browser/src/out/Release\msvcp140.dll...
Copying C:\WINDOWS\Sysnative\vccorlib140.dll to c:/brave-browser/src/out/Release\vccorlib140.dll...
Copying C:\WINDOWS\Sysnative\vcruntime140.dll to c:/brave-browser/src/out/Release\vcruntime140.dll...
Copying C:\WINDOWS\Sysnative\ucrtbase.dll to c:/brave-browser/src/out/Release\ucrtbase.dll...

See //BUILD.gn:62:1: which caused the file to be included.
group("gn_all") {
^----------------
null
null
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! brave@0.64.4 build: `node ./scripts/commands.js build "Release" "--debug_build=true" "--official_build=false"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the brave@0.64.4 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Saxon Brooker\AppData\Roaming\npm-cache\_logs\2019-03-17T22_09_22_109Z-debug.log

Expected result:

Built version of brave

Reproduces how often:

Every time i try.

Brave version (brave://version info)

Latest version. Windows 10.

Reproducible on current release:

  • Yes

Website problems only:

  • None

Additional Information

No

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
saxobrokocommented, Mar 20, 2019

the build was a success

1reaction
saxobrokocommented, Mar 19, 2019

its been building for a couple hours now so i think i fixed ill reply when its done if it did work.

Read more comments on GitHub >

github_iconTop Results From Across the Web

AUR can't build brave browser - Manjaro Linux Forum
I am using brave browser once in a while which is build from AUR. I am seeing currently an error building it: Building...
Read more >
Brave build doesn't show error but can't start
I build from the brave-core@1.43.39 version. Compiling fvm_shared v0.6.1 Compiling ... Brave build doesn't show error but can't start.
Read more >
Making Brave browser default doesn't work - Desktop Support
Firstly make another browser default, then try to make Brave to be the default browser in its settings. Try to open some link...
Read more >
Cannot set brave as default browser - Developer Builds
Issue: Cannot make Brave the default browser on Linux ... Steps to Reproduce Go to chrome://settings/ Scroll to Default browser Click Make default ......
Read more >
Can't add new site in Top sites - Nightly Builds
I have been using brave nightly build Version 1.42.10 (64-bit) on my Arch linux 5.18.5-arch1-1 with kde DE the window of adding a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found