This reverts commit 6e8d1f84f2.
pysqlite is not available for Python 3. Adding it to buildInputs
makes all packages dependent upon sqlalchemy equally unavailable
for no good reason.
Fixes regression from 086e801d51.
The switch tu UCS-4 only happened for the main Python interpreter and
libraries, but the extension modules were using the same source but
without any configureFlags, so the extensions still referred to UCS-2
symbols.
Tested module builds of Python 2.7 and all modules except crypto fail.
Also tested against sqlite3 module of Python 2.6, although for other
modules there still seems to be an unrelated build failure with Tcl/Tk
libraries, so we might need to fix that later.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
A build output of such a failure can be found here:
http://hydra.nixos.org/build/21994789/nixlog/1/raw
The build_ext command doesn't return non-zero if it fails but instead
produces a file with a "_failed.so" suffix, which we're now checking
after the build_ext command.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
New features and improvements:
- Added support for "CCACHE_COMPILERCHECK=string:<value>". This is a faster
alternative to "CCACHE_COMPILERCHECK=<command>" if the command's output
can be precalculated by the build system.
- Add support for caching code coverage results (compiling for gcov).
Bug fixes:
- Fixed bug which could result in false cache hits when source code contains
'"' followed by " /*" or " //" (with variations).
- Made hash of cached result created with and without "CCACHE_CPP2"
different. This makes it possible to rebuild with "CCACHE_CPP2" set
without having to clear the cache to get new results.
- Don't try to reset a non-existing stats file. This avoids "No such file or
directory" messages in the ccache log when the cache directory doesn't
exist.
- Fixed a bug where ccache deleted clang diagnostics after compiler
failures.
- Avoid performing an unnecessary copy of the object file on a cache miss.
- Bail out on too hard compiler option "-fmodules".
- Bail out on too hard compiler option "-fplugin=libcc1plugin" (interaction
with GDB).
- Fixed build error when compiling ccache with recent clang versions.
- Removed signal-unsafe code from signal handler.
- Corrected logic for when to output cached stderr.
- Wipe the whole cached result on failure retrieving a cached file.
- Fixed build error when compiling ccache with recent clang versions.