grapeup / aaos_device_brcm_rpi4_car

2 stars 2 forks source link

Failed to compile #2

Open benas1989 opened 1 year ago

benas1989 commented 1 year ago

Hello, According to this instruction i try to compile android automotive for raspberry pi 4. https://github.com/grapeup/aaos_local_manifest

After this command i get error lunch aosp_rpi4-userdebug

I use WSL on Window 11. Also try ubuntu virtual masine on hyper-v. Same error.


benas@Benas-MPC:~/android$ lunch aosp_rpi4-userdebug
Failed to compile android/soong/cmd/soong_ui: "/home/benas/android/prebuilts/go/linux-x86/pkg/tool/linux_amd64/compile -N -l -o /home/benas/android/out/.soong_ui_intermediates/android-soong-ui-build/android/soong/ui/build.a -p android/soong/ui/build -complete -pack -nolocalimports -c 16 -trimpath /home/benas/android -I /home/benas/android/out/.soong_ui_intermediates/android-soong-bazel -I /home/benas/android/out/.soong_ui_intermediates/android-soong-finder -I /home/benas/android/out/.soong_ui_intermediates/android-soong-finder-fs -I /home/benas/android/out/.soong_ui_intermediates/android-soong-shared -I /home/benas/android/out/.soong_ui_intermediates/android-soong-ui-build-paths -I /home/benas/android/out/.soong_ui_intermediates/android-soong-ui-logger -I /home/benas/android/out/.soong_ui_intermediates/android-soong-ui-metrics -I /home/benas/android/out/.soong_ui_intermediates/android-soong-ui-metrics-metrics_proto -I /home/benas/android/out/.soong_ui_intermediates/android-soong-ui-metrics-upload_proto -I /home/benas/android/out/.soong_ui_intermediates/android-soong-ui-status -I /home/benas/android/out/.soong_ui_intermediates/android-soong-ui-tracer -I /home/benas/android/out/.soong_ui_intermediates/github.com-google-blueprint -I /home/benas/android/out/.soong_ui_intermediates/github.com-google-blueprint-bootstrap -I /home/benas/android/out/.soong_ui_intermediates/github.com-google-blueprint-deptools -I /home/benas/android/out/.soong_ui_intermediates/github.com-google-blueprint-microfactory -I /home/benas/android/out/.soong_ui_intermediates/google.golang.org-protobuf-proto /home/benas/android/build/soong/ui/build/bazel.go /home/benas/android/build/soong/ui/build/build.go /home/benas/android/build/soong/ui/build/cleanbuild.go /home/benas/android/build/soong/ui/build/config.go /home/benas/android/build/soong/ui/build/config_linux.go /home/benas/android/build/soong/ui/build/context.go /home/benas/android/build/soong/ui/build/dumpvars.go /home/benas/android/build/soong/ui/build/environment.go /home/benas/android/build/soong/ui/build/exec.go /home/benas/android/build/soong/ui/build/finder.go /home/benas/android/build/soong/ui/build/goma.go /home/benas/android/build/soong/ui/build/kati.go /home/benas/android/build/soong/ui/build/ninja.go /home/benas/android/build/soong/ui/build/path.go /home/benas/android/build/soong/ui/build/proc_sync.go /home/benas/android/build/soong/ui/build/rbe.go /home/benas/android/build/soong/ui/build/sandbox_config.go /home/benas/android/build/soong/ui/build/sandbox_linux.go /home/benas/android/build/soong/ui/build/soong.go /home/benas/android/build/soong/ui/build/test_build.go /home/benas/android/build/soong/ui/build/upload.go /home/benas/android/build/soong/ui/build/util.go": exit status 2
exit status 1
benas@Benas-MPC:~/android$

Maybe someone can help?

deepakmnvl commented 1 year ago

Hi, I, too facing the same issue, my setup is Native Ubuntu machine (Ubuntu 20.04.6 LTS).

I am able to compile android from google's repo and successfully launched android emulator, but facing issues with grapeup repo

Do we have any solution for this ?