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

Compiling with magisk v25.2 always fails #223

Open
JimmyFlo opened this issue Aug 4, 2023 · 0 comments
Open

Compiling with magisk v25.2 always fails #223

JimmyFlo opened this issue Aug 4, 2023 · 0 comments

Comments

@JimmyFlo
Copy link

JimmyFlo commented Aug 4, 2023

Hellow everyone, having troubles with magisk v26.1: bootloops randomly if I reboot my phone and needing to clear data and deal with apps restore.. going back to Cruel kernel with magisk v25.2 makes the phone more stable. I wanted to fork the repo and make some tweaks and build it like I always did, however whenever I commit the +magisk=v25.2, it always fails to build and throws several cautions, here is the compiling log before the build stops:

./cruelbuild :build
shell: /usr/bin/bash -e {0}
env:
TOOLCHAIN: google
INSTALLER: yes
pythonLocation: /opt/hostedtoolcache/Python/3.7.17/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.7.17/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.7.17/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.7.17/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.7.17/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.7.17/x64/lib
Updating Magisk from none to v25.2
Archive: /home/runner/work/samsung-exynos9820/samsung-exynos9820/usr/magisk/magisk.zip
version=25.2
versionCode=25200
caution: filename not matched: arm/magiskinit64
Archive: /home/runner/work/samsung-exynos9820/samsung-exynos9820/usr/magisk/magisk.zip
version=25.2
versionCode=25200
inflating: /home/runner/work/samsung-exynos9820/samsung-exynos9820/usr/magisk/lib/armeabi-v7a/libmagisk32.so
caution: filename not matched: lib/armeabi-v7a/libmagisk64.so
inflating: /home/runner/work/samsung-exynos9820/samsung-exynos9820/usr/magisk/lib/armeabi-v7a/libmagiskinit.so
Archive: /home/runner/work/samsung-exynos9820/samsung-exynos9820/usr/magisk/magisk.zip
version=25.2
versionCode=25200
inflating: /home/runner/work/samsung-exynos9820/samsung-exynos9820/usr/magisk/lib/arm64-v8a/libmagisk64.so
inflating: /home/runner/work/samsung-exynos9820/samsung-exynos9820/usr/magisk/lib/arm64-v8a/libmagiskinit.so
caution: filename not matched: assets/stub.apk
inflating: /home/runner/work/samsung-exynos9820/samsung-exynos9820/usr/magisk/lib/armeabi-v7a/libmagisk32.so
Archive: /home/runner/work/samsung-exynos9820/samsung-exynos9820/usr/magisk/magisk.zip
version=25.2
versionCode=25200
inflating: /home/runner/work/samsung-exynos9820/samsung-exynos9820/usr/magisk/lib/arm64-v8a/libmagisk64.so
inflating: /home/runner/work/samsung-exynos9820/samsung-exynos9820/usr/magisk/lib/arm64-v8a/libmagiskinit.so
inflating: /home/runner/work/samsung-exynos9820/samsung-exynos9820/usr/magisk/lib/armeabi-v7a/libmagisk32.so
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/config/kernel.release
UPD include/config/kernel.release
WRAP arch/arm64/include/generated/uapi/asm/errno.h
WRAP arch/arm64/include/generated/uapi/asm/ioctl.h
WRAP arch/arm64/include/generated/uapi/asm/ioctls.h
WRAP arch/arm64/include/generated/uapi/asm/ipcbuf.h
WRAP arch/arm64/include/generated/uapi/asm/kvm_para.h
WRAP arch/arm64/include/generated/uapi/asm/mman.h
WRAP arch/arm64/include/generated/uapi/asm/msgbuf.h
WRAP arch/arm64/include/generated/uapi/asm/poll.h
WRAP arch/arm64/include/generated/uapi/asm/resource.h
WRAP arch/arm64/include/generated/uapi/asm/sembuf.h
WRAP arch/arm64/include/generated/uapi/asm/shmbuf.h
WRAP arch/arm64/include/generated/uapi/asm/socket.h
WRAP arch/arm64/include/generated/uapi/asm/sockios.h
WRAP arch/arm64/include/generated/uapi/asm/swab.h
WRAP arch/arm64/include/generated/uapi/asm/termbits.h
WRAP arch/arm64/include/generated/uapi/asm/termios.h
CHK include/generated/uapi/linux/version.h
WRAP arch/arm64/include/generated/uapi/asm/types.h
UPD include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/bin2c
WRAP arch/arm64/include/generated/asm/bugs.h
WRAP arch/arm64/include/generated/asm/clkdev.h
WRAP arch/arm64/include/generated/asm/delay.h
WRAP arch/arm64/include/generated/asm/div64.h
WRAP arch/arm64/include/generated/asm/dma.h
WRAP arch/arm64/include/generated/asm/dma-contiguous.h
WRAP arch/arm64/include/generated/asm/early_ioremap.h
WRAP arch/arm64/include/generated/asm/emergency-restart.h
WRAP arch/arm64/include/generated/asm/hw_irq.h
WRAP arch/arm64/include/generated/asm/irq_regs.h
WRAP arch/arm64/include/generated/asm/kdebug.h
WRAP arch/arm64/include/generated/asm/kmap_types.h
WRAP arch/arm64/include/generated/asm/local.h
WRAP arch/arm64/include/generated/asm/local64.h
WRAP arch/arm64/include/generated/asm/mcs_spinlock.h
WRAP arch/arm64/include/generated/asm/mm-arch-hooks.h
WRAP arch/arm64/include/generated/asm/msi.h
WRAP arch/arm64/include/generated/asm/preempt.h
WRAP arch/arm64/include/generated/asm/rwsem.h
WRAP arch/arm64/include/generated/asm/segment.h
WRAP arch/arm64/include/generated/asm/serial.h
WRAP arch/arm64/include/generated/asm/set_memory.h
WRAP arch/arm64/include/generated/asm/sizes.h
WRAP arch/arm64/include/generated/asm/switch_to.h
WRAP arch/arm64/include/generated/asm/trace_clock.h
WRAP arch/arm64/include/generated/asm/unaligned.h
WRAP arch/arm64/include/generated/asm/user.h
WRAP arch/arm64/include/generated/asm/vga.h
WRAP arch/arm64/include/generated/asm/xor.h
HOSTCC scripts/genksyms/genksyms.o
CC kernel/bounds.s
CHK include/generated/timeconst.h
UPD include/generated/timeconst.h
CHK include/generated/bounds.h
UPD include/generated/bounds.h
CC arch/arm64/kernel/asm-offsets.s
SHIPPED scripts/genksyms/parse.tab.c
SHIPPED scripts/genksyms/lex.lex.c
SHIPPED scripts/genksyms/parse.tab.h
HOSTCC scripts/genksyms/parse.tab.o
HOSTCC scripts/genksyms/lex.lex.o
CHK include/generated/asm-offsets.h
UPD include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
LDS arch/arm64/kernel/vdso/vdso.lds
VDSOA arch/arm64/kernel/vdso/gettimeofday.o
VDSOA arch/arm64/kernel/vdso/note.o
VDSOA arch/arm64/kernel/vdso/sigreturn.o
LD arch/arm64/kernel/vdso/vdso.so.dbg
VDSOSYM include/generated/vdso-offsets.h
CC scripts/mod/empty.o
HOSTCC scripts/mod/mk_elfconfig
CC scripts/mod/devicetable-offsets.s
HOSTLD scripts/genksyms/genksyms
MKELF scripts/mod/elfconfig.h
CHK scripts/mod/devicetable-offsets.h
HOSTCC scripts/selinux/genheaders/genheaders
UPD scripts/mod/devicetable-offsets.h
HOSTCC scripts/mod/sumversion.o
HOSTCC scripts/selinux/mdp/mdp
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/kallsyms
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/sortextable
HOSTCC scripts/asn1_compiler
HOSTLD scripts/mod/modpost
CC init/main.o
HOSTCC usr/gen_init_cpio
GEN usr/initramfs_data.cpio
File /home/runner/work/samsung-exynos9820/samsung-exynos9820/usr/magisk/stub.xz could not be opened for reading
line 13
make[1]: *** [usr/Makefile:60: usr/initramfs_data.cpio] Error 255
make: *** [Makefile:1257: usr] Error 2
make: *** Waiting for unfinished jobs....
CHK include/generated/compile.h
UPD include/generated/compile.h
CC init/do_mounts.o
CC init/do_mounts_rd.o
CC init/do_mounts_initrd.o
CC init/do_mounts_dm.o
CC init/noinitramfs.o
CC init/initramfs.o
CC init/calibrate.o
CC init/init_task.o
CC init/version.o
AR init/mounts.o
AR init/built-in.o
Toolchain: google
Build date: 2023-08-04 14:49 UTC
Name: Cruel-devel-G970F
Model: G970F
Configuration:
boeffla_wl_blocker (default: On)
nodebug (default: On)
samsung (default: On)
sched_performance (default: On)
sched_powersave (default: On)
usb_serial (default: On)
magisk (default: On)
nohardening (default: On)
ttl (default: On)
wireguard (default: On)
cifs (default: On)
sdfat (default: On)
ntfs (default: On)
force_dex_wqhd (default: On)
OS Patch Level: 2022-10
ARCH="arm64"
PLATFORM_VERSION="11"
ANDROID_MAJOR_VERSION="r"
KBUILD_BUILD_TIMESTAMP=""
Magisk Version: v25.2
Error: Process completed with exit code 2.

sorry it's the first time I report an issue! and thanks for reviewing this issue in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant