Skip to content

Unvendoring of 'tar' breaks unpacking #3390

Closed
@davean

Description

@davean

Commit 0db3b21 introduces a dependancy on a tarbomb check that can't handle many hackage packages.

For example:

$ cabal get binary-0.6.4.0
Downloading binary-0.6.4.0...
Unpacking to binary-0.6.4.0/
File in tar archive is not in the expected directory "binary-0.6.4.0"

The old code handled POSIX.1-2001/pax tarballs specificly, of which there are many on hackage. The code in the tar package does not understand the pax records, and errors on them thinkng they're "normal files" in the wrong location.

These packages did install properly in the last cabal-install version.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions