Opened on 04/20/2018 at 10:00:16 AM
Closed on 05/04/2018 at 06:58:07 PM
#6601 closed defect (fixed)
Build fails on Ubuntu 16.04
Reported by: | diegocarloslima | Assignee: | diegocarloslima |
---|---|---|---|
Priority: | Unknown | Milestone: | |
Module: | Adblock-Plus-for-Chromium | Keywords: | |
Cc: | anton | Blocked By: | |
Blocking: | Platform: | Android | |
Ready: | yes | Confidential: | no |
Tester: | Unknown | Verified working: | no |
Review URL(s): |
https://gitlab.com/eyeo/adblockplus/chromium/merge_requests/15 |
Description
While building ABP Chromium on my new laptop with Ubuntu 16.04, I got the following error:
make[2]: /usr/bin/clang++: Command not found src/v8_base.host.android_arm.release.mk:689: recipe for target '/home/dlima/Workspace/orca/src/out/Default/obj/third_party/libadblockplus/build/android_arm.release/obj.host/v8_base/gen/src/inspector/protocol/Protocol.o' failed make[2]: *** [/home/dlima/Workspace/orca/src/out/Default/obj/third_party/libadblockplus/build/android_arm.release/obj.host/v8_base/gen/src/inspector/protocol/Protocol.o] Error 127 rm src_inspector_inspector_gyp_protocol_generated_sources_target_protocol_generated_sources.intermediate make[2]: Leaving directory '/home/dlima/Workspace/orca/src/out/Default/obj/third_party/libadblockplus/build' Makefile:100: recipe for target 'v8_android_multi' failed make[1]: *** [v8_android_multi] Error 2 make[1]: Leaving directory '/home/dlima/Workspace/orca/src/third_party/libadblockplus' Makefile:93: recipe for target 'android_arm' failed make: *** [android_arm] Error 2 Set cwd=/home/dlima/Workspace/orca/src/third_party/libadblockplus Set env variable SKIP_DEPENDENCY_UPDATES=true Set env variable ANDROID_NDK_ROOT=/home/dlima/Workspace/orca/src/third_party/libadblockplus/third_party/android-ndk-r12b Set env variable BUILD_DIR=/home/dlima/Workspace/orca/src/out/Default/obj/third_party/libadblockplus/build Set env variable CXX.host=g++ Set env variable CC.host=gcc
It seems to ignore the environment variables CXX.host and CC.host and tries to use clang++ (which is not installed) instead to compile libadblockplus
Attachments (0)
Change History (5)
comment:1 Changed on 04/20/2018 at 10:04:39 AM by diegocarloslima
comment:2 Changed on 04/20/2018 at 10:43:15 AM by diegocarloslima
As decided through IRC discussion, we'll just override both now and create a follow up ticket.
comment:3 Changed on 04/20/2018 at 10:43:29 AM by diegocarloslima
- Owner set to diegocarloslima
- Ready set
comment:4 Changed on 04/20/2018 at 11:47:35 AM by diegocarloslima
- Review URL(s) modified (diff)
- Status changed from new to reviewing
comment:5 Changed on 05/04/2018 at 06:58:07 PM by asmirnov
- Resolution set to fixed
- Status changed from reviewing to closed
Note: See
TracTickets for help on using
tickets.
Setting the environment variables CXX_host and CC_host fixed the issue for me