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

perl rootless patch incomplete #1427

Open
L1ghtmann opened this issue Jan 3, 2024 · 0 comments
Open

perl rootless patch incomplete #1427

L1ghtmann opened this issue Jan 3, 2024 · 0 comments

Comments

@L1ghtmann
Copy link
Contributor

L1ghtmann commented Jan 3, 2024

When attempting to use Perl's spawn(), I am getting cannot execute errors as it's looking for /bin/sh.

Relevant test script: https://github.com/theos/theos/blob/16da692ea93ecc80ecd7d7e904a62e378a0d58be/bin/swift-bootstrapper.pl

Error: Can't exec "/bin/sh": No such file or directory at $THEOS/bin/swift-bootstrapper.pl line 17

Line 17 being

my $swift_version = `$swift_command --version 2>/dev/null`;

The same applies for lines 29 & 33, which are also shell commands.

This same error then pops for lines 82 & 83 which call system():

system($print_command);
system($build_command) == 0 || die("Failed to build $project_name: command failed: $build_command\n");

Setup: iP7 15.8 Rootless

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

1 participant