gentoo / dotnet

[MIRROR] Newer mono, .NET languages, and libraries
https://gitweb.gentoo.org/repo/proj/dotnet.git
78 stars 56 forks source link

dotnet-cli-1.0.0_pre2_p003131 fails #334

Open barvins opened 7 years ago

barvins commented 7 years ago

Failed to emerge dotnet-cli-1.0.0_pre2_p003131. Seems that https://github.com/dotnet/coreclr/archive/v1.0.4.tar.gz was changed, but ebuild expects the same file size as previously.

!!! Fetched file: coreclr-1.0.4.tar.gz VERIFY FAILED! !!! Reason: Filesize does not match recorded size !!! Got: 34303036 !!! Expected: 34303931

ArsenShnurkov commented 7 years ago

The same happens to other ebuilds too. Looks like github changed the way to create archive files (updated tar or gzip version for example). In order to avoid this in the future it is necessary to store source archives in separate mirrors (like gentoo does for the main tree). Right now dotnet overlay doesn't have it's own source code mirror.

chrschmidt commented 7 years ago

Not quite true; it only hits the automatically created ones, e.g. from tags. If you manually bundle and release, the checksums will be constant.

ArsenShnurkov commented 7 years ago

That's exactly what I am proposing - to bundle archive manually. This specific ebuild uses automatic archive from tag. Manually created archive should be stored somewhere. And the same should be done to several other ebuilds from this overlay.

https://github.com/gentoo/dotnet/issues/337