Skip to content

Fixing errors

Simão Gomes Viana edited this page Oct 4, 2024 · 6 revisions

Here's a list of errors and their solutions.

no member named 'reserved_size' in 'private_handle_t'

Error:

hardware/qcom-caf/sm8150/display/gralloc/gr_buf_mgr.cpp:108:43: error: no member named 'reserved_size' in 'private_handle_t'
  108 |   uint64_t reserved_region_size = handle->reserved_size;
      |                                   ~~~~~~  ^
hardware/qcom-caf/sm8150/display/gralloc/gr_buf_mgr.cpp:127:45: error: no member named 'reserved_size' in 'private_handle_t'
  127 |     uint64_t reserved_region_size = handle->reserved_size;
      |                                     ~~~~~~  ^
hardware/qcom-caf/sm8150/display/gralloc/gr_buf_mgr.cpp:760:41: error: no member named 'reserved_size' in 'private_handle_t'
  760 |   auto meta_size = getMetaDataSize(hnd->reserved_size);
      |                                    ~~~  ^
hardware/qcom-caf/sm8150/display/gralloc/gr_buf_mgr.cpp:802:34: error: no member named 'reserved_size' in 'private_handle_t'
  802 |     buffer->reserved_size = hnd->reserved_size;
      |                             ~~~  ^
hardware/qcom-caf/sm8150/display/gralloc/gr_buf_mgr.cpp:1092:8: error: no member named 'reserved_size' in 'private_handle_t'
 1092 |   hnd->reserved_size = static_cast<unsigned int>(descriptor.GetReservedSize());
      |   ~~~  ^

Solution:

Set TARGET_GRALLOC_HANDLE_HAS_RESERVED_SIZE := true in BoardConfig

Related:

https://git.halogenos.org/halogenOS/android_product_halogenOS/-/commit/b5da4d50707005bae4e1ffbf7e725c69558bd06c

The following instances are in the device manifest but not specified in framework compatibility matrix:

Error:

2024-09-16 19:47:45 - common.py - INFO    :   Running: "/run/media/simao/romsrc/XOS-15.0/out/host/linux-x86/bin/checkvintf --check-compat --dirmap /apex:/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/APEXtpj2lxm5 --dirmap /odm:/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/VENDOR/odm --dirmap /product:/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/product --dirmap /system:/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM --dirmap /system_ext:/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/system_ext --dirmap /vendor:/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/VENDOR --property ro.product.first_api_level=28 --property ro.boot.product.hardware.sku= --property ro.boot.product.vendor.sku="
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/run/media/simao/romsrc/XOS-15.0/out/host/linux-x86/bin/ota_from_target_files/__main__.py", line 12, in <module>
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "ota_from_target_files.py", line 1548, in <module>
  File "ota_from_target_files.py", line 1519, in main
  File "ota_from_target_files.py", line 1053, in GenerateAbOtaPackage
  File "check_target_files_vintf.py", line 301, in CheckVintfIfTrebleEnabled
  File "check_target_files_vintf.py", line 269, in CheckVintf
  File "check_target_files_vintf.py", line 162, in CheckVintfFromExtractedTargetFiles
