LSPosed / MagiskOnWSALocal

Integrate Magisk root and Google Apps into WSA (Windows Subsystem for Android)
GNU Affero General Public License v3.0
9.45k stars 22.92k forks source link

[Bug] 最新构建失败 #721

Closed wuyilingwei closed 9 months ago

wuyilingwei commented 10 months ago

Steps to reproduce/复现步骤

安装依赖 构建

Expected behaviour/预期行为

正常构建并输出

Actual behaviour/实际行为

https://github.com/yige-yigeren/MagiskOnWSAOnlineBuild/actions/runs/6647224466/job/18062222556

构建失败

Tip:https://github.com/LSPosed/MagiskOnWSALocal/pull/620 之前这个版本可以正常构建,切回来就不行了

MagiskOnWSALocal commit full SHA/MagiskOnWSALocal 提交的完整哈希

d44a77be84fac312d343ac501b497828209da089

Linux distribution info/Linux 发行版信息

ubuntu-latest on github action

Windows version/Windows 版本

N/A

Build Parameters/构建参数

PARAMETER="--arch x64 --release-type retail --root-sol magisk --gapps-brand MindTheGapps --remove-amazon --magisk-ver stable --compress-format zip"

Version requirement/版本要求

Logs/日志

[//]: <> (Don't modify above) ``` 10/25 23:12:35 [NOTICE] Download complete: ../download/magisk-stable.zip [DL:403MiB][#bf5c3c 357MiB/1.3GiB(25%)][#a52[54](https://github.com/yige-yigeren/MagiskOnWSAOnlineBuild/actions/runs/6647224466/job/18062222556#step:9:55)a 3.0MiB/188MiB(1%)] [DL:423MiB][#bf5c3c 767MiB/1.3GiB([55](https://github.com/yige-yigeren/MagiskOnWSAOnlineBuild/actions/runs/6647224466/job/18062222556#step:9:56)%)][#a5254a 31MiB/188MiB(16%)] 10/25 23:12:37 [NOTICE] CUID#53 - Redirecting to https://gigenet.dl.sourceforge.net/project/wsa-mtg/x86_64/20230920/MindTheGapps-13.0.0-x86_64-20230920.zip [DL:418MiB][#bf5c3c 1.1GiB/1.3GiB(82%)][#a5254a 52MiB/188MiB(27%)] [DL:361MiB][#bf5c3c 1.3GiB/1.3GiB(95%)][#a5254a 62MiB/188MiB(33%)] 10/25 23:12:43 [NOTICE] Download complete: ../download/wsa-retail.zip [#a5254a 66MiB/188MiB(35%) CN:6 DL:8.1MiB ETA:14s] 10/25 23:12:43 [NOTICE] CUID#55 - Redirecting to https://zenlayer.dl.sourceforge.net/project/wsa-mtg/x86_64/20230920/MindTheGapps-13.0.0-x86_64-20230920.zip [#a5254a 89MiB/188MiB(47%) CN:6 DL:9.7MiB ETA:10s] [#a5254a 119MiB/188MiB(63%) CN:3 DL:8.2MiB ETA:8s] 10/25 23:12:47 [NOTICE] CUID#[58](https://github.com/yige-yigeren/MagiskOnWSAOnlineBuild/actions/runs/6647224466/job/18062222556#step:9:59) - Redirecting to https://zenlayer.dl.sourceforge.net/project/wsa-mtg/x86_64/20230920/MindTheGapps-13.0.0-x86_64-20230920.zip [#a5254a 119MiB/188MiB(63%) CN:3 DL:6.7MiB ETA:10s] [#a5254a 121MiB/188MiB(64%) CN:3 DL:11MiB ETA:6s] 10/25 23:12:49 [NOTICE] CUID#[59](https://github.com/yige-yigeren/MagiskOnWSAOnlineBuild/actions/runs/6647224466/job/18062222556#step:9:60) - Redirecting to https://cytranet.dl.sourceforge.net/project/wsa-mtg/x86_64/20230920/MindTheGapps-13.0.0-x86_64-20230920.zip [#a5254a 131MiB/188MiB(69%) CN:3 DL:10MiB ETA:5s] [#a5254a 145MiB/188MiB(76%) CN:3 DL:11MiB ETA:3s] [#a5254a 165MiB/188MiB(87%) CN:1 DL:12MiB ETA:1s] [#a5254a 175MiB/188MiB(93%) CN:1 DL:12MiB ETA:1s] [#a5254a 187MiB/188MiB(99%) CN:1 DL:12MiB] 10/25 23:12:54 [NOTICE] Download complete: ../download/MindTheGapps-x64-13.0.zip Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= f2981e|OK | 23MiB/s|../download/Microsoft.VCLibs.140.00_x64.appx c92fbe|OK | 23MiB/s|../download/Microsoft.UI.Xaml.2.8_x64.appx b9648e|OK | 23MiB/s|../download/Microsoft.VCLibs.140.00.UWPDesktop_x64.appx fea92e|OK | 26MiB/s|../download/magisk-stable.zip bf5c3c|OK | 328MiB/s|../download/wsa-retail.zip a5254a|OK | 10MiB/s|../download/MindTheGapps-x64-13.0.zip Status Legend: (OK):download completed. Extract WSA unzipping WsaPackage_2308.40000.4.0_x64_Release-Nightly.msix to /tmp/wsa-build-7hjuGNj5xV_/wsa unzipping from /tmp/wsa-build-7hjuGNj5xV_/wsa/WsaPackage_2308.40000.4.0_x64_Release-Nightly.msix Extract done Extract Magisk Magisk version: 26.3 (2[63](https://github.com/yige-yigeren/MagiskOnWSAOnlineBuild/actions/runs/6647224466/job/18062222556#step:9:64)00) done Extract MindTheGapps Archive: ../download/MindTheGapps-x[64](https://github.com/yige-yigeren/MagiskOnWSAOnlineBuild/actions/runs/6647224466/job/18062222556#step:9:65)-13.0.zip inflating: /tmp/wsa-build-7hjuGNj5xV_/gapps/system/product/lib/libjni_latinimegoogle.so inflating: /tmp/wsa-build-7hjuGNj5xV_/gapps/system/product/overlay/GmsSettingsProviderOverlay.apk inflating: /tmp/wsa-build-7hjuGNj5xV_/gapps/system/product/overlay/GmsOverlay.apk inflating: /tmp/wsa-build-7hjuGNj5xV_/gapps/system/product/etc/security/fsverity/gms_fsverity_cert.der inflating: /tmp/wsa-build-7hjuGNj5xV_/gapps/system/product/etc/permissions/privapp-permissions-google-product.xml inflating: /tmp/wsa-build-7hjuGNj5xV_/gapps/system/product/etc/permissions/com.google.android.dialer.support.xml extracting: /tmp/wsa-build-7hjuGNj5xV_/gapps/system/product/etc/init/gapps.rc inflating: /tmp/wsa-build-7hjuGNj5xV_/gapps/system/product/etc/default-permissions/default-permissions-mtg.xml inflating: /tmp/wsa-build-7hjuGNj5xV_/gapps/system/product/etc/default-permissions/default-permissions-google.xml inflating: /tmp/wsa-build-7hjuGNj5xV_/gapps/system/product/etc/sysconfig/google_build.xml inflating: /tmp/wsa-build-7hjuGNj5xV_/gapps/system/product/etc/sysconfig/google.xml inflating: /tmp/wsa-build-7hjuGNj5xV_/gapps/system/product/etc/sysconfig/d2d_cable_migration_feature.xml inflating: /tmp/wsa-build-7hjuGNj5xV_/gapps/system/product/etc/sysconfig/google-hiddenapi-package-allowlist.xml inflating: /tmp/wsa-build-7hjuGNj5xV_/gapps/system/product/lib64/libjni_latinimegoogle.so inflating: /tmp/wsa-build-7hjuGNj5xV_/gapps/system/product/app/GoogleCalendarSyncAdapter/GoogleCalendarSyncAdapter.apk inflating: /tmp/wsa-build-7hjuGNj5xV_/gapps/system/product/app/PrebuiltExchange3Google/PrebuiltExchange3Google.apk inflating: /tmp/wsa-build-7hjuGNj5xV_/gapps/system/product/app/GoogleContactsSyncAdapter/GoogleContactsSyncAdapter.apk inflating: /tmp/wsa-build-7hjuGNj5xV_/gapps/system/product/priv-app/AndroidAutoStub/AndroidAutoStub.apk inflating: /tmp/wsa-build-7hjuGNj5xV_/gapps/system/product/priv-app/GooglePartnerSetup/GooglePartnerSetup.apk inflating: /tmp/wsa-build-7hjuGNj5xV_/gapps/system/product/priv-app/Phonesky/Phonesky.apk inflating: /tmp/wsa-build-7hjuGNj5xV_/gapps/system/product/priv-app/GmsCore/GmsCore.apk inflating: /tmp/wsa-build-7hjuGNj5xV_/gapps/system/product/priv-app/Velvet/Velvet.apk inflating: /tmp/wsa-build-7hjuGNj5xV_/gapps/system/product/priv-app/GoogleRestore/GoogleRestore.apk inflating: /tmp/wsa-build-7hjuGNj5xV_/gapps/system/product/framework/com.google.android.dialer.support.jar inflating: /tmp/wsa-build-7hjuGNj5xV_/gapps/system/system_ext/etc/permissions/privapp-permissions-google-system-ext.xml inflating: /tmp/wsa-build-7hjuGNj5xV_/gapps/system/system_ext/priv-app/GoogleFeedback/GoogleFeedback.apk caution: excluded filename not matched: system/product/priv-app/VelvetTitan/* inflating: /tmp/wsa-build-7hjuGNj5xV_/gapps/system/system_ext/priv-app/GoogleServicesFramework/GoogleServicesFramework.apk Extract done Convert vhdx to RAW image Convert vhdx to RAW image done Mount images mount: /dev/loop8 mounted on /tmp/wsa-build-7hjuGNj5xV_/erofs. mount: /dev/loop9 mounted on /tmp/wsa-build-7hjuGNj5xV_/erofs/vendor. mount: /dev/loop10 mounted on /tmp/wsa-build-7hjuGNj5xV_/erofs/product. mount: /dev/loop11 mounted on /tmp/wsa-build-7hjuGNj5xV_/erofs/system_ext. done Create overlayfs mk_overlayfs: label system lowerdir=/tmp/wsa-build-7hjuGNj5xV_/erofs upperdir=/tmp/wsa-build-7hjuGNj5xV_/upper/system workdir=/tmp/wsa-build-7hjuGNj5xV_/worker/system merged=/tmp/wsa-build-7hjuGNj5xV_/system_root_merged mount: overlay mounted on /tmp/wsa-build-7hjuGNj5xV_/system_root_merged. mk_overlayfs: label vendor lowerdir=/tmp/wsa-build-7hjuGNj5xV_/erofs/vendor upperdir=/tmp/wsa-build-7hjuGNj5xV_/upper/vendor workdir=/tmp/wsa-build-7hjuGNj5xV_/worker/vendor merged=/tmp/wsa-build-7hjuGNj5xV_/system_root_merged/vendor mount: overlay mounted on /tmp/wsa-build-7hjuGNj5xV_/system_root_merged/vendor. mk_overlayfs: label product lowerdir=/tmp/wsa-build-7hjuGNj5xV_/erofs/product upperdir=/tmp/wsa-build-7hjuGNj5xV_/upper/product workdir=/tmp/wsa-build-7hjuGNj5xV_/worker/product merged=/tmp/wsa-build-7hjuGNj5xV_/system_root_merged/product mount: overlay mounted on /tmp/wsa-build-7hjuGNj5xV_/system_root_merged/product. mk_overlayfs: label system_ext lowerdir=/tmp/wsa-build-7hjuGNj5xV_/erofs/system_ext upperdir=/tmp/wsa-build-7hjuGNj5xV_/upper/system_ext workdir=/tmp/wsa-build-7hjuGNj5xV_/worker/system_ext merged=/tmp/wsa-build-7hjuGNj5xV_/system_root_merged/system_ext mount: overlay mounted on /tmp/wsa-build-7hjuGNj5xV_/system_root_merged/system_ext. Create overlayfs done Remove Amazon Appstore done Add device administration features sed: can't read /cts/a \ : No such file or directory done Integrate Magisk /debug_ramdisk(/.*)? u:object_r:magisk_file:s0 /data/adb/magisk(/.*)? u:object_r:magisk_file:s0 Inject zygote restart /tmp/wsa-build-7hjuGNj5xV_/system_root_merged/system/etc/init/hw/init.zygote32.rc Inject zygote restart /tmp/wsa-build-7hjuGNj5xV_/system_root_merged/system/etc/init/hw/init.zygote64.rc Inject zygote restart /tmp/wsa-build-7hjuGNj5xV_/system_root_merged/system/etc/init/hw/init.zygote64_32.rc Integrate Magisk done Add extra packages Add extra packages done Integrate MindTheGapps Integrate MindTheGapps done Fix MindTheGapps prop fixing /tmp/wsa-build-7hjuGNj5xV_/system_root_merged/system/build.prop fixing /tmp/wsa-build-7hjuGNj5xV_/system_root_merged/vendor/build.prop fixing /tmp/wsa-build-7hjuGNj5xV_/system_root_merged/vendor/odm/etc/build.prop done Create system images mk_image_umount: /tmp/wsa-build-7hjuGNj5xV_/system_root_merged/vendor /tmp/wsa-build-7hjuGNj5xV_/wsa/x64/vendor.img /tmp/wsa-build-7hjuGNj5xV_/upper/vendor ext4 ERROR: Not yet implemented Build: an error has occurred, exit Cleanup Work Directory Cleanup Mount Directory umount: /tmp/wsa-build-7hjuGNj5xV_/erofs/vendor unmounted umount: /tmp/wsa-build-7hjuGNj5xV_/erofs/system_ext unmounted umount: /tmp/wsa-build-7hjuGNj5xV_/erofs/product unmounted umount: /tmp/wsa-build-7hjuGNj5xV_/erofs unmounted umount: /tmp/wsa-build-7hjuGNj5xV_/system_root_merged/vendor (overlay) unmounted umount: /tmp/wsa-build-7hjuGNj5xV_/system_root_merged/system_ext (overlay) unmounted umount: /tmp/wsa-build-7hjuGNj5xV_/system_root_merged/product (overlay) unmounted umount: /tmp/wsa-build-7hjuGNj5xV_/system_root_merged (overlay) unmounted Cleanup Download Directory Error: Process completed with exit code 1. ``` [//]: <> (Don't modify below)
mio-19 commented 10 months ago

也得到了 ERROR: Not yet implemented

cooperw991 commented 10 months ago

same issue

GEOXER123 commented 10 months ago

same issue

Mineshelf-3j6zz0 commented 10 months ago

Same question. Please repair!

luckyzyx commented 10 months ago

在2309.40000.10.0版本的编译中,system.img镜像格式判断错误导致无法编译,可以临时添加一行代码解决编译问题

echo "Create system images"
#在此处添加以下代码设置为erofs
SYSTEMIMAGES_FILE_SYSTEM_TYPE="erofs"

但是也可能会导致其他问题,例如我这边运行测试Run.bat后可能会无法运行WSA

尝试这个https://github.com/LSPosed/MagiskOnWSALocal/issues/717#issuecomment-1779576833 替换build.sh后可以正常升级WSA