Hi Guys, I also met this error when I built CTS package:
[ 3% 54/1368] RenderScript: CtsRenderscriptTestCases <= cts/tests/tests/renderscript/src/android/renderscript/cts/AtomicTest.rs... FAILED: out/target/common/obj/APPS/CtsRenderscriptTestCases_intermediates/renderscript/rs.srcjar out/target/common/obj/APPS/CtsRenderscriptTestCases_intermediates/renderscript/res.zip /bin/bash out/target/common/obj/APPS/CtsRenderscriptTestCases_intermediates/renderscript/rs.srcjar.rsp rm: out/target/common/obj/APPS/CtsRenderscriptTestCases_intermediates/renderscript: Directory not empty The build failed at the line below: https://android.googlesource.com/platform/build/+/master/core/definitions.mk#952 rm -rf out/target/common/obj/APPS/CtsRenderscriptTestCases_intermediates/renderscript failed. I didn't figure out the root cause, but there is a workaround could apply: Change the mk file: -$(hide) rm -rf $(PRIVATE_RS_OUTPUT_DIR) +$(hide) rm -rf $(PRIVATE_RS_OUTPUT_DIR)/* Best Regard Zhe Tong On Monday, July 13, 2020 at 7:41:49 AM UTC+8 [email protected] wrote: > Hi Jean i am also facing same issue when i build ctc build. > Can you please suggest what changes you have done locally make it work > > Note: i am building CTC build in external hard disc > > RenderScript: CtsRenderscriptTestCases <= > cts/tests/tests/renderscript/src/android/renderscript/cts/AtomicTest.rs ct > FAILED: > out/target/common/obj/APPS/CtsRenderscriptTestCases_intermediates/renderscript/rs.srcjar > > out/target/common/obj/APPS/CtsRenderscriptTestCases_intermediates/renderscript/res.zip > /bin/bash > out/target/common/obj/APPS/CtsRenderscriptTestCases_intermediates/renderscript/rs.srcjar.rsp > rm: > out/target/common/obj/APPS/CtsRenderscriptTestCases_intermediates/renderscript: > > Directory not empty > 10:38:01 ninja failed with: exit status 1 > > > On Monday, 23 September 2019 20:19:37 UTC+5:30, Jean-Marc GRIMAUD wrote: >> >> Hi, >> I am trying to build VTS according to instructions bellow: >> https://source.android.com/compatibility/vts/systems >> >> I work on release android-10.0.0_r2 >> The build fail with the following message: >> >> RenderScript: CtsRenderscriptTestCases <= >> cts/tests/tests/renderscript/src/android/renderscript/cts/AtomicTest.rs >> cts/tests/tests/renderscript/src/android/renders >> FAILED: >> out/target/common/obj/APPS/CtsRenderscriptTestCases_intermediates/renderscript/rs.srcjar >> >> out/target/common/obj/APPS/CtsRenderscriptTestCases_intermediates/renderscript/res.zip >> /bin/bash >> out/target/common/obj/APPS/CtsRenderscriptTestCases_intermediates/renderscript/rs.srcjar.rsp >> rm: >> out/target/common/obj/APPS/CtsRenderscriptTestCases_intermediates/renderscript: >> >> Directory not empty >> 13:33:22 ninja failed with: exit status 1 >> >> Any idea how to solve this issue ? >> >> thanks a lot ! >> > -- -- 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/4ba3bae9-d472-4338-b54b-ea998c06d418n%40googlegroups.com.
