portupgrade fails with a stack trace (portupgrade -rRn php5\* p5\* python\*)

Bert JW Regeer xistence at 0x58.com
Sun Sep 14 23:40:37 UTC 2008


Hello,

Please CC me in any future communications, I am not on the mailling  
list.

I apologise ahead of time for the extremely long email.

I am receiving the following error from portupgrade:

defiant# portupgrade -rRn php5\* p5\* python\*
--->  Session started at: Sun, 14 Sep 2008 18:07:51 -0500
[Gathering depends for lang/php5 ...................... done]
[Gathering depends for sysutils/php5-posix .. done]
[Gathering depends for databases/php5-mysqli ................. done]
[Gathering depends for lang/php5- 
extensions 
  .......................................................................................................................................................... done 
]
[Gathering depends for security/php-suhosin .. done]
[Gathering depends for databases/php5-pdo_mysql .... done]
[Gathering depends for www/pecl-APC .. done]
[Gathering depends for textproc/php5-pspell ........ done]
[Gathering depends for databases/phpmyadmin .................... done]
[Gathering depends for mail/roundcube .......... done]
[Gathering depends for mail/squirrelmail ......... done]
[Exclude up-to-date  
packages 
  ........................................................................ done 
]
[Gathering depends for archivers/p5-Archive-Tar ............... done]
[Gathering depends for mail/p5-Mail- 
SpamAssassin 
  ................................................................................................................... done 
]
[Gathering depends for print/html2ps- 
a4 ................................... done]
[Gathering depends for devel/p5-Curses . done]
[Gathering depends for databases/p5-DBI ... done]
[Gathering depends for databases/p5-Mysql ..... done]
[Gathering depends for devel/p5-Date-Manip . done]
[Gathering depends for security/p5-Digest . done]
[Gathering depends for devel/git ............ done]
[Gathering depends for devel/p5-IO-stringy . done]
[Gathering depends for net/p5-Net-CIDR-Lite ..... done]
[Gathering depends for net/p5-Net-XWhois . done]
[Gathering depends for www/awstats .. done]
[Gathering depends for textproc/p5-Parse-Syslog .. done]
[Gathering depends for devel/p5-PathTools . done]
[Gathering depends for lang/p5-Scalar-List-Utils . done]
[Exclude up-to-date  
packages 
  ................................................................................................................... done 
]
--->  Session ended at: Sun, 14 Sep 2008 18:08:48 -0500 (consumed  
00:00:56)
/usr/local/lib/ruby/site_ruby/1.8/pkginfo.rb:74:in `initialize': : Not  
in due form: <name>-<version> (ArgumentError)
	from /usr/local/sbin/portupgrade:614:in `new'
	from /usr/local/sbin/portupgrade:614:in `main'
	from /usr/local/sbin/portupgrade:613:in `each'
	from /usr/local/sbin/portupgrade:613:in `main'
	from /usr/local/sbin/portupgrade:588:in `catch'
	from /usr/local/sbin/portupgrade:588:in `main'
	from /usr/local/lib/ruby/1.8/optparse.rb:1303:in `call'
	from /usr/local/lib/ruby/1.8/optparse.rb:1303:in `parse_in_order'
	 ... 7 levels...
	from /usr/local/lib/ruby/1.8/optparse.rb:785:in `initialize'
	from /usr/local/sbin/portupgrade:229:in `new'
	from /usr/local/sbin/portupgrade:229:in `main'
	from /usr/local/sbin/portupgrade:2208

defiant# portupgrade --version
portupgrade 2.4.6
defiant# pkg_info portupgrade\*
Information for portupgrade-2.4.6,2:

[...]


