Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Mar 2014 14:33:52 +0100
From:      =?ISO-8859-1?Q?Bernhard_Fr=F6hlich?= <decke@FreeBSD.org>
To:        =?ISO-8859-1?Q?Fernando_Apestegu=EDa?= <fernando.apesteguia@gmail.com>
Cc:        FreeBSD Mailing List <freebsd-ports@freebsd.org>
Subject:   Re: [redports] error fetching print/texinfo
Message-ID:  <CAE-m3X2gix=ZVbF2KfSkZxAQTU0T-mHrNJhh2ReRPER931PkAg@mail.gmail.com>
In-Reply-To: <CAGwOe2Y9jCbsksemCt0TrwGtJ7pRUfN6i-1DoenkDCezEqRM7A@mail.gmail.com>
References:  <CAGwOe2Y9jCbsksemCt0TrwGtJ7pRUfN6i-1DoenkDCezEqRM7A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 6, 2014 at 12:03 PM, Fernando Apestegu=EDa
<fernando.apesteguia@gmail.com> wrote:
> Hi,
>
> I'm trying to update math/dynare and while testing the changes in
> redports, I found it always fails (in 9.2 and 10 for both amd64 and
> i386) while trying to fetch a dependency (print/texinfo). Here is the
> log:
>
> https://redports.org/~fernape/20140306100817-63387-181652/texinfo-5.2.201=
40209.log
>
> The problem seems to be this:
>
> =3D> Attempting to fetch http://ftp.gnu.org/gnu/texinfo/texinfo.tex
> fetch: http://ftp.gnu.org/gnu/texinfo/texinfo.tex: size mismatch:
> expected 326788, actual 326982
>
> I have a very recent (as to a few minutes) copy of the ports tree and
> I can fetch print/texinfo without problems on my machine
> (9.2-RELEASE):
>
> sudo port fetch
> =3D=3D=3D>   texinfo-5.2.20140209 depends on file: /usr/local/sbin/pkg - =
found
> =3D> texinfo-5.2.tar.xz doesn't seem to exist in /usr/ports/distfiles/.
> =3D> Attempting to fetch http://ftp.gnu.org/gnu/texinfo/texinfo-5.2.tar.x=
z
> texinfo-5.2.tar.xz                            100% of 3723 kB  555 kBps
> =3D> texinfo.tex doesn't seem to exist in /usr/ports/distfiles/.
> =3D> Attempting to fetch http://ftp.gnu.org/gnu/texinfo/texinfo.tex
> texinfo.tex                                   100% of  319 kB  193 kBps
> =3D=3D=3D> Fetching all distfiles required by texinfo-5.2.20140209 for bu=
ilding
> =3D=3D=3D>   texinfo-5.2.20140209 depends on file: /usr/local/sbin/pkg - =
found
> =3D=3D=3D> Fetching all distfiles required by texinfo-5.2.20140209 for bu=
ilding
>
> The expected file size is what it was actually downloaded:
>
> ls -latr /usr/ports/distfiles/texinfo.tex
> -rw-r--r--  1 root  wheel  326982 Feb 17 01:37 /usr/ports/distfiles/texin=
fo.tex
>
> So why is fetch in redports expecting a different size?

This is a classical case of a distfile with a non unique name. This is a bu=
g in
the texinfo port so please tell them and open a PR.

from the texinfo distfile:

SHA256 (texinfo-5.2.tar.xz) =3D
5471ef683a64588a7cfef46ef2bdd3fbcbca89d847e10832612293f105e44eda
SIZE (texinfo-5.2.tar.xz) =3D 3812944
SHA256 (htmlxref.cnf) =3D
75367e37a22419ec2b04e22709e7a9741d5ba3f67959d778a902bfabb4233b8b
SIZE (htmlxref.cnf) =3D 19593
SHA256 (texinfo.tex) =3D
b195bf0e17940219348f11310c99778af1dc33a1b72a9e2bd0d79742ae435c2c
SIZE (texinfo.tex) =3D 326788
SHA256 (texi2dvi) =3D
037446c5792130d7a68cb84ad929b1136e27400b1ae750cf65694938a5d95bdb
SIZE (texi2dvi) =3D 58524

so the size of 326788 is correct but they seem to have rerolled the texinfo=
.tex
file which is now 326982.

--=20
Bernhard Froehlich
http://www.bluelife.at/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAE-m3X2gix=ZVbF2KfSkZxAQTU0T-mHrNJhh2ReRPER931PkAg>