php5 port seems broken

Tim Kellers timothyk at wallnet.com
Sun Jan 22 23:01:32 UTC 2012


On 1/22/12 5:35 PM, Tim Dunphy wrote:
> Hello list,
>
>   I'm attempting to install php5 from my ports tree. I've attempted the latest version ( 5.3.9 located in /usr/ports/lang/php5) and the 'latest stable' (5.2.17 located in /usr/ports/lang/php52). The result is pretty much the same:
>
> [root at LBSD2:/usr/ports/lang/php5] #make install
> ===>   Vulnerability check disabled, database not found
> ===>   License check disabled, port has not defined LICENSE
> ===>   Found saved configuration for php5-5.3.9
> ===>   Extracting for php5-5.3.9
> =>  SHA256 Checksum mismatch for php-5.3.9.tar.bz2.
> =>  SHA256 Checksum OK for suhosin-patch-5.3.9-0.9.10.patch.gz.
> ===>   Refetch for 1 more times files: php-5.3.9.tar.bz2
> ===>   Vulnerability check disabled, database not found
> ===>   License check disabled, port has not defined LICENSE
> ===>   Found saved configuration for php5-5.3.9
> =>  php-5.3.9.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
> =>  Attempting to fetch http://dk.php.net/distributions/php-5.3.9.tar.bz2
> fetch: http://dk.php.net/distributions/php-5.3.9.tar.bz2: Requested Range Not Satisfiable
> =>  Attempting to fetch http://de.php.net/distributions/php-5.3.9.tar.bz2
> fetch: http://de.php.net/distributions/php-5.3.9.tar.bz2: Requested Range Not Satisfiable
> =>  Attempting to fetch http://es.php.net/distributions/php-5.3.9.tar.bz2
> fetch: http://es.php.net/distributions/php-5.3.9.tar.bz2: Requested Range Not Satisfiable
> =>  Attempting to fetch http://fi.php.net/distributions/php-5.3.9.tar.bz2
> fetch: http://fi.php.net/distributions/php-5.3.9.tar.bz2: Requested Range Not Satisfiable
> =>  Attempting to fetch http://fr.php.net/distributions/php-5.3.9.tar.bz2
> ===>   Vulnerability check disabled, database not found
> ===>   License check disabled, port has not defined LICENSE
> ===>   Found saved configuration for php5-5.3.9
> =>  SHA256 Checksum mismatch for php-5.3.9.tar.bz2.
> =>  SHA256 Checksum OK for suhosin-patch-5.3.9-0.9.10.patch.gz.
> ===>   Giving up on fetching files: php-5.3.9.tar.bz2
> Make sure the Makefile and distinfo file (/usr/ports/lang/php5/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 in /usr/ports/lang/php5.
> *** Error code 1
>
> Stop in /usr/ports/lang/php5.
> *** Error code 1
>
> Stop in /usr/ports/lang/php5.
>
>
> I was just wondering if anyone might have a guess as to why this wasn't working?
>
> thanks
> tim
I just portupgraded my php5 this morning and I was able to fetch the 
distfile without trouble.  It might just be a partially dled file and a 
checksum mismatch.

You can try (as root)
rm -rf /usr/ports/distfiles/php-5.3.9.tar.bz2

and cd /usr/ports/lang/php5 && make clean && make install clean

If that gets you past the checksum error, you should be able to build it 
successfully.

Tim Kellers


More information about the freebsd-questions mailing list