Snow Leopard builder failing on SQLite database corruption

Benjamin Gilbert bgilbert at macports.org
Tue May 19 17:14:44 PDT 2015


The buildports-snowleopard-x86_64 builder is currently failing to
complete every build but is reporting success anyway.  The stdio log
for the "write portlist file" step says:

Error: sqlite error: database disk image is malformed (11) while
executing query: ATTACH DATABASE
'/opt/local/var/macports/registry/registry.db' AS registry
    while executing
"registry::open $db_path"
    (procedure "mportinit" line 610)
    invoked from within
"mportinit "" "" """
Error: Failed to initialize ports sytem: sqlite error: database disk
image is malformed (11) while executing query: ATTACH DATABASE
'/opt/local/var/macports/registry/registry.db' AS registry
child process exited abnormally
[...]

and then compile doesn't do anything because there is no portlist.

--Benjamin Gilbert


More information about the macports-dev mailing list