cannot build pecl-pdflib

Per olof Ljungmark peo at intersonic.se
Sun Aug 31 19:32:10 UTC 2014


On 08/31/14 21: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


works if file is fetched from elsewhere, for instance:

http://ftp.leg.uct.ac.za/pub/packages/macports/distfiles/php5-pdflib/pdflib-3.0.4.tgz


More information about the freebsd-ports mailing list