dotnet icon indicating copy to clipboard operation
dotnet copied to clipboard

dotnet-cli-1.0.0_pre2_p003131 fails

Open barvins opened this issue 8 years ago • 3 comments

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

barvins avatar Oct 03 '17 14:10 barvins

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.

ArsenShnurkov avatar Oct 04 '17 21:10 ArsenShnurkov

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.

chrschmidt avatar Oct 10 '17 13:10 chrschmidt

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

ArsenShnurkov avatar Oct 10 '17 14:10 ArsenShnurkov