[redports] error fetching print/texinfo
Bernhard Fröhlich
decke at FreeBSD.org
Thu Mar 6 13:33:54 UTC 2014
On Thu, Mar 6, 2014 at 12:03 PM, Fernando Apesteguía
<fernando.apesteguia at 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.20140209.log
>
> The problem seems to be this:
>
> => 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
> ===> texinfo-5.2.20140209 depends on file: /usr/local/sbin/pkg - found
> => texinfo-5.2.tar.xz doesn't seem to exist in /usr/ports/distfiles/.
> => Attempting to fetch http://ftp.gnu.org/gnu/texinfo/texinfo-5.2.tar.xz
> texinfo-5.2.tar.xz 100% of 3723 kB 555 kBps
> => texinfo.tex doesn't seem to exist in /usr/ports/distfiles/.
> => Attempting to fetch http://ftp.gnu.org/gnu/texinfo/texinfo.tex
> texinfo.tex 100% of 319 kB 193 kBps
> ===> Fetching all distfiles required by texinfo-5.2.20140209 for building
> ===> texinfo-5.2.20140209 depends on file: /usr/local/sbin/pkg - found
> ===> Fetching all distfiles required by texinfo-5.2.20140209 for building
>
> 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/texinfo.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 bug in
the texinfo port so please tell them and open a PR.
from the texinfo distfile:
SHA256 (texinfo-5.2.tar.xz) =
5471ef683a64588a7cfef46ef2bdd3fbcbca89d847e10832612293f105e44eda
SIZE (texinfo-5.2.tar.xz) = 3812944
SHA256 (htmlxref.cnf) =
75367e37a22419ec2b04e22709e7a9741d5ba3f67959d778a902bfabb4233b8b
SIZE (htmlxref.cnf) = 19593
SHA256 (texinfo.tex) =
b195bf0e17940219348f11310c99778af1dc33a1b72a9e2bd0d79742ae435c2c
SIZE (texinfo.tex) = 326788
SHA256 (texi2dvi) =
037446c5792130d7a68cb84ad929b1136e27400b1ae750cf65694938a5d95bdb
SIZE (texi2dvi) = 58524
so the size of 326788 is correct but they seem to have rerolled the texinfo.tex
file which is now 326982.
--
Bernhard Froehlich
http://www.bluelife.at/
More information about the freebsd-ports
mailing list