FreeBSD Bugzilla – Bug 70232
libpng port has bad checksum
Last modified: 2004-08-10 07:49:44 UTC
Libpng port won't build do to checksum failures on the patch files.
Marked as serious/high because a HEAP of stuff depends on this!
[Yes, I've removed the distfiles and refetched, and cvsup'd the port, and
root@grollo[/usr/ports/graphics/png] # make checksum
===> Vulnerability check disabled
Not sure of the providence of the patch files, but try "make makesum"
doesn't actually help - the patch files don't apply properly.
===> Patching for png-1.2.5_8
===> Applying distribution patches for png-1.2.5_8
2 out of 2 hunks failed--saving rejects to pngrtran.c.rej
*** Error code 2
How-To-Repeat: cd /usr/ports/graphics/png && make checksum
$ ls -l /usr/ports/distfiles/libpng-patch00-pngrtran-filler-RRGGBB-overflow.txt
-rw------- 1 root wheel 1130 Aug 5 00:07 /usr/ports/distfiles/libpng-patch00-pngrtran-filler-RRGGBB-overflow.txt
$ grep RRGGBB distinfo
MD5 (libpng-patch00-pngrtran-filler-RRGGBB-overflow.txt) = 1e49d90ffa33c25b5af90311fe022436
SIZE (libpng-patch00-pngrtran-filler-RRGGBB-overflow.txt) = 1105
[note different size]
The checksums are correct, however the ftp server the patches are hosted on
seems to be able to confuse proxies very much. I myself have only been able
to fetch those files by first deleting them from /usr/ports/distfiles and
then fetching them directly, bypassing the proxy.
,_, | Michael Nottebrock | email@example.com
(/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org
\u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org
> The checksums are correct, however the ftp server the patches are
> hosted on seems to be able to confuse proxies very much.
Urk, Michael is right. I fetched the the patch files using a real FTP client
(not fetch through the squid HTTP proxy) and the checksums come out fine.
OK, lets change this PR to read: "Put the patch files somewhere that is
Or close it, perhaps.
Over to maintainer.
swrinde.nde.swri.edu removed from MASTER_SITES