Webrtc build error "third_party/llvm-build/Release+Asserts/bin/clang++: No such file or directory"

1,544 views
Skip to first unread message

Tom Liu

unread,
May 30, 2016, 3:11:03 AM5/30/16
to discuss-webrtc
Hi All
I am getting errors of the following type while attempting to compile webrtc_x64 on an Ubuntu 14 system (VirtualBox). 
All gclient sync and other steps have been done as described athttp://www.webrtc.org/native-code/android
When I type "ninja -C out/Debug", it builds for a bit, and then I get an error like this:


[6/3105] CXX obj/webrtc/tools/agc/agc_test_utils.test_utils.o
FAILED: obj/webrtc/tools/agc/agc_test_utils.test_utils.o 
../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/webrtc/tools/agc/agc_test_utils.test_utils.o.d -DV8_DEPRECATION_WARNINGS -D_FILE_OFFSET_BITS=64 -DCHROMIUM_BUILD -DCR_CLANG_REVISION=269902-1 -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1 -DUSE_X11=1 -DUSE_CLIPBOARD_AURAX11=1 -DENABLE_WEBRTC=1 -DENABLE_MEDIA_ROUTER=1 -DENABLE_PEPPER_CDMS -DENABLE_NOTIFICATIONS -DUSE_UDEV -DFIELDTRIAL_TESTING_ENABLED -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PDF=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_PRINTING=1 -DENABLE_BASIC_PRINTING=1 -DENABLE_PRINT_PREVIEW=1 -DENABLE_SPELLCHECK=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_SUPERVISED_USERS=1 -DENABLE_MDNS=1 -DENABLE_SERVICE_DISCOVERY=1 -DV8_USE_EXTERNAL_STARTUP_DATA -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DEXPAT_RELATIVE_PATH -DWEBRTC_BUILD_LIBEVENT -DWEBRTC_POSIX -DWEBRTC_LINUX -DWEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE -DUSE_LIBPCI=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1 -D_DEBUG -D_GLIBCXX_DEBUG=1 -Igen -I../.. -fstack-protector --param=ssp-buffer-size=4 -Werror -pthread -fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -fcolor-diagnostics -B/home/eric/Downloads/webrtc-checkout/src/third_party/binutils/Linux_x64/Release/bin -Wheader-hygiene -Wno-char-subscripts -Wno-unneeded-internal-declaration -Wno-covered-switch-default -Wstring-conversion -Wno-c++11-narrowing -Wno-deprecated-register -Wno-inconsistent-missing-override -Wno-shift-negative-value -Wno-undefined-var-template -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-strict-overflow -Wimplicit-fallthrough -Wthread-safety -Winconsistent-missing-override -m64 -march=x86-64 --sysroot=/home/eric/Downloads/webrtc-checkout/src/build/linux/debian_wheezy_amd64-sysroot -O0 -g -funwind-tables -gsplit-dwarf -fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -std=gnu++11 -Wnon-virtual-dtor -Woverloaded-virtual  -c ../../webrtc/tools/agc/test_utils.cc -o obj/webrtc/tools/agc/agc_test_utils.test_utils.o
/bin/sh: ../../third_party/llvm-build/Release+Asserts/bin/clang++: No such file or directory
ninja: build stopped: subcommand failed.


Is there anyone meet this issue?

Chandan Karmakar

unread,
Jun 23, 2019, 5:36:56 AM6/23/19
to discuss-webrtc
Im also getting same error for mac os 10.14.4 xcode 10.1

Alexandre GOUAILLARD

unread,
Jun 23, 2019, 10:31:29 AM6/23/19
to discuss...@googlegroups.com
something likely failed when you ran the "gclient sync".
this file is supposed to be compiled from automatically downloaded and patched source files for you through an "hook" in the DEPS file.

you can try to run: tools/clang/scripts/update.py
manually yourself, but usually it s just better to erase your folder, and do a full fetch => gclient sync run again.


On Sun, Jun 23, 2019 at 5:36 PM Chandan Karmakar <chan.o...@gmail.com> wrote:
Im also getting same error for mac os 10.14.4 xcode 10.1

--

---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/ed3c81f6-72d5-4336-b2f0-a3c2dfd858b4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Alex. Gouaillard, PhD, PhD, MBA
------------------------------------------------------------------------------------
President - CoSMo Software Consulting, Singapore
------------------------------------------------------------------------------------

Reply all
Reply to author
Forward
0 new messages