Can't build on darwin: module "libcras_sys" variant "darwin_x86_64_rlib": depends on disabled module "libdata_model"

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Can't build on darwin: module "libcras_sys" variant "darwin_x86_64_rlib": depends on disabled module "libdata_model"

Brian Duff
I just repo synced, and can no longer build on darwin (building on linux works fine)

$ . build/envsetup.sh
$ make -j aapt2
============================================
PLATFORM_VERSION_CODENAME=R
PLATFORM_VERSION=R
TARGET_PRODUCT=aosp_arm
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_OS=darwin
HOST_OS_EXTRA=Darwin-18.7.0-x86_64-10.14.6
HOST_BUILD_TYPE=release
BUILD_ID=QD1A.190821.011
OUT_DIR=out
============================================
[100% 1/1] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
FAILED: out/soong/build.ninja
out/soong/.bootstrap/bin/soong_build -t -l out/.module_paths/Android.bp.list -b out/soong -n out -d out/soong/build.ninja.d -globFile out/soong/.bootstrap/build-globs.ninja -o out/soong/build.ninja Android.bp
error: external/adhd/cras/client/cras-sys/Android.bp:1:1: module "libcras_sys" variant "darwin_x86_64_rlib": depends on disabled module "libdata_model"
error: external/adhd/cras/client/cras-sys/Android.bp:1:1: module "libcras_sys" variant "darwin_x86_64_rlib": depends on disabled module "libdata_model"
11:44:37 soong bootstrap failed with: exit status 1

#### failed to build some targets (38 seconds) ####


--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to [hidden email]
To unsubscribe from this group, send email to
[hidden email]
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/5d43514b-a5bc-4aa1-bcaa-cee691b4e2ef%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Can't build on darwin: module "libcras_sys" variant "darwin_x86_64_rlib": depends on disabled module "libdata_model"

Brian Duff
fwiw, this was caused by https://android.googlesource.com/platform/external/crosvm/+/324ed130340e591a0ffbc2ef8d2a7b4a2d116be0 and fixed in https://android-review.googlesource.com/c/platform/external/adhd/+/1168284

On Friday, November 15, 2019 at 2:56:57 PM UTC-8, Brian Duff wrote:
I just repo synced, and can no longer build on darwin (building on linux works fine)

$ . build/envsetup.sh
$ make -j aapt2
============================================
PLATFORM_VERSION_CODENAME=R
PLATFORM_VERSION=R
TARGET_PRODUCT=aosp_arm
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_OS=darwin
HOST_OS_EXTRA=Darwin-18.7.0-x86_64-10.14.6
HOST_BUILD_TYPE=release
BUILD_ID=QD1A.190821.011
OUT_DIR=out
============================================
[100% 1/1] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
FAILED: out/soong/build.ninja
out/soong/.bootstrap/bin/soong_build -t -l out/.module_paths/Android.bp.list -b out/soong -n out -d out/soong/build.ninja.d -globFile out/soong/.bootstrap/build-globs.ninja -o out/soong/build.ninja Android.bp
error: external/adhd/cras/client/cras-sys/Android.bp:1:1: module "libcras_sys" variant "darwin_x86_64_rlib": depends on disabled module "libdata_model"
error: external/adhd/cras/client/cras-sys/Android.bp:1:1: module "libcras_sys" variant "darwin_x86_64_rlib": depends on disabled module "libdata_model"
11:44:37 soong bootstrap failed with: exit status 1

#### failed to build some targets (38 seconds) ####


--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to [hidden email]
To unsubscribe from this group, send email to
[hidden email]
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/3e24b739-1ee6-47f7-8508-00534d75bb4c%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Can't build on darwin: module "libcras_sys" variant "darwin_x86_64_rlib": depends on disabled module "libdata_model"

Colin Cross
In reply to this post by Brian Duff

On Fri, Nov 15, 2019 at 2:56 PM Brian Duff <[hidden email]> wrote:
I just repo synced, and can no longer build on darwin (building on linux works fine)

$ . build/envsetup.sh
$ make -j aapt2
============================================
PLATFORM_VERSION_CODENAME=R
PLATFORM_VERSION=R
TARGET_PRODUCT=aosp_arm
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_OS=darwin
HOST_OS_EXTRA=Darwin-18.7.0-x86_64-10.14.6
HOST_BUILD_TYPE=release
BUILD_ID=QD1A.190821.011
OUT_DIR=out
============================================
[100% 1/1] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
FAILED: out/soong/build.ninja
out/soong/.bootstrap/bin/soong_build -t -l out/.module_paths/Android.bp.list -b out/soong -n out -d out/soong/build.ninja.d -globFile out/soong/.bootstrap/build-globs.ninja -o out/soong/build.ninja Android.bp
error: external/adhd/cras/client/cras-sys/Android.bp:1:1: module "libcras_sys" variant "darwin_x86_64_rlib": depends on disabled module "libdata_model"
error: external/adhd/cras/client/cras-sys/Android.bp:1:1: module "libcras_sys" variant "darwin_x86_64_rlib": depends on disabled module "libdata_model"
11:44:37 soong bootstrap failed with: exit status 1

#### failed to build some targets (38 seconds) ####


--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to [hidden email]
To unsubscribe from this group, send email to
[hidden email]
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/5d43514b-a5bc-4aa1-bcaa-cee691b4e2ef%40googlegroups.com.

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