Hi All
i have a problem with the ABI update.
i changed the android.hardware.radio@1.0
So, i'm getting an error when building aosp.
FAILED: out/soong/.intermediates/hardware/interfaces/radio/1.0/android.hardware.radio@1.0/android_arm64_armv8-a_vendor_shared/android.har...@1.0.so.abidiff
(prebuilts/clang-tools/linux-x86/bin/header-abi-diff -allow-unreferenced-changes -allow-unreferenced-elf-symbol-changes -lib android.hardware.radio@1.0 -arch arm64 -o 'out/soong/.intermediates/hardware/interfaces/radio/1.0/android.hardware.radio@1.0/android_arm64_armv8-a_vendor_shared/android.har...@1.0.so.abidiff' -new 'out/soong/.intermediates/hardware/interfaces/radio/1.0/android.hardware.radio@1.0/android_arm64_armv8-a_vendor_shared/android.har...@1.0.so.lsdump' -old prebuilts/abi-dumps/vndk/29/64/arm64_armv8-a/source-based/android.har...@1.0.so.lsdump)|| (echo 'error: Please update ABI references with: $ANDROID_BUILD_TOP/development/vndk/tools/header-checker/utils/create_reference_dumps.py -l android.hardware.radio@1.0' && (mkdir -p $DIST_DIR/abidiffs && cp 'out/soong/.intermediates/hardware/interfaces/radio/1.0/android.hardware.radio@1.0/android_arm64_armv8-a_vendor_shared/android.har...@1.0.so.abidiff' $DIST_DIR/abidiffs/) && exit 1)
******************************************************
error: VNDK library: android.hardware.radio@1.0's ABI has INCOMPATIBLE CHANGES Please check compatibility report at: out/soong/.intermediates/hardware/interfaces/radio/1.0/android.hardware.radio@1.0/android_arm64_armv8-a_vendor_shared/android.har...@1.0.so.abidiff
******************************************************
error: Please update ABI references with: $ANDROID_BUILD_TOP/development/vndk/tools/header-checker/utils/create_reference_dumps.py -l android.hardware.radio@1.0
i attempted to update ABI.
/development/vndk/tools/header-checker/utils/create_reference_dumps.py -l android.hardware.radio@1.0
FAILED]
making libs for aosp_arm_ab-userdebug
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=10
TARGET_PRODUCT=aosp_arm_ab
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.15.0-142-generic-x86_64-Ubuntu-16.04.6-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=QKQ1.201109.002
OUT_DIR=out
============================================
[100% 773/773] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
FAILED: out/soong/build.ninja
out/soong/.bootstrap/bin/soong_build -t -l out/.module_paths/Android.bp.list -b out/soong -n out -d out/soong/build.ninja.d -globFile out/soong/.bootstrap/build-globs.ninja -o out/soong/build.ninja Android.bp
Clang SA is not enabled
error: external/nos/host/generic/citadel/updater/Android.bp:17:1: "citadel_updater" depends on undefined module "libnos_citadeld_proxy"
15:34:56 soong bootstrap failed with: exit status 1
Traceback (most recent call last):
File "./development/vndk/tools/header-checker/utils/create_reference_dumps.py", line 254, in <module>
main()
File "./development/vndk/tools/header-checker/utils/create_reference_dumps.py", line 245, in main
num_processed = create_source_abi_reference_dumps_for_all_products(args)
File "./development/vndk/tools/header-checker/utils/create_reference_dumps.py", line 199, in create_source_abi_reference_dumps_for_all_products
args.build_variant, targets)
File "./development/vndk/tools/header-checker/utils/create_reference_dumps.py", line 89, in make_libs_for_product
make_libraries(product, variant, targets, libs, llndk_mode)
File "./development/vndk/tools/header-checker/utils/utils.py", line 156, in make_libraries
lsdump_paths = read_lsdump_paths(product, variant, targets, build=True)
File "./development/vndk/tools/header-checker/utils/utils.py", line 226, in read_lsdump_paths
make_targets(product, variant, [lsdump_paths_file_path])
File "./development/vndk/tools/header-checker/utils/utils.py", line 146, in make_targets
subprocess.check_call(make_cmd, cwd=AOSP_DIR)
File "/usr/lib/python3.5/subprocess.py", line 581, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['build/soong/soong_ui.bash', '--make-mode', '-j', 'TARGET_PRODUCT=aosp_arm_ab', 'TARGET_BUILD_VARIANT=userdebug', 'out/target/product/generic_arm_ab/lsdump_paths.txt']' returned non-zero exit status 1
how can i solve this problem?
* there was no error in soong/build.ninja when the AOSP build.
* [error: external/nos/host/generic/citadel/updater/Android.bp:17:1: "citadel_updater" depends on undefined module "libnos_citadeld_proxy"]
resolving this error constantly results in other errors.
Thanks a lot
donghee