[Debian-med-packaging] Bug#800042: RSqlite checks unecessarily for strict version equivalence between compiled version and runtime version
Don Armstrong
don at debian.org
Fri Sep 25 19:49:36 UTC 2015
Package: r-cran-rsqlite
Version: 1.0.0-1
Severity: important
Control: tag -1 patch
The SQLite driver is checking for strict version equivalence between the
version that it was compiled against and the version that is currently
being used.
Assuming we do our job, the soname should protect it from any issues,
and so this check should be removed completely. [It causes breakage in
R modules which do not properly handle it calling error().]
The patch is simple, just elide:
const char* clientVersion = sqlite3_libversion();
if (strcmp(clientVersion, compiledVersion)) {
error("SQLite mismatch between compiled version %s and runtime version %s",
compiledVersion, clientVersion
);
}
in src/driver.c.
If there aren't any objections, I'll either prepare an upload or an NMU
with this fix.
--
Don Armstrong http://www.donarmstrong.com
Democracy is more dangerous than fire. Fire can't vote itself immune
to water.
-- Michael Z. Williamson
More information about the Debian-med-packaging
mailing list