tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Update to php53 & pear-Net_Socket



Has anyone tried building something that needs pear-Net_Socket in
php53 such as roundcube?

When I tried on a netbsd-5 amd64 box it choked with:

=> Generating post-install file lists
pkg_create: can't stat
`/var/obj/pkg/net/pear-Net_Socket/work/.destdir/usr/pkg/Warning:
date(): It is not safe to rely on the system's timezone settings. You
are *required* to use the date.timezone setting or the
date_default_timezone_set() function. In case you used any of thos
e methods and you are still getting this warning, you most likely
misspelled the timezone identifier. We selected 'UTC' for 'GMT/0.0/no
DST' instead in /usr/pkg/lib/php/PEAR/Registry.php on line 1012'
pkg_create: can't stat
`/var/obj/pkg/net/pear-Net_Socket/work/.destdir/usr/pkg/lib/php/.registry/net_socket.reg'
pkg_create: can't stat
`/var/obj/pkg/net/pear-Net_Socket/work/.destdir/usr/pkg/Warning:
Invalid argument supplied for foreach() in
/home/netbsd/pkgsrc/lang/php/pear_plist.php on line 29'
=> Checking file-check results for php53-pear-Net_Socket-1.0.10
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in /usr/pkg:
ERROR:         /var/obj/pkg/net/pear-Net_Socket/work/.destdir/usr/pkg/Warning:
Invalid argument supplied for foreach() in
/home/netbsd/pkgsrc/lang/php/pear_plist.php on line 29
ERROR:         /var/obj/pkg/net/pear-Net_Socket/work/.destdir/usr/pkg/Warning:
date(): It is not safe to rely on the system's timezone settings. You
are *required* to use the date.timezone setting or the
date_default_timezone_set() function. In case you used any of those
methods
 and you are still getting this warning, you most likely misspelled
the timezone identifier. We selected 'UTC' for 'GMT/0.0/no DST'
instead in /usr/pkg/lib/php/PEAR/Registry.php on line 1012
ERROR:         
/var/obj/pkg/net/pear-Net_Socket/work/.destdir/usr/pkg/lib/php/.registry/net_socket.reg
ERROR: ************************************************************
ERROR: The following files are in /usr/pkg but not in the PLIST:
ERROR:         
/var/obj/pkg/net/pear-Net_Socket/work/.destdir/usr/pkg/lib/php/pear/.channels/.alias/pear.txt
ERROR:         
/var/obj/pkg/net/pear-Net_Socket/work/.destdir/usr/pkg/lib/php/pear/.channels/.alias/pecl.txt
ERROR:         
/var/obj/pkg/net/pear-Net_Socket/work/.destdir/usr/pkg/lib/php/pear/.channels/.alias/phpdocs.txt
ERROR:         /var/obj/pkg/net/pear-Net_Socket/work/.destdir/usr/pkg/lib/php/pe
ar/.channels/__uri.reg
ERROR:         
/var/obj/pkg/net/pear-Net_Socket/work/.destdir/usr/pkg/lib/php/pear/.channels/doc.php.net.reg
ERROR:         
/var/obj/pkg/net/pear-Net_Socket/work/.destdir/usr/pkg/lib/php/pear/.channels/pear.php.net.reg
ERROR:         
/var/obj/pkg/net/pear-Net_Socket/work/.destdir/usr/pkg/lib/php/pear/.channels/pecl.php.net.reg
ERROR:         
/var/obj/pkg/net/pear-Net_Socket/work/.destdir/usr/pkg/lib/php/pear/.depdb
ERROR:         
/var/obj/pkg/net/pear-Net_Socket/work/.destdir/usr/pkg/lib/php/pear/.depdblock
ERROR:         
/var/obj/pkg/net/pear-Net_Socket/work/.destdir/usr/pkg/lib/php/pear/.filemap
ERROR:         
/var/obj/pkg/net/pear-Net_Socket/work/.destdir/usr/pkg/lib/php/pear/.lock
ERROR:         
/var/obj/pkg/net/pear-Net_Socket/work/.destdir/usr/pkg/lib/php/pear/.registry/net_socket.reg
ERROR:         
/var/obj/pkg/net/pear-Net_Socket/work/.destdir/usr/pkg/lib/php/pear/Net/Socket.php

Adding date_default_timezone_set('UTC'); to lang/php/pear_plist.php
changes the error to:

=> Generating post-install file lists
pkg_create: can't stat
`/var/obj/pkg/net/pear-Net_Socket/work/.destdir/usr/pkg/lib/php/.registry/net_socket.reg'
pkg_create: can't stat
`/var/obj/pkg/net/pear-Net_Socket/work/.destdir/usr/pkg/Warning:
Invalid argument supplied for foreach() in
/home/netbsd/pkgsrc/lang/php/pear_plist.php on line 31'
=> Checking file-check results for php53-pear-Net_Socket-1.0.10
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in /usr/pkg:
ERROR:         /var/obj/pkg/net/pear-Net_Socket/work/.destdir/usr/pkg/Warning:
Invalid argument supplied for foreach() in
/home/netbsd/pkgsrc/lang/php/pear_plist.php on line 31
ERROR:         
/var/obj/pkg/net/pear-Net_Socket/work/.destdir/usr/pkg/lib/php/.registry/net_socket.reg
ERROR: ************************************************************
ERROR: The following files are in /usr/pkg but not in the PLIST:
ERROR:         
/var/obj/pkg/net/pear-Net_Socket/work/.destdir/usr/pkg/lib/php/pear/.channels/.alias/pear.txt
ERROR:         
/var/obj/pkg/net/pear-Net_Socket/work/.destdir/usr/pkg/lib/php/pear/.channels/.alias/pecl.txt
ERROR:         
/var/obj/pkg/net/pear-Net_Socket/work/.destdir/usr/pkg/lib/php/pear/.channels/.alias/phpdocs.txt
ERROR:         
/var/obj/pkg/net/pear-Net_Socket/work/.destdir/usr/pkg/lib/php/pear/.channels/__uri.reg
ERROR:         
/var/obj/pkg/net/pear-Net_Socket/work/.destdir/usr/pkg/lib/php/pear/.channels/doc.php.net.reg
ERROR:         
/var/obj/pkg/net/pear-Net_Socket/work/.destdir/usr/pkg/lib/php/pear/.channels/pear.php.net.reg
ERROR:         
/var/obj/pkg/net/pear-Net_Socket/work/.destdir/usr/pkg/lib/php/pear/.channels/pecl.php.net.reg
ERROR:         
/var/obj/pkg/net/pear-Net_Socket/work/.destdir/usr/pkg/lib/php/pear/.depdb
ERROR:         
/var/obj/pkg/net/pear-Net_Socket/work/.destdir/usr/pkg/lib/php/pear/.depdblock
ERROR:         
/var/obj/pkg/net/pear-Net_Socket/work/.destdir/usr/pkg/lib/php/pear/.filemap
ERROR:         
/var/obj/pkg/net/pear-Net_Socket/work/.destdir/usr/pkg/lib/php/pear/.lock
ERROR:         
/var/obj/pkg/net/pear-Net_Socket/work/.destdir/usr/pkg/lib/php/pear/.registry/net_socket.reg
ERROR:         
/var/obj/pkg/net/pear-Net_Socket/work/.destdir/usr/pkg/lib/php/pear/Net/Socket.php
*** Error code 1


Home | Main Index | Thread Index | Old Index