Skip to content

Fix nondeterminism in gettext archive - #589

Merged
Googulator merged 1 commit into
fosslinux:masterfrom
mid-kid:master
Nov 17, 2026
Merged

Googulator merged 1 commit into
fosslinux:masterfrom
mid-kid:master

Conversation

@mid-kid

@mid-kid mid-kid commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

Currently, the layout of the created archive within the gettext package will depend on which filesystem it's created on. This breaks for example with overlayfs in podman. Using --sort=name removes this nondeterminism, but changes the hash of the archive.

Closes: #576

Currently, the layout of the created archive within the gettext package
will depend on which filesystem it's created on. This breaks for example
with overlayfs in podman. Using --sort=name removes this nondeterminism,
but changes the hash of the archive.

Closes: fosslinux#576
@mid-kid

mid-kid commented Nov 17, 2026

Copy link
Copy Markdown
Contributor Author

Finished my own testing, the archive ends up the same in both podman and chrooted builds.

@Googulator

Copy link
Copy Markdown
Collaborator

LGTM.

@Googulator
Googulator merged commit a49273c into fosslinux:master Nov 17, 2026
6 checks passed
@mid-kid

mid-kid commented Nov 19, 2026

Copy link
Copy Markdown
Contributor Author

Thank you!

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.

gettext-0.26 contains a non-deterministic tar archive

2 participants