-r switch in portupgrade
During update process from php4.4.6 to php4.4.7 I have problem, suhosin patch not found, force me to leave update process for few days while doing some other importing job.
Today I try again to update php4 ports and working well but then I become lazy after see a lot of php4-* ports
After read more in portupgrade manual I found -r :
From manual :
-r
–recursive Act on all those packages depending on the given
packages as well.
kongja# portversion -v | grep ‘<'
XFree86-libraries-4.5.0 < needs updating (port has 4.5.0_1)
freetype2-2.2.1_1 < needs updating (port has 2.2.1_2)
gd-2.0.34,1 < needs updating (port has 2.0.34_1,1)
gettext-0.16.1_1 < needs updating (port has 0.16.1_3)
gmake-3.81_1 < needs updating (port has 3.81_2)
libdrm-2.0.2 < needs updating (port has 2.3.0)
libungif-4.1.4_2 < needs updating (port has 4.1.4_3)
ming-0.3.0 < needs updating (port has 0.3.0_1)
p5-GD-2.35 < needs updating (port has 2.35_1)
p5-GD-TextUtil-0.86 < needs updating (port has 0.86_1)
pfstat-2.2_2 < needs updating (port has 2.2_3)
php4-4.4.6 < needs updating (port has 4.4.7)
php4-bz2-4.4.6 < needs updating (port has 4.4.7)
php4-ctype-4.4.6 < needs updating (port has 4.4.7)
php4-ftp-4.4.6 < needs updating (port has 4.4.7)
php4-gd-4.4.6 < needs updating (port has 4.4.7)
php4-imap-4.4.6 < needs updating (port has 4.4.7)
php4-mbstring-4.4.6 < needs updating (port has 4.4.7)
php4-mcrypt-4.4.6 < needs updating (port has 4.4.7)
php4-mysql-4.4.6 < needs updating (port has 4.4.7)
php4-overload-4.4.6 < needs updating (port has 4.4.7)
php4-pcre-4.4.6 < needs updating (port has 4.4.7)
php4-posix-4.4.6 < needs updating (port has 4.4.7)
php4-recode-4.4.6 < needs updating (port has 4.4.7)
php4-session-4.4.6 < needs updating (port has 4.4.7)
php4-snmp-4.4.6 < needs updating (port has 4.4.7)
php4-sockets-4.4.6 < needs updating (port has 4.4.7)
php4-tokenizer-4.4.6 < needs updating (port has 4.4.7)
php4-xml-4.4.6 < needs updating (port has 4.4.7)
php4-zlib-4.4.6 < needs updating (port has 4.4.7)
png-1.2.14 < needs updating (port has 1.2.18)
popt-1.7_3 < needs updating (port has 1.7_4)
sarg-2.2.3.1_1 < needs updating (port has 2.2.3.1_2)
t1lib-5.1.1,1 < needs updating (port has 5.1.1_1,1)
kongja# portupgrade -r php4
—> Upgrading ‘php4-4.4.6′ to ‘php4-4.4.7′ (lang/php4)
—> Building ‘/usr/ports/lang/php4′
===> Cleaning for apache-1.3.37_3
===> Cleaning for autoconf-2.59_2
===> Cleaning for perl-5.8.8
===> Cleaning for expat-2.0.0_1
===> Cleaning for m4-1.4.9
===> Cleaning for help2man-1.36.4_1
===> Cleaning for gmake-3.81_2
===> Cleaning for p5-gettext-1.05_1
===> Cleaning for gettext-0.16.1_3
===> Cleaning for libtool-1.5.22_4
……….
===> Generating temporary packing list
===> Checking if security/php4-mcrypt already installed
pkg_info: package p5-IO-Compress-Zlib-2.003 has no origin recorded
===> Registering installation for php4-mcrypt-4.4.7
****************************************************************************
The following line has been added to your /usr/local/etc/php/extensions.ini
configuration file to automatically load the installed extension:
extension=mcrypt.so
****************************************************************************
===> Cleaning for php4-4.4.7
===> Cleaning for autoconf-2.59_2
===> Cleaning for libmcrypt-2.5.8
===> Cleaning for libltdl-1.5.22_2
……………………..
—> Cleaning out obsolete shared libraries
[Updating the pkgdb
in /var/db/pkg ... - 143 packages found (-0 +1) . done]
** Listing the failed packages (*:skipped / !:failed)
! graphics/php4-gd (php4-gd-4.4.6) (unknown build error)
—> Packages processed: 18 done, 3 ignored, 0 skipped and 1 failed
Sigh, php4-gd error
kongja# portversion -v | grep ‘<'
XFree86-libraries-4.5.0 < needs updating (port has 4.5.0_1)
freetype2-2.2.1_1 < needs updating (port has 2.2.1_2)
gd-2.0.34,1 < needs updating (port has 2.0.34_1,1)
gettext-0.16.1_1 < needs updating (port has 0.16.1_3)
gmake-3.81_1 < needs updating (port has 3.81_2)
libdrm-2.0.2 < needs updating (port has 2.3.0)
libungif-4.1.4_2 < needs updating (port has 4.1.4_3)
ming-0.3.0 < needs updating (port has 0.3.0_1)
p5-GD-2.35 < needs updating (port has 2.35_1)
p5-GD-TextUtil-0.86 < needs updating (port has 0.86_1)
pfstat-2.2_2 < needs updating (port has 2.2_3)
php4-gd-4.4.6 < needs updating (port has 4.4.7)
png-1.2.14 < needs updating (port has 1.2.18)
popt-1.7_3 < needs updating (port has 1.7_4)
sarg-2.2.3.1_1 < needs updating (port has 2.2.3.1_2)
t1lib-5.1.1,1 < needs updating (port has 5.1.1_1,1)
Hey, only php4-gd left
Try to update php4-gd itself manually
kongja# portupgrade php4-gd
…………………………
===> php4-gd-4.4.7 depends on file: /usr/local/libdata/xorg/libraries – not found
===> Verifying install for /usr/local/libdata/xorg/libraries in /usr/ports/x11/xorg-libraries
Read /usr/ports/UPDATING for the procedure to upgrade or install xorg 7.2.
*** Error code 1
I see, it’s about xorg
OK, I handle it separately
Restart apache
kongja# apachectl restart
Segmentation fault (core dumped)
/usr/local/sbin/apachectl restart: configuration broken, ignoring restart
/usr/local/sbin/apachectl restart: (run ‘apachectl configtest’ for details)
kongja# apachectl configtest
Warning: DocumentRoot [/home/erau/rapidshare] does not exist
Segmentation fault (core dumped)
Sigh, maybe recode problem
kongja# ee /usr/local/etc/php/extensions.ini
disable recode by commenting it
extension=gd.so
extension=mysql.so
extension=zlib.so
#extension=recode.so
extension=ftp.so
extension=xml.so
extension=bz2.so
extension=snmp.so
extension=session.so
extension=mcrypt.so
extension=ctype.so
extension=pcre.so
extension=tokenizer.so
extension=sockets.so
extension=overload.so
extension=posix.so
extension=imap.so
extension=mbstring.so
save and restart apache
kongja# apachectl restart
/usr/local/sbin/apachectl restart: httpd restarted
Check version
kongja# php -v
PHP 4.4.7 with Suhosin-Patch 0.9.6 (cli) (built: May 23 2007 20:25:23)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
with XCache v1.2.0, Copyright (c) 2005-2006, by mOo
Thanks GOD
- ctype so gd so mysql so overload so pcre so posix so session so tokenizer so xml so zlib so
- portupgrade help2man p5-gettext already installed
- portupgrade libltdl-1 5
- portupgrade manual
- portupgrade p5-gettext-1 05_1
- portupgrade php extensions
- portupgrade php-extensions
- portupgrade skipped ignored
- portupgrade unknown build error -k
- portupgrade update
- portupgrade update php extensions
- restart broken portupgrade freebsd
- portupgrade gd error
- portupgrade extensions ini
- portupgrade apache unknown build error
- freebsd force portupgrade php-gd
- gammu configuration new snmp port smsd
- http://hindi2englishtranslation blogspot com/
- libltdl portupgrade failing
- mcrypt so 4 4 7
- no origin recorded xorg
- php -v segmentation fault (core dumped) portupgrade
- php extensions gd portupgrade
- php4-mcrypt-4 4 7
- portupgrade -PP perl
- portupgrade -Rf php4-session
- SARG Segment Fault Core dump






No Comment
Random Post
Leave Your Comments Below