Skip to content

Sspak does not support assets over 8GB #53

@mateusz

Description

@mateusz

Phar and PharData use "ustar" format for tar archives which does not support files over 8 GB. We pack assets into a assets.tar.gz, and then rebundle with Phar/PharData, so as soon as assets hit the 8 GB mark, sspak breaks.

You can go around it by using tar and gz directly - which produces POSIX/PAX (on osx) or GNU (on Debian) formats which all support >8 GB files. Such archive still cannot be accessed by Phar/PharData where PHP expect to see ustar headers, but finds garbage from other formats:

phar error: "some.sspak" is a corrupted tar file (checksum mismatch of file "?ep????
       ??
         /")

For now I'm proposing to put a message in: #52

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions