-
Notifications
You must be signed in to change notification settings - Fork 10
Fixing errors
Here's a list of errors and their solutions.
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:
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.
Add this to DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE list in BoardConfig: hardware/qcom-caf/common/vendor_framework_compatibility_matrix.xml
A commit like this is needed:
- https://git.halogenos.org/halogenOS/android_hardware_qcom-caf_sm8450_audio_primary-hal/-/commit/f8a213122f6251d3f80904e5a5755ff7adcb2d41 or
- https://git.halogenos.org/halogenOS/android_hardware_qcom-caf_sm8450_audio_primary-hal/-/commit/545c4e70c2655979500941950cae6d9af488cdb0
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.
panic: can't extend property "relative_install_path": failed to find property to extend
goroutine 12061 [running]:
github.com/google/blueprint.(*loadHookContext).createModule(0xc032b92b40, 0xc007a92c90, {0xc0174e29a0, 0x1d}, {0xc004e5f480, 0x3d}, {0xc01f2e6330, 0x3, 0xc01f2e6330?})
/run/media/simao/romsrc/XOS-15.2/build/blueprint/module_ctx.go:1381 +0x318
github.com/google/blueprint.(*loadHookContext).CreateModuleInDirectory(0xc032b92b40, 0xc007a92c90, {0xc0174e29a0, 0x1d}, {0xc000244070, 0x32}, {0xc01f2e6330, 0x3, 0x3})
/run/media/simao/romsrc/XOS-15.2/build/blueprint/module_ctx.go:1400 +0x11e
android/soong/android.(*loadHookContext).createModuleInDirectory(0xc007a92c70?, 0x1355482?, {0xc0174e29a0?, 0x15467c8?}, {0xc000244070?, 0x1358abd?}, {0xc01f2e6330?, 0x415a05?, 0x0?})
/run/media/simao/romsrc/XOS-15.2/build/soong/android/hooks.go:108 +0x2e
android/soong/android.createModule({0x1554208, 0xc002376780}, 0x13b90b8, {0x1358abd, 0xf}, {0x2?, {0xc000244070?, 0xc00d05df20?}}, {0xc00d05df20, 0x2, ...})
/run/media/simao/romsrc/XOS-15.2/build/soong/android/hooks.go:159 +0x43b
android/soong/android.(*loadHookContext).CreateModuleInDirectory(0x118f9a0?, 0xc0003e30e0?, {0xc000244070?, 0x0?}, {0xc00d05df20?, 0x0?, 0x0?})
/run/media/simao/romsrc/XOS-15.2/build/soong/android/hooks.go:186 +0x53
android/soong/fsgen.createPrebuiltEtcModulesInDirectory({0x1564f40, 0xc002376780}, {0x134aa30, 0x6}, {0xc000244070, 0x32}, {0xc00024420b, 0x7}, {0xc006183380, 0x4, ...})
/run/media/simao/romsrc/XOS-15.2/build/soong/fsgen/prebuilt_etc_modules_gen.go:359 +0x984
android/soong/fsgen.createPrebuiltEtcModulesForPartition({0x1564f40, 0xc002376780}, {0x134aa30, 0x6}, {0xc000244070, 0x32}, 0xc0182c7bf0)
/run/media/simao/romsrc/XOS-15.2/build/soong/fsgen/prebuilt_etc_modules_gen.go:368 +0x185
android/soong/fsgen.createPrebuiltEtcModules({0x1564f40, 0xc002376780})
/run/media/simao/romsrc/XOS-15.2/build/soong/fsgen/prebuilt_etc_modules_gen.go:382 +0x3a8
android/soong/fsgen.filesystemCreatorFactory.func1({0x1564f40, 0xc002376780})
/run/media/simao/romsrc/XOS-15.2/build/soong/fsgen/filesystem_creator.go:70 +0x2a
android/soong/android.AddLoadHook.func1({0x1561778, 0xc032b92b40})
/run/media/simao/romsrc/XOS-15.2/build/soong/android/hooks.go:58 +0x168
github.com/google/blueprint.runAndRemoveLoadHooks(0xc0003cab48, {0x13316c0, 0xc00001a008}, 0xc0320bbb88, 0xc000d81b78)
/run/media/simao/romsrc/XOS-15.2/build/blueprint/module_ctx.go:1480 +0x2a8
github.com/google/blueprint.(*Context).ParseFileList.func1.1(0xc0320bbb88)
/run/media/simao/romsrc/XOS-15.2/build/blueprint/context.go:1085 +0x55
github.com/google/blueprint.(*Context).ParseFileList.func1(0xc01122ea00)
/run/media/simao/romsrc/XOS-15.2/build/blueprint/context.go:1120 +0x3dd
github.com/google/blueprint.(*Context).WalkBlueprintsFiles.func1.1()
/run/media/simao/romsrc/XOS-15.2/build/blueprint/context.go:1263 +0x29e
created by github.com/google/blueprint.(*Context).WalkBlueprintsFiles.func1 in goroutine 14
/run/media/simao/romsrc/XOS-15.2/build/blueprint/context.go:1242 +0x334
20:59:53 soong bootstrap failed with: exit status 1
Pick at least this commit: https://github.com/LineageOS/android_build_soong/commit/6f53e1445524b3d2b0519fb14e4652416e65eddd and all dependent previous commits.
frameworks/native/services/surfaceflinger/SurfaceFlinger.cpp:176:10: fatal error: 'gralloc_priv.h' file not found
176 | #include "gralloc_priv.h"
| ^~~~~~~~~~~~~~~~
1 error generated.
The file exists at
./external/drm_hwcomposer/tests/test_include/gralloc_priv.h
./hardware/google/gchips/gralloc4/src/gralloc_priv.h
./hardware/libhardware/modules/gralloc/gralloc_priv.h
./hardware/qcom-caf/msm8996/display/gralloc/gralloc_priv.h
./hardware/qcom-caf/msm8998/display/gralloc/gralloc_priv.h
./vendor/qcom/opensource/commonsys-intf/display/gralloc/gralloc_priv.h
but it can't be found. So it probably needs to be put into the include path somehow.
The change was introduced by sf: Fix virtual display related issues. in frameworks/native.
Traditionally, this would be because of a missing change from vendor/lineage about qti display headers. But they recently (as of Q1 2025) migrated to selects: https://github.com/LineageOS/android_vendor_lineage/commit/c3c770de4421d0a879c0343c746dc23a05f9aa4c
You need this to fix it: https://github.com/LineageOS/android_frameworks_native/commit/856133a31a04ba21ae57bedd9ba6420c13b24570
But also this one: https://github.com/LineageOS/android_frameworks_native/commit/ded9030781aa908257491efe8b137291f99feff2
However, that one is not up to date as it does not use the new select stuff yet. So you don't actually need to apply the Android.bp changes, only the .cpp stuff.
In file included from hardware/qcom-caf/sm8350/display/libdebug/debug_handler.cpp:30:
In file included from hardware/qcom-caf/sm8350/display/libdebug/debug_handler.h:33:
In file included from prebuilts/clang/host/linux-x86/clang-r547379/include/c++/v1/bitset:140:
In file included from prebuilts/clang/host/linux-x86/clang-r547379/include/c++/v1/string_view:954:
In file included from prebuilts/clang/host/linux-x86/clang-r547379/include/c++/v1/algorithm:1842:
In file included from prebuilts/clang/host/linux-x86/clang-r547379/include/c++/v1/__algorithm/for_each.h:16:
In file included from prebuilts/clang/host/linux-x86/clang-r547379/include/c++/v1/__ranges/movable_box.h:21:
In file included from prebuilts/clang/host/linux-x86/clang-r547379/include/c++/v1/optional:1288:
In file included from prebuilts/clang/host/linux-x86/clang-r547379/include/c++/v1/atomic:590:
In file included from prebuilts/clang/host/linux-x86/clang-r547379/include/c++/v1/__atomic/aliases.h:12:
In file included from prebuilts/clang/host/linux-x86/clang-r547379/include/c++/v1/__atomic/atomic.h:12:
In file included from prebuilts/clang/host/linux-x86/clang-r547379/include/c++/v1/__atomic/atomic_base.h:12:
In file included from prebuilts/clang/host/linux-x86/clang-r547379/include/c++/v1/__atomic/atomic_sync.h:20:
In file included from prebuilts/clang/host/linux-x86/clang-r547379/include/c++/v1/__thread/support.h:112:
In file included from prebuilts/clang/host/linux-x86/clang-r547379/include/c++/v1/__thread/support/pthread.h:18:
In file included from bionic/libc/include/pthread.h:41:
bionic/libc/include/sched.h:99:8: error: redefinition of 'sched_param'
99 | struct sched_param {
| ^
../../romout/xos16_0/soong/.intermediates/product/halogenOS/build/soong/generated_kernel_includes/gen/usr/include/linux/sched/types.h:7:8: note: previous definition is here
7 | struct sched_param {
| ^
1 error generated.
Pick this and rebuild to see what the issue is. You'll need to remove the duplicate from your device tree.
error: external/wpa_supplicant_8/wpa_supplicant/Android.bp:1356:1: "wpa_supplicant_macsec" depends on undefined module "lib_driver_cmd_qcwcn".
Module "wpa_supplicant_macsec" is defined in namespace "." which can read these 18 namespaces: ["." "." "vendor/qcom/opensource/commonsys/display" "hardware/lineage/interfaces/power-libperfmgr" "vendor/qcom/opensource/usb/etc" "vendor/qcom/opensource/dataservices" "hardware/qcom-caf/thermal-legacy-um" "vendor/qcom/opensource/commonsys-intf/display" "hardware/qcom-caf/wlan" "hardware/google/interfaces" "vendor/qcom/opensource/data-ipa-cfg-mgr-legacy-um" "vendor/qcom/opensource/display" "vendor/nothing/Spacewar" "device/nothing/Spacewar" "hardware/qcom-caf/sm8350" "hardware/google/pixel" "hardware/qcom-caf/bootctrl" "hardware/qcom-caf/common/libqti-perfd-client"]
Module "lib_driver_cmd_qcwcn" can be found in these namespaces: ["hardware/qcom-caf/wlan/qcwcn" "hardware/qcom/wlan/legacy" "hardware/qcom/wlan/wcn6740"]
Or did you mean ["lib_driver_cmd_bcmdhd" "zlib_deflate_fuzzer"]?
error: external/wpa_supplicant_8/hostapd/Android.bp:682:1: "hostapd" depends on undefined module "lib_driver_cmd_qcwcn".
Module "hostapd" is defined in namespace "." which can read these 18 namespaces: ["." "." "vendor/qcom/opensource/commonsys/display" "hardware/lineage/interfaces/power-libperfmgr" "vendor/qcom/opensource/usb/etc" "vendor/qcom/opensource/dataservices" "hardware/qcom-caf/thermal-legacy-um" "vendor/qcom/opensource/commonsys-intf/display" "hardware/qcom-caf/wlan" "hardware/google/interfaces" "vendor/qcom/opensource/data-ipa-cfg-mgr-legacy-um" "vendor/qcom/opensource/display" "vendor/nothing/Spacewar" "device/nothing/Spacewar" "hardware/qcom-caf/sm8350" "hardware/google/pixel" "hardware/qcom-caf/bootctrl" "hardware/qcom-caf/common/libqti-perfd-client"]
Module "lib_driver_cmd_qcwcn" can be found in these namespaces: ["hardware/qcom-caf/wlan/qcwcn" "hardware/qcom/wlan/legacy" "hardware/qcom/wlan/wcn6740"]
Or did you mean ["lib_driver_cmd_bcmdhd" "zlib_deflate_fuzzer"]?
error: external/wpa_supplicant_8/wpa_supplicant/Android.bp:1309:1: "wpa_supplicant" depends on undefined module "lib_driver_cmd_qcwcn".
Module "wpa_supplicant" is defined in namespace "." which can read these 18 namespaces: ["." "." "vendor/qcom/opensource/commonsys/display" "hardware/lineage/interfaces/power-libperfmgr" "vendor/qcom/opensource/usb/etc" "vendor/qcom/opensource/dataservices" "hardware/qcom-caf/thermal-legacy-um" "vendor/qcom/opensource/commonsys-intf/display" "hardware/qcom-caf/wlan" "hardware/google/interfaces" "vendor/qcom/opensource/data-ipa-cfg-mgr-legacy-um" "vendor/qcom/opensource/display" "vendor/nothing/Spacewar" "device/nothing/Spacewar" "hardware/qcom-caf/sm8350" "hardware/google/pixel" "hardware/qcom-caf/bootctrl" "hardware/qcom-caf/common/libqti-perfd-client"]
Module "lib_driver_cmd_qcwcn" can be found in these namespaces: ["hardware/qcom-caf/wlan/qcwcn" "hardware/qcom/wlan/legacy" "hardware/qcom/wlan/wcn6740"]
Or did you mean ["lib_driver_cmd_bcmdhd" "zlib_deflate_fuzzer"]?
This is usually a pathmap issue.
Solution for this specific issue: https://github.com/LineageOS/android_hardware_qcom-caf_common/commit/b5edacbb0a9edb23c32b1d55935425afea13bcab