Commit graph

90047 commits

Author SHA1 Message Date
Ricardo Wurmus 96ccb89bef
gnu: Remove icedtea-6.
* gnu/packages/java.scm (icedtea-6): Remove variable.
* gnu/packages/patches/icedtea-6-extend-hotspot-aarch64-support.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove patch.
2021-12-23 20:27:46 +01:00
Ricardo Wurmus a82ac2c74f
gnu: icedtea-8: Remove commented configure flag.
* gnu/packages/java.scm (icedtea-8)[arguments]: Remove commented conflicting
configure flag.
2021-12-23 20:27:46 +01:00
Ricardo Wurmus a53b898d2f
gnu: icedtea-7: Build with ECJ 4, Jamvm, and GNU Classpath.
* gnu/packages/java.scm (icedtea-7)[native-inputs]: Remove icedtea-6, you've
served us well; add classpath-devel, ecj4-javac-wrapper, and jamvm-with-ecj4.
[arguments]: Replace argument to --with-jdk-home configure flag; add
--with-ecj, --with-java, and --with-jar; remove #:locale argument; add build
phase 'use-classpath...
(icedtea-8)[arguments]: ...and remove that new phase here.
[native-inputs]: Remove classpath-devel, ecj4-javac-wrapper, jamvm, and
fastjar.
2021-12-23 20:27:46 +01:00
Ricardo Wurmus 9b809c2b87
gnu: icedtea-7: Import missing module for read-line.
* gnu/packages/java.scm (icedtea-7)[arguments]: In 'install-keystore phase,
import (ice-9 rdelim) for read-line.
2021-12-23 20:27:46 +01:00
Ricardo Wurmus dba1124bea
gnu: icedtea-7: Use system lcms and pcsc.
* gnu/packages/java.scm (icedtea-7)[arguments]: Add configure flags to use our
pcsc and lcms libraries.
[inputs]: Add pcsc-lite.  And use new style.
2021-12-23 20:27:46 +01:00
Ricardo Wurmus 5c27e1f8a0
gnu: icedtea-7: Bind INPUTS in 'patch-paths build phase.
* gnu/packages/java.scm (icedtea-7)[arguments]: Bind INPUTS in 'patch-paths
build phase to remove references to %build-inputs.
2021-12-23 20:27:46 +01:00
Ricardo Wurmus c2f80a61c1
gnu: icedtea-7: Remove trailing #T.
* gnu/packages/java.scm (icedtea-7)[arguments]: Remove trailing #T from build
phases.
2021-12-23 20:27:46 +01:00
Ricardo Wurmus 9e6baab2d8
gnu: icedtea-7: Run tests conditionally.
* gnu/packages/java.scm (icedtea-7)[arguments]: Respect TESTS? in 'check
phase.
2021-12-23 20:27:46 +01:00
Ricardo Wurmus 35bac40a67
gnu: Add jamvm-with-ecj4.
* gnu/packages/java.scm (jamvm-with-ecj4): New variable.
2021-12-23 20:27:46 +01:00
Ricardo Wurmus 4bf00e164f
gnu: Add ecj4-javac-wrapper.
* gnu/packages/java.scm (ecj4-javac-wrapper): New variable.
2021-12-23 20:27:46 +01:00
Ricardo Wurmus a5ce05fc46
gnu: Add ecj4-bootstrap.
* gnu/packages/java.scm (ecj4-bootstrap): New variable.
2021-12-23 20:27:45 +01:00
Ricardo Wurmus c96fcbb1a3
gnu: ecj-javac-wrapper-final: Use new style for inputs.
* gnu/packages/java.scm (ecj-javac-wrapper-final)[native-inputs]: Use new
style.
2021-12-23 20:27:45 +01:00
Ricardo Wurmus e84a7f53e7
gnu: ecj-javac-wrapper-final: Use Guile 3.
* gnu/packages/java.scm (ecj-javac-wrapper-final)[native-inputs]: Replace
guile-2.2 with guile-3.0.
2021-12-23 20:27:45 +01:00
Ricardo Wurmus 9fa8a95a23
gnu: ecj-javac-wrapper: Use Guile 3.
* gnu/packages/java.scm (ecj-javac-wrapper)[native-inputs]: Replace guile-2.2
with guile-3.0.
2021-12-23 20:27:45 +01:00
Ricardo Wurmus f76fd68414
gnu: ecj-javac-wrapper: Remove trailing #T.
* gnu/packages/java.scm (ecj-javac-wrapper)[arguments]: Remove trailing #T.
2021-12-23 20:27:45 +01:00
Ricardo Wurmus abbe291fc2
gnu: ecj-javac-wrapper: Remove rt.jar from classpath.
* gnu/packages/java.scm (ecj-javac-wrapper)[arguments]: Do not add jamvm's
rt.jar to the classpath.
2021-12-23 20:27:45 +01:00
Ricardo Wurmus 3287c7c781
gnu: ecj-bootstrap: Remove trailing #T.
* gnu/packages/java.scm (ecj-bootstrap)[arguments]: Remove trailing #T from
build phase.
2021-12-23 20:27:45 +01:00
Ricardo Wurmus f668edc468
gnu: jamvm: Simplify snippet.
* gnu/packages/java.scm (jamvm)[source]: Simplify snippet.
2021-12-23 20:27:41 +01:00
Foo Chuan Wei a29360ade9
gnu: Add quantlib.
* gnu/packages/finance.scm (quantlib): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-12-23 19:09:31 +01:00
Mathieu Othacehe aa3cb57aab
gnu: libite: Edit synopsis and description.
* gnu/packages/linux.scm (libite)[synopsis]: Improve it.
[description]: Ditto.
2021-12-23 19:09:31 +01:00
Mathieu Othacehe 6f01565ef0
gnu: watchdogd: Add a missing dot.
* gnu/packages/linux.scm (watchdogd)[description]: Add a missing dot.
2021-12-23 19:09:30 +01:00
Leo Famulari fe5ade556b
gnu: linux-libre 4.4: Update to 4.4.296.
* gnu/packages/linux.scm (linux-libre-4.4-version): Update to 4.4.296.
(linux-libre-4.4-pristine-source): Update hash.
2021-12-23 12:35:11 -05:00
Leo Famulari da9e21848b
gnu: linux-libre 4.9: Update to 4.9.294.
* gnu/packages/linux.scm (linux-libre-4.9-version): Update to 4.9.294.
(linux-libre-4.9-pristine-source): Update hash.
2021-12-23 12:35:11 -05:00
Leo Famulari ccdf221b20
gnu: linux-libre 4.14: Update to 4.14.259.
* gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.259.
(linux-libre-4.14-pristine-source): Update hash.
2021-12-23 12:35:10 -05:00
Leo Famulari 57cd616122
gnu: linux-libre 4.19: Update to 4.19.222.
* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.222.
(linux-libre-4.19-pristine-source): Update hash.
2021-12-23 12:35:10 -05:00
Leo Famulari c9ea9506bb
gnu: linux-libre 5.4: Update to 5.4.168.
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.168.
(linux-libre-5.4-pristine-source): Update hash.
2021-12-23 12:35:10 -05:00
Leo Famulari d6d81aba54
gnu: linux-libre 5.10: Update to 5.10.88.
* gnu/packages/linux.scm (linux-libre-5.10-version): Update to 5.10.88.
(linux-libre-5.10-pristine-source): Update hash.
2021-12-23 12:35:10 -05:00
Leo Famulari f38393f335
gnu: linux-libre: Update to 5.15.11.
* gnu/packages/linux.scm (linux-libre-5.15-version): Update to 5.15.11.
(linux-libre-5.15-pristine-source): Update hash.
2021-12-23 12:35:10 -05:00
Petr Hodina 18576c4db4
gnu: Add watchdogd.
* gnu/packages/linux.scm (watchdogd): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-12-23 18:13:00 +01:00
Petr Hodina 00cf011a83
gnu: Add libuev.
* gnu/packages/linux.scm (libuev): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-12-23 18:13:00 +01:00
Petr Hodina 4ea4db5f8a
gnu: Add libite.
* gnu/packages/linux.scm (libite): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-12-23 18:13:00 +01:00
Leo Famulari 18248844ea
gnu: Remove unused module import from (gnu packages linux).
This caused an ambiguous import warning:

------
WARNING: (gnu packages linux): `build' imported from both (gnu packages build-tools) and (guix store)
------

This is a followup to commit 6961c8368c.

* gnu/packages/linux.scm: Do not import (gnu packages build-tools).
2021-12-23 12:06:12 -05:00
Vinicius Monego 01477bce71
gnu: Add qelectrotech.
* gnu/packages/engineering.scm (qelectrotech): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-12-23 17:52:17 +01:00
Attila Lendvai 037c2b6d3a
tests: gnupg: Factor out and export KEY-FINGERPRINT-VECTOR.
* guix/tests/gnupg.scm (key-fingerprint-vector): New procedure.  Export it.
(key-fingerprint): Use it.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-12-23 17:31:51 +01:00
Attila Lendvai 07145c8a8c
tests: Smarten up git repository testing framework.
* guix/tests/git.scm (with-git-repository): New macro, exported.  It can be used
repeatedly inside a WITH-TEMPORARY-GIT-REPOSITORY.
(populate-git-repository): Extend the DSL with (ADD "some-noise"), (RESET
"[commit hash]"), (CHECKOUT "branch" ORPHAN).

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-12-23 17:31:44 +01:00
Mathieu Othacehe c0a693dfec
gnu: guix: Update to 1.3.0-17.2a49ddb.
Also add a note about updating the guix package when it fails to build.

* gnu/packages/package-management.scm (guix): Update to 1.3.0-17.2a49ddb.
2021-12-23 16:59:24 +01:00
Mathieu Othacehe 2a49ddb513
tests: rsync: Fix it.
* gnu/tests/rsync.scm ("Test file not copied to read-only share"): This
returns the error code 1 and not 10.
2021-12-23 16:05:13 +01:00
Timothy Sample 05b1f024be
self: Add guile-lzma as a dependency.
This is a follow-up to 35ce3e5de6, fixing
Disarchive recovery when the download script is run from a 'guix pull'
profile.

* guix/self.scm (specification->package): Add "guile-lzma".
(compiled-guix): Add GUILE-LZMA to DEPENDENCIES in
the #:dependencies argument to 'guix-command'.
2021-12-23 08:59:44 -05:00
Sharlatan Hellseher 7f6260d9fe
gnu: cl-ana: Update to 0.0.0-2.848185e.
* gnu/packages/lisp-xyz.scm (sbcl-cl-ana): Update to 0.0.0-2.848185e.
  [inputs]: Use new style.
  [native-inputs]: Add openmpi and pkg-config.
  [propagated-inputs]: Add gnuplot.
  [arguments]: Update 'fix-paths' phase.

Co-authored-by: Guillaume Le Vaillant <glv@posteo.net>
2021-12-23 14:41:42 +01:00
Mathieu Othacehe 7682145b9b
tests: reconfigure: Fix it.
* gnu/tests/reconfigure.scm (run-install-bootloader-test): Use a non volatile
VM so that a bootloader configuration file is installed.
2021-12-23 10:54:01 +01:00
Mathieu Othacehe c717f27c5f
scripts: system: Add a missing module.
* guix/scripts/system.scm: Add a missing module.
2021-12-23 10:54:01 +01:00
Mathieu Othacehe dbd3454c3b
tests: nfs: Fix nfs-root-fs test.
This test has probably never been working. Rename it nfs-full, and test that
an NFS server can be started in a VM and mounted in another VM.

* gnu/tests/nfs.scm (run-nfs-root-fs-test): Rename it ...
(run-nfs-full-test): ... this way.
(%test-nfs-root-fs): Rename it ...
(%test-nfs-full): ... this way.
2021-12-23 10:54:01 +01:00
Mathieu Othacehe 207ee9d9cd
services: nfs: Fix statd and mountd ports.
* gnu/services/nfs.scm (nfs-shepherd-services): Fix rpcstatd-port and
rpcmountd-port arguments.
2021-12-23 10:54:01 +01:00
Mathieu Othacehe 102c360624
tests: docker: Fix it.
The docker tests are broken because the docker overlay doesn't support running
on our own storage overlay. Use the new <virtual-machine> volatile? field to
spawn a VM with a persistent storage and no overlay.

* gnu/tests/docker.scm (run-docker-test): Add the docker-tarball to the gc
roots as the host store is not shared anymore. Spawn a VM without volatile
storage.
(run-docker-system-test): Ditto.
(%test-docker-system): Adapt it to use the image API.
2021-12-23 10:54:01 +01:00
Mathieu Othacehe bce55cec88
scripts: system: Use the disk-image size argument for VM generation.
* guix/scripts/system.scm (system-derivation-for-action): Use the given
image-size unconditionnaly when calling system-qemu-image/shared-store-script.
2021-12-23 10:54:00 +01:00
Mathieu Othacehe c37cd41764
scripts: system: Pass the volatile field to VM generation.
* guix/scripts/system.scm (system-derivation-for-action): Add new volatile?
argument and pass it to system-qemu-image/shared-store-script.
(perform-action): Add new volatile? argument and pass it to
system-derivation-for-action.
(process-action): Pass the volatile? argument to perform-action.
2021-12-23 10:54:00 +01:00
Mathieu Othacehe 3ed8ddd606
scripts: system: Deprecate the docker-image command.
* guix/scripts/system.scm (system-derivation-for-action): Use the image API to
generate the docker images and deprecate the docker-image command.
(process-action): Ditto.
* doc/guix.texi (Invoking guix system): Adapt it.
2021-12-23 10:54:00 +01:00
Mathieu Othacehe 05a9d1f378
Remove VM generation dead-code.
This code duplicates the (gnu system image) and (gnu build image) code. Using
VM for image generation is not needed, not portable and really slow. Remove
all the VM image generation code to make sure that only the image API is used.

* gnu/build/vm.scm: Remove it. Move the qemu-command procedure to ...
* gnu/build/marionette.scm: ... here.
* gnu/local.mk (GNU_SYSTEM_MODULES): Adapt it.
* tests/modules.scm: Ditto.
* gnu/tests/install.scm: Ditto.
* gnu/system/vm.scm: Adapt it and remove expression->derivation-in-linux-vm,
qemu-img, system-qemu-image/shared-store and system-docker-image procedures.
* doc/guix.texi (G-Expressions): Adapt it.
2021-12-23 10:54:00 +01:00
Mathieu Othacehe da92479674
system: vm: Use the image API to generate QEMU images.
Also add a volatile? argument to the virtual-machine record. When volatile? is
true generate a QEMU script that mounts an overlay on top of a read only
storage. When volatile? is false, use a persistent, read-write storage.

* gnu/system/vm.scm (common-qemu-options): Add a rw-image? argument to use a
persistent storage.
(system-qemu-image/shared-store-script): Add a volatile? argument and honor
it. Use the image API to build the QEMU image.
(<virtual-machine>)[volatile?]: New field.
(virtual-machine-compiler): Pass the volatile? argument to the
system-qemu-image/shared-store-script procedure.
2021-12-23 10:54:00 +01:00
Mathieu Othacehe 59912117d4
system: image: Add docker support.
* gnu/system/image.scm (docker-image, docker-image-type): New variables.
(system-docker-image): New procedure.
(image->root-file-system): Add docker image support.
(system-image): Ditto.
2021-12-23 10:54:00 +01:00