Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Feb 2007 07:25:01 GMT
From:      "Gorm J. Siiger"<gjs@sonnit.dk>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/108647: portupgrade broken in 6.2
Message-ID:  <200702010725.l117P1In064374@www.freebsd.org>
Resent-Message-ID: <200702010730.l117UL9m064026@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         108647
>Category:       ports
>Synopsis:       portupgrade broken in 6.2
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 01 07:30:20 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Gorm J. Siiger
>Release:        6.2-RELEASE
>Organization:
SonnIT
>Environment:
6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007     root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP  i386
>Description:

Portupgrade fails on 6.2 production machines, I have seen several port in discussion groups but none bugs reportet to the FreeBSD team.

root@eta:/usr/ports $ /usr/local/sbin/portupgrade -ai
--->  Session started at: Thu, 01 Feb 2007 08:04:41 +0100
[database version mismatch/bump detected] [Updating the portsdb <format:bdb_btree> in /usr/ports ... - 16413 port entries found .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000.........12000.........13000.........14000.........15000.........16000.... ..... done]
missing key: categories: Cannot read the portsdb!
--->  Session ended at: Thu, 01 Feb 2007 08:04:48 +0100 (consumed 00:00:06)
/usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:548:in `open_db': database file error (PortsDB::DBError)
        from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:702:in `port'
        from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:890:in `all_depends_list'
        from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:809:in `tsort_build'
        from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:801:in `each'
        from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:801:in `tsort_build'
        from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:823:in `sort_build'
        from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:827:in `sort_build!'
        from /usr/local/sbin/portupgrade:721:in `main'
        from /usr/local/lib/ruby/1.8/optparse.rb:755:in `initialize'
        from /usr/local/sbin/portupgrade:220:in `new'
        from /usr/local/sbin/portupgrade:220:in `main'
        from /usr/local/sbin/portupgrade:2084

root@eta:/usr/ports $ portsdb -Uu ; pkgdb -Fv
Updating the ports index ... Generating INDEX.tmp - please wait.. Done.
done
[Updating the portsdb <format:bdb_btree> in /usr/ports ... - 16414 port entries found .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000.........12000.........13000.........14000.........15000.........16000.... ..... done]
--->  Checking the package registry database
Checking the origin of bash-2.05b.007_6
Checking the origin of compat4x-i386-5.3_9
Checking the origin of cvsup-without-gui-16.1h_2
Checking the origin of db41-4.1.25_3
Checking the origin of deploy-v6
Missing origin: deploy-v6
[missing key: categories] [Updating the portsdb <format:bdb_btree> in /usr/ports ... - 16414 port entries found .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000.........12000.........13000.........14000.........15000.........16000.... ..... done]
missing key: categories: Cannot read the portsdb!
database file error
Skip this for now? [yes]
To skip it without asking in future, please list it in HOLD_PKGS.
Checking the origin of gettext-0.14.5_2
Checking the origin of libiconv-1.9.2_2
Checking the origin of librsync-0.9.7_1
Checking the origin of localedata-5.4
Checking the origin of lynx-ssl-2.8.5_2
Checking the origin of perl-5.8.8
Checking the origin of popt-1.7_1
Checking the origin of portaudit-0.5.11
Checking the origin of portupgrade-2.2.2_1,2
Checking the origin of python24-2.4.3_3
Checking the origin of rdiff-backup-1.0.4,1
Checking the origin of ruby-1.8.5_3,1
Checking the origin of ruby18-bdb-0.5.9_2
Checking the origin of sudo-1.6.8.12_1
Checking the origin of syslog-ng-1.6.11
Checking the origin of vim-lite-7.0.94
Checking the origin of wget-1.10.2
Checking for origin duplicates
Checking bash-2.05b.007_6
Checking compat4x-i386-5.3_9
Checking cvsup-without-gui-16.1h_2
Checking db41-4.1.25_3
Checking deploy-v6
Checking gettext-0.14.5_2
Checking libiconv-1.9.2_2
Checking librsync-0.9.7_1
Checking localedata-5.4
Checking lynx-ssl-2.8.5_2
Checking perl-5.8.8
Checking popt-1.7_1
Checking portaudit-0.5.11
Checking portupgrade-2.2.2_1,2
Checking python24-2.4.3_3
Checking rdiff-backup-1.0.4,1
Checking ruby-1.8.5_3,1
Checking ruby18-bdb-0.5.9_2
Checking sudo-1.6.8.12_1
Checking syslog-ng-1.6.11
Checking vim-lite-7.0.94
Checking wget-1.10.2
Regenerating +REQUIRED_BY files
Checking for cyclic dependencies

root@eta:/usr/ports $ /usr/local/sbin/portupgrade -ai
--->  Session started at: Thu, 01 Feb 2007 08:21:33 +0100
[missing key: categories] [Updating the portsdb <format:bdb_btree> in /usr/ports ... - 16414 port entries found .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000.........12000.........13000.........14000.........15000.........16000.... ..... done]
missing key: categories: Cannot read the portsdb!
--->  Session ended at: Thu, 01 Feb 2007 08:21:39 +0100 (consumed 00:00:06)
/usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:548:in `open_db': database file error (PortsDB::DBError)
        from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:702:in `port'
        from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:890:in `all_depends_list'
        from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:809:in `tsort_build'
        from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:801:in `each'
        from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:801:in `tsort_build'
        from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:823:in `sort_build'
        from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:827:in `sort_build!'
        from /usr/local/sbin/portupgrade:721:in `main'
        from /usr/local/lib/ruby/1.8/optparse.rb:755:in `initialize'
        from /usr/local/sbin/portupgrade:220:in `new'
        from /usr/local/sbin/portupgrade:220:in `main'
        from /usr/local/sbin/portupgrade:2084


>How-To-Repeat:
Run portupgrade '/usr/local/sbin/portupgrade -ai'
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702010725.l117P1In064374>