Hi,

There is another discussion thread, regarding "sepolicy tests failing", 
search here.
I had a similar issue also, and this is the fix: 
https://android-review.googlesource.com/c/platform/system/sepolicy/+/1173528/1/tests/Android.bp#b10

On Thursday, April 9, 2020 at 1:52:12 AM UTC+3, Kandalai wrote:
>
> Hello,
>
> I am seeing that selinux module build is failing while trying to build 
> aosp9 on code build. The environment setup is working fine on my EC2 
> instance.
>
> Can someone point me what could be the issue.
>
> [ 99% 9131/9198] build 
> out/target/product/tb8788p1_64_bsp/obj/ETC/sepolicy_tests_intermediates/sepolicy_tests
> FAILED: 
> out/target/product/tb8788p1_64_bsp/obj/ETC/sepolicy_tests_intermediates/sepolicy_tests
>  
> /bin/bash -c "(out/host/linux-x86/bin/sepolicy_tests -l 
> out/host/linux-x86/lib64/libsepolwrap.so -f 
> out/target/product/tb8788p1_64_bsp/obj/ETC/plat_file_contexts_intermediates/plat_file_contexts
>   
> -f 
> out/target/product/tb8788p1_64_bsp/obj/ETC/vendor_file_contexts_intermediates/vendor_file_contexts
>   
> -p 
> out/target/product/tb8788p1_64_bsp/obj/ETC/sepolicy_intermediates/sepolicy 
> ) && (touch 
> out/target/product/tb8788p1_64_bsp/obj/ETC/sepolicy_tests_intermediates/sepolicy_tests
>  
> )"
> ImportError: No module named site
>
> Thanks & Regards
> SRK
>
>

-- 
-- 
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/3affe2dc-bd2a-44d7-8297-8e7cb70cfdfa%40googlegroups.com.

Reply via email to