[Android Software/Hacking General [Developers Only]] taxueliuyun:
thanks for your reply, my host os is macos, I can compile aosp successfully in my macpro, or ubuntu in my virtualbox, by follow the official guide. But I want to build aosp in wsl for my purpose, so I found your guide. I followed the OP step by step, no error happened until the last step. Just a few warnings and interrupted many times when I called " repo sync", the error message is below:

Shared project LineageOS/android_hardware_qcom_wlan found, disabling pruning.

Shared project LineageOS/android_hardware_qcom_wlan found, disabling pruning.

Shared project LineageOS/android_hardware_qcom_display found, disabling pruning.

Shared project LineageOS/android_hardware_qcom_display found, disabling pruning.

Shared project LineageOS/android_hardware_qcom_display found, disabling pruning.

Shared project LineageOS/android_hardware_qcom_display found, disabling pruning.

Shared project LineageOS/android_hardware_qcom_display found, disabling pruning.

Shared project LineageOS/android_hardware_qcom_display found, disabling pruning.

Shared project LineageOS/android_hardware_qcom_display found, disabling pruning.

Shared project LineageOS/android_hardware_qcom_display found, disabling pruning.

Shared project LineageOS/android_hardware_qcom_display found, disabling pruning.

Shared project LineageOS/android_hardware_qcom_media found, disabling pruning.

Shared project LineageOS/android_hardware_qcom_media found, disabling pruning.

Shared project LineageOS/android_hardware_qcom_media found, disabling pruning.

Shared project LineageOS/android_hardware_qcom_media found, disabling pruning.

Shared project LineageOS/android_hardware_qcom_media found, disabling pruning.

Shared project LineageOS/android_hardware_qcom_media found, disabling pruning.

Shared project LineageOS/android_hardware_qcom_media found, disabling pruning.

Shared project LineageOS/android_hardware_qcom_media found, disabling pruning.

Shared project LineageOS/android_hardware_qcom_media found, disabling pruning.

Shared project LineageOS/android_hardware_ril found, disabling pruning.

Shared project LineageOS/android_hardware_ril found, disabling pruning.

Shared project LineageOS/android_hardware_qcom_audio found, disabling pruning.

Shared project LineageOS/android_hardware_qcom_audio found, disabling pruning.

Shared project LineageOS/android_hardware_qcom_audio found, disabling pruning.

Shared project LineageOS/android_hardware_qcom_audio found, disabling pruning.

Shared project LineageOS/android_hardware_qcom_audio found, disabling pruning.

Shared project LineageOS/android_hardware_qcom_audio found, disabling pruning.

Shared project LineageOS/android_hardware_qcom_audio found, disabling pruning.

Shared project LineageOS/android_hardware_qcom_audio found, disabling pruning.

Shared project LineageOS/android_hardware_qcom_audio found, disabling pruning.

Shared project LineageOS/android_hardware_qcom_bt found, disabling pruning.

Shared project LineageOS/android_hardware_qcom_bt found, disabling pruning.

I called "make gemini showcommands" just now, the terminal prints some command procedures, but it does not help, it's still the same error.