Because DBD-SQLite uses sqlite3.c, it fails on Interix due to no ESTALE #define. The fix has already been applied to the main sqlite ebuild: just #ifdef ESTALE the reference (which is a silly noop anyhow).
Created attachment 218083 [details, diff] Dont fail to compile just because there is no ESTALE defined
Created attachment 218084 [details, diff] ebuild patch to utilitze ESTALE patch from ${FILESDIR}
the real problem was, that the sqlite3.c should not be compiled :) some minor ebuild tweaking resolves this by using the system sqlite (which has that patch anyway). the fix is in -r2 (committing as i write).