This is definitely a bug, I uploaded a fix here:
https://android-review.googlesource.com/c/platform/build/soong/+/1489596

- Dan

On Thu, Nov 5, 2020 at 8:30 AM Yongqin Liu <[email protected]> wrote:

> 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?
>
> --
> --
> You received this message because you are subscribed to the "Android
> Building" mailing list.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/android-building/b15087b7-fb63-4e96-a3c8-c72092c1c3e2n%40googlegroups.com
> <https://groups.google.com/d/msgid/android-building/b15087b7-fb63-4e96-a3c8-c72092c1c3e2n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/CALQgHd%3D%2B9CWPS_%2BsTV_HnEe4_UX0bmi7_Rgcs8gErY6bEAx-zw%40mail.gmail.com.

Reply via email to