1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00
Commit Graph

67318 Commits

Author SHA1 Message Date
Ludovic Courtès
02036cdda4 gnu: gdb: Build with a 32-bit MIG when targeting i586-pc-gnu.
Fixes a bug whereby GDB cross-compiled for i586-pc-gnu would be broken:

  (gdb) r
  Starting program: /gnu/store/…
  Handling event, msgid = 72: (ipc/mig) server type check failure

* gnu/packages/gdb.scm (gdb-9.1)[native-inputs]: Use MIG/32-BIT instead
of MIG.
2020-10-10 22:37:45 +02:00
Ludovic Courtès
6530f5367c gnu: mig: Define 'mig/32-bit'.
* gnu/packages/hurd.scm (mig/32-bit): New variable.
(hurd)[native-inputs]: Use it.  Previous inline variant would drop the
'patch-non-shebang-references' phase.
2020-10-10 22:37:45 +02:00
Ludovic Courtès
b55409b2c0 svn-download, hg-download: Use 'report-invoke-error'.
* guix/build/hg.scm (hg-fetch): Use 'report-invoke-error' instead of
'format'.
* guix/build/svn.scm (svn-fetch): Likewise.
2020-10-10 22:37:45 +02:00
Oleg Pykhalov
45cad97d9e gnu: obs: Fix missing icons.
Fixes <https://bugs.gnu.org/43556>.
Reported-by: bdju <bdju@tilde.team>.

* gnu/packages/video.scm
(obs)[arguments]<phases>: Add 'wrap-executable' which fixes missing icons.
2020-10-10 22:53:50 +03:00
Jan (janneke) Nieuwenhuizen
e42765b675 gnu; sudo: Remove 'groff' input when building for the Hurd.
* gnu/packages/admin.scm (sudo)[native-inputs]: Remove 'groff' when building
for the Hurd.
2020-10-10 18:25:26 +02:00
Jan (janneke) Nieuwenhuizen
6693eac6eb gnu: acl: Disable tests for the Hurd.
* gnu/packages/acl.scm (acl)[arguments]: Set #:tests? to #f when building for
the Hurd.
2020-10-10 18:21:08 +02:00
Danny Milosavljevic
93d3cfec32 gnu: Add nmrpflash.
* gnu/packages/admin.scm (nmrpflash): New variable.
2020-10-10 18:14:27 +02:00
Andreas Enge
4ec2190b9f gnu: Add perl-opengl.
* gnu/packages/perl.scm (perl-opengl): New variable.

