Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different checksum on packages from different source #202

Closed
aretsan opened this issue Sep 19, 2022 · 3 comments
Closed

Different checksum on packages from different source #202

aretsan opened this issue Sep 19, 2022 · 3 comments

Comments

@aretsan
Copy link

aretsan commented Sep 19, 2022

Hi,

I noticed some different checksum when downloading coreutils.

When I download from http://git.savannah.gnu.org/cgit/coreutils.git/snapshot/coreutils-8.32.tar.gz, it has this checksum
6f7cfc0ac6717afb6ba1f41b0da43a713ba0dd97dec1227e32effc12d79f08c1 coreutils-8.32.tar.gz

But when I download from https://ftp.gnu.org/gnu/coreutils/coreutils-8.32.tar.gz, it has
d5ab07435a74058ab69a2007e838be4f6a90b5635d812c2e26671e3972fca1b8 coreutils-8.32.tar.gz.1

Similar thing happened to guile-3.0.7.tar.gz.

I wondered if this is expected or not.

@stikonas
Copy link
Collaborator

Yes. this is expected as you are downloading entirely different tarballs with different contents. git snapshots are generated by git from the contents of release directory where as release tarballs are created by release scripts and often include stuff like configure scripts, etc... Though in live-bootstrap we remove pre-generated files like configure...

@stikonas
Copy link
Collaborator

Oh and usually in live-bootstrap we use release tarballs (though there is a discussion whether we should continue to do so #177).

But in this particular case coreutils tarball does not contain all files required to rebuild pre-generated files, so we just ended up using git snapshot.

@stikonas
Copy link
Collaborator

And guile-3.0.7.tar.gz is different story:

tar.gz file contains https://github.com/schierlm/guile-psyntax-bootstrapping and it is not Guile but we use it to bootstrap guile.
whereas guile-3.0.7.tar.xz is Guile itself.

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

No branches or pull requests

2 participants