ProcursusTeam / Procursus

Modern *OS Bootstrap
https://apt.procurs.us
BSD Zero Clause License
897 stars 125 forks source link

Compiling on device(rootless-ios) is vastly difficult #1455

Open isforgoodsake opened 1 month ago

isforgoodsake commented 1 month ago

I really tried hard to build a package with Procursus. Cloned the repo, wanted to build neovim or nodejs.

These are quite complex packages, but I think at least the mainfile itself should work with the shell not availbe at /bin/sh The second problem is, that many makefiles do not patch /bin/sh paths from the downloaded sources of, e.g. ./configure. Therefore there are way to many errors.

Kind of ironic that there is still the possibility to build on device, at least according to the Makefile, which has a "Building on iOS" section (and ios-rootless). Ironic because the Makefile won't even execute properly, because in the first fewlines it wants to determine the version of bash, by executing shell with make, which tries to execute /bin/sh instead of /var/jb/usr/bin/sh (see #1454 )

I would greatly appreciate some clues on building packages on iphoneos, maybe i did something entirely wrong. The documentation is outdated, as some packages arent available like dsymutil