Skip to content

Fix for mirroring hackage#1514

Closed
isovector wants to merge 1 commit into
haskell:masterfrom
tweag:mirror-fix
Closed

Fix for mirroring hackage#1514
isovector wants to merge 1 commit into
haskell:masterfrom
tweag:mirror-fix

Conversation

@isovector

Copy link
Copy Markdown
Contributor

When attempting to mirror hackage, I received the following error:

mirroring OGL-0.0.2
packAscii: only ASCII inputs are supported, but got Administratörer
CallStack (from HasCallStack):
  error, called at ./Codec/Archive/Tar/PackAscii.hs:44:17 in tar-0.7.0.0-KJyftX2xMxi7opmJZqZodj-tar-internal:Codec.Archive.Tar.PackAscii
  packAscii, called at ./Codec/Archive/Tar/Write.hs:188:28 in tar-0.7.0.0-KJyftX2xMxi7opmJZqZodj-tar-internal:Codec.Archive.Tar.Write

which then crashed hackage-mirror. This PR adds a little handle wrapper around the offending call.

@mergify

mergify Bot commented Jul 14, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@isovector
isovector marked this pull request as draft July 14, 2026 21:08
@isovector
isovector marked this pull request as ready for review July 14, 2026 21:10
@Bodigrim

Copy link
Copy Markdown
Contributor

@isovector I think I just fixed the issue upstream, in tar-0.7.2.0. Could you give it a try?

@isovector

Copy link
Copy Markdown
Contributor Author

@Bodigrim I can confirm that tar-0.7.2.0 fixes the issue. Thanks!

@isovector isovector closed this Jul 16, 2026
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