[Magisk] oreo27:
Thanks! I'm going to try using that instead. I'm trying to create a travis-ci repo which builds it automatically. I don't have the NDK and want to save what little space I have on my SSD.

[MENTION=3306843]kantjer[/MENTION], what are the dependencies I need to run the

repo

command?

Edit- nvm

- mkdir ~/bin
- PATH=~/bin:$PATH
- curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
- chmod a+x ~/bin/repo

Edit 3 - Getting errors when trying to build

time python3.6 /home/travis/Magisk/build.py all ${MAGISK_VER_STRING} ${MAGISK_VER_INTEGER} && echo "Magisk has been successfully built"
* Building Magisk binaries
Traceback (most recent call last):
File "/home/travis/Magisk/build.py", line 402, in <module>
args.func(args)
File "/home/travis/Magisk/build.py", line 75, in build_all
build_binary(args)
File "/home/travis/Magisk/build.py", line 85, in build_binary
os.utime(os.path.join('native', 'jni', 'include', 'logging.h'))
FileNotFoundError: [Errno 2] No such file or directory
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook
from apport.fileutils import likely_packaged, get_recent_crashes
File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in <module>
from apport.report import Report
File "/usr/lib/python3/dist-packages/apport/report.py", line 30, in <module>
import apport.fileutils
File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 23, in <module>
from apport.packaging_impl import impl as packaging
File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 20, in <module>
import apt
File "/usr/lib/python3/dist-packages/apt/__init__.py", line 23, in <module>
import apt_pkg
ModuleNotFoundError: No module named 'apt_pkg'
Original exception was:
Traceback (most recent call last):
File "/home/travis/Magisk/build.py", line 402, in <module>
args.func(args)
File "/home/travis/Magisk/build.py", line 75, in build_all
build_binary(args)
File "/home/travis/Magisk/build.py", line 85, in build_binary
os.utime(os.path.join('native', 'jni', 'include', 'logging.h'))
FileNotFoundError: [Errno 2] No such file or directory
real	0m0.218s
user	0m0.180s
sys	0m0.020s
The command "time python3.6 /home/travis/Magisk/build.py all ${MAGISK_VER_STRING} ${MAGISK_VER_INTEGER} && echo "Magisk has been successfully built"" exited with 1.

Edit 4

python3.6 /home/travis/Magisk/build.py all ${MAGISK_VER_STRING} ${MAGISK_VER_INTEGER} && echo "Magisk has been successfully built"
* Building Magisk binaries
Traceback (most recent call last):
File "/home/travis/Magisk/build.py", line 402, in <module>
args.func(args)
File "/home/travis/Magisk/build.py", line 75, in build_all
build_binary(args)
File "/home/travis/Magisk/build.py", line 85, in build_binary
os.utime(os.path.join('native', 'jni', 'include', 'logging.h'))
FileNotFoundError: [Errno 2] No such file or directory

[MENTION=3306843]kantjer[/MENTION], Can't seem to get this going. I am already using your XML to download the files.

Edit 5 - I just had to cd into the Magisk directory instead of running the build.py script using absolute paths. It looks like it's compiling now.