A real fix is at https://android-review.googlesource.com/c/platform/build/+/642759
On Mar 16, 2018 5:58 PM, "Colin Cross" <[email protected]> wrote: > I can reproduce this in AOSP with: > lunch hikey960-userdebug > m simpleperf_unit_test > > The problem is a conflict between installing the AndroidTest.xml file and > building simpleperf_unit_test for windows. A workaround is to disable > building the module for windows: > > diff --git a/simpleperf/Android.mk b/simpleperf/Android.mk > index 012635162..394dbf764 100644 > --- a/simpleperf/Android.mk > +++ b/simpleperf/Android.mk > @@ -392,7 +392,7 @@ include $(BUILD_NATIVE_TEST) > # simpleperf_unit_test host > include $(CLEAR_VARS) > LOCAL_MODULE := simpleperf_unit_test > -LOCAL_MODULE_HOST_OS := darwin linux windows > +LOCAL_MODULE_HOST_OS := darwin linux > LOCAL_CFLAGS := $(simpleperf_cflags_host) > LOCAL_CFLAGS_darwin := $(simpleperf_cflags_host_darwin) > LOCAL_CFLAGS_linux := $(simpleperf_cflags_host_linux) > > > > On Fri, Mar 16, 2018 at 2:42 PM Manoj Babu <[email protected]> wrote: > >> Not sure if this is the right place for this. Please provide direction if >> not. >> >> Trying to compile simpleperf from master branch results in error: >> >> Copy: /simpleperf_unit_test/simpleperf_unit_test.configninja: error: >> mkdir(/simpleperf_unit_test): Permission denied >> >> This seems like a simple fix, but I am not sure how to do this. >> This has been the case for a week now. >> >> I tried reverting back to the changeID for simpleperf that I want ( >> Ida90ecd465e5c63f0f813cde63d70acfeb1281da) but this version does not >> seem to gel well with current master branch. >> >> I am compiling for lunch configuration aosp_arm64 >> >> error: external/perf_data_converter/src/quipper/Android.bp:163:1: >> dependency "libsimpleperf_elf_read" of "quipper_unit_tests" missing variant: >> arch:linux_glibc_x86_64, link:static >> available variants: >> arch:android_arm64_armv8-a, image:core, link:static >> arch:android_arm_armv8-a, image:core, link:static >> >> Any help will be appreciated! >> Environment Details >> >> AOSP master branch (03/16/18) >> lunch aosp_arm64 (For use on Nexus 6P) >> Ubuntu 16.04 build system >> >> -- >> -- >> 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]. >> For more options, visit https://groups.google.com/d/optout. >> > -- -- 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]. For more options, visit https://groups.google.com/d/optout.