Co-authored-by: Malte Frank Gerdes <malte.f.gerdes@gmail.com>
2020-10-10 14:55:34 +02:00
Tobias Geerinckx-Rice
afed1b94f7 gnu: stumpwm: Fix the Texinfo manual.
* gnu/packages/wm.scm (stumpwm)[native-inputs]: Add autoconf & automake.
[arguments]: Bootstrap autotools & configure before making stumpwm.info.
2020-10-10 14:02:13 +02:00
Ludovic Courtès
cf197bff6a services: hurd-vm: Add 'gdb-minimal' to the default OS.
* gnu/services/virtualization.scm (%hurd-vm-operating-system)[packages]:
New field.
2020-10-09 23:59:14 +02:00
Ludovic Courtès
2f4b51ab22 gnu: source-highlight: Allow cross-compilation.
* gnu/packages/pretty-print.scm (source-highlight)[arguments]: Add
'skip-doc-directory' when (%current-target-system) is true.
2020-10-09 23:59:14 +02:00
Ludovic Courtès
7b7b468ea4 gnu: boost: Allow compilation on/to GNU/Hurd.
* gnu/packages/boost.scm (boost)[arguments]: In 'configure' phase, patch
"#if defined(__MACH__)" to deal with GNU/Hurd.
2020-10-09 23:59:14 +02:00
Maxim Cournoyer
a279f7c61c Revert "gnu: guix: Update to commit 5918cb5."
This reverts commit f08587682a.  Its hash
mismatched.
2020-10-09 17:54:21 -04:00
Jan (janneke) Nieuwenhuizen
d56d79b176 system: hurd: Add diffutils, patch, gawk, tar, gzip, bzip2, xz, and lzip.
* gnu/system/hurd.scm (%base-packages/hurd): Add diffutils, patch, gawk, tar, gzip,
bzip2, xz, and lzip.
2020-10-09 23:25:34 +02:00
Jan (janneke) Nieuwenhuizen
1103f87805 system: hurd: Include 'guile-3.0-latest' in '%base-packages/hurd'.
* gnu/system/hurd.scm (%base-packages/hurd): Change GUILE-3.0 to
GUILE-3.0-LATEST.
2020-10-09 23:25:33 +02:00
Jan (janneke) Nieuwenhuizen
16f8ea064c system: hurd: Add PAM support with shadow and sudo.
* gnu/system.scm (hurd-default-essential-services): Add
setuid-program-service-type.
* gnu/system/hurd.scm (%base-packages/hurd): Add shadow, sudo.
(%setuid-programs/hurd): New variable.
(%hurd-default-operating-system)[setuid-program]: Use it.
[pam-services, sudoers-file]: Remove overrides; enabling regular defaults.
* gnu/system/examples/bare-hurd.tmpl (%hurd-os)[users]: New field.
[services]: Do not disable PAM in SSH.
2020-10-09 23:25:33 +02:00
Maxim Cournoyer
f08587682a gnu: guix: Update to commit 5918cb5.
* gnu/packages/package-management.scm (guix): Update to commit
5918cb5341.
2020-10-09 17:23:22 -04:00
Maxim Cournoyer
5918cb5341 doc: Sync the client and daemon --rounds options documentation.
Fixes <https://issues.guix.gnu.org/40867>.

* doc/guix.texi (Common Build Options): Suggest using '--keep-failed' to keep
differing build results in the store rather than 'guix archive'.

Reported-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2020-10-09 16:57:14 -04:00
Maxim Cournoyer
0fa0e8df60 nix: Honor '--rounds' when also using '--check'.
Fixes <https://issues.guix.gnu.org/40144>.

Until now, the '--rounds' option, when also using '--check', was ignored.
This change makes it possible to use both, so that an item that has already
been built once can be rebuilt as many times as desired.

* nix/libstore/build.cc: Remove the conditionals causing the daemon to
complete a build task early when 'buildMode' is equal to 'nix::bmCheck'.

Reported-by: Brice Waegeneire <brice@waegenei.re>
2020-10-09 16:55:22 -04:00
Leo Famulari
7ee4d47d1a gnu: linux-libre 4.19: Update to 4.19.150.
* gnu/packages/linux.scm (linux-libre-4.19-version): Update 4.19.150.
(linux-libre-4.19-pristine-source): Update hash.
2020-10-09 15:56:43 -04:00
Leo Famulari
d9dfa10acb gnu: linux-libre 5.4: Update to 5.4.70.
* gnu/packages/linux.scm (linux-libre-5.4-version): Update 5.4.70.
(linux-libre-5.4-pristine-source): Update hash.
2020-10-09 15:56:43 -04:00
Leo Famulari
06a796df30 gnu: linux-libre: Update to 5.8.14.
* gnu/packages/linux.scm (linux-libre-5.8-version): Update to 5.8.14.
(linux-libre-5.8-pristine-source): Update hash.
2020-10-09 15:56:39 -04:00
Jan (janneke) Nieuwenhuizen
165e0918da gnu: sudo: Remove support for Python plug-ins.
* gnu/packages/admin.scm (sudo)[inputs], [outputs]: Remove python.
[arguments]: Remove --enable-python/--disable-python configure flags.
Remove 'separate-python-output phase.
2020-10-09 21:34:17 +02:00
Efraim Flashner
9c1b8390ba doc: Document missing openssh configure option.
* doc/guix.texi (Networking Services): Document configuration option to
specify the openssh package for the openssh-service-type.
2020-10-09 16:46:24 +03:00
Nicolas Goaziou
49c5a7468a gnu: emacs-ivy-posframe: Update to 0.5.1.
* gnu/packages/emacs-xyz.scm (emacs-ivy-posframe): Update to 0.5.1.
2020-10-09 14:48:13 +02:00
Tobias Geerinckx-Rice
4e395c74c8 gnu: catch2: Update to 2.13.2.
* gnu/packages/check.scm (catch2): Update to 2.13.2.
2020-10-09 13:33:16 +02:00
Tobias Geerinckx-Rice
64c20b05c8 gnu: libsndfile: Update source file hash.
The tarball was modified in-place to fix ‘incorrect line endings’[0].
Unfortunately, it does more, such as re-bootstrapping with autotools
1.16.2 instead of the previous 1.16.1.

