Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Script exits with failed to read erofs super block #670

Closed
1 task done
ajb3932 opened this issue Sep 1, 2023 · 11 comments
Closed
1 task done

[Bug] Script exits with failed to read erofs super block #670

ajb3932 opened this issue Sep 1, 2023 · 11 comments
Labels
bug Something isn't working

Comments

@ajb3932
Copy link

ajb3932 commented Sep 1, 2023

Steps to reproduce/复现步骤

  1. git clone https://github.com/LSPosed/MagiskOnWSALocal.git
  2. ./MagiskOnWSALocal/scripts/run.sh
  3. failed to read erofs super block

Expected behaviour/预期行为

The built package is in the 'output' folder.

Actual behaviour/实际行为

There is an error and the script exits.

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

21e80a3 refs/heads/main 21e80a3 refs/remotes/origin/HEAD 21e80a3 refs/remotes/origin/main 22bc69f refs/remotes/origin/rebuild-ext4 d1b9489 refs/remotes/origin/win-gui

Linux distribution info/Linux 发行版信息

Ubuntu 22.04.3 LTS

Windows version/Windows 版本

Edition Windows 11 Pro Version 22H2 Installed on ‎27/‎11/‎2022 OS build 22621.2215 Experience Windows Feature Experience Pack 1000.22662.1000.0

Build Parameters/构建参数

COMMAND_LINE=--arch x64 --release-type retail --root-sol none --gapps-brand MindTheGapps --remove-amazon
INFO: Architecture: x64
INFO: Release Type: retail
INFO: Magisk Version: stable
INFO: GApps Brand: MindTheGapps
INFO: GApps Variant: pico
INFO: Root Solution: none
Build: RELEASE_TYPE=Retail
Generate Download Links
Generating WSA download link: arch=x64 release_type=Retail

Version requirement/版本要求

  • I am using latest commit of MagiskOnWSALocal/我正在使用最新 commit 的版本

Logs/日志

Mount images
fuse.erofs 1.6-g689372cd
disk: /tmp/wsa-build-FtxGPFwz6z_/wsa/x64/system.img
offset: 0
mountpoint: /tmp/wsa-build-FtxGPFwz6z_/erofs
dbglevel: 0
<E> erofs: cannot find valid erofs superblock
failed to read erofs super block
Build: an error has occurred, exit

Cleanup Work Directory
Cleanup Mount Directory
umount: /tmp/wsa-build-FtxGPFwz6z_/erofs/vendor: no mount point specified.
umount: /tmp/wsa-build-FtxGPFwz6z_/erofs/system_ext: no mount point specified.
umount: /tmp/wsa-build-FtxGPFwz6z_/erofs/product: no mount point specified.
umount: /tmp/wsa-build-FtxGPFwz6z_/erofs: not mounted.
umount: /tmp/wsa-build-FtxGPFwz6z_/system_root_merged/vendor: no mount point specified.
umount: /tmp/wsa-build-FtxGPFwz6z_/system_root_merged/system_ext: no mount point specified.
umount: /tmp/wsa-build-FtxGPFwz6z_/system_root_merged/product: no mount point specified.
umount: /tmp/wsa-build-FtxGPFwz6z_/system_root_merged: no mount point specified.
Cleanup Download Directory
❯ cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.3 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy```
[//]: <> (Don't modify below)
</details>
@ajb3932 ajb3932 added the bug Something isn't working label Sep 1, 2023
@ajb3932
Copy link
Author

ajb3932 commented Sep 1, 2023

Sorry to trouble you guys, you have done some amazing work.
I think I have seen this in #661 but I tried the fix and changed 2206 with 2207 in the build.sh and it still failed.

@Erisa
Copy link

Erisa commented Sep 4, 2023

Seems to be resolved by #665

@themachineworks
Copy link

themachineworks commented Sep 7, 2023

I am getting the same error. Has the change been merged?

Mount images
fuse.erofs 1.6-g689372cd
disk: /tmp/wsa-build-msUIf2gjGp_/wsa/x64/system.img
offset: 0
mountpoint: /tmp/wsa-build-msUIf2gjGp_/erofs
dbglevel: 0
erofs: cannot find valid erofs superblock
failed to read erofs super block
Build: an error has occurred, exit

@chadify
Copy link

chadify commented Sep 7, 2023

I am getting the same error. Has the change been merged?

Mount images fuse.erofs 1.6-g689372cd disk: /tmp/wsa-build-msUIf2gjGp_/wsa/x64/system.img offset: 0 mountpoint: /tmp/wsa-build-msUIf2gjGp_/erofs dbglevel: 0 erofs: cannot find valid erofs superblock failed to read erofs super block Build: an error has occurred, exit

I'm getting the same error. How to fix?

@Erisa
Copy link

Erisa commented Sep 7, 2023

It's not merged. You need to use their fork
Try cloning this repo instead: https://github.com/sn-o-w/MagiskOnWSALocal

@chadify
Copy link

chadify commented Sep 7, 2023

It's not merged. You need to use their fork Try cloning this repo instead: https://github.com/sn-o-w/MagiskOnWSALocal

Done and it worked. I've a side question, is it possible to install only magisk and not the gapps, not even gapps pico?

@mgfirewater
Copy link

mgfirewater commented Sep 9, 2023

It's not merged. You need to use their fork Try cloning this repo instead: https://github.com/sn-o-w/MagiskOnWSALocal

that doesn't work for me. my successful solution was that.
#648 (comment)

@ajb3932
Copy link
Author

ajb3932 commented Sep 9, 2023 via email

@themachineworks
Copy link

themachineworks commented Sep 10, 2023 via email

@sn-o-w
Copy link
Contributor

sn-o-w commented Oct 1, 2023

It's not merged. You need to use their fork Try cloning this repo instead: https://github.com/sn-o-w/MagiskOnWSALocal

that doesn't work for me. my successful solution was that. #648 (comment)

Have you cloned my repo properly? I'm asking this because you're the only one in here who said it doesn't work. 🤔 If Microsoft switches back to EROFS, that commit you mentioned won't help you anymore, but mine will.

The only changes I made were to a single file, build.sh: https://raw.githubusercontent.com/sn-o-w/MagiskOnWSALocal/main/scripts/build.sh
If you change the contents of your build.sh with the contents in the above URL, it should work.

@mark-reijerkerk
Copy link

I acknowledge above solution from sn-o-w

@Howard20181 Howard20181 moved this to In Progress in Magisk On WSA Oct 25, 2023
@Howard20181 Howard20181 moved this from In Progress to Done in Magisk On WSA Mar 3, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Mar 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

8 participants