Commit Graph

38099 Commits (32922190977f701694880254a71feb2752222f94)

Author SHA1 Message Date
Eric Bavier 3292219097
gnu: python2: Fix test flags.
Reverts a988393997 in favor of a cleaner
approach.

* gnu/packages/python.scm (python-2.7)[arguments]: 'EXTRATESTOPTS' ->
'TESTOPTS'.  This overrides the default '-l' argument for memory leak checks
which is not compatible with the -j for parallelism.
2019-01-22 22:00:50 -06:00
Christopher Baines 85e4579469
gnu: python-futures: Enable tests.
Re-enable the tests, as the python-2 package now has the support
directory. Also, switch to running the tests via the test_futures.py script to
avoid errors like:

  AttributeError: 'AsCompletedTests' object has no attribute 'executor'

* gnu/packages/python.scm (python2-futures)[arguments]: Run the
test_futures.py script to run the tests.
2019-01-21 19:51:52 +00:00
Christopher Baines d453b0e11d
gnu: python-2.7: Include /lib/python.../test/support.
Don't remove the support directory from the /lib/python.../test/ directory, as
this is used from the test_support module.

  /gnu/store/...-python2-2.7.15/lib/python2.7/test/test_support.py:2: in <module>
      import test.support
  E   ImportError: No module named support

* gnu/packages/python.scm (python-2.7)[arguments]: Change the 'remove-tests
phase to not remove the support directory.
2019-01-21 19:51:41 +00:00
Eric Bavier 4929ee9b19
gnu: rcs: disable buggy test t810.
* gnu/packages/version-control.scm (rcs)[arguments]: New field.  Add
'disable-t810' phase.
2019-01-17 22:10:58 -06:00
Jan Nieuwenhuizen 44ab38ef01
bootstrap: Oops, list gcc-boot-4.7.4.patch.
* gnu/local.mk (dist_patch_DATA): Oops, add gcc-boot-4.7.4.patch.
2019-01-16 19:05:55 +01:00
Eric Bavier cbd833750a
gnu: mariadb: Disable "main.mysqldump" test.
* gnu/packages/databases.scm (mariadb)[arguments]: Add "main.mysqldump" to
disabled-tests in 'adjust-tests' phase.
2019-01-15 08:42:28 -06:00
Maxim Cournoyer cff1927f30
gnu: dbus: Build documentation (manpages and html).
* gnu/packages/glib.scm (dbus)[native-inputs]: Add docbook-xml-4.4,
docbook-xsl, doxygen, xmlto, libxml2, libxslt and yelp-tools.
[outputs]: Add a "doc" output to hold the large HTML documentation.
2019-01-14 23:30:54 -05:00
Eric Bavier 974537fc4c
gnu: python-pycodestyle: Fix build with Python 3.7.
* gnu/packages/patches/python-pycodestyle-stdlib-tokenize-fix.patch: New
patch.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/python.scm (python-pycodestyle)[source]: Use it.
2019-01-14 15:34:54 -06:00
Eric Bavier 2df4f7020d
gnu: groff: Fix doc installation.
* gnu/packages/groff.scm (groff)[arguments]: Add 'fix-docdir phase.
2019-01-14 15:34:54 -06:00
Christopher Baines a988393997
gnu: python-2.7: Fix build.
The -j flag is passed in through #:make-flags and EXTRATESTOPTS. This is
combined with the TESTOPTS, and in Python 2, that includes the -l flag by
default.

The -l flag, is for finding memory leaks in tests, and is incompatible with
the -j flag, and the build previously failed at the start of the 'check
phase. Therefore, remove the -l flag from the Python 2 testsuite, as it
doesn't sound like a useful thing to do when building the package for Guix.

