sonyxperiadev / device-sony-loire

17 stars 40 forks source link

error when compile aosp #157

Closed pmrk74 closed 7 years ago

pmrk74 commented 7 years ago

i downloaded aosp oreo source but when compile the source after compile 89% have a problem:


ninja: build stopped: subcommand failed.
11:22:26 ninja failed with: exit status 1
build/core/main.mk:21: recipe for target 'run_soong_ui' failed
make: *** [run_soong_ui] Error 1
jerpelea commented 7 years ago

please run repo_sync.sh and start compilation after

pmrk74 commented 7 years ago

how run repo_sync.sh?

jerpelea commented 7 years ago

it is in the root of your repo folder

pmrk74 commented 7 years ago

i have not repo folder

i just have a repo.sh on bin folder and repo_update.sh

i start project with this:https://developer.sonymobile.com/open-devices/aosp-build-instructions/how-to-build-aosp-oreo-for-unlocked-xperia-devices/#build-aosp-oreo-8-0-kernel-4-4

jerpelea commented 7 years ago

please start again foolowing the build guide https://developer.sonymobile.com/open-devices/ after the initial repo sync in your android folder you should have repo_update.sh by running this script you will cherrypick all needed patches from upstream

pmrk74 commented 7 years ago

I did it but got it wrong

[  0% 8/15738] host C++: adb <= system/core/adb/commandline.cpp
ninja: build stopped: subcommand failed.
14:02:37 ninja failed with: exit status 1
build/core/main.mk:21: recipe for target 'run_soong_ui' failed
make: *** [run_soong_ui] Error 1
jerpelea commented 7 years ago

since i can not reproduce the issue i would suggezt to

  1. check your ubuntu installation
  2. download sources again
pmrk74 commented 7 years ago

i tested ubuntu 16.04 and 17.04 but got it wrong

The third time I download the source

jerpelea commented 7 years ago

please use https://github.com/sonyxperiadev/bug_tracker for future issues

belov555 commented 6 years ago

system/sepolicy/Android.mk:79: warning: BOARD_SEPOLICY_VERS not specified, assuming current platform version [947/948] including vendor/qcom/opensource/location/Android.mk ... build/make/core/base_rules.mk:244: error: vendor/qcom/opensource/location/loc_api/ds_api: MODULE.TARGET.SHARED_LIBRARIES.libloc_ds_api already defined by vendor/qcom/opensource/location/ds_api. 23:08:32 ckati failed with: exit status 1 Each time different errors

bartcubbins commented 6 years ago

@belov555 this issue is not related to loire platform