John Merryweather Cooper
2012-Jun-12 01:35 UTC
GCC-4.6-20120608 has a corrupt archive or a bad checksum
Bad distfile or checksum for lang/gcc46 jmcooper@g7-HP$ sudo make checksum Making GCC 4.6.4.20120608 for FreeBSD 9.0 target=x86_64-portbld-freebsd9.0 ===> License check disabled, port has not defined LICENSE ===> Found saved configuration for gcc-4.6.4.20120608 => SHA256 Checksum mismatch for gcc-4.6-20120608.tar.bz2. => SHA256 Checksum OK for ecj-4.5.jar. ===> Refetch for 1 more times files: gcc-4.6-20120608.tar.bz2 Making GCC 4.6.4.20120608 for FreeBSD 9.0 target=x86_64-portbld-freebsd9.0 ===> License check disabled, port has not defined LICENSE ===> Found saved configuration for gcc-4.6.4.20120608 => gcc-4.6-20120608.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/sources.redhat.com/gcc/snapshots/4.6-20120608/gcc-4.6-20120608.tar.bz2 Making GCC 4.6.4.20120608 for FreeBSD 9.0 target=x86_64-portbld-freebsd9.0 ===> License check disabled, port has not defined LICENSE ===> Found saved configuration for gcc-4.6.4.20120608 => SHA256 Checksum mismatch for gcc-4.6-20120608.tar.bz2. => SHA256 Checksum OK for ecj-4.5.jar. ===> Giving up on fetching files: gcc-4.6-20120608.tar.bz2 Make sure the Makefile and distinfo file (/usr/ports/lang/gcc46/distinfo) are up to date. If you are absolutely sure you want to override this check, type "make NO_CHECKSUM=yes [other args]". *** [checksum] Error code 1 -- -- John M. Cooper
Gerald Pfeifer
2012-Jun-12 17:04 UTC
GCC-4.6-20120608 has a corrupt archive or a bad checksum
John Merryweather Cooper wrote:> Bad distfile or checksum for lang/gcc46The mirror you are using per your e-mail -- ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/sources.redhat.com/ -- provides a broken image. I have done several downloads myself, from the original source and other mirrors, and always get the correct checksum (and a matching tarball), that is, the one matching gcc46/distinfo in FreeBSD Ports CVS. If you download directly from ftp://gcc.gnu.org/pub/gcc/snapshots/4.6-20120608/gcc-4.6-20120608.tar.bz2 and put that into ports/distfiles, that should work? Alternatively, download repeatedly until it hits a different mirror? Gerald