* gnu/packages/python.scm (python-2.7): Add 'remove-findleaks-from-testopts
phase.
2019-01-13 22:47:29 +00:00
Efraim Flashner 847ffe8852
gnu: bash: Update to 5.0.
* gnu/packages/bash.scm (bash): Update to 5.0.
[source]: Remove patches.
(patch-url seqno): Prepare for bash-5.0 patches.
(%patch-series-4.4): Rename %patch-series-5.0, remove patches.
2019-01-08 18:19:24 +02:00
Efraim Flashner 2cb4f940f2
gnu: readline: Update to 8.0.
* gnu/packages/readline.scm (readline): Update to 8.0.
[source]: Remove patch series %patch-series-7.0.
(readline-7): New variable.
2019-01-08 18:19:15 +02:00
Efraim Flashner 0559a4c2ca
gnu: groff: Update to 1.22.4.
* gnu/packages/groff.scm (groff): Update to 1.22.4.
[source]: Remove patch.
(groff-minimal)[arguments]: Update configure flags to skip documentation.
* gnu/packages/patches/groff-source-date-epoch.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2019-01-07 11:59:04 +02:00
Efraim Flashner f478ff8605
gnu: ed: Update to 1.15.
* gnu/packages/ed.scm (ed): Update to 1.15.
2019-01-07 11:59:04 +02:00
Efraim Flashner 07c95566a4
gnu: gzip: Update to 1.10.
* gnu/packages/compression.scm (gzip): Update to 1.10.
2019-01-07 11:59:04 +02:00
Efraim Flashner 3526c72c5e
gnu: bison: Update to 3.2.4.
* gnu/packages/bison.scm (bison): Update to 3.2.4.
2019-01-07 11:59:03 +02:00
Efraim Flashner e992d56669
gnu: diffutils: Update to 3.7.
* gnu/packages/base.scm (diffutils): Update to 3.7.
[source]: Remove patch.
[native-inputs]: Add perl.
* gnu/packages/commencement.scm (diffutils-boot0)[native-inputs]: Don't
add perl.
* gnu/packages/patches/diffutils-getopt.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2019-01-07 11:59:03 +02:00
Efraim Flashner 17f4334622
gnu: tar: Update to 1.31.
* gnu/packages/base.scm (tar): Update to 1.31.
2019-01-07 11:59:00 +02:00
Efraim Flashner 5fe2c549b4
gnu: gcc-boot0: Fix build on non-Intel systems.
* gnu/packages/commencement.scm (gcc-boot0)[arguments]: Fix 'match case
for alternate systems so a 'phase is added.
2019-01-06 11:48:39 +02:00
Ludovic Courtès 0b07f22728
gnu: bootstrap: Add missing 'supported-systems', remove extra 'match'.
Previously evaluation would fail for armhf, aarch64, and mips64el.

* gnu/packages/bootstrap.scm (%bootstrap-mescc-tools)[supported-systems]:
New field.
(%bootstrap-mes)[supported-systems]: New field.
[inputs]: Remove 'match' form on %current-system, which would fail on
non-Intel platforms.
2018-12-25 02:17:58 +01:00
Ludovic Courtès dad2e7dc79
gnu: sed: Update to 4.7.
* gnu/packages/base.scm (sed): Update to 4.7.
[arguments]: Remove.
2018-12-24 01:39:52 +01:00
Ludovic Courtès b659e97adc
gnu: grep: Update to 3.3.
* gnu/packages/base.scm (grep): Update to 3.3.
[arguments]: Remove 'disable-failing-tests' phase.
2018-12-24 01:39:17 +01:00
Ludovic Courtès ef5821093a
gnu: glibc: Inline Hurd "pid/…" magic lookup patch.
* gnu/packages/base.scm (glibc)[source](patches): Add
"glibc-hurd-magic-pid.patch".
[arguments]: Remove 'apply-hurd-patch' phase.
[native-inputs]: Remove "hurd-magic-pid-patch".
* gnu/packages/cross-base.scm (cross-libc)[arguments]: Remove
'apply-hurd-patch' phase.
[native-inputs]: Remove "hurd-magic-pid-patch".
2018-12-20 20:02:03 +01:00
Ludovic Courtès ea8be005d4
gnu: Use i686-linux bootstrap binaries on x86_64-linux.
This saves 4.4 MB on the installed Guix.

