-
Notifications
You must be signed in to change notification settings - Fork 126
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
Unable to build various complex project on-device due to various Operation not permitted
errors.
#229
Comments
Currently the easiest fix I can offer is as follows. Do you have access to a checkra1n-able device? If so, use Odysseyra1n with that. This is due to a limitation in kppless jailbreaks (most app-based jailbreaks) and would likely need a major workaround to fix. This isn’t necessarily a problem with Procursus, but a problem with kppless jailbreaks in general. |
Gotcha. Unfortunately, I do not have a checkra1n-able device. I’d love to get native development working on my iPad, so I will pursue other avenues like iSH or UTM or something where this issue can’t get in my way. It really is a shame Apple hinders their devices like this. Should I file a bug on the Odyssey repo so that the other Odyssey dev’s know at least one user is hitting this issue, or should I not bother? |
The Odyssey dev knows. It’s been a pain in everyone’s ass for a very, very long time. I’m looking into a workaround, just slowly. I have too much on my plate as a 19 year old. |
Good to know. Thanks for your help! I hope you’re safe and healthy and that your workload diminishes with age. :) |
Heh, thank you. I’m absolutely safe and healthy, just do too much. Staying in shape, learning an instrument, Procursus, university, and money. |
Could you join Hayden's discord so that I can try to help you? |
what's the link? |
This morning I decided to try again on a fix for this. After reading Apple’s source for The tweak somewhat solves my build problems, but to use this tweak for command line apps, I have to Unfortunately though, this environment variable seems not to stick: even if Any advice here? What should I do to make sure this hook/other tweaks are successfully loaded for command line apps?
|
Update: Apparently it’s something with injecting TweakInjector. If I What’s the problem with injecting TweakInjector? |
@deatondg Wow! Amazing work on this. It was entirely unexpected but absolutely welcome. Regarding the injecting TweakInjector directly, I'm not entirely sure why that would cause it not to get injected through successive spawned programs, I do know it could cause some conflicting hooks if you have another tweak that hooks something you don't want it to. |
TweakInject.dylib by design unsets DYLD_INSERT_LIBRARIES so that random tweaks don't get injected into CLI processes spawned by stuff GUI apps like Sileo / NewTerm / etc. |
@deatondg this should now be fixed without the need for a tweak after reinstalling perl. Give it a a go, if it’s still not, I’ll reopen. Cheers. |
I'm excited to try this out soon. Thanks for your hard work! |
I am not savvy enough to understand exactly what is going wrong here, so please let me know if I should submit this issue to the Odyssey repo or some other repo instead.
I am unable to build various complex projects on-device (iPad Pro 4 iOS 13.5 Odyssey 1.2.2) due to various
Operation not permitted
errors. I had the same issue on Unc0ver using Sam Binger’s tools, and it was acknowledged as a bug on StackOverflow, but never fixed. I’ve recently switched to Odyssey and your tools.The errors are all something like this: building
make
usingfails with
Building texlive using
fails with
Importantly though, changing like 89 of detect.mk from
to
fixes this error, and the build progresses to a new one:
which can be alleviated in a similar way. Every time there is an error, the solution is just to prefix the line which errors with
bash
.I can just keep doing this until the build succeeds, but I’d rather not do that.
I have installed all the required build tools, I am logged in a
mobile
, I am not building from/var/mobile/
, and my environment variables are configured like so.Let me know if there’s anything I can do to help fix this, or if there’s any other info you need from me. I greatly appreciate your help.
The text was updated successfully, but these errors were encountered: