[MacPorts] #30847: Unable to uninstall expat @2.0.1_1+universal
MacPorts
noreply at macports.org
Fri Aug 19 03:22:07 PDT 2011
#30847: Unable to uninstall expat @2.0.1_1+universal
--------------------------------+-------------------------------------------
Reporter: s.t.smith@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.1
Keywords: | Port: expat
--------------------------------+-------------------------------------------
Comment(by s.t.smith@…):
Debugging by Google
[https://encrypted.google.com/#sclient=psy&hl=en&source=hp&q=%22an+invalid+entry+was+passed%22&pbx=1&oq=%22an+invalid+entry+was+passed%22&aq=f&aqi=&aql=&gs_sm=e&gs_upl=371427l371427l0l371908l1l1l0l0l0l0l195l195l0.1l1l0&bav=on.2,or.r_gc.r_pw.&fp=f727417cbd2b5780&biw=1673&bih=893
strongly suggests] that this error message is generated by a call to
sqlite in the file
[ftp://ftp.gtlib.gatech.edu/pub/macports/trunk/base/src/cregistry/entry.c
./base/src/registry/entry.c]:
{{{
r = sqlite3_step(stmt);
switch (r) {
case SQLITE_ROW:
text = (const char*)sqlite3_column_text(stmt, 0);
if (text) {
*value = strdup(text);
result = 1;
} else {
reg_sqlite_error(reg->db, errPtr, query);
}
break;
case SQLITE_DONE:
errPtr->code = REG_INVALID;
errPtr->description = "an invalid entry was passed";
errPtr->free = NULL;
break;
case SQLITE_BUSY:
continue;
default:
reg_sqlite_error(reg->db, errPtr, query);
break;
}
}}}
Perhaps a simple rebuild of whatever macports binary uses the entry.c code
will work? Anyone know how to do this without starting over from scratch?
--
Ticket URL: <https://trac.macports.org/ticket/30847#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list