print/textinfo fails to build due to size mismatch after htmlxref.cnf changed

Joseph Mingrone jrm at FreeBSD.org
Tue Dec 26 14:38:48 UTC 2017


Marco Beishuizen <mbeis at xs4all.nl> writes:

> On Tue, 26 Dec 2017, the wise Joseph Mingrone wrote:

>> print/texinfo % make extract
>> ===>  License GPLv3+ accepted by the user
>> ===>   texinfo-6.5,1 depends on file: /usr/local/sbin/pkg - found
>> ...
>> => htmlxref.cnf doesn't seem to exist in /usr/ports/distfiles/texinfo/6.5.
>> => Attempting to fetch http://ftpmirror.gnu.org/texinfo/htmlxref.cnf
>> fetch: http://ftpmirror.gnu.org/texinfo/htmlxref.cnf: size mismatch: expected 20137, actual 20118
>> ...

>> From print/texinfo/Makfile
>> 	MASTER_SITES=	GNU \
>> 	 		LOCAL/sunpoet/${DIST_SUBDIR}:DEFAULT,local
>> 	DISTFILES=	${DISTNAME}${EXTRACT_SUFX} htmlxref.cnf texi2dvi:local texinfo.tex:local

>> It is odd that they distribute these files separately and unversioned.


> Hi,

> This has happened before, see:
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209228

> I always solved it by downloading the file with the correct size somewhere else on the internet.

> Regards,
> Marco

Hi Marco,

Another workaround is to do `make makesum` to rebuild distinfo after you
are satisfied that the new file is safe.  But, users who build their own
packages should not have to jump through these hoops.  If the file can
change without notice from this source, should it should be fetched from
this source?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 962 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20171226/aa184ba4/attachment.sig>


More information about the freebsd-ports mailing list