Fixes <https://bugs.gnu.org/35521>.
Reported by Mark H Weaver <mhw@netris.org>.
* gnu/packages/databases.scm (mariadb)[arguments]: Pass "-DTOKUDB_OK" in
<#:configure-flags>. Enable the "innodb_fts.crash_recovery" test, which
likely failed because of the high I/O load induced by TokuDB.
[inputs]: Remove SNAPPY.
* gnu/packages/fonts.scm (font-cantarell): Update to 0.111.
[build-system]: Use meson-build-system.
[native-inputs]: Add appstream-glib and gettext-minimal.
These variables are no longer set in the build environment by default. GCC
still respects these search paths and treats them as "system headers" so we
can continue to use them, just not expect them to be available.
* gnu/packages/mpi.scm (openmpi)[arguments]: Do not attempt to read from
C_INCLUDE_PATH, nor CPLUS_INCLUDE_PATH.
* gnu/packages/games.scm (kiki)[arguments]: Likewise.
* gnu/packages/networking.scm (hcxtools)[arguments]: Likewise.
* gnu/packages/synergy.scm (synergy)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (gemma, sailfish)[arguments]: Likewise.
* gnu/packages/maths.scm (dune-alugrid)[arguments]: Likewise.
Building python-gst fails with:
Unbound variable: python-version
Therefore, add python-build-system to #:modules so that it's imported, and
give it a prefix to avoid clashing with the gnu-build-system.
Also, simplify the code by using the site-packages function from the
python-build-system module.
* gnu/packages/gstreamer.scm (python-gst)[arguments]: Rework to fix build
failure.
Patch from the upstream repository, see
https://github.com/PyCQA/pycodestyle/issues/786 for more details.
* gnu/packages/patches/python-pep8-stdlib-tokenize-compat.patch: New file.
* gnu/packages/python-xyz.scm (python-pep8)[source]: Add it.
* gnu/packages/patches/gobject-introspection-absolute-shlib-path.patch: Use
the NIX_STORE environment variable, rather than hardcoding the store
directory.
This started failing because Python no longer bundles libexpat since
commit d1659c0fb2.
* gnu/packages/python-xyz.scm (python2-cython)[arguments]: New field.
This exploits a new feature of 'gobject-introspection-absolute-shlibs.patch'.
* gnu/packages/gnome.scm (gnome-online-accounts)[arguments]: Set the "outputs"
variable before building.
The merge preceding this commit (fb9a23a3f3) ignored the replacement added in
5a836ce38c (gnu: expat: fix CVE-2018-20843), because the fix is already
present in Expat 2.2.7. This commit removes the remaining bits.
* gnu/packages/patches/expat-CVE-2018-20843.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/xml.scm (expat/fixed): Remove variable.
The expat sourceforge page announces that the project is in the process of
moving to GitHub.
* gnu/packages/xml.scm (expat)[source]: Add GitHub URI.
Signed-off-by: Marius Bakke <mbakke@fastmail.com>
Previously, 'guix gc --delete-generations' would crash: the "" pattern
would be passed to 'matching-generations', which would return #f instead
of returning a list.
Reported by Raghav Gururajan <rvgn@disroot.org>
in <https://bugs.gnu.org/36466>.
* guix/ui.scm (matching-generations): Raise an error when passed an
invalid pattern.
* guix/scripts/gc.scm (delete-old-generations): Check if PATTERN is
true.
(%options): Leave ARG as-is for 'delete-generations'.
(guix-gc): Use 'assq' instead of 'assoc-ref' for 'delete-generations'.
* guix/scripts/package.scm (delete-matching-generations):
Replace (string-null? pattern) with (not pattern). Remove 'else'
clause.
(%options): Leave ARG as-is for 'delete-generations'.
* guix/scripts/pull.scm (%options): Leave ARG as-is for
'list-generations'.
(process-query): Replace (string-null? pattern) with (not pattern).
* guix/scripts/system.scm (list-generations): Likewise, and remove
'else' clause.
(process-command): Use #f instead of "" when no pattern is given.