common.ExternalError: Failed to run command 'checkvintf --check-compat --dirmap /apex:/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/APEXtpj2lxm5 --dirmap /odm:/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/VENDOR/odm --dirmap /product:/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/product --dirmap /system:/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM --dirmap /system_ext:/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/system_ext --dirmap /vendor:/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/VENDOR --property ro.product.first_api_level=28 --property ro.boot.product.hardware.sku= --property ro.boot.product.vendor.sku=' (exit code 70):
stdout:Sysprop apex.all.ready is missing, default to ''
Get modified time '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/APEXtpj2lxm5/apex-info-list.xml': OK
getFrameworkHalManifest: Reading VINTF information.
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/etc/vintf/manifest.xml': OK
List '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/etc/vintf/manifest/': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/etc/vintf/manifest/android.frameworks.stats-service.xml': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/etc/vintf/manifest/manifest_services.xml': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/etc/vintf/manifest/manifest_android.frameworks.cameraservice.service.xml': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/etc/vintf/manifest/manifest_media_c2_software.xml': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/etc/vintf/manifest/android.system.suspend-service.xml': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/etc/vintf/manifest/android.system.keystore2-service.xml': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/etc/vintf/manifest/android.system.net.netd-service.xml': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/product/etc/vintf/manifest.xml': NAME_NOT_FOUND
List '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/product/etc/vintf/manifest/': NAME_NOT_FOUND
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/system_ext/etc/vintf/manifest.xml': OK
List '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/system_ext/etc/vintf/manifest/': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/system_ext/etc/vintf/manifest/[email protected]': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/system_ext/etc/vintf/manifest/vendor.lineage.oplus_als.service.xml': OK
Sysprop apex.all.ready is missing, default to ''
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/APEXtpj2lxm5/apex-info-list.xml': OK
Loaded APEX Infos from /apex/apex-info-list.xml
Sysprop apex.all.ready is missing, default to ''
Get modified time '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/APEXtpj2lxm5/apex-info-list.xml': OK
getDeviceHalManifest: Reading VINTF information.
Sysprop ro.boot.product.vendor.sku=
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/VENDOR/etc/vintf/manifest.xml': OK
List '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/VENDOR/etc/vintf/manifest/': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/VENDOR/etc/vintf/manifest/[email protected]': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/VENDOR/etc/vintf/manifest/android.hardware.wifi.supplicant.xml': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/VENDOR/etc/vintf/manifest/android.hardware.wifi.hostapd.xml': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/VENDOR/etc/vintf/manifest/[email protected]': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/VENDOR/etc/vintf/manifest/android.hardware.wifi-service.xml': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/VENDOR/etc/vintf/manifest/android.hardware.graphics.composer-qti-display.xml': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/VENDOR/etc/vintf/manifest/android.hardware.graphics.mapper-impl-qti-display.xml': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/VENDOR/etc/vintf/manifest/vendor.qti.hardware.display.allocator-service.xml': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/VENDOR/etc/vintf/manifest/[email protected]': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/VENDOR/etc/vintf/manifest/[email protected]': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/VENDOR/etc/vintf/manifest/[email protected]': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/VENDOR/etc/vintf/manifest/[email protected]': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/VENDOR/etc/vintf/manifest/manifest_oplus_cameramdm_2.0.xml': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/VENDOR/etc/vintf/manifest/[email protected]': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/VENDOR/etc/vintf/manifest/vendor.qti.hardware.vibrator.service.oplus.xml': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/VENDOR/etc/vintf/manifest/android.hardware.drm-service.clearkey.xml': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/VENDOR/etc/vintf/manifest/[email protected]': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/VENDOR/etc/vintf/manifest/[email protected]': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/VENDOR/etc/vintf/manifest/[email protected]': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/VENDOR/etc/vintf/manifest/android.hardware.health-service.qti.xml': OK
Sysprop apex.all.ready is missing, default to ''
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/APEXtpj2lxm5/apex-info-list.xml': OK
Loaded APEX Infos from /apex/apex-info-list.xml
Sysprop ro.boot.product.hardware.sku=
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/VENDOR/odm/etc/vintf/manifest.xml': NAME_NOT_FOUND
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/VENDOR/odm/etc/manifest.xml': NAME_NOT_FOUND
List '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/VENDOR/odm/etc/vintf/manifest/': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/VENDOR/odm/etc/vintf/manifest/[email protected]': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/VENDOR/odm/etc/vintf/manifest/manifest_oplusSensor.xml': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/VENDOR/odm/etc/vintf/manifest/manifest_oplus_fingerprint.xml': OK
getDeviceHalManifest: Successfully processed VINTF information
getFrameworkHalManifest: Successfully processed VINTF information
Sysprop apex.all.ready is missing, default to ''
Get modified time '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/APEXtpj2lxm5/apex-info-list.xml': OK
Sysprop apex.all.ready is missing, default to ''
Get modified time '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/APEXtpj2lxm5/apex-info-list.xml': OK
Sysprop apex.all.ready is missing, default to ''
Get modified time '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/APEXtpj2lxm5/apex-info-list.xml': OK
getFrameworkCompatibilityMatrix: Reading VINTF information.
List '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/etc/vintf/': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/etc/vintf/compatibility_matrix.5.xml': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/etc/vintf/compatibility_matrix.device.xml': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/etc/vintf/compatibility_matrix.8.xml': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/etc/vintf/manifest.xml': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/etc/vintf/compatibility_matrix.202504.xml': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/etc/vintf/compatibility_matrix.6.xml': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/etc/vintf/compatibility_matrix.202404.xml': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/etc/vintf/compatibility_matrix.7.xml': OK
List '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/system_ext/etc/vintf/': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/system_ext/etc/vintf/manifest.xml': OK
List '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/product/etc/vintf/': NAME_NOT_FOUND
getFrameworkCompatibilityMatrix: Successfully processed VINTF information
getDeviceCompatibilityMatrix: Reading VINTF information.
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/VENDOR/etc/vintf/compatibility_matrix.xml': OK
getDeviceCompatibilityMatrix: Successfully processed VINTF information
Sysprop apex.all.ready is missing, default to ''
Get modified time '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/APEXtpj2lxm5/apex-info-list.xml': OK
Sysprop apex.all.ready is missing, default to ''
Get modified time '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/APEXtpj2lxm5/apex-info-list.xml': OK
Sysprop apex.all.ready is missing, default to ''
Get modified time '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/APEXtpj2lxm5/apex-info-list.xml': OK
List '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/etc/vintf/': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/etc/vintf/compatibility_matrix.5.xml': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/etc/vintf/compatibility_matrix.device.xml': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/etc/vintf/compatibility_matrix.8.xml': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/etc/vintf/manifest.xml': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/etc/vintf/compatibility_matrix.202504.xml': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/etc/vintf/compatibility_matrix.6.xml': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/etc/vintf/compatibility_matrix.202404.xml': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/etc/vintf/compatibility_matrix.7.xml': OK
List '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/system_ext/etc/vintf/': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/system_ext/etc/vintf/manifest.xml': OK
List '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/product/etc/vintf/': NAME_NOT_FOUND
Sysprop apex.all.ready is missing, default to ''
Get modified time '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/APEXtpj2lxm5/apex-info-list.xml': OK
List '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/etc/vintf/': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/etc/vintf/compatibility_matrix.5.xml': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/etc/vintf/compatibility_matrix.device.xml': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/etc/vintf/compatibility_matrix.8.xml': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/etc/vintf/manifest.xml': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/etc/vintf/compatibility_matrix.202504.xml': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/etc/vintf/compatibility_matrix.6.xml': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/etc/vintf/compatibility_matrix.202404.xml': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/etc/vintf/compatibility_matrix.7.xml': OK
List '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/system_ext/etc/vintf/': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/system_ext/etc/vintf/manifest.xml': OK
List '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/product/etc/vintf/': NAME_NOT_FOUND
Sysprop apex.all.ready is missing, default to ''
Get modified time '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/APEXtpj2lxm5/apex-info-list.xml': OK
Sysprop apex.all.ready is missing, default to ''
Get modified time '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/APEXtpj2lxm5/apex-info-list.xml': OK
Sysprop apex.all.ready is missing, default to ''
Get modified time '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/APEXtpj2lxm5/apex-info-list.xml': OK
Sysprop apex.all.ready is missing, default to ''
Get modified time '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/APEXtpj2lxm5/apex-info-list.xml': OK
List '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/etc/vintf/': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/etc/vintf/compatibility_matrix.5.xml': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/etc/vintf/compatibility_matrix.device.xml': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/etc/vintf/compatibility_matrix.8.xml': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/etc/vintf/manifest.xml': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/etc/vintf/compatibility_matrix.202504.xml': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/etc/vintf/compatibility_matrix.6.xml': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/etc/vintf/compatibility_matrix.202404.xml': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/etc/vintf/compatibility_matrix.7.xml': OK
List '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/system_ext/etc/vintf/': OK
Fetch '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/system_ext/etc/vintf/manifest.xml': OK
List '/run/media/simao/romsrc/XOS-15.0/out/soong/.temp/target_fileso_eu12v4/SYSTEM/product/etc/vintf/': NAME_NOT_FOUND
The following HALs in device manifest are not declared in FCM <= level 4:
  [email protected]::IAtraceDevice/default
  [email protected]::IEffectsFactory/default
  [email protected]::IDevicesFactory/default
  [email protected]::IBluetoothAudioProvidersFactory/default
  [email protected]::IBluetoothHci/default
  [email protected]::IBootControl/default
  [email protected]::ICameraProvider/legacy/0
  [email protected]::IMediaCasService/default
  [email protected]::ISurfaceFlingerConfigs/default
  [email protected]::ICryptoFactory/widevine
  [email protected]::IDrmFactory/widevine
  [email protected]::IGatekeeper/default
  [email protected]::IKeymasterDevice/default
  [email protected]::IOmx/default
  [email protected]::IOmxStore/default
  [email protected]::IMemtrack/default
  [email protected]::IDevice/qti-default
  [email protected]::IDevice/qti-dsp
  [email protected]::IDevice/qti-gpu
  [email protected]::IDevice/qti-hta
  [email protected]::INfc/default
  [email protected]::IDevice/default
  [email protected]::ISensors/default
  [email protected]::ISoundTriggerHw/default
  [email protected]::IOffloadConfig/default
  [email protected]::IOffloadControl/default
  [email protected]::IUsb/default

