The panicking function (android/soong/cc/config.setSdclangVars) doesn't exist in our tree.
On Fri, Oct 27, 2017 at 2:08 AM, Alwin T Shaji <[email protected]> wrote: > Hi, > > I am trying to build Android O source code. > But while building the source, I am getting the following error. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > * ============================================ > PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=8.0.0 TARGET_PRODUCT=msm8996 > TARGET_BUILD_VARIANT=userdebug TARGET_BUILD_TYPE=release TARGET_ARCH=arm64 > TARGET_ARCH_VARIANT=armv8-a TARGET_CPU_VARIANT=generic TARGET_2ND_ARCH=arm > TARGET_2ND_ARCH_VARIANT=armv7-a-neon TARGET_2ND_CPU_VARIANT=cortex-a9 > HOST_ARCH=x86_64 HOST_2ND_ARCH=x86 HOST_OS=linux > HOST_OS_EXTRA=Linux-4.4.0-83-generic-x86_64-with-Ubuntu-16.04-xenial > HOST_CROSS_OS=windows HOST_CROSS_ARCH=x86 HOST_CROSS_2ND_ARCH=x86_64 > HOST_BUILD_TYPE=release BUILD_ID=OPR6.170623.013 OUT_DIR=out > ============================================ ninja: no work to do. [1/5] > test android/soong/cc/config FAILED: > out/soong/.bootstrap/soong-cc-config/test/test.passed > out/soong/.bootstrap/bin/gotestrunner -p ./build/soong/cc/config -f > out/soong/.bootstrap/soong-cc-config/test/test.passed -- > out/soong/.bootstrap/soong-cc-config/test/test -test.short panic: read > /u/OCar: is a directory goroutine 1 [running]: > android/soong/cc/config.setSdclangVars() > /u/OCar/build/soong/cc/config/global.go:197 +0x20d4 > android/soong/cc/config.init.2() > /u/OCar/build/soong/cc/config/global.go:169 +0xcc9 > android/soong/cc/config.init() > /u/OCar/build/soong/cc/config/tidy_test.go:42 +0x3969 main.init() > /u/OCar/out/soong/.bootstrap/soong-cc-config/test/test.go:34 +0x4e ninja: > build stopped: subcommand failed. 14:23:49 soong bootstrap failed with: > exit status 1 build/core/main.mk:21 <http://main.mk:21>: recipe for target > 'run_soong_ui' failed make: *** [run_soong_ui] Error 1 #### make failed to > build some targets #### * > > > > Can anyone please help me in this. > > Thanks and Regards > -Alwin > > -- > -- > 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.
