Commit graph

75559 commits

Author SHA1 Message Date
Leo Le Bouter
638bfff853
gnu: glibc: Fix ldd path on powerpc*.
This should avoid some problems, such as "not a dynamic executable" errors.

* gnu/packages/patches/glibc-ldd-powerpc.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/base.scm:
(glibc)[patches]: Add it.
(glibc-2.30)[patches]: Add it.
(glibc-2.29)[patches]: Add it.
(glibc-2.28)[patches]: Add it.
(glibc-2.27)[patches]: Add it.

Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
2021-03-10 23:01:59 -08:00
Chris Marusich
458022fb69
gnu: gcc-4.7: On powerpc64le, fix /lib64 references.
Fixes: <https://bugs.gnu.org/46253>.

* gnu/packages/gcc.scm (gcc-4.7)[#:phases][pre-configure]: When the
gcc/config/rs6000 directory exists, replace "/lib64" with "/lib" in all files
within it.  Note that this fix will be picked up by any package that re-uses
the pre-configure phase from gcc-4.7 (e.g., all the usual gcc packages).
(make-libstdc++)[#:phases][fix-rs6000-libdir]: New phase, which does the same
as above.  It was necessary to duplicate the fix here because make-libstdc++
does not re-use the pre-configure phase from gcc-4.7.
2021-03-10 23:01:59 -08:00
Chris Marusich
c1c15ef355
gnu: binutils-final: Support more Power architectures.
* gnu/packages/commencement.scm (binutils-final)[arguments]: When checking if
the system is a Power architecture, instead of hard-coding "powerpc-linux",
use the target-powerpc? procedure so it works on more Power architectures.
[inputs]: Likewise.
2021-03-10 23:01:59 -08:00
Efraim Flashner
3d43a7c048
gnu: binutils-final: Provide bash for binary on powerpc-linux.
* gnu/packages/commencement.scm (binutils-final)[arguments]: On
powerpc-linux allow a reference to static-bash-for-glibc.
[inputs]: On powerpc-linux add static-bash-for-glibc.
2021-03-10 23:01:59 -08:00
Chris Marusich
4bd672cb41
utils: Add target-powerpc? procedure.
* guix/utils.scm (target-powerpc?): New exported procedure.
2021-03-10 23:01:58 -08:00
Chris Marusich
680b20f24c
gnu: gcc-boot0: Enable 128-bit long double for POWER9.
* gnu/packages/commencement.scm (gcc-boot0) [#:configure-flags]: Add
--with-long-double-128 when the boot triplet is "powerpc64le-guix-linux-gnu",
instead of "powerpc64le-linux-gnu", which is incorrect.  The actual triplet
used during bootstrapping is "powerpc64le-guix-linux-gnu".
2021-03-10 23:01:58 -08:00
Chris Marusich
c069f8e433
gnu: bootstrap: Add support for powerpc64le-linux.
The bootstrap tarballs used by these bootstrap packages were created via the
following steps:

- Create a new x86_64 VM using QEMU.
- Use
  https://ftp.gnu.org/gnu/guix/guix-system-install-1.2.0.x86_64-linux.iso.xz
  to install Guix System 1.2.0 in the VM.
- Run: guix pull --no-substitutes --commit=662e7e28d576ada91fc9dec7d27c100666114f03
- Run: guix build --no-substitutes --target=powerpc64le-linux-gnu bootstrap-tarballs

With the exception of gcc-static, all bootstrap binaries contained in these
tarballs can be built reproducibly.  Unfortunately, gcc-static is not always
reproducible when everything is built from source on separate machines.
Despite investigation efforts, the cause remains unclear, so we have decided
to move forward with these binaries to unblock further bootstrapping work.
For details, see <https://bugs.gnu.org/41669>.

* gnu/packages/bootstrap.scm (%bootstrap-executables)
(bootstrap-executable-file-name, bootstrap-guile-url-path)
(bootstrap-guile-hash, %bootstrap-coreutils&co, %bootstrap-binutils)
(%bootstrap-glibc, %bootstrap-gcc): Add entries for powerpc64le-linux.
(%bootstrap-executable-base-urls): Add an entry for alpha.gnu.org.
2021-03-10 23:01:58 -08:00
Chris Marusich
001fc29b43
gnu: rust: Make it "supported" on all systems but i686-linux.
* gnu/packages/rust.scm (rust-1.30)[supported-systems]: Instead of hard-coding
this to just "x86_64-linux", calculate the supported systems by deleting
"i686-linux" from %supported-systems.
2021-03-10 22:59:26 -08:00
Chris Marusich
5d2863dfe4
gnu: Restore emacs' supported systems.
Recently, librsvg was updated to depend upon rust.  That change inadvertently
restricted the "supported" systems of emacs (among other packages) to
x86_64-linux only, since that is the only system declared in the rust
package's list of supported systems.  This unintentionally made emacs
unavailable on all other systems.

This change fixes that by removing the rust dependency from some packages.
The packages remain unchanged from the perspective of an x86_64-linux system,
but from the perspective of other systems, the packages are now supported
again (albeit without certain optional SVG features).

* gnu/packages/gtk.scm (gtk+, gtk+-2)[propagated-inputs]: If compiling for
x86_64, use gdk-pixbuf+svg as the "gdk-pixbuf" input, as usual.  Otherwise,
use gdk-pixbuf, which avoids adding librsvg (thus rust) to the closure of
inputs.  Note that both gtk+ and gtk+-2 are in the transitive closure of
inputs of emacs, so these two changes are necessary.
* gnu/packages/emacs (emacs)[inputs]: If compiling for x86_64, add librsvg to
the inputs, as usual.  Otherwise, do not add it, which avoids adding rust to
the closure of inputs.
2021-03-10 22:59:13 -08:00
Efraim Flashner
d4d132bc84
gnu: glibc-final-with-bootstrap-bash-boot0: Don't include debug output.
* gnu/packages/commencement.scm (glibc-final-with-bootstrap-bash-boot0)
[outputs]: Remove debug from inherited outputs.
2021-03-10 21:51:39 +02:00
Efraim Flashner
282a159a4b
gnu: gcc-boot0: Don't include debug output.
* gnu/packages/commencement.scm (gcc-boot0)[outputs]: Remove debug
from inherited outputs.
2021-03-10 21:51:39 +02:00
Efraim Flashner
870cca7260
gnu: coreutils-boot0: Don't include debug output.
* gnu/packages/commencement.scm (coreutils-boot0)[outputs]: Remove debug
from inherited outputs.
2021-03-10 21:51:36 +02:00
Efraim Flashner
21ec74fc14
gnu: gnu-make-boot0: Don't include debug output.
* gnu/packages/commencement.scm (gnu-make-boot0)[outputs]: Remove debug
from inherited outputs.
2021-03-10 21:43:25 +02:00
Mathieu Othacehe
33bb89c939
ci: Remove hydra support.
This removes hydra support to use Cuirass as the only continuous integration
system.

* build-aux/hydra/gnu-system.scm: Remove it.
* build-aux/hydra/guix-modular.scm: Ditto.
* build-aux/hydra/guix.scm: Ditto.
* build-aux/cuirass/hydra-to-cuirass.scm: Ditto.
* Makefile.am (EXTRA_DIST): Update it.
(hydra-jobs.scm): Remove it.
(cuirass-jobs.scm): Update it.
* build-aux/hydra/evaluate.scm: Move it to ...
* build-aux/cuirass/evaluate.scm: ... here.
* build-aux/cuirass/guix-modular.scm: Remove it.
* build-aux/cuirass/gnu-system.scm: Ditto.
* guix/packages.scm (%hydra-supported-systems): Rename it to ...
(%cuirass-supported-systems): ... this variable.
* build-aux/check-final-inputs-self-contained: Adapt it.
* etc/release-manifest.scm: Ditto.
* gnu/ci.scm (package->alist): Remove it.
(derivation->job): New procedure.
(package-job, package-cross-job, cross-jobs, image-jobs, system-test-jobs,
tarball-jobs): Use it.
(guix-jobs): New procedure.
(hydra-jobs): Rename it to ...
(cuirass-jobs): ... this procedure.
2021-03-10 19:41:15 +01:00
Léo Le Bouter
cab3b57543
gnu: zstd: Update to 1.4.9.
* gnu/packages/compression.scm (zstd): Update to 1.4.9.
2021-03-06 02:30:40 +01:00
Christopher Baines
a8448da0f4
Merge branch 'master' into core-updates 2021-03-06 00:18:30 +00:00
Christopher Baines
a714af38d5
gnu: guix: Update to 112692c.
* gnu/packages/package-management.scm (guix): Update to 112692c.
2021-03-05 21:55:47 +00:00
Julien Lepiller
c6ada4914d
gnu: camlboot: Fix typo in properties.
* gnu/packages/ocaml.scm (camlboot)[properties]: Add missing pair of
parenthesis.
2021-03-05 22:38:19 +01:00
Christopher Baines
112692c0d5
guix: Split (guix substitutes) from (guix scripts substitute).
This means there's a module for working with substitutes, rather than all the
code sitting in the script. The need for this can be seen with the weather and
challenge scripts, that now don't have to use code from the substitute script,
but can instead use the substitute module.

The separation here between the actual functionality of the substitute script
and the underlying functionality used both there and elsewhere should make
maintenance easier moving forward.

This commit just moves code, none of the code should have been changed
significantly.

* guix/scripts/substitute.scm (%narinfo-cache-directory, %narinfo-ttl,
%narinfo-negative-ttl, %narinfo-transient-error-ttl, %unreachable-hosts): Move
variables to guix/substitutes.scm.
(narinfo-cache-file, cached-narinfo, cache-narinfo!, narinfo-request,
read-to-eof, call-with-connection-error-handling, fetch-narinfos,
lookup-narinfos, lookup-narinfos/diverse): Move procedures to
guix/substitutes.scm.
* guix/substitutes.scm: New file.
* Makefile.am: Add it.
* guix/narinfo.scm: Remove redundant module.
* guix/scripts/challenge.scm: Change (guix scripts substitute) to (guix
substitutes).
* guix/scripts/weather.scm: Change (guix scripts substitute) to (guix
substitutes).
2021-03-05 21:06:03 +00:00
Brice Waegeneire
23c6be1d3d
gnu: network-manager-applet: Update to 1.20.0.
* gnu/packages/gnome.scm (network-manager-applet): Update to 1.20.0.
2021-03-05 21:44:51 +01:00
Sébastien Lerique
0055f6a8a3
gnu: network-manager-applet: Activate support for libappindicator.
* gnu/packages/gnome.scm (network-manager-applet): Activate support for
libappindicator.
[arguments]: Add #:configure-flags.
[inputs]: Add "libappindicator".

Signed-off-by: Brice Waegeneire <brice@waegenei.re>
2021-03-05 21:44:32 +01:00
Leo Famulari
fa7f4781ca
gnu: Audacity: Fix a crash on foreign distros.
Without the wrap phase, Audacity crashes like this when trying to use the "Open
file" dialog:

(audacity:28276): GLib-GIO-ERROR **: 14:14:55.211: Settings schema 'org.gtk.Settings.FileChooser' is not installed

* gnu/packages/audio.scm (audacity)[arguments]: Add (guix build
glib-or-gtk-build-system) to #:imported-modules. Adjust #:modules accordingly.
Add phases 'glib-or-gtk-wrap'.
2021-03-05 14:54:54 -05:00
Tobias Geerinckx-Rice
41b984ccfc
gnu: pencil2d: Update to 0.6.6.
* gnu/packages/animation.scm (pencil2d): Update to 0.6.6.
2021-03-05 19:07:31 +01:00
Tobias Geerinckx-Rice
b9610b2420
gnu: libburn: Update to 1.5.4.
* gnu/packages/cdrom.scm (libburn): Update to 1.5.4.
2021-03-05 19:07:31 +01:00
Tobias Geerinckx-Rice
d0f4283c44
pull: Expand help text for --{url,commit,branch}.
* guix/scripts/pull.scm (show-help): Document that ‘--url’, ‘--commit’,
and ‘--branch’ affect only the ‘guix’ channel (for now?).
2021-03-05 19:07:31 +01:00
Nicolas Goaziou
e539449397
gnu: denemo: Update to 2.5.0.
* gnu/packages/music.scm (denemo): Update to 2.5.0.
2021-03-05 17:44:07 +01:00
Daniel Brooks
3aa65ce266
gnu: youtube-dl: Update to 2021-03-03.
gnu/packages/video.scm (youtube-dl): Update to 2021-03-03.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-03-05 17:27:24 +01:00
Xinglu Chen
be2b2e884b
gnu: Add emacs-envrc.
* gnu/packages/emacs-xyz.scm (emacs-envrc): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-03-05 17:26:19 +01:00
Stefan Reichör
e693927a74
gnu: Add lr.
* gnu/packages/admin.scm (lr): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-03-05 17:23:18 +01:00
Stefan Reichör
697a4c464d
gnu: Add emacs-springboard.
* gnu/packages/emacs-xyz.scm (emacs-springboard): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-03-05 17:20:01 +01:00
Stefan Reichör
1fe75f8397
gnu: Add emacs-multifiles.
* gnu/packages/emacs-xyz.scm (emacs-multifiles): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-03-05 17:15:39 +01:00
John Soo
92894e64a0
gnu: emacs-eglot: Add missing dependency.
* gnu/packages/emacs-xyz.scm (emacs-eglot):[arguments] Add dependency.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-03-05 17:03:10 +01:00
John Soo
ad0c8f7eaa
gnu: Add emacs-eldoc.
* gnu/packages/emacs-xyz.scm (emacs-eldoc): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-03-05 17:02:47 +01:00
Tobias Geerinckx-Rice
81aa2fa4ae
gnu: php: Update to 7.4.16 [security fixes].
* gnu/packages/php.scm (php): Update to 7.4.16.
[arguments]: Patch failing new test.
2021-03-05 16:12:31 +01:00
Mădălin Ionel Patrașcu
297531ef58
gnu: Add r-circrnaprofiler.
* gnu/packages/bioconductor.scm (r-circrnaprofiler): New variable.
2021-03-05 16:07:06 +01:00
Mădălin Ionel Patrașcu
1353e53605
gnu: Add r-universalmotif.
* gnu/packages/bioconductor.scm (r-universalmotif): New variable.
2021-03-05 16:07:06 +01:00
Mădălin Ionel Patrașcu
dfbbc73670
gnu: Add r-rcppthread.
* gnu/packages/cran.scm (r-rcppthread): New variable.
2021-03-05 16:07:03 +01:00
Julien Lepiller
58277e68d4
gnu: camlboot: Raise max-silent-time timeout value to 4 hours.
* gnu/packages/ocaml.scm (camlboot)[properties]: Add a 'max-silent-time'
property, with a value of 4 hours.
2021-03-05 15:53:36 +01:00
Ricardo Wurmus
f5c3e8e2ec
gnu: Add r-cellchat.
* gnu/packages/bioinformatics.scm (r-cellchat): New variable.
2021-03-05 15:04:15 +01:00
Ricardo Wurmus
c0c3f7466c
gnu: Add r-gg-gap.
* gnu/packages/cran.scm (r-gg-gap): New variable.
2021-03-05 15:04:15 +01:00
Felix Gruber
b2a94e59b8
gnu: virtualpg: Update to 2.0.1.
* gnu/packages/geo.scm (virtualpg): Update to 2.0.1.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-03-05 13:47:43 +01:00
Philip McGrath
d2278beb10
gnu: racket: Update to 8.0.
* gnu/packages/scheme.scm (racket): Update to 8.0.
[arguments]: Add #:configure-flags.  Add 'patch-chez-configure' phase.
[inputs]: Add "zlib", "zlib:static", "lz4", and "lz4:static".
[synopsis, description]: Tweak.
(racket-minimal): Update to 8.0.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-03-05 12:49:28 +01:00
Ludovic Courtès
b1248016e0
tests: Refer to '%derivation-cache' in the right module.
* guix/tests.scm (call-with-external-store): Fix module name for
'%derivation-cache'.
2021-03-05 12:49:28 +01:00
Ludovic Courtès
9d349afaa1
download: 'url-fetch/tarbomb' and 'url-fetch/zipbomb' refer to native tools.
* guix/download.scm (url-fetch/tarbomb, url-fetch/zipbomb): Use
'ungexp-native' instead of 'ungexp' when referring to the decompression
tools.
2021-03-05 12:49:28 +01:00
Ludovic Courtès
6de3ef0d5e
gexp: Honor #:target in 'compiled-modules'.
* guix/gexp.scm (compiled-modules): Pass #:target to 'gexp->derivation'.
2021-03-05 12:49:28 +01:00
Ludovic Courtès
c19304d2d2
doc: Refer to the right node for '--keep-failed'.
* doc/guix.texi (Invoking guix-daemon, Debugging Build Failures): Refer
to "Common Build Options" for '--keep-failed'.
2021-03-05 12:49:27 +01:00
Ludovic Courtès
90ea8b16eb
profiles: 'package->manifest-entry' preserves transformations by default.
Previously, transformations applied from a manifest (rather than via
"guix install") would be lost.  This change fixes that and simplifies
things.

Reported by zimoun at
<https://lists.gnu.org/archive/html/guix-devel/2021-02/msg00153.html>.

* guix/profiles.scm (default-properties): New procedure.
(package->manifest-entry): Use it for #:properties.
* guix/scripts/pack.scm (guix-pack)[with-transformations]: Remove.
Remove caller.
* guix/scripts/package.scm (transaction-upgrade-entry): Remove calls to
'manifest-entry-with-transformations'.
* tests/guix-package.sh: Add test.
* tests/transformations.scm ("options->transformation + package->manifest-entry"):
New test.
2021-03-05 12:49:27 +01:00
Guillaume Le Vaillant
c9d42d611c
gnu: hamlib: Update to 4.1.
* gnu/packages/radio.scm (hamlib): Update to 4.1.
2021-03-05 10:46:15 +01:00
Christopher Baines
c6c48494e3
services: guix-build-coordinator: Add dynamic auth with file record.
* gnu/services/guix.scm (guix-build-coordinator-agent-dynamic-auth-with-file,
guix-build-coordinator-agent-dynamic-auth-with-filen?,
guix-build-coordinator-agent-dynamic-auth-with-file-agent-name,
guix-build-coordinator-agent-dynamic-auth-with-file-token-file): New procedures.
(guix-build-coordinator-agent-shepherd-services): Handle new dynamic auth with
file record.
* doc/guix.texi (Guix Build Coordinator): Document the new dynamic auth with
file record.
2021-03-05 09:29:58 +00:00
Kei Kebreau
6891f95739
gnu: mupdf: Fix CVE-2021-3407.
* gnu/packages/pdf.scm (mupdf)[source]: Add patch.
* gnu/packages/patches/mupdf-CVE-2021-3407.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2021-03-04 20:12:07 -05:00