A basic visual inspection of the differences did not find anything out
of order.

[0]: https://github.com/libsndfile/libsndfile/releases/tag/v1.0.30

* gnu/packages/pulseaudio.scm (libsndfile)[source]: Update hash.
2020-10-09 13:33:16 +02:00
Efraim Flashner
29a2eb36ff gnu: python-shapely: Remove cythonized files.
* gnu/packages/python-xyz.scm (python-shapely)[source]: Add snippet to
remove pregenerated cythonized files.
2020-10-09 08:02:28 +03:00
Malte Frank Gerdes
5fe5548907 gnu: python-shapely: Update to 1.7.1.
* gnu/packages/python-xyz.scm (python-shapely): Update to 1.7.1.
[arguments]: Adjust 'patch-geos-path phase to add more substitutions.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-10-09 08:00:59 +03:00
Danny Milosavljevic
7e917283d7 gnu: sunxi-tools: Fix build.
* gnu/packages/patches/sunxi-tools-remove-sys-io.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/admin.scm (sunxi-tools-source): Add it.
2020-10-08 23:15:29 +02:00
Christopher Baines
aadd3429fb gnu: guix-build-coordinator: Update to 0-1.e701d4d.
* gnu/packages/package-management.scm (guix-build-coordinator): Update to
0-1.e701d4d.
2020-10-08 20:44:03 +01:00
Christopher Baines
65c9f07a16 services: guix: Don't use normalized codeset for Guix Data Service.
This matches up with changes in the Guix Data Service to not use the
normalized codeset.

* gnu/services/guix.scm (guix-data-service-shepherd-services): Change the
LC_ALL codeset to UTF-8.
2020-10-08 20:21:02 +01:00
Maxim Cournoyer
efbf5fdd01 offload: Improve load normalization and configurability.
Fixes <https://issues.guix.gnu.org/43773>.

The computed normalized load was previously obtained by dividing the load
average as found in /proc/loadavg by the number of parallel builds defined for
a build machine.

This normalized load didn't allow to compare machines with different number of
cores, as the load average reported by /proc/loadavg can be as high as the
number of cores; thus comparing that value to a fixed threshold of 2.0 would
mean machines with multiple cores were more likely to be flagged as overloaded
compared to single core machines.

This can be fixed by normalizing using the available number of cores instead
of the number of parallel jobs.

