Opened 2 years ago

Closed 2 years ago

#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

Change History (5)

comment:1 Changed 2 years ago by diegocarloslima

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

comment:2 Changed 2 years ago by diegocarloslima

As decided through IRC discussion, we'll just override both now and create a follow up ticket.

comment:3 Changed 2 years ago by diegocarloslima

  • Owner set to diegocarloslima
  • Ready set

comment:4 Changed 2 years ago by diegocarloslima

  • Review URL(s) modified (diff)
  • Status changed from new to reviewing

comment:5 Changed 2 years ago by asmirnov

  • Resolution set to fixed
  • Status changed from reviewing to closed
Note: See TracTickets for help on using tickets.