Converting registry to sqlite format didn't work

Ryan Schmidt ryandesign at macports.org
Thu Apr 22 23:41:16 PDT 2010


Today I upgraded one of my MacPorts testing prefixes to the latest trunk base code. I had been running from trunk here, but hadn't updated in awhile, since before the sqlite registry stuff. The upgrade didn't work so well:


===> making install in src/programs
===> making install in src/programs/daemondo
mkdir -p build
/usr/bin/install -c -o root -g wheel -m 555 build/daemondo /x86_64-10.6-mp/bin
[ ! -f /x86_64-10.6-mp/etc/macports/mp_version ] || rm -vf /x86_64-10.6-mp/etc/macports/mp_version
/usr/bin/install -c -o root -g wheel -m 444 setupenv.bash  /x86_64-10.6-mp/share/macports/
/usr/bin/tclsh src/upgrade_sources_conf_default.tcl /x86_64-10.6-mp
/usr/bin/tclsh src/dep_map_clean.tcl "/x86_64-10.6-mp/share/macports/Tcl"
Warning: Converting your registry to sqlite format, this might take a while...
wrong # args: should be "receipt_flat::list_depends name version revision variants"
    while executing
"receipt_flat::list_depends $iname"
    (procedure "registry::convert_to_sqlite" line 51)
    invoked from within
"registry::convert_to_sqlite"
    (procedure "mportinit" line 519)
    invoked from within
"mportinit"
    (file "src/dep_map_clean.tcl" line 12)
make: *** [install] Error 1


Now, it doesn't think there are any ports installed. How can we figure out what went wrong?


I upgraded a second MacPorts testing prefix I had around, and it worked fine.




More information about the macports-dev mailing list