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

Making bsdtar and coreutils fully portable for amd64 #732

Closed
wants to merge 2 commits into from

Conversation

manuelnaranjo
Copy link

This is kind of in between a bug fix and a new feature.

Basically I realized bazel-lib bsdtar and coreutils don't work in centos7 amd64 because of libc version and stuff.

I got the binaries to the point where those are isolated and the entire dependency tree is self-contained,
could do similar work for arm64, but first I wanted to get some feedback

I expect no visible changes to end-users other than more platforms being supported.

For testing I executed all tests in a centos7 docker image and they passed.

executed the following in a loop until I got 0 system dependencies
being used:
```
bazel build @bsd_tar_linux_amd64//... && bash -x bazel-bazel-lib/external/bsd_tar_linux_amd64/bsdtar.sh
```

Once that passed I could succesfully run this tool in centos7 amd64 which
has a way older glibc
now coreutils are fully portable as well
@CLAassistant
Copy link

CLAassistant commented Jan 24, 2024

CLA assistant check
All committers have signed the CLA.

@manuelnaranjo
Copy link
Author

I see issues #698 and #615 related to this, and I agree the musl approach is more sane as it has less maintenance cost, I wish I opened the issue tracker earlier, on the other hand it took me under 1 hour to get this setup and it helped to unblock my use case.

If you don't mind I think it's best to close this ticket.

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

Successfully merging this pull request may close these issues.

2 participants