vendor/aosp/build/soong/generator/generator.go is not a file that exists in
our tree, and android.PathForSourceRelaxed has never existed in our tree.
You'll have to report this to whoever you got your non-AOSP code from.
On Mon, Apr 1, 2019 at 9:38 AM Flávio Silva wrote:
> error while executing make
>
>
> PLATFORM_VERSION_CODENAME=REL
> PLATFORM_VERSION=9
> TARGET_PRODUCT=aosp_sagit
> TARGET_BUILD_VARIANT=user
> TARGET_BUILD_TYPE=release
> TARGET_ARCH=arm64
> TARGET_ARCH_VARIANT=armv8-a
> TARGET_CPU_VARIANT=cortex-a73
> TARGET_2ND_ARCH=arm
> TARGET_2ND_ARCH_VARIANT=armv8-a
> TARGET_2ND_CPU_VARIANT=cortex-a73
> HOST_ARCH=x86_64
> HOST_2ND_ARCH=x86
> HOST_OS=linux
> HOST_OS_EXTRA=Linux-4.9.0-8-amd64-x86_64-Debian-GNU/Linux-9-(stretch)
> HOST_CROSS_OS=windows
> HOST_CROSS_ARCH=x86
> HOST_CROSS_2ND_ARCH=x86_64
> HOST_BUILD_TYPE=release
> BUILD_ID=PQ1A.181205.006.A1
> OUT_DIR=out
> PRODUCT_SOONG_NAMESPACES= hardware/qcom/audio-caf-msm8998
> hardware/qcom/display-caf-msm8998 hardware/qcom/media-caf-
> msm8998
>
> [1/1] out/soong/.minibootstrap/minibp out/soong/.bootstrap/build.ninja
> [55/56] glob prebuilts/ndk/stl.bp
> [38/78] compile
> out/soong/.bootstrap/soong-aosp-generator/pkg/aosp/soong/generator.a
> FAILED:
> out/soong/.bootstrap/soong-aosp-generator/pkg/aosp/soong/generator.a
> GOROOT='prebuilts/go/linux-x86'
> prebuilts/go/linux-x86/pkg/tool/linux_amd64/compile -c 8 -o
> out/soong/.bootstrap/soo
> ng-aosp-generator/pkg/aosp/soong/generator.a -p aosp/soong/generator
> -complete -I out/soong/.bootstrap/blueprint-par
> ser/pkg -I out/soong/.bootstrap/blueprint-deptools/pkg -I
> out/soong/.bootstrap/blueprint-pathtools/pkg -I out/soong/
> .bootstrap/blueprint-proptools/pkg -I out/soong/.bootstrap/blueprint/pkg
> -I out/soong/.bootstrap/soong/pkg -I out/so
> ong/.bootstrap/blueprint-bootstrap-bpdoc/pkg -I
> out/soong/.bootstrap/blueprint-bootstrap/pkg -I out/soong/.bootstrap
> /soong-env/pkg -I out/soong/.bootstrap/soong-android/pkg -I
> out/soong/.bootstrap/soong-shared/pkg -pack vendor/aosp/
> build/soong/generator/generator.go
> vendor/aosp/build/soong/generator/variables.go
> vendor/aosp/build/soong/generator/generator.go:230:38: undefined:
> android.PathForSourceRelaxed
> [45/78] compile
> out/soong/.bootstrap/soong-cc-config/test/android/soong/cc/config.a
> ninja: build stopped: subcommand failed.
> 12:35:20 soong bootstrap failed with: exit status 1
>
> failed to build some targets (08:52 (mm:ss))
>
>
>
>
> thanks for the help
>
>
> --
> --
> 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.