defiant# pkg_version -v
ImageMagick-nox11-6.4.1.5           <   needs updating (port has  
6.4.3.6)
apache-worker-2.2.8                 <   needs updating (port has  
2.2.9_5)
aspell-0.60.6_2                     =   up-to-date with port
autoconf-2.61_2                     <   needs updating (port has 2.62)
autoconf-wrapper-20071109           =   up-to-date with port
automake-1.5_4,1                    <   needs updating (port has  
1.5_5,1)
automake-wrapper-20071109           =   up-to-date with port
autorespond-2.0.5                   =   up-to-date with port
awstats-6.7,1                       <   needs updating (port has  
6.8_1,1)
bash-3.2.39_1                       =   up-to-date with port
bigreqsproto-1.0.2                  =   up-to-date with port
bincimap-1.2.13                     =   up-to-date with port
bison-2.3_4,1                       =   up-to-date with port
bzip2-1.0.4                         <   needs updating (port has 1.0.5)
cclient-2006j_1,1                   =   up-to-date with port
chkrootkit-0.48                     =   up-to-date with port
clearsilver-python-0.10.5           =   up-to-date with port
curl-7.18.0                         =   up-to-date with port
cvsps-devel-2.1                     =   up-to-date with port
daemontools-0.76_11                 <   needs updating (port has  
0.76_12)
db41-4.1.25_4                       =   up-to-date with port
dirmngr-1.0.1_2                     =   up-to-date with port
djbdns-1.05_10                      <   needs updating (port has  
1.05_12)
expat-2.0.1                         =   up-to-date with port
ezmlm-idx-0.40_4                    <   needs updating (port has 0.444)
fontconfig-2.5.0,1                  =   up-to-date with port
freetype2-2.3.5                     <   needs updating (port has 2.3.7)
gd-2.0.35,1                         =   up-to-date with port
gettext-0.17_1                      =   up-to-date with port
ghostscript-gnu-nox11-7.07_17       <   needs updating (port has  
7.07_20)
git-1.5.5                           <   needs updating (port has  
1.6.0.1)
gmake-3.81_3                        =   up-to-date with port
gnupg-2.0.9_1                       <   needs updating (port has  
2.0.9_2)
graphviz-2.18_2                     <   needs updating (port has 2.20.2)
gsfonts-8.11_4                      =   up-to-date with port
help2man-1.36.4_2                   =   up-to-date with port
html2ps-A4-1.0.b5_1,1               =   up-to-date with port
inputproto-1.4.2.1                  =   up-to-date with port
jasper-1.900.1_6                    =   up-to-date with port
jbigkit-1.6                         =   up-to-date with port
jpeg-6b_4                           <   needs updating (port has 6b_7)
kbproto-1.0.3                       =   up-to-date with port
lcms-1.17,1                         =   up-to-date with port
libICE-1.0.4_1,1                    =   up-to-date with port
libSM-1.0.3_1,1                     =   up-to-date with port
libX11-1.1.3_1,1                    =   up-to-date with port
libXau-1.0.3_2                      =   up-to-date with port
libXaw-1.0.4_1,1                    =   up-to-date with port
libXdmcp-1.0.2_1                    =   up-to-date with port
libXext-1.0.3,1                     =   up-to-date with port
libXmu-1.0.3,1                      =   up-to-date with port
libXp-1.0.0,1                       =   up-to-date with port
libXpm-3.5.7                        =   up-to-date with port
libXt-1.0.5_1                       =   up-to-date with port
libassuan-1.0.4                     =   up-to-date with port
libfpx-1.2.0.12_1                   =   up-to-date with port
libgcrypt-1.4.1_1                   =   up-to-date with port
libgpg-error-1.6_1                  =   up-to-date with port
libiconv-1.11_1                     =   up-to-date with port
libksba-1.0.2_1                     <   needs updating (port has 1.0.3)
libltdl-1.5.26                      =   up-to-date with port
libmcrypt-2.5.8                     =   up-to-date with port
libsigc++-2.2.2                     =   up-to-date with port
libtool-1.5.26                      =   up-to-date with port
libtorrent-0.11.9                   =   up-to-date with port
libungif-nox11-4.1.4_5              =   up-to-date with port
libxml2-2.6.32                      =   up-to-date with port
libxslt-1.1.24                      <   needs updating (port has  
1.1.24_1)
lighttpd-1.4.19                     <   needs updating (port has  
1.4.19_2)
links-2.1.p28,1                     <   needs updating (port has 2.2,1)
lua-5.1.3_1                         <   needs updating (port has  
5.1.3_3)
m4-1.4.11,1                         =   up-to-date with port
maildrop-2.0.4                      =   up-to-date with port
mhash-0.9.9                         =   up-to-date with port
ming-0.3.0_3                        =   up-to-date with port
mod_fastcgi-2.4.6                   =   up-to-date with port
mtop-0.6.6_1                        =   up-to-date with port
mysql-client-4.1.22                 =   up-to-date with port
mysql-server-4.1.22                 =   up-to-date with port
nano-2.0.7_1                        <   needs updating (port has 2.0.8)
neon26-0.26.4_1                     =   up-to-date with port
nmap-4.20_1                         <   needs updating (port has 4.68)
openldap-client-2.3.41              <   needs updating (port has 2.3.43)
p5-Archive-Tar-1.38_1               =   up-to-date with port
p5-Authen-SASL-2.11                 <   needs updating (port has 2.12)
p5-Compress-Raw-Zlib-2.011          <   needs updating (port has 2.015)
p5-Compress-Zlib-2.011              <   needs updating (port has 2.015)
p5-Curses-1.23                      =   up-to-date with port
p5-DBI-1.60.1                       <   needs updating (port has 1.60.4)
p5-Data-ShowTable-3.3               =   up-to-date with port
p5-Date-Manip-5.44                  <   needs updating (port has 5.54)
p5-Digest-1.15                      <   needs updating (port has 1.15_1)
p5-Digest-HMAC-1.01                 =   up-to-date with port
p5-Digest-MD5-2.36                  <   needs updating (port has 2.36_1)
p5-Digest-SHA1-2.11                 =   up-to-date with port
p5-Encode-Detect-1.01               =   up-to-date with port
p5-Error-0.17012                    <   needs updating (port has  
0.17015)
p5-ExtUtils-CBuilder-0.23           <   needs updating (port has 0.24)
p5-ExtUtils-ParseXS-2.19            =   up-to-date with port
p5-GSSAPI-0.26                      =   up-to-date with port
p5-Geography-Countries-1.4          =   up-to-date with port
p5-HTML-Parser-3.56_1               =   up-to-date with port
p5-HTML-Tagset-3.20                 =   up-to-date with port
p5-IO-Compress-Base-2.011           <   needs updating (port has 2.015)
p5-IO-Compress-Zlib-2.011           <   needs updating (port has 2.015)
p5-IO-Socket-INET6-2.52             =   up-to-date with port
p5-IO-Socket-SSL-1.13               <   needs updating (port has 1.15)
p5-IO-String-1.08                   =   up-to-date with port
p5-IO-Zlib-1.09                     =   up-to-date with port
p5-IO-stringy-2.110                 =   up-to-date with port
p5-IP-Country-2.23_1                =   up-to-date with port
p5-MIME-Base64-3.07                 =   up-to-date with port
p5-Mail-SPF-2.005                   =   up-to-date with port
p5-Mail-SpamAssassin-3.2.4_5        <   needs updating (port has 3.2.5)
p5-Mail-Tools-2.02                  =   up-to-date with port
p5-Math-BigInt-1.89                 =   up-to-date with port
p5-Module-Build-0.28.08_2           =   up-to-date with port
p5-Mysql-modules-1.2219             =   up-to-date with port
p5-Net-1.22,1                       =   up-to-date with port
p5-Net-CIDR-Lite-0.20               =   up-to-date with port
p5-Net-DNS-0.63                     =   up-to-date with port
p5-Net-DNS-Resolver-Programmable-0.003  =   up-to-date with port
p5-Net-IP-1.25                      =   up-to-date with port
p5-Net-SSLeay-1.30_1                <   needs updating (port has 1.35)
p5-Net-XWhois-0.90_4                =   up-to-date with port
p5-NetAddr-IP-4.00.7                =   up-to-date with port
p5-Parse-Syslog-1.10                =   up-to-date with port
p5-PathTools-3.2701                 =   up-to-date with port
p5-Scalar-List-Utils-1.19,1         =   up-to-date with port
p5-Socket6-0.20                     <   needs updating (port has 0.22)
p5-Spiffy-0.30                      =   up-to-date with port
p5-Storable-2.18                    =   up-to-date with port
p5-Test-Base-0.54_1                 =   up-to-date with port
p5-Test-Harness-3.10                <   needs updating (port has 3.13)
p5-Test-Simple-0.80                 =   up-to-date with port
p5-URI-1.36                         <   needs updating (port has 1.37)
p5-YAML-0.66                        =   up-to-date with port
p5-gettext-1.05_2                   =   up-to-date with port
p5-libwww-5.805                     <   needs updating (port has 5.814)
p5-version-0.74                     <   needs updating (port has 0.76)
pcre-7.6                            <   needs updating (port has 7.7_1)
pdflib-7.0.2                        =   up-to-date with port
pecl-APC-3.0.19                     =   up-to-date with port
pecl-filter-0.11.0                  =   up-to-date with port
pecl-hash-1.5                       =   up-to-date with port
pecl-json-1.2.1                     =   up-to-date with port
pecl-pdflib-2.1.5                   =   up-to-date with port
pecl-zip-1.9.0                      =   up-to-date with port
perl-5.8.8_1                        =   up-to-date with port
php-suhosin-0.9.24                  <   needs updating (port has 0.9.27)
php5-5.2.6                          <   needs updating (port has  
5.2.6_2)
php5-bcmath-5.2.6                   <   needs updating (port has  
5.2.6_2)
php5-bz2-5.2.6                      <   needs updating (port has  
5.2.6_2)
php5-ctype-5.2.6                    <   needs updating (port has  
5.2.6_2)
php5-curl-5.2.6                     <   needs updating (port has  
5.2.6_2)
php5-dom-5.2.6                      <   needs updating (port has  
5.2.6_2)
php5-extensions-1.1                 =   up-to-date with port
php5-ftp-5.2.6                      <   needs updating (port has  
5.2.6_2)
php5-gd-5.2.6                       <   needs updating (port has  
5.2.6_2)
php5-gettext-5.2.6_1                =   up-to-date with port
php5-iconv-5.2.6                    <   needs updating (port has  
5.2.6_2)
php5-imap-5.2.6_1                   =   up-to-date with port
php5-mbstring-5.2.6                 <   needs updating (port has  
5.2.6_2)
php5-mcrypt-5.2.6                   <   needs updating (port has  
5.2.6_2)
php5-mhash-5.2.6                    <   needs updating (port has  
5.2.6_2)
php5-mysql-5.2.6                    <   needs updating (port has  
5.2.6_2)
php5-mysqli-5.2.6                   <   needs updating (port has  
5.2.6_2)
php5-ncurses-5.2.6                  <   needs updating (port has  
5.2.6_2)
php5-openssl-5.2.6                  <   needs updating (port has  
5.2.6_2)
php5-pcntl-5.2.6                    <   needs updating (port has  
5.2.6_2)
php5-pcre-5.2.6                     <   needs updating (port has  
5.2.6_2)
php5-pdo-5.2.6                      <   needs updating (port has  
5.2.6_2)
php5-pdo_mysql-5.2.6                <   needs updating (port has  
5.2.6_2)
php5-pdo_sqlite-5.2.6               <   needs updating (port has  
5.2.6_2)
php5-posix-5.2.6                    <   needs updating (port has  
5.2.6_2)
php5-pspell-5.2.6_1                 =   up-to-date with port
php5-readline-5.2.6                 <   needs updating (port has  
5.2.6_2)
php5-session-5.2.6                  <   needs updating (port has  
5.2.6_2)
php5-simplexml-5.2.6                <   needs updating (port has  
5.2.6_2)
php5-sockets-5.2.6                  <   needs updating (port has  
5.2.6_2)
php5-spl-5.2.6                      <   needs updating (port has  
5.2.6_2)
php5-sqlite-5.2.6                   <   needs updating (port has  
5.2.6_2)
php5-tidy-5.2.6                     <   needs updating (port has  
5.2.6_2)
php5-tokenizer-5.2.6                <   needs updating (port has  
5.2.6_2)
php5-xml-5.2.6                      <   needs updating (port has  
5.2.6_2)
php5-xmlreader-5.2.6                <   needs updating (port has  
5.2.6_2)
php5-xmlwriter-5.2.6                <   needs updating (port has  
5.2.6_2)
php5-zlib-5.2.6                     <   needs updating (port has  
5.2.6_2)
phpMyAdmin-2.11.6                   <   needs updating (port has 2.11.9)
pkg-config-0.23_1                   =   up-to-date with port
pkg_cutleaves-20061113              <   needs updating (port has  
20080320)
png-1.2.28                          <   needs updating (port has 1.2.31)
portupgrade-2.4.6,2                 =   up-to-date with port
printproto-1.0.3                    =   up-to-date with port
pth-2.0.7                           =   up-to-date with port
pure-ftpd-1.0.21_1                  <   needs updating (port has  
1.0.21_2)
puredb-2.1                          =   up-to-date with port
py25-docutils-0.4                   <   needs updating (port has 0.5)
py25-pysqlite-2.3.5                 =   up-to-date with port
py25-setuptools-0.6c8               =   up-to-date with port
python-2.5,2                        =   up-to-date with port
python25-2.5.2_2                    <   needs updating (port has  
2.5.2_3)
qmail-1.03_4                        <   needs updating (port has 1.03_7)
qmailadmin-1.2.10,1                 =   up-to-date with port
razor-agents-2.84                   =   up-to-date with port
roundcube-0.1.1_1,1                 <   needs updating (port has 0.2.a, 
1)
rtorrent-0.7.9_1                    =   up-to-date with port
ruby-1.8.6.287,1                    =   up-to-date with port
ruby18-bdb-0.6.4                    =   up-to-date with port
screen-4.0.3_1                      <   needs updating (port has  
4.0.3_5)
silvercity-0.9.7                    =   up-to-date with port
sqlite3-3.5.6                       =   up-to-date with port
squirrelmail-1.4.15_1               =   up-to-date with port
strace-4.5.7                        =   up-to-date with port
subversion-python-1.4.6_2           <   needs updating (port has 1.5.2)
t1lib-5.1.2,1                       =   up-to-date with port
tcl-8.4.16,1                        <   needs updating (port has  
8.4.19,1)
tidy-lib-070813.c_1                 <   needs updating (port has  
080621.c)
tiff-3.8.2_1                        =   up-to-date with port
trac-0.10.4_2                       <   needs updating (port has 0.11.1)
trac-webadmin-0.1.2.4429_1          <   needs updating (port has  
0.1.2.4429_2)
ucspi-tcp-0.88_2                    =   up-to-date with port
unzip-5.52_5                        =   up-to-date with port
vim-7.1.293_2                       <   needs updating (port has 7.2.14)
vpopmail-5.4.26                     <   needs updating (port has  
5.4.26_1)
weblint-1.020                       =   up-to-date with port
wget-1.11.2_1                       =   up-to-date with port
xcmiscproto-1.1.2                   =   up-to-date with port
xextproto-7.0.2                     =   up-to-date with port
xf86bigfontproto-1.1.2              =   up-to-date with port
xmlrpc-c-1.06.23                    <   needs updating (port has  
1.06.30)
xproto-7.0.10_1                     =   up-to-date with port
xtrans-1.0.4                        =   up-to-date with port
zziplib-0.13.49                     =   up-to-date with port


Do note, that as soon as I remove the python\* on the end it works  
perfectly, or if I do just portupgrade -rRn python\* I do not receive  
the same error.

I am upgrading the system that is currently affected to the newer  
version of the software by hand for the packages that are causing  
trouble, so unless I can re-produce the error after that is completed  
I am not sure if I can be of any more help.

Cheers,
Bert JW Regeer


More information about the freebsd-ports mailing list