Ports DB problem post upgrade

Rik Wade rik at rikwade.com
Thu Sep 9 03:15:23 PDT 2004


After upgrading to 64-bit time_t, I'm getting the following error from 
portupgrade and pkdgb. I've tried a few workarounds including rebuilding 
the ports database from scratch and also upgrading portupgrade and its 
dependencies. The "year too big to marshal" appears to be a Ruby error 
but I'm not sure what's causing it. Ports indicates that "strace" is not 
available on Sparc64 - is there an alternative I can use?

Trace below:

mango# portupgrade -arR
[database version mismatch/bump detected] [Rebuilding the pkgdb 
<format:bdb1_btree> in /var/db/pkg ... - 117 packages found (-0 +117) 
.....................................................................................................................Stale 
dependency: autoconf-2.13.000227_5 --> m4-1.4_1 -- manually run 'pkgdb 
-F' to fix, or specify -O to force.
mango# pkgdb -F
--->  Checking the package registry database
[database version mismatch/bump detected] [Rebuilding the pkgdb 
<format:bdb1_btree> in /var/db/pkg ... - 117 packages found (-0 +117) 
.....................................................................................................................year 
too big to marshal: Cannot update the pkgdb!]
mango# pkgdb -fu
--->  Updating the pkgdb
[Rebuilding the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 117 
packages found (-0 +117) 
.....................................................................................................................year 
too big to marshal: Cannot update the pkgdb!]



More information about the freebsd-sparc64 mailing list