cannot build pecl-pdflib

Daniel Austin me at dan.me.uk
Sun Aug 31 19:44:08 UTC 2014


Hi,

root at 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 at bolton:/usr/ports/distfiles/PECL # cd /usr/ports/print/pecl-pdflib
root at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
>


More information about the freebsd-ports mailing list