I have checked out the code again and now i could see envsetup.sh in build
folder.

when i try to build i am getting below error.


*. build/envsetup.sh *
including device/generic/car/vendorsetup.sh
including device/generic/mini-emulator-arm64/vendorsetup.sh
including device/generic/mini-emulator-armv7-a-neon/vendorsetup.sh
including device/generic/mini-emulator-x86_64/vendorsetup.sh
including device/generic/mini-emulator-x86/vendorsetup.sh
including device/generic/uml/vendorsetup.sh
including device/qcom/common/vendorsetup.sh
including sdk/bash_completion/adb.bash

*lunch*

You're building on Linux

Lunch menu... pick a combo:
     1. aosp_arm-eng
     2. aosp_arm64-eng
     3. aosp_mips-eng
     4. aosp_mips64-eng
     5. aosp_x86-eng
     6. aosp_x86_64-eng
     7. aosp_car_emu_arm-userdebug
     8. aosp_car_emu_arm64-userdebug
     9. aosp_car_emu_x86-userdebug
     10. aosp_car_emu_x86_64-userdebug
     11. mini_emulator_arm64-userdebug
     12. m_e_arm-userdebug
     13. mini_emulator_x86_64-userdebug
     14. mini_emulator_x86-userdebug
     15. uml-userdebug
     16. msm8974-userdebug
     17. msm8610-userdebug
     18. msm8226-userdebug
     19. apq8084-userdebug
     20. mpq8092-userdebug
     21. msm_bronze-userdebug
     22. msm8916_32-userdebug
     23. msm8916_32_512-userdebug
     24. msm8916_32_k64-userdebug
     25. msm8916_64-userdebug
     26. msm8994-userdebug
     27. msm8996-userdebug
     28. msm8909-userdebug
     29. msm8909go-userdebug
     30. msm8909_512-userdebug
     31. msm8909_512go-userdebug
     32. msm8992-userdebug
     33. msm8952_64-userdebug
     34. msm8952_32-userdebug
     35. msm8937_32-userdebug
     36. msm8937_32go-userdebug
     37. msm8937_64-userdebug
     38. msm8953_32-userdebug
     39. msm8953_64-userdebug
     40. msm8998-userdebug
     41. msm8998_32-userdebug
     42. sdm660_64-userdebug
     43. sdm660_32-userdebug
     44. sdm845-userdebug
     45. apq8098_latv-userdebug
     46. msmpeafowl-userdebug

*Which would you like? [aosp_arm-eng] 39*
device/qcom/msm8953_64/msm8953_64.mk:24: "Build with 4.9 kernel"

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.1.0
TARGET_PRODUCT=msm8953_64
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_PLATFORM_VERSION=OPM1
TARGET_BUILD_APPS=
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-a53
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.19.0-66-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OPM1.171019.026
OUT_DIR=out
AUX_OS_VARIANT_LIST=
============================================



*make -j16*
device/qcom/msm8953_64/msm8953_64.mk:24: "Build with 4.9 kernel"
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.1.0
TARGET_PRODUCT=msm8953_64
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-a53
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.19.0-66-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OPM1.171019.026
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 [project path here]: is a directory

goroutine 1 [running]:
android/soong/cc/config.setSdclangVars()
 [project path here]/build/soong/cc/config/global.go:206 +0x17bc
android/soong/cc/config.init.2()
 [project path here]/build/soong/cc/config/global.go:179 +0xcd6
android/soong/cc/config.init()
[project path here]/build/soong/cc/config/tidy_test.go:42 +0x3cbb
main.init()
 [project path here]/out/soong/.bootstrap/soong-cc-config/test/test.go:64
+0x58
ninja: build stopped: subcommand failed.
23:59:44 soong failed with: exit status 1

#### failed to build some targets (6 seconds) ####


anyone faced this?

Tag downloaded is LA.UM.6.6.2.r1-05000-89xx.0.xml

Regards,
Ashok







On Thu, Sep 20, 2018 at 6:47 AM 'Dan Willemsen' via Android Building <
android-building@googlegroups.com> wrote:

> It sounds like you're using at least some of the code from Oreo, but
> didn't take the repo manifest updates that added <linkfile> entries to put
> those back into place. Which may mean that you're also missing new
> projects, or still have projects that have been removed as well.
>
> - Dan
>
> On Wed, Sep 19, 2018 at 8:57 AM Glenn Kasten <gkas...@android.com> wrote:
>
>> On Linux, build/envsetup.sh is a symlink to make/envsetup.sh so you can
>> still use:
>>    . build/envsetup.sh
>>
>> Are you sure you are in the top directory of your sandbox when you issued
>> the ". build/envsetup.sh" ?
>>
>> "lunch 39" might not be a valid lunch target.  Try using another lunch
>> target name such as
>> "lunch aosp_arm-eng" etc.
>>
>>
>> On Wednesday, September 19, 2018 at 8:21:53 AM UTC-7, ashok reddy reddy
>> wrote:
>>>
>>> I am trying to build android O code. Looks like in O some folder
>>> structure is modified ie envsetup.sh is moved form build/envsetup.sh to
>>> build/make/envsetup.sh.
>>>
>>> Lunch command is failing for me.
>>>
>>>
>>> *. build/make/envsetup.sh *
>>> including device/generic/car/vendorsetup.sh
>>> including device/generic/mini-emulator-arm64/vendorsetup.sh
>>> including device/generic/mini-emulator-armv7-a-neon/vendorsetup.sh
>>> including device/generic/mini-emulator-x86_64/vendorsetup.sh
>>> including device/generic/mini-emulator-x86/vendorsetup.sh
>>> including device/generic/uml/vendorsetup.sh
>>> including device/qcom/common/vendorsetup.sh
>>> including sdk/bash_completion/adb.bash
>>>
>>>
>>> *lunch 39*
>>> cat: /build/envsetup.sh: No such file or directory
>>> cat: /build/envsetup.sh: No such file or directory
>>> make: build/core/config.mk: No such file or directory
>>> make: *** No rule to make target `build/core/config.mk'.  Stop.
>>>
>>> anyone build android O code?...
>>>
>>>
>>> Please let me know the steps to build.
>>>
>>>
>>> --
>> --
>> You received this message because you are subscribed to the "Android
>> Building" mailing list.
>> To post to this group, send email to android-building@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-building+unsubscr...@googlegroups.com
>> 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 android-building+unsubscr...@googlegroups.com.
>> 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 android-building@googlegroups.com
> To unsubscribe from this group, send email to
> android-building+unsubscr...@googlegroups.com
> 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 android-building+unsubscr...@googlegroups.com.
> 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 android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
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 android-building+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to