stderr:ERROR: No such file or directory: Cannot find framework matrix at FCM version 4.
The following instances are in the device manifest but not specified in framework compatibility matrix:
    [email protected]::ISurfaceFlingerConfigs/default
Suggested fix:
1. Update deprecated HALs to the latest version.
2. Check for any typos in device manifest or framework compatibility matrices with FCM version >= 4.
3. For new platform HALs, add them to any framework compatibility matrix with FCM version >= 4 where applicable.
4. For device-specific HALs, add to DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE or DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE.: No such file or directory

Solution:

I'm not really that sure what's the best practice here so take this with a grain of salt.

For The following HALs in device manifest are not declared in FCM <= level 4:, you'll probably need to up the version in your manifest.xml at the top (target-level).

For The following instances are in the device manifest but not specified in framework compatibility matrix you'll need to remove that entry from your manifest.

vendor.qti.hardware.audiohalext... missing in matrix

Add this to DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE list in BoardConfig: hardware/qcom-caf/common/vendor_framework_compatibility_matrix.xml

PalApi.h not found

A commit like this is needed:

ninja: error: mkdir(out/target/product/guacamole/vendor/odm/etc): No such file or directory

This can happen when you switch device trees without doing a clean build. While the solution varies from device to device and the path is not always the same, usually this can be fixed by deleting the offending symlink, in this case it is out/target/product/guacamole/vendor/odm.