* gnu/packages/bootstrap/x86_64-linux: Remove directory.
* gnu/local.mk (bootstrap_x86_64_linuxdir)
(dist_bootstrap_x86_64_linux_DATA): Remove.
* gnu/packages.scm (search-bootstrap-binary): When SYSTEM is
"x86_64-linux", use "i686-linux" instead.
2018-12-20 20:01:10 +01:00
Ludovic Courtès 86974d8a92
Merge branch 'master' into core-updates 2018-12-20 18:39:04 +01:00
Jan Nieuwenhuizen 03a45a4022
bootstrap: srfi-43: Remove.
* gnu/packages/bootstrap.scm (%bootstrap-inputs): Remove srfi-43.
(srfi-43): Remove.
2018-12-20 12:04:04 +01:00
Jan Nieuwenhuizen b02dc758a5
bootstrap: tcc-boot0: Update for mes 0.19.
* gnu/packages/commencement.scm (tcc-boot0): Update for mes 0.19.
2018-12-20 12:04:04 +01:00
Jan Nieuwenhuizen df2242a462
bootstrap: mes-boot: Update for mes 0.19.
* gnu/packages/commencement.scm (mes-boot): Update for mes 0.19.
(mes-boot0): Remove.
2018-12-20 12:04:04 +01:00
Jan Nieuwenhuizen c89bbcccb2
bootstrap: bootstrap-mes: Update.
Built with

    ef809e3ac0
    bootstrap: Add mes-boot0; decouple mes-boot from Mes.

* gnu/packages/bootstrap.scm (%bootstrap-mes): Update.
2018-12-20 12:04:03 +01:00
Ludovic Courtès 9012d226fa
services: zabbix-front-end: Tweak error and hint messages.
* gnu/services/monitoring.scm (zabbix-front-end-config): Adjust error
and hint mssages.
2018-12-20 00:04:50 +01:00
Ludovic Courtès 40cc850aeb
download: 'built-in-builders*' relies on the functional cache.
The previous caching strategy, which used STORE as an 'eq?' key, would
no longer work when the functional cache is used because subsequent
store values are not 'eq?'.

* guix/download.scm (built-in-builders*): Rewrite in terms of
'mcached'.
2018-12-19 23:52:25 +01:00
Ludovic Courtès 87b711d200
utils: Memoize 'absolute-dirname'.
* guix/utils.scm (absolute-dirname): Wrap in 'mlambda'.
2018-12-19 23:52:25 +01:00
Ludovic Courtès 0b1be8fd57
packages: Turn 'cache!' into a single-value-return cache.
* guix/packages.scm (cache!): Assume THUNK returns a single value.
(cached): Likewise.
2018-12-19 23:52:24 +01:00
Ludovic Courtès b334674fe5
Use 'mapm' instead of 'sequence' + 'map'.
Previously we'd use the (sequence M (map P L)) idiom just because 'mapm'
was slower (not specialized for the given monad).  This is no longer the
case since commit dcb95c1fc9.

* guix/gexp.scm (lower-inputs): Use (mapm M P L) instead of (sequence
M (map P L)).
(lower-references, gexp->sexp, imported-files): Likewise.
* guix/profiles.scm (profile-derivation): Likewise.
* guix/scripts/environment.scm (inputs->requisites): Likewise.
* guix/scripts/system.scm (copy-closure): Likewise.
2018-12-19 23:52:24 +01:00
Ludovic Courtès 73b0ebdd5e
store: Add 'GUIX_PROFILING' support for the object cache.
* guix/store.scm (profiled?): New procedure.
(record-operation): Use it.
(record-cache-lookup!): New procedure.
(lookup-cached-object): Use it.
2018-12-19 23:52:24 +01:00
Nicolas Goaziou 207a79b2fe
gnu: python-duniterpy: Improve description.
* gnu/packages/finance.scm (python-duniterpy)[description]: Expound features
  to match list in homepage.
2018-12-19 23:49:46 +01:00
Nicolas Goaziou 42a57df874
gnu: python-duniterpy: Build documentation.
* gnu/packages/finance.scm (python-duniterpy)[arguments]: Build and install
  documentation.
