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

[Bug]: Running gen_release on a Mac results in a tar with lots of warnings #26794

Open
jabraham17 opened this issue Feb 27, 2025 · 1 comment

Comments

@jabraham17
Copy link
Member

The script ./util/buildRelease/gen_release is whats used to generate the Chapel tarball release. If I run this script on my Mac, and then copy the tarball to a linux based system, untarring the archive results in a ton of garbarge being printed out

> tar xvzf chapel.tar.gz
....
ignoring unknown extended header LIBARCHIVE.xattr.com.apple.provenance
....

This is not really a correctness issue, as everything still works. But it does create a ton of extra output weird looking output. I think there is a flag --no-xattrs that can be used to avoid creating these extra headers in the tar file, but I am not sure how to apply that to the gen_release script with its very dense bash scripting.

@bradcray
Copy link
Member

For typical usage, I'd imagine it'd just involve adding the flag to

$cmd = "tar -cz -f $tarball_name @tarfiles";

For completeness, it may also be desireable to add it to

SystemOrDie("cd $chplhome && tar -cf - . | (cd $archive_dir && tar -xf -)");

(I don't know how much, if at all, that branch is used today).

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

No branches or pull requests

2 participants