Not able to build with OUT_DIR?

145 views
Skip to first unread message

Yongqin Liu

unread,
Nov 5, 2020, 11:31:32 AM11/5/20
to Android Building
Hi, All

I want to build hikey960 with the default aosp tree with OUT_DIR specified,
but I got following error reported:

Starting ninja...
FAILED: ninja: 'out/host/linux-x86/bin/bindgen', needed by '/data/android/aosp/pure-master/pure-master-out/soong/.intermediates/frameworks/native/libs/binder/rust/libbinder_ndk_bindgen/android_arm64_armv8-a_cortex-a73_source/bindings.rs', missing and no known rule to make it
13:08:47 ninja failed with: exit status 1

If I do not have the OUT_DIR specified explicitly, then there is no problem reported.

Anyone could please help to check if OUT_DIR is not supported or there is any issues with the bindgen module?

Dan Willemsen

unread,
Nov 5, 2020, 2:51:32 PM11/5/20
to Android Building
This is definitely a bug, I uploaded a fix here: https://android-review.googlesource.com/c/platform/build/soong/+/1489596

- Dan

--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to
android-buildi...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

---
You received this message because you are subscribed to the Google Groups "Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-buildi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/b15087b7-fb63-4e96-a3c8-c72092c1c3e2n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages