summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-03-10tests: guix-environment.sh: Use C_INCLUDE_PATH, not CPATH.wip-ppc64leChris Marusich
* tests/guix-environment.sh: In tests that verify that the search paths are set up correctly, check C_INCLUDE_PATH instead of CPATH. This fixes a test failure, which was likely introduced in commit 2073b55e6b964cb8ca15e8c74cb32dac00f05f0d. That commit switched gcc back to using C_INCLUDE_PATH instead of CPATH, but it did not update this test.
2021-03-10gnu: openjpeg: Disable failing tests group.Léo Le Bouter
Conformance tests fail on powerpc64le-linux, they may also fail on other architectures, untested. Disabling unconditionally for now. * gnu/packages/image.scm (openjpeg)[arguments]: Modify 'disable-failing-tests phase to also ignore tests in the "conformance" subdirectory.
2021-03-10gnu: gcc: Set gcc-8 as default.Léo Le Bouter
This is a requirement for Glibc 2.32 and later on powerpc64le-linux. * gnu/packages/commencement.scm (gcc-toolchain-8): Use gcc-toolchain directly as it's the new default. (gcc-toolchain-7): No longer the default, make the toolchain from gcc-7. * gnu/packages/gcc.scm (gcc): Set to gcc-8. Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
2021-03-10gnu: commencement: Fix findutils-boot0 on some systems.Chris Marusich
This fixes an issue where findutils-boot0 would fail to build ("XPASS: test-fnmatch") on some systems, in particular powerpc64le-linux. * gnu/packages/commencement.scm (findutils-boot0): Delete the skip-fnmatch-test phase on any system that does not build this package using glibc-mesboot, i.e. any system that is not x86_64-linux or i686-linux.
2021-03-10tests: pack: Fix %gzip-compressor and a failing test.Chris Marusich
* tests/pack.scm (%gzip-compressor): Fix the compressor's G-Expression by adding the symbol "list" as the first element of the gexp'd list. Previously, %gzip-compressor caused the "self-contained-tarball" test to fail because it would cause the builder to incorrectly attempt to apply a string like "test-tmp/store/qgfnpsjc8q40fw5jyfxi4hjrppspvs4z-bootstrap-binaries-0/bin/gzip" as if it were a procedure. This test code regression was likely introduced accidentally in commit 5a0997ef7f3968d216328b8c63a6e36dd29a5ab8 ("packages, scripts, utils: Enable multi-threaded xz compression.").
2021-03-10tests: gremlin: Skip file-needed/recursive if DT_NEEDED is empty.Chris Marusich
* tests/gremlin.scm (file-needed/recursive): Skip the test when (file-runpath %guile-executable) evaluates to the empty list. This fixes the test, which previously failed incorrectly in the case where Guix has been built using a foreign distro's toolchain and libraries.
2021-03-10utils: Fix target-64bit? on powerpc64le-linux.Chris Marusich
* guix/utils.scm (target-64bit?): Change the string from "ppc64" to "powerpc64", which matches Guix system names like "powerpc64le-linux".
2021-03-10ci: %cross-targets: Add powerpc64le-linux-gnu.Chris Marusich
* gnu/ci.scm (%cross-targets): Add an entry for powerpc64le-linux-gnu.
2021-03-10syscalls: Fix RNDADDTOENTCNT on powerpc64le-linux.Chris Marusich
This fixes the failing test add-to-entropy-count in tests/syscalls.scm on powerpc64le-linux. * guix/build/syscalls.scm (RNDADDTOENTCNT): When %host-type starts with "powerpc64le", set this to #x80045201. Otherwise, set it to #x40045201 as before.
2021-03-10syscalls: Fix clone on powerpc64le-linux.Chris Marusich
This makes the clone procedure work correctly and fixes some test failures on powerpc64le-linux, including tests/containers.scm. * guix/build/syscalls.scm (clone): Add an entry for ppc64le.
2021-03-10Add powerpc64le-linux as a supported Guix architecture.Chris Marusich
This makes powerpc64le-linux a supported architecture for Guix, but not for Guix System. * Makefile.am (SUPPORTED_SYSTEMS): Add an entry for powerpc64le-linux. * etc/guix-install.sh (chk_sys_arch): Same. * guix/packages.scm (%supported-systems): Same. * m4/guix.m4 (GUIX_ASSERT_SUPPORTED_SYSTEM): Same. * tests/guix-build.sh (all_systems): Same.
2021-03-10gnu: libelf: Fix compilation for powerpc64le-linux.Leo Le Bouter
* gnu/packages/elf.scm (libelf)[arguments]: Modify replacement 'configure phase to invoke "./configure" with "--host=powerpc64le-unknown-linux-gnu" on powerpc64le-linux. Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
2021-03-10gnu: texlive-latex-base: Fix compilation on powerpc64le*.Leo Le Bouter
* gnu/packages/tex.scm (texlive-latex-base)[arguments]: LuaJIT is not ported to powerpc64le* yet. Update replacement 'build phase to add "luajittex" within the "disabled-formats" list on powerpc64le*. Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
2021-03-10gnu: texlive-bin: Fix compilation on powerpc64le*.Leo Le Bouter
* gnu/packages/tex.scm (texlive-bin)[arguments]: Append "--disable-luajittex" and "--disable-mfluajit" to keyword argument "#:configure-flags" on powerpc64le* because LuaJIT is not ported to powerpc64le* yet. Also set "#:tests?" to "#f" on powerpc64le*. Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
2021-03-10gnu: guile-avahi: Fix compilation on powerpc64le-linux.Leo Le Bouter
* gnu/packages/guile-xyz.scm (guile-avahi)[arguments]: Parallel builds fail on powerpc64le-linux. Set "#:parallel-build?" to "#f". Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
2021-03-10gnu: bdb-4.8: Fix configure on powerpc64le-linux.Leo Le Bouter
* gnu/packages/dbm.scm (bdb-4.8)[arguments]: Modify 'configure phase to append "--build=powerpc64le-unknown-linux-gnu" to configure's flags when compiling for powerpc64le-linux. Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
2021-03-10gnu: glibc: Fix ldd path on powerpc*.Leo Le Bouter
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-10gnu: gcc-4.7: On powerpc64le, fix /lib64 references.Chris Marusich
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-10gnu: binutils-final: Support more Power architectures.Chris Marusich
* 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-10gnu: binutils-final: Provide bash for binary on powerpc-linux.Efraim Flashner
* 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-10utils: Add target-powerpc? procedure.Chris Marusich
* guix/utils.scm (target-powerpc?): New exported procedure.
2021-03-10gnu: gcc-boot0: Enable 128-bit long double for POWER9.Chris Marusich
* 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-10gnu: bootstrap: Add support for powerpc64le-linux.Chris Marusich
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-10gnu: rust: Make it "supported" on all systems but i686-linux.Chris Marusich
* 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-10gnu: Restore emacs' supported systems.Chris Marusich
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-10gnu: glibc-final-with-bootstrap-bash-boot0: Don't include debug output.Efraim Flashner
* gnu/packages/commencement.scm (glibc-final-with-bootstrap-bash-boot0) [outputs]: Remove debug from inherited outputs.
2021-03-10gnu: gcc-boot0: Don't include debug output.Efraim Flashner
* gnu/packages/commencement.scm (gcc-boot0)[outputs]: Remove debug from inherited outputs.
2021-03-10gnu: coreutils-boot0: Don't include debug output.Efraim Flashner
* gnu/packages/commencement.scm (coreutils-boot0)[outputs]: Remove debug from inherited outputs.
2021-03-10gnu: gnu-make-boot0: Don't include debug output.Efraim Flashner
* gnu/packages/commencement.scm (gnu-make-boot0)[outputs]: Remove debug from inherited outputs.
2021-03-10ci: Remove hydra support.Mathieu Othacehe
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-06gnu: zstd: Update to 1.4.9.Léo Le Bouter
* gnu/packages/compression.scm (zstd): Update to 1.4.9.
2021-03-06Merge branch 'master' into core-updatesChristopher Baines
2021-03-05gnu: guix: Update to 112692c.Christopher Baines
* gnu/packages/package-management.scm (guix): Update to 112692c.
2021-03-05gnu: camlboot: Fix typo in properties.Julien Lepiller
* gnu/packages/ocaml.scm (camlboot)[properties]: Add missing pair of parenthesis.
2021-03-05guix: Split (guix substitutes) from (guix scripts substitute).Christopher Baines
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-05gnu: network-manager-applet: Update to 1.20.0.Brice Waegeneire
* gnu/packages/gnome.scm (network-manager-applet): Update to 1.20.0.
2021-03-05gnu: network-manager-applet: Activate support for libappindicator.Sébastien Lerique
* 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-05gnu: Audacity: Fix a crash on foreign distros.Leo Famulari
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-05gnu: pencil2d: Update to 0.6.6.Tobias Geerinckx-Rice
* gnu/packages/animation.scm (pencil2d): Update to 0.6.6.
2021-03-05gnu: libburn: Update to 1.5.4.Tobias Geerinckx-Rice
* gnu/packages/cdrom.scm (libburn): Update to 1.5.4.
2021-03-05pull: Expand help text for --{url,commit,branch}.Tobias Geerinckx-Rice
* guix/scripts/pull.scm (show-help): Document that ‘--url’, ‘--commit’, and ‘--branch’ affect only the ‘guix’ channel (for now?).
2021-03-05gnu: denemo: Update to 2.5.0.Nicolas Goaziou
* gnu/packages/music.scm (denemo): Update to 2.5.0.
2021-03-05gnu: youtube-dl: Update to 2021-03-03.Daniel Brooks
gnu/packages/video.scm (youtube-dl): Update to 2021-03-03. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-03-05gnu: Add emacs-envrc.Xinglu Chen
* gnu/packages/emacs-xyz.scm (emacs-envrc): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-03-05gnu: Add lr.Stefan Reichör
* gnu/packages/admin.scm (lr): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-03-05gnu: Add emacs-springboard.Stefan Reichör
* gnu/packages/emacs-xyz.scm (emacs-springboard): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-03-05gnu: Add emacs-multifiles.Stefan Reichör
* gnu/packages/emacs-xyz.scm (emacs-multifiles): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-03-05gnu: emacs-eglot: Add missing dependency.John Soo
* gnu/packages/emacs-xyz.scm (emacs-eglot):[arguments] Add dependency. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-03-05gnu: Add emacs-eldoc.John Soo
* gnu/packages/emacs-xyz.scm (emacs-eldoc): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-03-05gnu: php: Update to 7.4.16 [security fixes].Tobias Geerinckx-Rice
* gnu/packages/php.scm (php): Update to 7.4.16. [arguments]: Patch failing new test.