sonyxperiadev / bug_tracker

Empty repository that is used as a bugtracker for Open Devices project
52 stars 13 forks source link

[yoshino][lilac] build failure: libgps.utils should not link to libprocessgroup #312

Closed stefanhh0 closed 5 years ago

stefanhh0 commented 5 years ago

Platform: yoshino Device: lilac (g8441) Kernel version: sonyxperiadev/kernel@f10bdde4ab5e Android version: android-9.0.0_r30

Description Build failure: error: libgps.utils (native:vendor) should not link to libprocessgroup (native:platform)

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
TARGET_PRODUCT=aosp_g8441
TARGET_BUILD_VARIANT=eng
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.19.0-1-amd64-x86_64-Debian-GNU/Linux-buster/sid
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PQ1A.190105.004
OUT_DIR=out
============================================

Symptoms

Check module type: out/target/product/lilac/obj_arm/SHARED_LIBRARIES/libgps.utils_intermediates/link_type
FAILED: out/target/product/lilac/obj_arm/SHARED_LIBRARIES/libgps.utils_intermediates/link_type 
/bin/bash -c "(mkdir -p out/target/product/lilac/obj_arm/SHARED_LIBRARIES/libgps.utils_intermediates/ && rm -f out/target/product/lilac/obj_arm/SHARED_LIBRARIES/libgps.utils_intermediates/link_type ) && (build/make/tools/check_link_type.py --makefile hardware/qcom/gps/sdm845/utils/Android.mk --module libgps.utils --type \"native:vendor\" --allowed native:vendor --allowed native:vndk  out/target/product/lilac/obj_arm/STATIC_LIBRARIES/libunwind_llvm.vendor_intermediates/link_type     out/target/product/lilac/obj_arm/STATIC_LIBRARIES/libclang_rt.ubsan_minimal-arm-android.vendor_intermediates/link_type     out/target/product/lilac/obj_arm/STATIC_LIBRARIES/libcompiler_rt-extras.vendor_intermediates/link_type     out/target/product/lilac/obj_arm/SHARED_LIBRARIES/libutils.vendor_intermediates/link_type     out/target/product/lilac/obj_arm/SHARED_LIBRARIES/libcutils.vendor_intermediates/link_type     out/target/product/lilac/obj_arm/SHARED_LIBRARIES/liblog.vendor_intermediates/link_type     out/target/product/lilac/obj_arm/SHARED_LIBRARIES/libprocessgroup_intermediates/link_type     out/target/product/lilac/obj_arm/SHARED_LIBRARIES/libc++.vendor_intermediates/link_type ) && (echo \"native:vendor\" >out/target/product/lilac/obj_arm/SHARED_LIBRARIES/libgps.utils_intermediates/link_type )"
hardware/qcom/gps/sdm845/utils/Android.mk: error: libgps.utils (native:vendor) should not link to libprocessgroup (native:platform)

How to reproduce make clean && make

jerpelea commented 5 years ago

this bug has been fixed please run repo_update then rebuild

stefanhh0 commented 5 years ago

@jerpelea thanks a lot for the fix :+1:

All other git revert commands use the --no-edit option the new one is missing it: https://github.com/sonyxperiadev/repo_update/blob/62558ddf995dca504c7cf54dfb16d4fd2503ccc6/repo_update.sh#L50

jerpelea commented 5 years ago

fixed thanks