summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* rakudo-build-system: Look up the interpreter in 'inputs'.Maxime Devos2021-06-04
| | | | | | | | | * guix/build/rakudo-build-system.scm (wrap): Pass the shell interpreter from 'inputs' to 'wrap-program' using 'search-input-file'. Partially-Fixes: <https://issues.guix.gnu.org/47869> Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* qt-build-system: Look up the interpreter in 'inputs'.Maxime Devos2021-06-04
| | | | | | | | | * guix/build/qt-build-system.scm (wrap-all-programs): Pass the shell interpreter from 'inputs' to 'wrap-program' using 'search-input-file'. Partially-Fixes: <https://issues.guix.gnu.org/47869> Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* python-build-system: Look up the interpreter in 'inputs'.Maxime Devos2021-06-04
| | | | | | | | * guix/build/python-build-system.scm (wrap): Pass the shell interpreter from 'inputs' to 'wrap-program' using 'search-input-file'. Partially-Fixes: <https://issues.guix.gnu.org/47869> Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* glib-or-gtk-build-system: Look up the interpreter in 'inputs'.Maxime Devos2021-06-04
| | | | | | | | | * guix/build/glib-or-gtk-build-system.scm (wrap-all-programs): Pass the shell interpreter from 'inputs' to 'wrap-program' using 'search-input-file'. Partially-Fixes: <https://issues.guix.gnu.org/47869> Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* utils: Define ‘search-input-file’ procedure.Maxime Devos2021-06-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The procedure ‘which’ from (guix build utils) is used for two different purposes: 1. for finding the absolute file name of a binary that needs to run during the build process 2. for finding the absolute file name of a binary, for the target system (as in --target=TARGET), e.g. for substituting sh->/gnu/store/.../bin/sh, python->/gnu/store/.../bin/python. When compiling natively (target=#f in Guix parlance), this is perfectly fine. However, when cross-compiling, there is a problem. "which" looks in $PATH for binaries. That's good for purpose (1), but incorrect for (2), as the $PATH contains binaries from native-inputs instead of inputs. This commit defines a ‘search-input-file’ procedure. It functions like 'which', but instead of searching in $PATH, it searches in the 'inputs' of the build phase, which must be passed to ‘search-input-file’ as an argument. Also, the file name must include "bin/" or "sbin/" as appropriate. * guix/build/utils.scm (search-input-file): New procedure. * tests/build-utils.scm ("search-input-file: exception if not found") ("search-input-file: can find if existent"): Test it. * doc/guix.texi (File Search): Document it. Partially-Fixes: <https://issues.guix.gnu.org/47869> Co-Authored-By: Ludovic Courtès <ludo@gnu.org> Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* utils: Allow overriding the shell interpreter in ‘wrap-program’.Maxime Devos2021-06-04
| | | | | | | | | | | | | | | | Previously, when creating new wrappers, 'wrap-program' would search for an interpreter to use in PATH. However, this is incorrect when cross-compiling. Allow overriding the shell interpreter to use, via an optional keyword argument #:sh. In time, when all users of 'wrap-program' have been corrected, this keyword argument can be made mandatory. * guix/build/utils.scm (wrap-program): Introduce a #:sh keyword argument, defaulting to (which "sh"). Use this keyword argument. Partially-Fixes: <https://issues.guix.gnu.org/47869> Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: jemalloc: Fix building on powerpc-linux.Efraim Flashner2021-06-01
| | | | | * gnu/packages/jemalloc.scm (jemalloc)[arguments]: Change configure-flags so they are configurable per-architecture.
* gnu: guile-3.0: Fix building on powerpc-linux.Efraim Flashner2021-05-28
| | | | | | | * gnu/packages/guile.scm (guile-3.0)[source]: Adjust snippet to skip OOM-test. [arguments]: On powerpc add a phase to adjust the compile flags during the bootstrap process. Add phase to skip known failing test.
* guile: Leave 'scm_install_gmp_memory_functions' unchanged.Ludovic Courtès2021-05-25
| | | | | | | | | | Since the switch to Guile 3.0.7 using mini-GMP, we can leave 'scm_install_gmp_memory_functions' to its default value, which is to use custom memory allocators; there is no interference with users of GMP such as GnuTLS/Nettle. * gnu/packages/aux-files/guile-launcher.c (main) [!SCM_ENABLE_MINI_GMP]: Leave 'scm_install_gmp_memory_functions' unchanged.
* ci: Add derivation inputs.Mathieu Othacehe2021-05-25
| | | | | * gnu/ci.scm (derivation->job): Add the derivation inputs to the job association list.
* gnu: mesa: Unify custom phases.Efraim Flashner2021-05-24
| | | | | | * gnu/packages/gl.scm (mesa)[arguments]: Rewrite custom 'disable-failing-test phases to be one joint phase. Adjust 'split-outputs phase to simplify.
* gnu: mesa: Add support for powerpc-linux.Efraim Flashner2021-05-23
| | | | | | * gnu/packages/gl.scm (mesa)[inputs]: Add llvm, glslang for powerpc. [arguments]: Customize the configure flags for powerpc. Add powerpc specific phase to skip failing tests.
* gnu: binutils: Fix bug in test suite in libiberty.Efraim Flashner2021-05-23
| | | | | | * gnu/packages/base.scm (binutils)[source]: Add patch. * gnu/packages/patches/binutils-libiberty-endianness-bug.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it.
* gnu: gcc-boot0: Use 128-bit long-double on powerpc-linux.Efraim Flashner2021-05-23
| | | | | * gnu/packages/commencement.scm (gcc-boot0)[arguments]: Adjust configure-flag to also use '--with-long-double-128' on powerpc-linux.
* gnu: bootstrap: Add support for powerpc-linux.Efraim Flashner2021-05-23
| | | | | | | | | | | | | | | | | | | | | | | | On 923bb70a1bff657125c3008f119a477e5cb57c2b gnu:glibc-for-bootstrap: Fix patch. Run ./pre-inst-env guix build --target=powerpc-linux-gnu bootstrap-tarballs Producing /gnu/store/dyj1wvayyp1ihaknkxniz1xamcf4yrhl-bootstrap-tarballs-0 With guix hash -rx /gnu/store/dyj1wvayyp1ihaknkxniz1xamcf4yrhl-bootstrap-tarballs-0 02xx2ydj28pwv3vflqffinpq1icj09gzi9icm8j4bwc4lca9irxn * gnu/packages/bootstrap.scm (%bootstrap-executables): Add entries for powerpc-linux. (%bootstrap-guile-hash, %bootstrap-coreutils&co, %bootstrap-binutils, %bootstrap-glibc, %bootstrap-gcc): Add entry for powerpc-linux. * gnu/packages.scm (%supported-systems): Add powerpc-linux. (%hydra-supported-systems): Remove powerpc-linux. * m4/guix.m4: Add powerpc-linux as a supported system.
* gnu: python-pyflakes: Remove obsolete patch.Marius Bakke2021-05-22
| | | | | | | | | | This patch was added on 'core-updates' in 43c889de85e79f279931d6cced261f54c9be5075, but no longer necessary since the update to 2.3.1 in 91741db5397174a2e96b4010c3c9ff53d34e8ef0. * gnu/packages/patches/python-pyflakes-fix-tests.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/python-xyz.scm (python-pyflakes)[source](patches): Remove.
* gnu: python-tqdm: Update to 4.60.0.Marius Bakke2021-05-22
| | | | | | | | * gnu/packages/python-xyz.scm (python-tqdm): Update to 4.60.0. [native-inputs]: Remove PYTHON-NOSE. Add PYTHON-PYTEST, PYTHON-PYTEST-ASYNCIO, PYTHON-PYTEST-TIMEOUT, PYTHON-SETUPTOOLS-SCM, and PYTHON-TOML. [arguments]: Use pytest instead of nosetests in check phase.
* gnu: Remove 'texlive-amsfonts/patched'.Marius Bakke2021-05-22
| | | | | | | | * gnu/packages/tex.scm (texlive-amsfonts)[arguments]: Add the fix from 'texlive-amsfonts/patched'. (texlive-amsfonts/patched): Remove variable. * gnu/packages/python-xyz.scm (python-nbconvert)[native-inputs]: Change from TEXLIVE-AMSFONTS/PATCHED to TEXLIVE-AMSFONTS.
* gnu: guile-static: Fix build without GMP.Marius Bakke2021-05-22
| | | | | * gnu/packages/make-bootstrap.scm (make-guile-static)[arguments]: Add "--enable-mini-gmp" to #:configure-flags.
* gnu: guile-static: Remove obsolete workaround.Marius Bakke2021-05-22
| | | | | * gnu/packages/make-bootstrap.scm (make-guile-static)[arguments]: Don't disable JIT on ARMv7.
* Merge branch 'master' into core-updatesMarius Bakke2021-05-22
|\
| * gnu: autotrace: Prepare for GLib 2.68 and later.Marius Bakke2021-05-22
| | | | | | | | | | | | * gnu/packages/patches/autotrace-glib-compat.patch: New file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/graphics.scm (autotrace)[source](patches): New field.
| * gnu: libblockdev: Prepare for GLib 2.58.Marius Bakke2021-05-22
| | | | | | | | | | | | * gnu/packages/patches/libblockdev-glib-compat.patch: New file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/disk.scm (libblockdev)[source](patches): New field.
| * gnu: ucx: Restore (and adapt) ioctl fallback patch.Marius Bakke2021-05-22
| | | | | | | | | | | | | | | | | | This is a followup to 4ebd4a58ce307874b18c30ffcd4852440e475ad5 which removed the patch, but it was still necessary for some dependents. * gnu/packages/patches/ucx-tcp-iface-ioctl.patch: New file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/fabric-management.scm (ucx)[source](patches): New field.
| * gnu: cmdtest: Do not propagate any inputs.Marius Bakke2021-05-22
| | | | | | | | | | * gnu/packages/check.scm (cmdtest)[propagated-inputs]: Move everything ... [inputs]: ... here. New field.
| * gnu: cmdtest: Update to 0.32-14-gcdfe14e.Marius Bakke2021-05-22
| | | | | | | | | | | | | | | | * gnu/packages/check.scm (cmdtest): Update to 0.32-14-gcdfe14e. [source]: Switch to GIT-FETCH. [arguments]: Remove #:phases and #:python. Add #:tests?. [native-inputs]: Change from PYTHON2-CLIAPP, PYTHON2-MARKDOWN, and PYTHON-TTYSTATUS to their respective Python 3 variants.
| * gnu: python2-ttystatus: Add Python 3 variant.Marius Bakke2021-05-22
| | | | | | | | | | | | | | | | * gnu/packages/python-xyz.scm (python2-ttystatus): Rename to ... (python-ttystatus): ... this. [name, native-inputs, arguments]: Adjust accordingly. [descriptions]: Remove mentions of Python version and add markup. (python2-ttystatus): Use PACKAGE-WITH-PYTHON2.
| * gnu: python2-cliapp: Add Python 3 variant.Marius Bakke2021-05-22
| | | | | | | | | | | | | | | | | | * gnu/packages/python-xyz.scm (python2-cliapp): Rename to ... (python-cliapp): ... this. [name, native-inputs, propagated-inputs]: Adjust accordingly. [arguments]: Disable tests. [description]: Remove mentions of Python version and add markup. (python2-cliapp): Use PACKAGE-WITH-PYTHON2.
| * gnu: python-coverage-test-runner: Add Python 3 variant.Marius Bakke2021-05-22
| | | | | | | | | | | | | | * gnu/packages/check.scm (python2-coverage-test-runner): Rename to ... (python-coverage-test-runner): ... this. [arguments, propagated-inputs]: Adjust for Python 3. (python2-coverage-test-runner): Use PACKAGE-WITH-PYTHON2.
| * gnu: sharutils: 'which' is a native input.Marius Bakke2021-05-22
| | | | | | | | | | * gnu/packages/compression.scm (sharutils)[inputs]: Rename to ... [native-inputs]: ... this.
| * gnu: sharutils: Prepare for GCC 10.Marius Bakke2021-05-22
| | | | | | | | | | | | * gnu/packages/compression.scm (sharutils)[source](snippet): Add substitution to avoid duplicate header definitions. [arguments]: Remove trailing #t.
| * gnu: ntp: Prepare for GCC 10.Marius Bakke2021-05-22
| | | | | | | | * gnu/packages/ntp.scm (ntp)[source](patches): New field.
| * scripts: discover: Report Avahi errors.Mathieu Othacehe2021-05-22
| | | | | | | | | | | | Fixes: <https://issues.guix.gnu.org/48561>. * guix/scripts/discover (guix-discover): Report Avahi errors.
| * gnu: guix: Update to 9f2b2c4.Christopher Baines2021-05-22
| | | | | | | | * gnu/packages/package-management.scm (guix): Update to 9f2b2c4.
| * gnu: Add emacs-poly-r.Ricardo Wurmus2021-05-22
| | | | | | | | * gnu/packages/statistics.scm (emacs-poly-r): New variable.
| * gnu: Add emacs-poly-noweb.Ricardo Wurmus2021-05-22
| | | | | | | | * gnu/packages/emacs-xyz.scm (emacs-poly-noweb): New variable.
| * gnu: pinball: Update to 3.1.20201218.Eric Bavier2021-05-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/packages/games.scm (pinball): Update to 3.1.20201218. [source]: Tarballs no longer published on sourceforge, so use git-fetch. [native-inputs]: New field for bootstrapping inputs. [inputs]: Add libltdl. [arguments]: Add custom 'bootstrap' phase. * gnu/packages/patches/pinball-system-ltdl.patch: Adjust to latest source. * gnu/packages/patches/pinball-const-fix.patch, gnu/packages/patches/pinball-cstddef.patch, gnu/packages/patches/pinball-missing-separators.patch, gnu/packages/patches/pinball-src-deps.patch: Delete upstreamed patches. * gnu/local.mk (dist_patch_DATA): Remove them.
| * gnu: python-scour: Update to 0.38.2.Björn Höfling2021-05-21
| | | | | | | | * gnu/packages/python-xyz.scm (python-scour): Update to 0.38.2.
| * gnu: python-scour: Correct version.Björn Höfling2021-05-21
| | | | | | | | | | * gnu/packages/python-xyz.scm (python-scour): Correct version string from 038.1 to 0.38.1.
| * gnu: xfce4-screenshooter: Update to 1.9.9.Michael Rohleder2021-05-21
| | | | | | | | | | | | * gnu/packages/xfce.scm (xfce4-screenshooter): Update to 1.9.9. Signed-off-by: Leo Famulari <leo@famulari.name>
| * gnu: Fix build for ldc.Roel Janssen2021-05-21
| | | | | | | | * gnu/packages/dlang.scm (ldc): Disable tests that use ptrace.
| * gnu: Add emacs-purescript-mode.Xinglu Chen2021-05-21
| | | | | | | | | | | | * gnu/packages/emacs-xyz.scm (emacs-purescript-mode): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
| * gnu: linux-libre: Update to 5.12.5.Leo Famulari2021-05-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/packages/linux.scm (linux-libre-5.11-version, deblob-scripts-5.11, linux-libre-5.11-pristine-source, linux-libre-5.11-source, linux-libre-headers-5.11, linux-libre-5.11): Remove variables. (linux-libre-version, linux-libre-pristine-source, linux-libre-source, linux-libre): Update to the 5.12 kernel series. (linux-libre-with-bpf): Update to the 5.12 kernel series. * gnu/packages/aux-files/linux-libre/5.11-arm.conf, gnu/packages/aux-files/linux-libre/5.11-arm64.conf, gnu/packages/aux-files/linux-libre/5.11-i686.conf, gnu/packages/aux-files/linux-libre/5.11-x86_64.conf: Delete files. * Makefile.am (AUX_FILES): Remove them.
| * gnu: python-pikepdf: Update to 2.12.1.Nicolas Goaziou2021-05-21
| | | | | | | | * gnu/packages/python-xyz.scm (python-pikepdf): Update to 2.12.1.
| * gnu: giac: Update to 1.7.0-9.Nicolas Goaziou2021-05-21
| | | | | | | | * gnu/packages/algebra.scm (giac): Update to 1.7.0-9.
| * gnu: Add font-victor-monoaecepoglu2021-05-21
| | | | | | | | * gnu/packages/fonts.scm (font-victor-mono): New variable.
| * gnu: sameboy: Update to 0.14.3Felix Gruber2021-05-21
| | | | | | | | | | | | * gnu/packages/emulators.scm (sameboy): Update to 0.14.3. [native-inputs]: Remove gcc-9. [arguments]: Use cc-for-target instead of hard-coding gcc.
| * gnu: Add numdiff.Paul A. Patience2021-05-21
| | | | | | | | * gnu/packages/maths.scm (numdiff): New variable.
| * gnu: sbcl-cl-html5-parser: Enable tests.Sharlatan Hellseher2021-05-21
| | | | | | | | | | | | | | | | * gnu/packages/lisp-xyz.scm (sbcl-cl-html5-parser) [arguments]: Enable tests, clean up not required #:asd-systems. [native-inputs]: Add json-streams, split-sequence and stefil. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
| * gnu: Add cl-json-streams.Sharlatan Hellseher2021-05-21
| | | | | | | | | | | | | | * gnu/packages/lisp-xyz.scm (sbcl-json-streams, ecl-json-streams, cl-json-streams): New variables. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>