2018-12-19 23:49:15 +01:00
Nicolas Goaziou 4b3d6b899f
gnu: python-duniterpy: Update to 0.51.0.
* gnu/packages/finance.scm (python-duniterpy): Update to 0.51.0.
2018-12-19 23:48:13 +01:00
Ricardo Wurmus 80eebee9f7
ui: Report profile hooks separately.
* guix/ui.scm (profile-hook-derivation?): New procedure.
(show-what-to-build): Distinguish among BUILD derivations that match
'profile-hook-derivation?'.  Report them separately.
* guix/status.scm (hook-message): New procedure.
(print-build-event): Display profile hooks with readable hook name.
* guix/profiles.scm (info-dir-file, ghc-package-cache-file,
ca-certificate-bundle, glib-schemas, gtk-icon-themes, gtk-im-modules,
xdg-desktop-database, xdg-mime-database, fonts-dir-file, manual-database):
Augment derivation with "type" and "hook" properties.
2018-12-19 23:46:38 +01:00
Oleg Pykhalov 0485717ee9
services: zabbix-front-end: Improve hint and error messages.
* gnu/services/monitoring.scm (zabbix-front-end-config): Improve hint and
error messages.
2018-12-19 21:15:12 +03:00
Hartmut Goebel 9a50cedc6b
gnu: plasma-framework: Fix build.
* gnu/packages/plasma-framework.scm (plasma-framework)[inputs]: Add
  qtquickcontrols2.
2018-12-19 18:54:56 +01:00
Christopher Lemmer Webber af8c90e862
stumpwm: Add comment saying patch can be removed in next release.
* gnu/packages/lisp.scm (stumpwm): Add comment saying patch can be removed in
  next release.
2018-12-19 09:47:52 -05:00
Pierre Langlois dba83d7d14
gnu: stumpwm: Fix gnew command.
The new release of StumpWM broken the interactive 'gnew' command.  It was
fixed upstream [0] and will be part of the next release.

0: https://github.com/stumpwm/stumpwm/pull/538

* gnu/packages/patches/stumpwm-fix-broken-read-one-line.patch: New file.
* gnu/packages/lisp.scm (stumpwm)[source]: Use it.
* gnu/local.mk (dist_patch_DATA): Register it.
2018-12-19 09:45:39 -05:00
Alex Vong 38abef124b
gnu: sqlite: Replace with 3.26.0 [security fixes].
Fixes <https://bugs.gnu.org/33751>.
Reported by Marius Bakke <mbakke@fastmail.com>.

* gnu/packages/databases.scm (sqlite-3.26.0): New public variable.
(sqlite)[replacement]: Use it.
(sqlite-with-fts5): Use 'package/inherit'.
(sqlite-with-column-metadata): Likewise.

Modified-by: Mark H Weaver <mhw@netris.org>
2018-12-18 20:20:16 -05:00
Ludovic Courtès a934e9fc1c
vm: Re-enable KVM on i386.
The workaround is apparently no longer needed with Linux-libre 4.19.2
in the host.

* gnu/build/vm.scm (load-in-linux-vm): Remove special case for
"qemu-system-i386", thereby re-enabling KVM.
2018-12-19 00:14:00 +01:00
Ludovic Courtès 439a4c7511
gnu: guix: Update to 5de5f81.
* gnu/packages/package-management.scm (guix): Update to 5de5f81.
2018-12-19 00:14:00 +01:00
Alex Kost bc7743b99e
gnu: emacs-build-farm: Update to 0.2.2.
* gnu/packages/emacs.scm (emacs-build-farm): Update to 0.2.2.
2018-12-19 00:33:05 +03:00
Alex Kost c7d67b894c
gnu: emacs-bui: Update to 1.2.1.
* gnu/packages/emacs.scm (emacs-bui): Update to 1.2.1.
2018-12-19 00:33:05 +03:00
Julien Lepiller 34d5314e9c
gnu: ocaml-lambda-term: Use dune-build-system.
* gnu/packages/ocaml.scm (ocaml-lambda-term): Use dune-build-system.
2018-12-18 22:17:12 +01:00
Julien Lepiller 426e629e0c
gnu: ocaml-camomile: Use dune-build-system.
* gnu/packages/ocaml.scm (ocaml-camomile): Use dune-build-system.
2018-12-18 22:16:57 +01:00