sonyxperiadev / bug_tracker

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

AIDL Mismatch IKeyMintDevice vs IRemotelyProvisionedComponent #836

Open gecko19 opened 2 months ago

gecko19 commented 2 months ago

Platform: : Android 14 Device: : XQ- DQ54 Kernel version: Android version: Android 14 Software binaries version:

Previously working on Has this always been a problem, or is it a new issue? New issue

Description Hi, I am trying to build the Andoid 14, branch android-14.0.0_r50 using the manifests from https://github.com/sonyxperiadev/local_manifests. When building, I get an error about mismatching AIDL for android.hardware.security.keymint.IRemotelyProvisionedComponent. Please note that I did apply the change in : https://github.com/sonyxperiadev/device-sony-common/pull/917/commits/943332618ee5e5cf0ce654645bd22a9426716373

Symptoms

[ 81% 44598/54705 21m1s remaining] build out/target/product/pdx223/gen/ETC/vendor_manifest.xml_intermediates/manifest.xml
FAILED: out/target/product/pdx223/gen/ETC/vendor_manifest.xml_intermediates/manifest.xml
/bin/bash -c "BOARD_SEPOLICY_VERS=202404        PRODUCT_ENFORCE_VINTF_MANIFEST=true     PRODUCT_SHIPPING_API_LEVEL=27   out/host/linux-x86/bin/assemble_vintf -o out/target/product/pdx223/gen/ETC/vendor_manifest.xml_intermediates/manifest.xml              -i device/sony/nagara/vintf/android.hardware.security.keymint-service-qti.xml:device/sony/nagara/vintf/vendor.qti.hardware.qseecom_v1.0.xml:device/sony/common/vintf/manifest.xml:device/sony/common/vintf/vendor.nxp.nxpnfc.xml:device/sony/common/vintf/android.hardware.secure_element_ds.xml:device/sony/common/vintf/vendor.qti.hardware.dsp.xml:device/sony/common/vintf/android.hw.qcradio_ds.xml:device/sony/common/vintf/vendor.hw.radio_ds.xml:device/sony/common/vintf/vendor.hw.qtiradio_ds.xml:device/sony/common/vintf/android.hardware.radio.config.xml:device/sony/common/vintf/vendor.hw.radio.ims.xml:device/sony/common/vintf/vendor.hw.radio.internal.xml:device/sony/common/vintf/vendor.hw.radio.uceservice.xml:device/sony/common/vintf/vendor.hw.imsservices.xml:device/sony/common/vintf/vendor.hw.dataservices.xml:device/sony/common/vintf/vendor.qti.qesdhal.xml:device/sony/common/vintf/vendor.somc.modem.xml:device/sony/common/vintf/vendor.hw.cneservices.xml:device/sony/common/vintf/android.hardware.vibrator_v1.0.xml"
HAL manifest entries must only contain interfaces from the same aidl_interface
    android.hardware.security.keymint.IKeyMintDevice is in android.hardware.security.keymint
    android.hardware.security.keymint.IRemotelyProvisionedComponent is from another AIDL interface module
13:32:27 ninja failed with: exit status 1

How to reproduce Use android-14.0.0_r50 to build from the Sony manifests.

Additional context Add any other context, e.g. upload logs or screenshots about the bug here.

gecko19 commented 1 month ago

This was fixed by removing the reference to IRemotelyProvisionedComponent in device/sony/nagara/vintf/android.hardware.security.keymint-service-qti.xml