Skip to content
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

Not able to build the appsync from source #224

Open
clevercoder91 opened this issue Nov 12, 2024 · 3 comments
Open

Not able to build the appsync from source #224

clevercoder91 opened this issue Nov 12, 2024 · 3 comments

Comments

@clevercoder91
Copy link

I tried installing theos using this command on my kali
bash -c "$(curl -fsSL https://raw.githubusercontent.com/theos/theos/master/bin/install-theos)"

and then git clonned the repo and ran
make command it gives me the following errors

@clevercoder91
Copy link
Author

==> Compiling pkg-actions.m (armv7s)…
pkg-actions.m:75:16: error: expected ')'
if (access(INSTALLD_PLIST_PATH_L, F_OK) == -1) {
^
pkg-actions.m:21:62: note: expanded from macro 'INSTALLD_PLIST_PATH_L'
#define INSTALLD_PLIST_PATH_L ROOT_PATH(L_LAUNCHDAEMON_PATH) "/com.apple.mobile.installd.plist"
^
pkg-actions.m:75:15: note: to match this '('
if (access(INSTALLD_PLIST_PATH_L, F_OK) == -1) {
^
pkg-actions.m:78:38: error: expected ')'
symlink(INSTALLD_PLIST_PATH_SL, INSTALLD_PLIST_PATH_L);
^
pkg-actions.m:21:62: note: expanded from macro 'INSTALLD_PLIST_PATH_L'
#define INSTALLD_PLIST_PATH_L ROOT_PATH(L_LAUNCHDAEMON_PATH) "/com.apple.mobile.installd.plist"
^
pkg-actions.m:78:13: note: to match this '('
symlink(INSTALLD_PLIST_PATH_SL, INSTALLD_PLIST_PATH_L);
^
pkg-actions.m:82:18: error: expected ')'
run_launchctl(INSTALLD_PLIST_PATH_L, "unload", true);
^
pkg-actions.m:21:62: note: expanded from macro 'INSTALLD_PLIST_PATH_L'
#define INSTALLD_PLIST_PATH_L ROOT_PATH(L_LAUNCHDAEMON_PATH) "/com.apple.mobile.installd.plist"
^
pkg-actions.m:82:17: note: to match this '('
run_launchctl(INSTALLD_PLIST_PATH_L, "unload", true);
^
pkg-actions.m:84:18: error: expected ')'
run_launchctl(INSTALLD_PLIST_PATH_L, "load", true);
^
pkg-actions.m:21:62: note: expanded from macro 'INSTALLD_PLIST_PATH_L'
#define INSTALLD_PLIST_PATH_L ROOT_PATH(L_LAUNCHDAEMON_PATH) "/com.apple.mobile.installd.plist"
^
pkg-actions.m:84:17: note: to match this '('
run_launchctl(INSTALLD_PLIST_PATH_L, "load", true);
^
pkg-actions.m:92:14: error: expected ')'
if (access(ASU_INJECT_PLIST_PATH_OLD, F_OK) != -1) {
^
pkg-actions.m:25:66: note: expanded from macro 'ASU_INJECT_PLIST_PATH_OLD'
#define ASU_INJECT_PLIST_PATH_OLD ROOT_PATH(L_LAUNCHDAEMON_PATH) "/net.angelxwind.asu_inject.plist"
^
pkg-actions.m:92:13: note: to match this '('
if (access(ASU_INJECT_PLIST_PATH_OLD, F_OK) != -1) {
^
pkg-actions.m:95:18: error: expected ')'
run_launchctl(ASU_INJECT_PLIST_PATH_OLD, "unload", false);
^
pkg-actions.m:25:66: note: expanded from macro 'ASU_INJECT_PLIST_PATH_OLD'
#define ASU_INJECT_PLIST_PATH_OLD ROOT_PATH(L_LAUNCHDAEMON_PATH) "/net.angelxwind.asu_inject.plist"
^
pkg-actions.m:95:17: note: to match this '('
run_launchctl(ASU_INJECT_PLIST_PATH_OLD, "unload", false);
^
pkg-actions.m:96:11: error: expected ')'
unlink(ASU_INJECT_PLIST_PATH_OLD);
^
pkg-actions.m:25:66: note: expanded from macro 'ASU_INJECT_PLIST_PATH_OLD'
#define ASU_INJECT_PLIST_PATH_OLD ROOT_PATH(L_LAUNCHDAEMON_PATH) "/net.angelxwind.asu_inject.plist"
^
pkg-actions.m:96:10: note: to match this '('
unlink(ASU_INJECT_PLIST_PATH_OLD);
^
pkg-actions.m:109:12: error: expected ')'
chown(ASU_INJECT_PLIST_PATH, 0, 0);
^
pkg-actions.m:24:62: note: expanded from macro 'ASU_INJECT_PLIST_PATH'
#define ASU_INJECT_PLIST_PATH ROOT_PATH(L_LAUNCHDAEMON_PATH) "/ai.akemi.asu_inject.plist"
^
pkg-actions.m:109:11: note: to match this '('
chown(ASU_INJECT_PLIST_PATH, 0, 0);
^
pkg-actions.m:110:12: error: expected ')'
chmod(ASU_INJECT_PLIST_PATH, 0644);
^
pkg-actions.m:24:62: note: expanded from macro 'ASU_INJECT_PLIST_PATH'
#define ASU_INJECT_PLIST_PATH ROOT_PATH(L_LAUNCHDAEMON_PATH) "/ai.akemi.asu_inject.plist"
^
pkg-actions.m:110:11: note: to match this '('
chmod(ASU_INJECT_PLIST_PATH, 0644);
^
pkg-actions.m:112:20: error: expected ')'
run_launchctl(ASU_INJECT_PLIST_PATH, "unload", false);
^
pkg-actions.m:24:62: note: expanded from macro 'ASU_INJECT_PLIST_PATH'
#define ASU_INJECT_PLIST_PATH ROOT_PATH(L_LAUNCHDAEMON_PATH) "/ai.akemi.asu_inject.plist"
^
pkg-actions.m:112:19: note: to match this '('
run_launchctl(ASU_INJECT_PLIST_PATH, "unload", false);
^
pkg-actions.m:115:21: error: expected ')'
run_launchctl(ASU_INJECT_PLIST_PATH, "load", false);
^
pkg-actions.m:24:62: note: expanded from macro 'ASU_INJECT_PLIST_PATH'
#define ASU_INJECT_PLIST_PATH ROOT_PATH(L_LAUNCHDAEMON_PATH) "/ai.akemi.asu_inject.plist"
^
pkg-actions.m:115:20: note: to match this '('
run_launchctl(ASU_INJECT_PLIST_PATH, "load", false);
^
pkg-actions.m:121:13: error: expected ')'
unlink(ASU_INJECT_PLIST_PATH);
^
pkg-actions.m:24:62: note: expanded from macro 'ASU_INJECT_PLIST_PATH'
#define ASU_INJECT_PLIST_PATH ROOT_PATH(L_LAUNCHDAEMON_PATH) "/ai.akemi.asu_inject.plist"
^
pkg-actions.m:121:12: note: to match this '('
unlink(ASU_INJECT_PLIST_PATH);
^
12 errors generated.
make[4]: *** [/home/kali/theos/makefiles/instance/rules.mk:305: /home/kali/AppSync/.theos/obj/armv7s/pkg-actions.m.6205478e.o] Error 1
make[3]: *** [/home/kali/theos/makefiles/instance/tool.mk:20: /home/kali/AppSync/.theos/obj/armv7s/postinst] Error 2
make[3]: *** Waiting for unfinished jobs....
==> Compiling pkg-actions.m (armv7)…
pkg-actions.m:75:16: error: expected ')'
if (access(INSTALLD_PLIST_PATH_L, F_OK) == -1) {
^
pkg-actions.m:21:62: note: expanded from macro 'INSTALLD_PLIST_PATH_L'
#define INSTALLD_PLIST_PATH_L ROOT_PATH(L_LAUNCHDAEMON_PATH) "/com.apple.mobile.installd.plist"
^
pkg-actions.m:75:15: note: to match this '('
if (access(INSTALLD_PLIST_PATH_L, F_OK) == -1) {
^
pkg-actions.m:78:38: error: expected ')'
symlink(INSTALLD_PLIST_PATH_SL, INSTALLD_PLIST_PATH_L);
^
pkg-actions.m:21:62: note: expanded from macro 'INSTALLD_PLIST_PATH_L'
#define INSTALLD_PLIST_PATH_L ROOT_PATH(L_LAUNCHDAEMON_PATH) "/com.apple.mobile.installd.plist"
^
pkg-actions.m:78:13: note: to match this '('
symlink(INSTALLD_PLIST_PATH_SL, INSTALLD_PLIST_PATH_L);
^
pkg-actions.m:82:18: error: expected ')'
run_launchctl(INSTALLD_PLIST_PATH_L, "unload", true);
^
pkg-actions.m:21:62: note: expanded from macro 'INSTALLD_PLIST_PATH_L'
#define INSTALLD_PLIST_PATH_L ROOT_PATH(L_LAUNCHDAEMON_PATH) "/com.apple.mobile.installd.plist"
^
pkg-actions.m:82:17: note: to match this '('
run_launchctl(INSTALLD_PLIST_PATH_L, "unload", true);
^
pkg-actions.m:84:18: error: expected ')'
run_launchctl(INSTALLD_PLIST_PATH_L, "load", true);
^
pkg-actions.m:21:62: note: expanded from macro 'INSTALLD_PLIST_PATH_L'
#define INSTALLD_PLIST_PATH_L ROOT_PATH(L_LAUNCHDAEMON_PATH) "/com.apple.mobile.installd.plist"
^
pkg-actions.m:84:17: note: to match this '('
run_launchctl(INSTALLD_PLIST_PATH_L, "load", true);
^
pkg-actions.m:92:14: error: expected ')'
if (access(ASU_INJECT_PLIST_PATH_OLD, F_OK) != -1) {
^
pkg-actions.m:25:66: note: expanded from macro 'ASU_INJECT_PLIST_PATH_OLD'
#define ASU_INJECT_PLIST_PATH_OLD ROOT_PATH(L_LAUNCHDAEMON_PATH) "/net.angelxwind.asu_inject.plist"
^
pkg-actions.m:92:13: note: to match this '('
if (access(ASU_INJECT_PLIST_PATH_OLD, F_OK) != -1) {
^
pkg-actions.m:95:18: error: expected ')'
run_launchctl(ASU_INJECT_PLIST_PATH_OLD, "unload", false);
^
pkg-actions.m:25:66: note: expanded from macro 'ASU_INJECT_PLIST_PATH_OLD'
#define ASU_INJECT_PLIST_PATH_OLD ROOT_PATH(L_LAUNCHDAEMON_PATH) "/net.angelxwind.asu_inject.plist"
^
pkg-actions.m:95:17: note: to match this '('
run_launchctl(ASU_INJECT_PLIST_PATH_OLD, "unload", false);
^
pkg-actions.m:96:11: error: expected ')'
unlink(ASU_INJECT_PLIST_PATH_OLD);
^
pkg-actions.m:25:66: note: expanded from macro 'ASU_INJECT_PLIST_PATH_OLD'
#define ASU_INJECT_PLIST_PATH_OLD ROOT_PATH(L_LAUNCHDAEMON_PATH) "/net.angelxwind.asu_inject.plist"
^
pkg-actions.m:96:10: note: to match this '('
unlink(ASU_INJECT_PLIST_PATH_OLD);
^
pkg-actions.m:109:12: error: expected ')'
chown(ASU_INJECT_PLIST_PATH, 0, 0);
^
pkg-actions.m:24:62: note: expanded from macro 'ASU_INJECT_PLIST_PATH'
#define ASU_INJECT_PLIST_PATH ROOT_PATH(L_LAUNCHDAEMON_PATH) "/ai.akemi.asu_inject.plist"
^
pkg-actions.m:109:11: note: to match this '('
chown(ASU_INJECT_PLIST_PATH, 0, 0);
^
pkg-actions.m:110:12: error: expected ')'
chmod(ASU_INJECT_PLIST_PATH, 0644);
^
pkg-actions.m:24:62: note: expanded from macro 'ASU_INJECT_PLIST_PATH'
#define ASU_INJECT_PLIST_PATH ROOT_PATH(L_LAUNCHDAEMON_PATH) "/ai.akemi.asu_inject.plist"
^
pkg-actions.m:110:11: note: to match this '('
chmod(ASU_INJECT_PLIST_PATH, 0644);
^
pkg-actions.m:112:20: error: expected ')'
run_launchctl(ASU_INJECT_PLIST_PATH, "unload", false);
^
pkg-actions.m:24:62: note: expanded from macro 'ASU_INJECT_PLIST_PATH'
#define ASU_INJECT_PLIST_PATH ROOT_PATH(L_LAUNCHDAEMON_PATH) "/ai.akemi.asu_inject.plist"
^
pkg-actions.m:112:19: note: to match this '('
run_launchctl(ASU_INJECT_PLIST_PATH, "unload", false);
^
pkg-actions.m:115:21: error: expected ')'
run_launchctl(ASU_INJECT_PLIST_PATH, "load", false);
^
pkg-actions.m:24:62: note: expanded from macro 'ASU_INJECT_PLIST_PATH'
#define ASU_INJECT_PLIST_PATH ROOT_PATH(L_LAUNCHDAEMON_PATH) "/ai.akemi.asu_inject.plist"
^
pkg-actions.m:115:20: note: to match this '('
run_launchctl(ASU_INJECT_PLIST_PATH, "load", false);
^
pkg-actions.m:121:13: error: expected ')'
unlink(ASU_INJECT_PLIST_PATH);
^
pkg-actions.m:24:62: note: expanded from macro 'ASU_INJECT_PLIST_PATH'
#define ASU_INJECT_PLIST_PATH ROOT_PATH(L_LAUNCHDAEMON_PATH) "/ai.akemi.asu_inject.plist"
^
pkg-actions.m:121:12: note: to match this '('
unlink(ASU_INJECT_PLIST_PATH);
^
12 errors generated.
make[4]: *** [/home/kali/theos/makefiles/instance/rules.mk:305: /home/kali/AppSync/.theos/obj/armv7/pkg-actions.m.6f9a6caa.o] Error 1
make[3]: *** [/home/kali/theos/makefiles/instance/tool.mk:20: /home/kali/AppSync/.theos/obj/armv7/postinst] Error 2
make[2]: *** [/home/kali/theos/makefiles/instance/tool.mk:11: internal-tool-all_] Error 2
make[1]: *** [/home/kali/theos/makefiles/master/rules.mk:146: postinst.all.tool.variables] Error 2
make: *** [/home/kali/theos/makefiles/master/aggregate.mk:12: internal-all] Error 2

htis are the errors

@charlie-mtz
Copy link

I created a Pull Request a few days ago fixing this

@ipsecc
Copy link

ipsecc commented Dec 11, 2024

I got the same error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants