Skip to content

tar 1.14 compatibility (Tiger) - #1

Open
cellularmitosis wants to merge 17 commits into
macos-powerpc:masterfrom
cellularmitosis:master
Open

tar 1.14 compatibility (Tiger)#1
cellularmitosis wants to merge 17 commits into
macos-powerpc:masterfrom
cellularmitosis:master

Conversation

@cellularmitosis

@cellularmitosis cellularmitosis commented Apr 25, 2025

Copy link
Copy Markdown

Between tar 1.14 and 1.15, --strip-path was renamed to --strip-components.

Tiger shipped with 1.14, and leopard shipped with 1.15.1.

MacPorts currently uses --strip-components, which causes an error on Tiger.

This PR invoke tar --version to detect which flag should be used.

DO NOT MERGE YET I have not figured out how to test this yet. When I ran sudo port sync after building macports-base from source (without the patch), for some reason it didn't trigger the error, so now I'm not sure how to trigger that code path.

@barracuda156

Copy link
Copy Markdown

@cellularmitosis That code was added ages ago: macports@db32814
I believe, nobody complained, so presumably it should work just fine on Tiger as is.

@barracuda156

Copy link
Copy Markdown

@cellularmitosis Where are we on this?

@barracuda156

Copy link
Copy Markdown

@cellularmitosis If you could ensure that 2.11.5 actually builds and works on Tiger, that will be great, since currently that is totally untested.

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