The custom input/output port wrapping the TLS session record port would
introduce overhead, and it would also prevent its uses in a non-blocking
context--e.g., with Fibers. The port close mechanism added in GnuTLS
3.7.7 allows us to get rid of that wrapper.
* guix/build/download.scm (wrap-record-port-for-gnutls<3.7.7): New
procedure, with code formerly in 'tls-wrap'.
(tls-wrap): Check for 'set-session-record-port-close!' and use it when
available; otherwise call 'wrap-record-port-for-gnutls<3.7.7'.
The license of libunwind is Expat, not X11:
see <https://github.com/libunwind/libunwind/issues/372>.
* gnu/packages/libunwind.scm (libunwind)[license]: Fix it.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Fixes a bug whereby, on some machines, ./configure would fail with:
Warning: Checking of /proc/interrupts was requested, but it's bogus.
* gnu/packages/xdisorg.scm (xscreensaver)[arguments]: Pass
'--without-proc-interrupts'.
This is a followup to 45456595ac, which
was based on an incorrect diagnosis.
* gnu/packages/xdisorg.scm (xscreensaver)[source]: Add 'snippet'.
[arguments]: Remove custom 'configure' phase. Reintroduce #:configure-flags.
The 'asd-operation' parameter can be used to specify the ASDF operation to use
in the build phase. It's default value is "load-system".
* guix/build-system/asdf.scm (package-with-build-system, asdf-build): Add
'asd-operation' parameter.
* guix/build/asdf-buid-system.scm (build): Add 'asd-operation' parameter and
use it.
* guix/build/lisp-utils.scm (compile-systems): Add 'asd-operation' parameter
and use it.
* gnu/packages/lisp-xyz.scm (sbcl-jzon)[arguments]: Move test system
to #:asd-test-systems. Add phase to fix test .asd to actually run the tests.
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
The updated build system is now able to find the system on its own.
* gnu/packages/lisp-xyz.scm (sbcl-cl-online-learning)[arguments]: Do it.
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
* gnu/packages/lisp-xyz.scm (sbcl-quantile-estimator)[arguments]: Do it.
[native-inputs]: Add sbcl-mw-equiv, sbcl-prove, sbcl-log4cl.
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
* gnu/packages/lisp-xyz.scm (sbcl-vas-string-metrics)[arguments]: Specify the
name of the test system and fix the .asd file to actually do something.
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
* gnu/packages/lisp-xyz.scm (sbcl-spatial-trees)[arguments]: Do it.
[inputs] Add sbcl-alexandria, sbcl-optima, sbcl-iterate.
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
In a previous commit we've update the build system to let ASDF locate the .asd
files for us, so package definition no longer need to provide this information.
* gnu/packages/lisp-check.scm: Do it.
* gnu/packages/lisp-xyz.scm: Do it.
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
* gnu/packages/lisp-xyz.scm (sbcl-cl-gamepad)[arguments]: Remove 'build phase
patch now that asdf-build-system/sbcl builds using asdf:load-system which
fixes the bug.
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
This approach has many benefits:
- It simplifies the build system.
- The package definitions are easier to write.
- It fixes a bug with systems that call asdf:clear-system which would cause
the load to fail. See for instance test systems using Prove.
* guix/build-system/asdf.scm (package-with-build-system): Remove 'asd-files'
and replace 'test-asd-file' by 'asd-test-systems'.
(lower): Same.
* guix/build/asdf-build-system.scm (source-asd-file): Remove since ASDF does
it better than us.
(find-asd-files): Same.
(build): Remove unused asd-files argument.
(check): Remove asd-files argument and replace asd-systems by
asd-test-systems.
* guix/build/lisp-utils.scm (compile-systems): Call to ASDF to find the
systems.
(test-system): Same.
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
According to the ASDF manual:
This will make sure all the files in the system are compiled, but not
necessarily load any of them in the current image; on most systems, it
will _not_ load all compiled files in the current image. This function
exists for symmetry with 'load-system' but is not recommended unless you
are writing build scripts and know what you're doing.
* guix/build/lisp-utils.scm (compile-systems): Switch from asdf:compile-system
to asdf:load-system.
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>