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):


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/ recipe for target '/home/dlima/Workspace/orca/src/out/Default/obj/third_party/libadblockplus/build/android_arm.release/' failed
make[2]: *** [/home/dlima/Workspace/orca/src/out/Default/obj/third_party/libadblockplus/build/android_arm.release/] 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
Set env variable

It seems to ignore the environment variables and 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

Setting the environment variables CXX_host and CC_host fixed the issue for me

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

Add Comment

Modify Ticket

Change Properties
as closed .
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from diegocarloslima.
Note: See TracTickets for help on using tickets.