MacOS Catalina, 10.15. Building the aosp_car_x86_64 target, Android 10. I manually added the changes in your commit, and fixed the sepolicy_tests.
Thanks! On Sunday, November 24, 2019 at 4:47:46 AM UTC+2, Dan Willemsen wrote: > > If you're trying to build android 10 (and not master), your best bet would > be to run a VM with Linux in order to build -- it very well may be a faster > build, and it will be a lot closer to what actually ships. The Mac build > works well enough for development, but it's not as complete as the Linux > build, and tends to require older Mac versions (the Mac version that was > out when the Android version was being developed -- in this case, Android > 10 should work fine with 10.14, but not 10.15). > > It looks like it's crashing because libc++ is being embedded twice into > the process (once as a shared library, then statically in the dlopened > libsepolwrap.so). I've got a fix here: > https://android-review.googlesource.com/c/platform/system/sepolicy/+/1173528 > > - Dan > > On Sat, Nov 23, 2019 at 6:15 PM Dr. Dhanyu Eshaka <[email protected] > <javascript:>> wrote: > >> No moved back to Mojave ..... MAC OSX 10.14 >> I think those errors has to do with Python compatibility issue or >> libsepolwrap.dylib conflict with Catalina >> >> Please let me know if you fix this. I am curious to know >> >> - Dhanyu >> >> >> >> On Fri, Nov 22, 2019 at 7:11 AM Jianwu Gao <[email protected] >> <javascript:>> wrote: >> >>> Hi >>> I got same errors,not fixed yet >>> Have you fix this issue? >>> >>> Dr. Dhanyu Eshaka <[email protected] <javascript:>> 于2019年11月18日周一 >>> 上午1:23写道: >>> >>>> After updating MAC OSX to 10.15.1 (Catalina) I get the following errors >>>> on sepolicy. >>>> >>>> The target build device is Pixel 3a XL ( android-10.0.0_r10) >>>> >>>> I need to resolve this ASAP. Any help would be appreciated. >>>> >>>> [ 77% 78861/101937] build >>>> out/target/product/bonito/obj/ETC/sepolicy_tests_intermediates/sepolicy_tests >>>> >>>> FAILED: >>>> out/target/product/bonito/obj/ETC/sepolicy_tests_intermediates/sepolicy_tests >>>> >>>> /bin/bash -c "(out/host/darwin-x86/bin/sepolicy_tests -l >>>> out/host/darwin-x86/lib64/libsepolwrap.dylib -f >>>> out/target/product/bonito/obj/ETC/plat_file_contexts_intermediates/plat_file_contexts >>>> >>>> -f >>>> out/target/product/bonito/obj/ETC/vendor_file_contexts_intermediates/vendor_file_contexts >>>> >>>> -p out/target/product/bonito/obj/ETC/sepolicy_intermediates/sepolicy ) >>>> && (touch >>>> out/target/product/bonito/obj/ETC/sepolicy_tests_intermediates/sepolicy_tests >>>> >>>> )" >>>> >>>> /bin/bash: line 1: 8780 Segmentation fault: 11 ( >>>> out/host/darwin-x86/bin/sepolicy_tests -l >>>> out/host/darwin-x86/lib64/libsepolwrap.dylib -f >>>> out/target/product/bonito/obj/ETC/plat_file_contexts_intermediates/plat_file_contexts >>>> >>>> -f >>>> out/target/product/bonito/obj/ETC/vendor_file_contexts_intermediates/vendor_file_contexts >>>> >>>> -p out/target/product/bonito/obj/ETC/sepolicy_intermediates/sepolicy ) >>>> >>>> 06:54:50 ninja failed with: exit status 1 >>>> >>>> -- >>>> -- >>>> You received this message because you are subscribed to the "Android >>>> Building" mailing list. >>>> To post to this group, send email to [email protected] >>>> <javascript:> >>>> To unsubscribe from this group, send email to >>>> [email protected] <javascript:> >>>> 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] <javascript:>. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/android-building/3abf0458-046d-4e69-8faf-fa483941e10b%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/android-building/3abf0458-046d-4e69-8faf-fa483941e10b%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] >>> <javascript:> >>> To unsubscribe from this group, send email to >>> [email protected] <javascript:> >>> 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] <javascript:>. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/android-building/CAPDXgOt0NEhCmrn501JCpWyA8bWiPiQOkrUA1MQmcycdkNpAug%40mail.gmail.com >>> >>> <https://groups.google.com/d/msgid/android-building/CAPDXgOt0NEhCmrn501JCpWyA8bWiPiQOkrUA1MQmcycdkNpAug%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> >> >> >> -- >> ~Life is beautiful~ >> >> -- >> -- >> You received this message because you are subscribed to the "Android >> Building" mailing list. >> To post to this group, send email to [email protected] >> <javascript:> >> To unsubscribe from this group, send email to >> [email protected] <javascript:> >> 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] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/android-building/CAC7DM53A8gw-4t-Lf5zTs-yrc_mJudoOv1ZPs7kq-z8Zvp3e8A%40mail.gmail.com >> >> <https://groups.google.com/d/msgid/android-building/CAC7DM53A8gw-4t-Lf5zTs-yrc_mJudoOv1ZPs7kq-z8Zvp3e8A%40mail.gmail.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/f2829c8c-1287-47e9-9c6d-2f52767ef917%40googlegroups.com.
