Uh oh!
There was an error while loading. Please reload this page.
'Setup.hs sdist': invoke 'tar' with '--format ustar' if possible. - #1903
Merged
Conversation
dcoutts
commented
Jun 21, 2014
Contributor
Yep looks ok. In general, for this kind of feature detection I think it makes sense to put it in the configure step of the program, and to save the result in that key/value store we've got in the configured program. In this case it doesn't make a difference for performance, though it might be nice to be vaguely consistent about how we do feature detection. |
23Skidoo
commented
Jun 21, 2014
MemberAuthor
I'll do that change and then commit. |
Fixeshaskell#1901. Some variants of 'tar' don't support the '--format' option, so we have to do feature detection. Note that 'cabal sdist' (as opposed to 'Setup.hs sdist') uses the built-in tar.gz archiver ('Distribution.Client.Tar') and doesn't invoke 'tar' or 'gzip'.
23Skidoo added a commit
that referenced
this pull request
Sep 25, 2014
'Setup.hs sdist': invoke 'tar' with '--format ustar' if possible.
philderbeast added a commit
to cabalism/cabal
that referenced
this pull request
Feb 21, 2026
philderbeast added a commit
to cabalism/cabal
that referenced
this pull request
Feb 21, 2026
- Add .typos-hs.toml - Use explicit --config with typos - Fix typo --formar in changelog for haskell#1903 - Rename to .typos-srcs.toml - Trigger ci run on push
philderbeast added a commit
to cabalism/cabal
that referenced
this pull request
Feb 24, 2026
- Add .typos-hs.toml - Use explicit --config with typos - Fix typo --formar in changelog for haskell#1903 - Rename to .typos-srcs.toml - Trigger ci run on push
philderbeast added a commit
to cabalism/cabal
that referenced
this pull request
Feb 25, 2026
- Add .typos-hs.toml - Use explicit --config with typos - Fix typo --formar in changelog for haskell#1903 - Rename to .typos-srcs.toml - Trigger ci run on push
philderbeast added a commit
to cabalism/cabal
that referenced
this pull request
Feb 25, 2026
- Add .typos-hs.toml - Use explicit --config with typos - Fix typo --formar in changelog for haskell#1903 - Rename to .typos-srcs.toml - Trigger ci run on push
philderbeast added a commit
to cabalism/cabal
that referenced
this pull request
Feb 28, 2026
- Add .typos-hs.toml - Use explicit --config with typos - Fix typo --formar in changelog for haskell#1903 - Rename to .typos-srcs.toml - Trigger ci run on push
philderbeast added a commit
to cabalism/cabal
that referenced
this pull request
Feb 28, 2026
- Add .typos-hs.toml - Use explicit --config with typos - Fix typo --formar in changelog for haskell#1903 - Rename to .typos-srcs.toml - Trigger ci run on push
philderbeast added a commit
to cabalism/cabal
that referenced
this pull request
Mar 1, 2026
- Add .typos-hs.toml - Use explicit --config with typos - Fix typo --formar in changelog for haskell#1903 - Rename to .typos-srcs.toml - Trigger ci run on push
philderbeast added a commit
to cabalism/cabal
that referenced
this pull request
Mar 1, 2026
- Add .typos-hs.toml - Use explicit --config with typos - Fix typo --formar in changelog for haskell#1903 - Rename to .typos-srcs.toml - Trigger ci run on push
philderbeast added a commit
to cabalism/cabal
that referenced
this pull request
Mar 2, 2026
- Add .typos-hs.toml - Use explicit --config with typos - Fix typo --formar in changelog for haskell#1903 - Rename to .typos-srcs.toml - Trigger ci run on push
philderbeast added a commit
to cabalism/cabal
that referenced
this pull request
Mar 2, 2026
- Configure typos for hs abbreviations and allowed misspellings - Fix typo inherithed - Fix typo succesfully - Fix typo environmnet - Fix typo ther - Add more abbreviations and misspellings - Fix typo uncessary - Fix typo becuase - Fix typo Uknown - Remove false hits from dist-newstyle - Add an hs-fix-typos .PHONY target - Exclude non-existent files - Exclude path dist-newstyle - Do path exclusions one per line - Add make hs-typos to typos workflow - Fix typo ReportUserTargerNonexistantFile - Rename files to all-test-suite.* - Bump typo to v1.43.5 - Use separate config for typos for docs & srcs - Add .typos-hs.toml - Use explicit --config with typos - Fix typo --formar in changelog for haskell#1903 - Rename to .typos-srcs.toml - Trigger ci run on push - Fix typo comparision - Fix typo limt - Fix typo appropiate - Fix typo preprocesser - Fix typo verstion - Fix typo cylical - Fix typo synopsys - Add a changelog entry - Exclude the changelog entry with a typo
philderbeast added a commit
to cabalism/cabal
that referenced
this pull request
Mar 3, 2026
- Configure typos for hs abbreviations and allowed misspellings - Fix typo inherithed - Fix typo succesfully - Fix typo environmnet - Fix typo ther - Add more abbreviations and misspellings - Fix typo uncessary - Fix typo becuase - Fix typo Uknown - Remove false hits from dist-newstyle - Add an hs-fix-typos .PHONY target - Exclude non-existent files - Exclude path dist-newstyle - Do path exclusions one per line - Add make hs-typos to typos workflow - Fix typo ReportUserTargerNonexistantFile - Rename files to all-test-suite.* - Bump typo to v1.43.5 - Use separate config for typos for docs & srcs - Add .typos-hs.toml - Use explicit --config with typos - Fix typo --formar in changelog for haskell#1903 - Rename to .typos-srcs.toml - Trigger ci run on push - Fix typo comparision - Fix typo limt - Fix typo appropiate - Fix typo preprocesser - Fix typo verstion - Fix typo cylical - Fix typo synopsys - Add a changelog entry - Exclude the changelog entry with a typo
Kleidukos pushed a commit
to Kleidukos/cabal
that referenced
this pull request
Mar 12, 2026
- Configure typos for hs abbreviations and allowed misspellings - Fix typo inherithed - Fix typo succesfully - Fix typo environmnet - Fix typo ther - Add more abbreviations and misspellings - Fix typo uncessary - Fix typo becuase - Fix typo Uknown - Remove false hits from dist-newstyle - Add an hs-fix-typos .PHONY target - Exclude non-existent files - Exclude path dist-newstyle - Do path exclusions one per line - Add make hs-typos to typos workflow - Fix typo ReportUserTargerNonexistantFile - Rename files to all-test-suite.* - Bump typo to v1.43.5 - Use separate config for typos for docs & srcs - Add .typos-hs.toml - Use explicit --config with typos - Fix typo --formar in changelog for haskell#1903 - Rename to .typos-srcs.toml - Trigger ci run on push - Fix typo comparision - Fix typo limt - Fix typo appropiate - Fix typo preprocesser - Fix typo verstion - Fix typo cylical - Fix typo synopsys - Add a changelog entry - Exclude the changelog entry with a typo
zlonast pushed a commit
to zlonast/cabal
that referenced
this pull request
Mar 17, 2026
- Configure typos for hs abbreviations and allowed misspellings - Fix typo inherithed - Fix typo succesfully - Fix typo environmnet - Fix typo ther - Add more abbreviations and misspellings - Fix typo uncessary - Fix typo becuase - Fix typo Uknown - Remove false hits from dist-newstyle - Add an hs-fix-typos .PHONY target - Exclude non-existent files - Exclude path dist-newstyle - Do path exclusions one per line - Add make hs-typos to typos workflow - Fix typo ReportUserTargerNonexistantFile - Rename files to all-test-suite.* - Bump typo to v1.43.5 - Use separate config for typos for docs & srcs - Add .typos-hs.toml - Use explicit --config with typos - Fix typo --formar in changelog for haskell#1903 - Rename to .typos-srcs.toml - Trigger ci run on push - Fix typo comparision - Fix typo limt - Fix typo appropiate - Fix typo preprocesser - Fix typo verstion - Fix typo cylical - Fix typo synopsys - Add a changelog entry - Exclude the changelog entry with a typo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes#1901. Some variants of
tardon't support the--formatoption, so we have to do feature detection.Note that 'cabal sdist' (as opposed to
Setup.hs sdist) uses the built-in tar.gz archiver (Distribution.Client.Tar) and doesn't invoketarorgzip.