Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Apr 02 18:04
    GitLab | Lucas Ramage pushed 1 commits to PRoot
  • Apr 02 18:03

    oxr463 on master

    Limit testsuite to five minutes… (compare)

  • Apr 02 17:46

    oxr463 on master

    (compare)

  • Apr 02 17:46
    GitLab | Lucas Ramage pushed to PRoot
  • Apr 02 17:46

    oxr463 on fix-timeouts

    (compare)

  • Apr 02 17:45
    oxr463 closed #202
  • Apr 02 17:45
    oxr463 assigned #202
  • Apr 02 17:43

    oxr463 on master

    Limit testsuite to five minutes… (compare)

  • Apr 02 16:18
    GitLab | Lucas Ramage pushed 2 commits to PRoot
  • Apr 02 16:15

    oxr463 on fix-timeouts

    Update .travis.yml (compare)

  • Apr 02 16:14

    oxr463 on fix-timeouts

    Update .travis.yml (compare)

  • Apr 02 15:17
    GitLab | Lucas Ramage pushed 1 commits to PRoot
  • Apr 02 15:03

    oxr463 on fix-timeouts

    Update .travis.yml (compare)

  • Apr 02 15:02

    oxr463 on release-preparation

    (compare)

  • Apr 02 14:50
    GitLab | Lucas Ramage pushed to PRoot
  • Apr 02 14:46

    oxr463 on release-preparation

    Deprecate changelog for PRoot Deprecate changelog for CARE Remove changelog step from rele… and 1 more (compare)

  • Apr 02 14:46
    GitLab | Lucas Ramage pushed 1 commits to PRoot
  • Apr 02 14:17

    oxr463 on test-docker

    Update parse-docker-tag.awk (compare)

  • Apr 02 12:17

    oxr463 on release-preparation

    (compare)

  • Apr 02 12:03
    oxr463 commented #127
Lucas Ramage
@oxr463
Let me try something and I'll get back to you.
Petr Marek
@MarekPetr
Thank you very much!
Petr Marek
@MarekPetr
Have you come to anything? :)
Lucas Ramage
@oxr463
Yes sorry
Just going back over the instructions
I've been at work :)
Petr Marek
@MarekPetr
That's ok :D I just thought maybe you have solved it and forgot to tell me back :)
Lucas Ramage
@oxr463
It's failing to build :'(
Petr Marek
@MarekPetr
Yeah I haven't had any luck either. It's strange because the code seems to be ready for compiling for arm. How were those static binaries you have linked me built anyway?
Lucas Ramage
@oxr463
Those are very old
I can build on x86_64 without issues
But using the method with qemu-aarch64 failed
Going to try something else
Once I figure all this out, then I will add it to the GitLab CI/CD pipeline so I can distribute static binaries across all arches
You can literally copy and paste each section in the terminal
Lucas Ramage
@oxr463
I am still working through the linker issue at the bottom
Petr Marek
@MarekPetr
That looks promising! Although does the version of proot you are cloning there work around the seccomp filtering? I was trying it with the termux's version you have linked me before. I can totally do the steps myself if your goal is to ship the official version and btw help me :D
Lucas Ramage
@oxr463
Why not? If I can fix this upstream then that is the best, but I can try with termux fork as well
Petr Marek
@MarekPetr
Great! Thanks :) So upstream first and we will see. I hope the termux fork won't be necessary.
Lucas Ramage
@oxr463
Yeah, that is the plan.
Lucas Ramage
@oxr463
FYI, I tried termux-fork with my instructions and it failed as well :/
Petr Marek
@MarekPetr
And have you managed to compile the upstream?
Lucas Ramage
@oxr463
No, it is also failing
Still working on it though
Petr Marek
@MarekPetr
That's a pity. If I can help you somehow, let me know :)
Lucas Ramage
@oxr463
Will do!
Lucas Ramage
@oxr463
Petr Marek
@MarekPetr
I have looked into it, but I am yet to figure out what to do with it..
Lucas Ramage
@oxr463
We'll see what they say
Petr Marek
@MarekPetr
Sure, btw thanks for helping me, I really appreciate it :)
Lucas Ramage
@oxr463
You're welcome
Lucas Ramage
@oxr463
Please try my instructions again. I added the fix from the Alpine maintainers :)
Petr Marek
@MarekPetr
Wonderful! Thank you! It seems to solve the seccomp filtering !! :D Although another problem has arised, but that would not be on proot's behalf :)
Lucas Ramage
@oxr463
Glad to hear it!
Petr Marek
@MarekPetr

Me too :) Altought would you be so kind and give me one more tip? I am trying to run a script with a classic #!/bin/sh shebang with proot, but it tells me that it basically can not find shell. I run that script from another script with "exec proot script" command. Without proot it calls the script and run it, except it produces that seccomp error. I have read something along the lines that Termux changes shebangs of scripts to run them with its own shell. Do you know why and if there is a way around that? I dont want to package another shell, the app is big enough already :D

This is the error I got:
DEBUG: executing git_annex script
DEBUG: executing runshell script
DEBUG: exec proot /data/data/com.lfgit/files/usr/bin/git-annex
proot error: execve("/data/data/com.lfgit/files/usr/bin/git-annex"): Bad address
proot info: possible causes:

  • the program is a script but its interpreter (eg. /bin/sh) was not found;
  • the program is an ELF but its interpreter (eg. ld-linux.so) was not found;
  • the program is a foreign binary but qemu was not specified;
  • qemu does not work correctly (if specified);
  • the loader was not found or doesn't work.
    fatal error: see proot --help.
Lucas Ramage
@oxr463
Can you share any relevant portions of the script?
Petr Marek
@MarekPetr
This is the script: https://github.com/MarekPetr/LfGit/blob/annex_strace/app/src/main/assets/git-lfs/usr/runshell. Proot is called on line 132. It is all in a test branch for arm64 device :)
Lucas Ramage
@oxr463
Okay gotcha
matrixbot
@matrixbot
Lucas Ramage Looks like the bridge might be down
Lucas Ramage
@oxr463
Or maybe not?
Lucas Ramage
@oxr463
@theunrealgeek welcome! :)
Aditya Kamath
@theunrealgeek
Thanks @oxr463
Just to get things started, I spent some time on getting Python3 working. Folks please give your feedback on proot-me/proot#214
Lucas Ramage
@oxr463
Merged
:thumbsup:
Working on preparing a new release
Aditya Kamath
@theunrealgeek
Thanks!
I'll start digging into SECCOMP and what changes are needed to make it work in proot
matrixbot
@matrixbot
Lucas Ramage Awesome!