Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jan 2018 12:10:52 -0800
From:      Russell Haley <russ.haley@gmail.com>
To:        Steven Hartland <killing@multiplay.co.uk>
Cc:        David Naylor <naylor.b.david@gmail.com>, Freebsd-mono <freebsd-mono@freebsd.org>, freebsd-ports@freebsd.org
Subject:   Re: Mono 5.2 patch and DotNet Core 2 update
Message-ID:  <CABx9NuQsWLYxx3u=ey8CMid2%2BL%2BoSPtRv4MXhpWyo9jFmT62=g@mail.gmail.com>
In-Reply-To: <CAHEMsqZJPDAi5N916KQCx6R86p1ws_ihhPQRThgGii8QYJYiTA@mail.gmail.com>
References:  <CABx9NuSEmhg2=aMNPHP=eoRH4Wz4wKojX4J%2BUYV0U-poKPgYBg@mail.gmail.com> <1953600.lZJM3yJhtC@dragon.local> <CABx9NuQDN5-zhaFLpeBaPGFuUO1jBkhBoLrsvcbDjo4v4abrCA@mail.gmail.com> <2960685.dmv641xJ03@dragon.local> <20180106175215.6959187.29204.37955@gmail.com> <CABx9NuRYgkvjBjML=zcaT4yCy7e2ja1snbwVFKSPBckf7ki7aA@mail.gmail.com> <CABx9NuTSjF4aZ3w_aACMOaFbNuneUf9BK_knbrY1byd_EMA4TQ@mail.gmail.com> <20180110184318.GA43480@blogreen.org> <CAHEMsqZJPDAi5N916KQCx6R86p1ws_ihhPQRThgGii8QYJYiTA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 10, 2018 at 10:50 AM, Steven Hartland
<killing@multiplay.co.uk> wrote:
> You want make makesum not make checksum to rebuild the distinfo file

Ugh. So...embarassing. The worst part is I did the same thing in
reverse when I was checking the targets for Lua53 the other day and
spent the better part of an hour not understanding the problem.  I
quandary why the target isn't called distinfo?

Thanks Steven!
Russ


> On Wed, 10 Jan 2018 at 19:43, Romain Tarti=C3=A8re <romain@freebsd.org> w=
rote:
>>
>> On Wed, Jan 10, 2018 at 08:55:45AM -0800, Russell Haley wrote:
>> > I'm getting size and checksum errors for the file
>> > dotnet-roslyn-322bd5b_GH0.tar.gz. This shouldn't be an issue: I
>> > changed the size of the file in distinfo from 22058493 to the actual
>> > size I received of 22058637 in order to make it build. My expectation
>> > is that I should then run make checksum to fix the distinfo file
>> > correctly. I run sudo make checksum and the target goes into an
>> > infinite loop downloading the file, deciding it doesn't match the
>> > checksum and then downloading it again. WTH?
>>
>> Since there are checksums, the ports systems must be checking them when
>> downloading=E2=80=A6  and since the checksum does not match, the downloa=
d is
>> assumed to have failed=E2=80=A6  I guess you can solve this chicken-and-=
egg
>> problem, vy simply removing the existing distinfo file.
>>
>> The actual files checksums will then be written to distinfo. You can
>> `svn diff` to confirm only the expected files have been touched ;-)
>>
>> Regards,
>> Romain
>>
>> --
>> Romain Tarti=C3=A8re <romain@FreeBSD.org>  http://people.FreeBSD.org/~ro=
main/
>> pgp: 8234 9A78 E7C0 B807 0B59  80FF BA4D 1D95 5112 336F (ID: 0x5112336F)
>> (plain text =3Dnon-HTML=3D PGP/GPG encrypted/signed e-mail much apprecia=
ted)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABx9NuQsWLYxx3u=ey8CMid2%2BL%2BoSPtRv4MXhpWyo9jFmT62=g>