~ruther/guix-local

c26287d7 — Nicolas Graves 2 years ago
gnu: Add dlpack.

* gnu/packages/machine-learning.scm (dlpack): New variable.

Change-Id: I9223e5c3b8f8317f88954cfdaccdfa11a51b7167
Signed-off-by: Hilton Chain <hako@ultrarare.space>
Modified-by: Hilton Chain <hako@ultrarare.space>
121e96dc — Ludovic Courtès 1 year, 10 months ago
channels: Adjust tests for new #:verify-certificate? parameter.

This is a followup to 9544a0441145b9d404bb52edbdaf11666008731c.

* tests/channels.scm ("latest-channel-instances includes channel dependencies")
("latest-channel-instances excludes duplicate channel dependencies"):
Add #:verify-certificate? parameter to ‘update-cached-checkout’ mock.

Change-Id: Ia795b965c564e5552525327d1d748635dc66d5fd
bdde278d — Ludovic Courtès 1 year, 10 months ago
import: pypi: Adjust test to new setuptools and wheel requirements.

This is a followup to c904350a81f9ff47cc025bc9d0d48f1bd2ead30e and
d7890af335ed046ba245137fb13031be964d03f5, which led to adding
‘setuptools’ and ‘wheel’ to ‘native-inputs’ in many (most?) cases.

* tests/pypi.scm ("pypi->guix-package, no wheel")
("pypi->guix-package, no requires.txt, but wheel.")
("pypi->guix-package, no usable requirement file, no wheel."): Add
‘python-setuptools’ and ‘python-wheel’ to the native inputs.
("package-latest-release"): Add ‘setuptools’ and ‘wheel’ to the expected
result.

Change-Id: I4d1001b0ad332836fe7d1d9ecd07d4adc32330af
4ebc1aba — Ludovic Courtès 1 year, 10 months ago
import: pypi: Preserve order of dependencies from ‘requires.txt’ and wheel.

Fixes a regression introduced in
a3ffb920f14cd0d31d1e7067e11dc523fe380996 and revealed by
‘tests/pypi.scm’.

* guix/import/pypi.scm (parse-requires.txt): Reverse REQUIRED-DEPS and
TEST-DEPS when returning.
(parse-wheel-metadata): Likewise.

Change-Id: I2c374505052f0d9e46e7cc1c11d3e97ab522e068
13e7caf5 — Ludovic Courtès 1 year, 10 months ago
services: resize-file-system: Remove invalid default value.

The default value of #f for the ‘file-system’ field is invalid and would
trigger a type error when running ‘guix system search’.

* gnu/services/admin.scm (<resize-file-system-configuration>)[file-system]:
Remove default value.
(resize-file-system-service-type)[default-value]: Remove.
* doc/guix.texi (Miscellaneous Services): Adjust accordingly.

Change-Id: If73f8923f49d38827059ba98bd53636a7f3917fe
3a6c5922 — Artyom V. Poptsov 1 year, 10 months ago
gnu: most: Update to 5.2.0.

* gnu/packages/slang.scm (most): Update to 5.2.0.

Change-Id: I448f7dd569640623b605c316ad9cee6ceccc3484
48604156 — Yovan Naumovski 1 year, 10 months ago
gnu: endless-sky: Update to 0.10.10.

* gnu/packages/games.scm (endless-sky): Update to 0.10.10.
[inputs]: Add catch2-3.

Change-Id: I1ef88580c0b30169d7c3d9fae7c6c792ad1fa43a
Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
fb21b316 — Zheng Junjie 1 year, 10 months ago
gnu: compdb: Fix build.

* gnu/packages/build-tools.scm (compdb): Fix build.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: Ia8c94131dc0141c721de756f85b736ae5c1d123f
bdcafd6f — Artyom V. Poptsov 1 year, 10 months ago
gnu: miller: Update to 6.13.0.

* gnu/packages/textutils.scm (miller): Update to 6.13.0.

Change-Id: I45f395abead0408f222e22ad0f23f4d603d9bb5f
gnu: wesnoth: Update to 1.18.3.

* gnu/packages/games.scm (wesnoth): Update to 1.18.3.

Change-Id: Id9d969c2094f8ba9bda6db885af6667dfe53fc22
gnu: plan9port: Fix fontsrv and font substitutes.

src/libdraw/openfont.c already substitutes "/lib/font/bit/" to "$PLAN9/font/",
so it's not necessary to do that ourself.

* gnu/packages/plan9.scm (plan9port)[arguments]: Don't remove 'fontsrv' in
INSTALL.  Remove "/lib/font/bit" substitute and substitute more fonts.

Change-Id: Ic99b5ed29e13bcdfde62e065fb189a9c6b5a9580
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
95fd0a5a — Leo Famulari 1 year, 10 months ago
gnu: linux-libre 5.4: Update to 5.4.288.

* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.288.
(linux-libre-5.4-pristine-source): Update hash.