* guix/scripts/offload.scm (<build-machine>)[overload-threshold]: New field.
(node-load): Modify to return a normalized load value between 0 and 1, taking
into account the number of cores available.
(normalized-load): Remove procedure.
(report-load): New procedure.
(choose-build-machine): Adjust to use the modified 'node-load' and the new
'report-load' and 'build-machine-overload-threshold' procedures.
(check-machine-status): Adjust.
* doc/guix.texi (Daemon Offload Setup): Document the offload scheduler and the
new 'overload-threshold' field.
2020-10-08 10:57:12 -04:00
Tobias Geerinckx-Rice
01f9a4c0f2 gnu: discount: Install .pc file.
* gnu/packages/markup.scm (discount)[native-inputs]: Add pkg-config.
2020-10-08 15:57:33 +02:00
Tobias Geerinckx-Rice
34316794e7 gnu: discount: Update to 2.2.7.
* gnu/packages/markup.scm (discount): Update to 2.2.7.
2020-10-08 15:57:33 +02:00
Tobias Geerinckx-Rice
f41b56a92e gnu: discount: Cross-compile.
* gnu/packages/markup.scm (discount)[arguments]: Use CC-FOR-TARGET.
2020-10-08 15:57:32 +02:00
Tobias Geerinckx-Rice
6ad8fc65d4 gnu: entr: Remove erroneous use of DESTDIR.
* gnu/packages/entr.scm (entr)[arguments]: Correctly set PREFIXes.
2020-10-08 15:57:32 +02:00
Tobias Geerinckx-Rice
c4e48255d9 gnu: perl-file-listing: Update to 6.11.
* gnu/packages/web.scm (perl-file-listing): Update to 6.11.
2020-10-08 15:57:32 +02:00
Tobias Geerinckx-Rice
7db756f785 gnu: borg: Update to 1.1.14.
* gnu/packages/backup.scm (borg): Update to 1.1.14.
2020-10-08 15:57:32 +02:00
Tobias Geerinckx-Rice
4e880695e0 gnu: facter: Update to 4.0.42.
* gnu/packages/admin.scm (facter): Update to 4.0.42.
2020-10-08 15:57:32 +02:00
Tobias Geerinckx-Rice
a2398cc26e gnu: vim: Update to 8.2.1812.
* gnu/packages/vim.scm (vim): Update to 8.2.1812.
2020-10-08 15:57:31 +02:00
Tobias Geerinckx-Rice
e2ec07c0db gnu: s6-linux-utils: Update to 2.5.1.3.
* gnu/packages/skarnet.scm (s6-linux-utils): Update to 2.5.1.3.
2020-10-08 15:57:31 +02:00
Tobias Geerinckx-Rice
77ba8c46eb gnu: s6-networking: Update to 2.3.2.0.
* gnu/packages/skarnet.scm (s6-networking): Update to 2.3.2.0.
2020-10-08 15:57:31 +02:00
Tobias Geerinckx-Rice
a5d729fab0 gnu: obs: Update to 26.0.2.
* gnu/packages/video.scm (obs): Update to 26.0.2.
2020-10-08 15:57:31 +02:00
Tobias Geerinckx-Rice
6072182b3d gnu: chrony: Support Network Time Security (NTS).
* gnu/packages/ntp.scm (chrony)[inputs]: Add gnutls.
2020-10-08 15:57:30 +02:00
Tobias Geerinckx-Rice
f73e09b2c8 gnu: chrony: Update to 4.0.
* gnu/packages/ntp.scm (chrony): Update to 4.0.
2020-10-08 15:57:30 +02:00
Guillaume Le Vaillant
5a72352745 gnu: Add cl-geco.
* gnu/packages/lisp-xyz.scm (sbcl-geco, cl-geco, ecl-geco): New variables.
2020-10-08 14:00:18 +02:00
Efraim Flashner
13c27c110f gnu: python-efl: Update to 1.25.0.
* gnu/packages/enlightenment.scm (python-efl): Update to 1.25.0.
2020-10-08 14:09:28 +03:00
Efraim Flashner
c7877db262 gnu: efl: Adjust gdb autoload directory.
* gnu/packages/enlightenment.scm (efl)[arguments]: Add substitution to
custom 'fix-install-paths phase to install gdb files using correct path.
2020-10-08 14:09:28 +03:00
Efraim Flashner
753f26cd93 gnu: efl: Update to 1.25.1.
* gnu/packages/enlightenment.scm (efl): Update to 1.25.1.
2020-10-08 14:09:28 +03:00