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

add stub implementation of extract_noattr for other platforms #48

Closed
wants to merge 1 commit into from

Conversation

sunshowers
Copy link

This allows xattr to at least compile on platforms like illumos, even though it isn't currently supported there.

This allows xattr to at least compile on platforms like illumos, even though it
isn't really supported there.
sunshowers added a commit to nextest-rs/nextest that referenced this pull request Dec 10, 2023
tar 0.4.40 doesn't compile on illumos, due to
Stebalien/xattr#48.

Downgrade tar to 0.4.39, which downgrades xattr to version 0.2.
@Stebalien
Copy link
Owner

Does enabling the "unsupported" feature not work for you?

@sunshowers
Copy link
Author

sunshowers commented Dec 11, 2023

Hmm, I'm using xattr as a transitive dependency of the tar package. It's possible that could work (I haven't tried) but I think it doesn't feel right to depend on that?

@sunshowers
Copy link
Author

Looks like the unsupported feature is enabled by default, yet cargo build without arguments fails on illumos. Maybe the support for unsupported platforms broke at some point?

@josh-sanders
Copy link

Thank you sunshowers, this is great. It works on OmniOS.

@Stebalien
Copy link
Owner

Ah... I see.

@Stebalien
Copy link
Owner

This should now be fixed on the latest release.

@Stebalien Stebalien closed this Dec 12, 2023
@sunshowers
Copy link
Author

Thanks! Your solution (2352bdc) looks great.

@sunshowers sunshowers deleted the stub-extract branch December 12, 2023 17:49
sunshowers added a commit to sunshowers/tar-rs that referenced this pull request Dec 12, 2023
xattr 1.0.0 through 1.1.2 have a bug
(Stebalien/xattr#48). Bump the requirement so that
downstream dependents get the latest version.
alexcrichton pushed a commit to alexcrichton/tar-rs that referenced this pull request Jun 4, 2024
xattr 1.0.0 through 1.1.2 have a bug
(Stebalien/xattr#48). Bump the requirement so that
downstream dependents get the latest version.
ararslan pushed a commit to ararslan/binstall-tar that referenced this pull request Jun 6, 2024
xattr 1.0.0 through 1.1.2 have a bug
(Stebalien/xattr#48). Bump the requirement so that
downstream dependents get the latest version.

(cherry picked from commit c74d62a)
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.

3 participants