Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Aug 2014 20:44:10 +0100
From:      Daniel Austin <me@dan.me.uk>
To:        freebsd-ports@freebsd.org
Subject:   Re: cannot build pecl-pdflib
Message-ID:  <54037B0A.70300@dan.me.uk>
In-Reply-To: <54037489.3090806@intersonic.se>
References:  <54037489.3090806@intersonic.se>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

root@bolton:/usr/ports/distfiles/PECL # fetch 
http://distcache.FreeBSD.org/ports-distfiles/PECL/pdflib-3.0.4.tgz
pdflib-3.0.4.tgz                              100% of   26 kB 6627 kBps 
00m00s
root@bolton:/usr/ports/distfiles/PECL # cd /usr/ports/print/pecl-pdflib
root@bolton:/usr/ports/print/pecl-pdflib # make checksum
===>  License PHP30 accepted by the user
===>   pecl-pdflib-3.0.4 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by pecl-pdflib-3.0.4 for building
=> SHA256 Checksum OK for PECL/pdflib-3.0.4.tgz.

It's working fine here (from both pecl.php.net and distcache.FreeBSD.org)

It looks like you have something that's altering your downloaded data 
causing it to fail the checksum (perhaps a firewall or proxy appliance)


Thanks,

Dan.

On 31/08/2014 20:16, Per olof Ljungmark wrote:
> 10-PRERELEASE
> fresh portstree
>
> # make
> ===>  License PHP30 accepted by the user
> ===>   pecl-pdflib-3.0.4 depends on file: /usr/local/sbin/pkg - found
> ===> Fetching all distfiles required by pecl-pdflib-3.0.4 for building
> ===>  Extracting for pecl-pdflib-3.0.4
> => SHA256 Checksum mismatch for PECL/pdflib-3.0.4.tgz.
> ===>  Refetch for 1 more times files: PECL/pdflib-3.0.4.tgz
> ===>  License PHP30 accepted by the user
> ===>   pecl-pdflib-3.0.4 depends on file: /usr/local/sbin/pkg - found
> => pdflib-3.0.4.tgz doesn't seem to exist in /usr/ports/distfiles/PECL.
> => Attempting to fetch http://pecl.php.net/get/pdflib-3.0.4.tgz
> fetch: http://pecl.php.net/get/pdflib-3.0.4.tgz: size unknown
> fetch: http://pecl.php.net/get/pdflib-3.0.4.tgz: size of remote file is
> not known
> pdflib-3.0.4.tgz                                      3582  B   30 kBps
> 00m01s
> => Fetched file size mismatch (expected 27043, actual 3582)
> => Attempting to fetch
> http://distcache.FreeBSD.org/ports-distfiles/PECL/pdflib-3.0.4.tgz
> pdflib-3.0.4.tgz                              100% of   26 kB  417 kBps
> 00m00s
> ===> Fetching all distfiles required by pecl-pdflib-3.0.4 for building
> ===>  License PHP30 accepted by the user
> ===>   pecl-pdflib-3.0.4 depends on file: /usr/local/sbin/pkg - found
> ===> Fetching all distfiles required by pecl-pdflib-3.0.4 for building
> => SHA256 Checksum mismatch for PECL/pdflib-3.0.4.tgz.
> ===>  Giving up on fetching files: PECL/pdflib-3.0.4.tgz
> Make sure the Makefile and distinfo file
> (/usr/ports/print/pecl-pdflib/distinfo)
> are up to date.  If you are absolutely sure you want to override this
> check, type "make NO_CHECKSUM=yes [other args]".
> *** Error code 1
>
> Stop.
> make[1]: stopped in /usr/ports/print/pecl-pdflib
>
>
> Well, tried:
>
> # make NO_CHECKSUM=yes
> ===>  License PHP30 accepted by the user
> ===>   pecl-pdflib-3.0.4 depends on file: /usr/local/sbin/pkg - found
> ===> Fetching all distfiles required by pecl-pdflib-3.0.4 for building
> ===>  Extracting for pecl-pdflib-3.0.4
> tar: Error opening archive: Unrecognized archive format
> *** Error code 1
>
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54037B0A.70300>