AOSP build issue on NFS filesystem / Ubuntu 22.04 server

593 views
Skip to first unread message

Geoffroy Jabouley

unread,
Jun 13, 2023, 3:34:34 PM6/13/23
to Android Building
Hello

sorry if this is not the right place for such question, i am not very familiar with Android ecosystem, but did not find any relevant information by googling...

We have a build server running Ubuntu 22.04 LTS server edition.
For the purpose of testing, on this server, we are building AOSP 13 from scratch.

Server has 2 available filesystems:
  1. local SSD drive (ext4)
    • build is successful

  2. fast NFSv3 mount (netapp)
    • build is failing with error message:
18:24:51 [ 49% 68547/138029] AIDL CHECK API: hardware/interfaces/tv/tuner/aidl/aidl_api/android.hardware.tv.tuner/current against hardware/interfaces/tv/tuner/aidl/aidl_api/android.hardware.tv.tuner/1
18:24:51 FAILED: out/soong/.intermediates/hardware/interfaces/tv/tuner/aidl/android.hardware.tv.tuner-api/checkapi_current.timestamp
18:24:51 (out/host/linux-x86/bin/aidl --stability vintf -pout/soong/.intermediates/hardware/interfaces/common/aidl/android.hardware.common_interface/2/preprocessed.aidl -pout/soong/.intermediates/hardware/interfaces/common/fmq/aidl/android.hardware.common.fmq_interface/1/preprocessed.aidl --checkapi=compatible hardware/interfaces/tv/tuner/aidl/aidl_api/android.hardware.tv.tuner/1 hardware/interfaces/tv/tuner/aidl/aidl_api/android.hardware.tv.tuner/current && touch out/soong/.intermediates/hardware/interfaces/tv/tuner/aidl/android.hardware.tv.tuner-api/checkapi_current.timestamp) || (cat system/tools/aidl/build/message_check_compatibility.txt && exit 1)hardware/interfaces/tv/tuner/aidl/aidl_api/android.hardware.tv.tuner/1
18:24:51 ERROR: hardware/interfaces/tv/tuner/aidl/aidl_api/android.hardware.tv.tuner/1/android/hardware/tv/tuner/RecordSettings.aidl:41.52-99: Bad internal state: !resolved_: Should be resolved first: android.hardware.tv.tuner.DataFormat.UNDEFINED
18:24:51 Aborted (core dumped) 18:24:51 ############################################################################### 18:24:51 # ERROR: Backward incompatible change detected on AIDL API # 18:24:51 ############################################################################### 18:24:51 Above AIDL file(s) has changed in a backward-incompatible way, e.g. removing 18:24:51 a method from an interface or a field from a parcelable. If a device is shipped 18:24:51 with this change by ignoring this message, it has a high risk of breaking later 18:24:51 when a module using the interface is updated, e.g., Maineline modules.

By searching in the various folder, hardware/interfaces/tv/tuner/aidl/aidl_api/android.hardware.tv.tuner/1 and hardware/interfaces/tv/tuner/aidl/aidl_api/android.hardware.tv.tuner/current have identical contents, so not able to identify why AIDL is failing here...

Are there any know AOSP build issues related to host filesystem being NFS?

Thanks in advance for you support
Reply all
Reply to author
Forward
0 new messages