Change-Id: Iebb3b6bf8fcb86da7b9a9579541ac04685f1c86e
796006d2 — Leo Famulari 1 year, 10 months ago
gnu: linux-libre 5.10: Update to 5.10.232.

* gnu/packages/linux.scm (linux-libre-5.10-version): Update to 5.10.232.
(linux-libre-5.10-pristine-source): Update hash.

Change-Id: If8cb0bceee7b298b68fc20a23f39d12dba28621b
d6c76f46 — Leo Famulari 1 year, 10 months ago
gnu: linux-libre 5.15: Update to 5.15.175.

* gnu/packages/linux.scm (linux-libre-5.15-version): Update to 5.15.175.
(linux-libre-5.15-pristine-source): Update hash.

Change-Id: If1e68f97129f886b5e02e1d2e2ee30f78caea4ab
74bc56b3 — Leo Famulari 1 year, 10 months ago
gnu: linux-libre 6.1: Update to 6.1.121.

* gnu/packages/linux.scm (linux-libre-6.1-version): Update to 6.1.121.
(linux-libre-6.1-pristine-source): Update hash.

Change-Id: Ie50f7204e49f52e9cf61e470c86b05968bb346f6
c935572c — Leo Famulari 1 year, 10 months ago
gnu: linux-libre 6.6: Update to 6.6.67.

* gnu/packages/linux.scm (linux-libre-6.6-version): Update to 6.6.67.
(linux-libre-6.6-pristine-source): Update hash.

Change-Id: Ia067142552546a7dd4eac7d77be3f7528d700fd8
18463019 — Aaron Covrig 2 years ago
gnu: libdwarf: Update to 0.11.0.

* gnu/packages/elf.scm (libdwarf): Update to 0.11.0.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: I0ef5f73ed32635d0cc9dca9fc2ced706e2bf3573
eadd7180 — Ashish SHUKLA 2 years ago
gnu: nginx: Update to 1.27.2.

* gnu/packages/web.scm (nginx): Update to 1.27.2.
(nginx-documentation): Update to 1.27.2.

Change-Id: I082a410630f1ea9c6765233e159b04134758354d
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
7e8acd98 — Ashish SHUKLA 2 years ago
gnu: racket: Update to 8.15.

* gnu/packages/racket.scm (%racket-version): Update to 8.15.
(racket)[inputs]<drracket, gui, htdp, lazy, rackunit>
<redex, scribble, slideshow, typed-racket, string-constants>
<syntax-color>: Update hashes.

* gnu/packages/chez.scm (chez-scheme-for-racket): Update to
10.1.0-pre-release.3.

Change-Id: I1d5d1f4033fce375f485db7a62996aea831d0de1
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
78da6951 — Reepca Russelstein 1 year, 10 months ago
daemon: Explicitly unlock output path in the has-become-valid case.

Fixes <https://issues.guix.gnu.org/31785>.

Similar to <https://github.com/NixOS/nix/issues/178>, fixed in
<https://github.com/NixOS/nix/commit/29cde917fe6b8f2e669c8bf10b38f640045c83b8>.

We can't rely on Goal deletion to release our locks in a timely manner.  In
the case in which multiple guix-daemon processes simultaneously try producing
an output path path1, the one that gets there first (P1) will get the lock,
and the second one (P2) will continue trying to acquire the lock until it is
released.  Once it has acquired the lock, it checks to see whether the path
has already become valid in the meantime, and if so it reports success to
those Goals waiting on its completion and finishes.  Unfortunately, it fails
to release the locks it holds first, so those stay held until that Goal gets
deleted.

Suppose we have the following store path dependency graph:

          path4
      /     |     \
   path1   path2   path3

P2 is now sitting on path1's lock, and will continue to do so until path4 is
completed.  Suppose there is also a P3, and it has been blocked while P1
builds path2.  Now P3 is sitting on path2's lock, and can't acquire path1's
lock to determine that it has been completed.  Likewise P2 is sitting on
path1's lock, and now can't acquire path2's lock to determine that it has been
completed.  Finally, P3 completes path3 while P2 is blocked.

Now:

- P1 knows that path1 and path2 are complete, and holds no locks, but can't
  determine that path3 is complete
- P2 knows that path1 and path3 are complete, and holds locks on path1 and
  path3, but can't determine that path2 is complete
- P3 knows that path2 and path3 are complete, and holds a lock on path2, but
  can't determine that path1 is complete

And none of these locks will be released until path4 is complete.  Thus, we
have a deadlock.

To resolve this, we should explicitly release these locks as soon as they
should be released.

* nix/libstore/build.cc
  (DerivationGoal::tryToBuild, SubstitutionGoal::tryToRun):
  Explicitly release locks in the has-become-valid case.
* tests/store-deadlock.scm: New file.
* Makefile.am (SCM_TESTS): Add it.

Change-Id: Ie510f84828892315fe6776c830db33d0f70bcef8
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Next