ProcursusTeam / Procursus

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

Package requests #25

Closed demhademha closed 4 years ago

demhademha commented 4 years ago

Hi, could you please add support for clang (with arm64e support) aswell as libswift and the swift toolchain? Thank you

Diatrus commented 4 years ago

These were added in 91f7343d795e41463e8862ba90d228c9557bea7c. Swift does need some work, but I'm not neglecting it.

demhademha commented 4 years ago

Thank you But it still seems that theos isn't working

Diatrus commented 4 years ago

That’s extremely undetailed, but I can guarantee it’s working for me and others.

demhademha commented 4 years ago

Ok, when compiling, i get the following: ahmeds-iPad:/var/github/b root# make clean package ==> Cleaning…

Making all for tool b… ==> Compiling main.m (armv7)… ==> Compiling main.m (arm64)… ==> Linking tool b (arm64)… ==> Linking tool b (armv7)… ==> Merging tool b… ==> Signing b… Making stage for tool b… bash: /var/github/b/.theos/ /DEBIAN/control: No such file or directory make: *** [/var/root/theos/makefiles/package/deb.mk:51: /var/github/b/.theos/ /DEBIAN/control] Error 1 ahmeds-iPad:/var/github/b root Main file contains:

include

int main(int argc, char argv[], char envp[]) { printf("Hello world!\n"); return 0; }

Control file contains:

Package: b Name: b Version: 0.0.1 Architecture: iphoneos-arm Description: An awesome tool of some sort!! Maintainer: b Author: b Section: System Tag: role::hacker

the same package works fine on checkra1n any help would be appreciated

CRKatri commented 4 years ago

Switch to the next branch of theos


From: demhademha notifications@github.com Sent: Tuesday, June 23, 2020 12:58 PM To: ProcursusTeam/Procursus Cc: Subscribed Subject: Re: [ProcursusTeam/Procursus] Package requests (#25)

Ok, when compiling, i get the following: ahmeds-iPad:/var/github/b root# make clean package ==> Cleaning…

Making all for tool b… ==> Compiling main.m (armv7)… ==> Compiling main.m (arm64)… ==> Linking tool b (arm64)… ==> Linking tool b (armv7)… ==> Merging tool b… ==> Signing b… Making stage for tool b… bash: /var/github/b/.theos/ /DEBIAN/control: No such file or directory make: *** [/var/root/theos/makefiles/package/deb.mk:51: /var/github/b/.theos/ /DEBIAN/control] Error 1 ahmeds-iPad:/var/github/b root Main file contains:

include

int main(int argc, char argv[], char envp[]) { printf("Hello world!\n"); return 0; }

Control file contains:

Package: b Name: b Version: 0.0.1 Architecture: iphoneos-arm Description: An awesome tool of some sort!! Maintainer: b Author: b Section: System Tag: role::hacker

the same package works fine on checkra1n any help would be appreciated

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/ProcursusTeam/Procursus/issues/25#issuecomment-648289423, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALP7GE3HQUG3EUBDH364G5TRYDNJXANCNFSM4NZFQQKA.

demhademha commented 4 years ago

Thank you very much, but what about this make install ==> Installing… su: illegal option -- c usage: su [-dflm] [login [shell arguments]] make: *** [/var/root/theos/makefiles/install/deb_local.mk:2: internal-install] Error 1 : Looks like an issue with sudo / fakeroot However, the deb does compile with the next branch of theos

CRKatri commented 4 years ago

Please make sure you are running and installed theos as mobile


From: demhademha notifications@github.com Sent: Tuesday, June 23, 2020 2:12 PM To: ProcursusTeam/Procursus Cc: CRKatri; Comment Subject: Re: [ProcursusTeam/Procursus] Package requests (#25)

Thank you very much, but what about this make install ==> Installing… su: illegal option -- c usage: su [-dflm] [login [shell arguments]] make: *** [/var/root/theos/makefiles/install/deb_local.mk:2: internal-install] Error 1 : Looks like an issue with sudo / fakeroot However, the deb does compile with the next branch of theos

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/ProcursusTeam/Procursus/issues/25#issuecomment-648330443, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALP7GE46JDINOUCS5TT2EOLRYDV77ANCNFSM4NZFQQKA.

Diatrus commented 4 years ago

@CRKatri is incorrect, it’s an issue with how theos invokes su, it isn’t compatible with BSD su. Report to theos that they’re incompatible with FreeBSD su on Procursus. I’ll likely fix it and create a pull request later.

keaton-dev commented 4 years ago

A work around for the install issue is to change the line exec su -c "$@" to exec bash -c "$@" in (theos_dir)/bin/install.exec.

This pull request mentions the issue you are having @demhademha.