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

build script --group/owner param of tar not support on Mac #187

Closed
joaner opened this issue Sep 23, 2019 · 1 comment
Closed

build script --group/owner param of tar not support on Mac #187

joaner opened this issue Sep 23, 2019 · 1 comment

Comments

@joaner
Copy link

joaner commented Sep 23, 2019

When I run ./build-php7.sh on Mac OS, the last step tar was failed.

what happend:

+ tar --numeric-owner --group=0 --owner=0 -cjvf /Users/mac/openrasp/rasp-php.tar.bz2 rasp-php-2019-09-23
tar: Option --group=0 is not supported

Mac's built-in tar is bsdtar, which is different from the gnutar(linux's built-in) support parameters of the Linux system.

expected:

+ tar -cjvf /Users/mac/openrasp/rasp-php.tar.bz2 rasp-php-2019-09-23
success on linux(gnutar) and mac(bsdtar)

I suggest remove the last step tar, or removing incompatible parameters --group --owner of tar

@joaner joaner changed the title --group/user param of tar not support on Mac build script --group/owner param of tar not support on Mac Sep 23, 2019
@CaledoniaProject
Copy link
Collaborator

Use gnu-tar instead, e.g brew install gnu-tar

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

2 participants