summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-06-04qt-build-system: Look up the interpreter in 'inputs'.Maxime Devos
* 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>
2021-06-04python-build-system: Look up the interpreter in 'inputs'.Maxime Devos
* 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>
2021-06-04glib-or-gtk-build-system: Look up the interpreter in 'inputs'.Maxime Devos
* 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>
2021-06-04utils: Define ‘search-input-file’ procedure.Maxime Devos
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>
2021-06-04utils: Allow overriding the shell interpreter in ‘wrap-program’.Maxime Devos
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>
2021-06-01gnu: jemalloc: Fix building on powerpc-linux.Efraim Flashner
* gnu/packages/jemalloc.scm (jemalloc)[arguments]: Change configure-flags so they are configurable per-architecture.
2021-05-28gnu: guile-3.0: Fix building on powerpc-linux.Efraim Flashner
* 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.
2021-05-25guile: Leave 'scm_install_gmp_memory_functions' unchanged.Ludovic Courtès
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.
2021-05-25ci: Add derivation inputs.Mathieu Othacehe
* gnu/ci.scm (derivation->job): Add the derivation inputs to the job association list.
2021-05-24gnu: mesa: Unify custom phases.Efraim Flashner
* gnu/packages/gl.scm (mesa)[arguments]: Rewrite custom 'disable-failing-test phases to be one joint phase. Adjust 'split-outputs phase to simplify.
2021-05-23gnu: mesa: Add support for powerpc-linux.Efraim Flashner
* 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.
2021-05-23gnu: binutils: Fix bug in test suite in libiberty.Efraim Flashner
* 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.
2021-05-23gnu: gcc-boot0: Use 128-bit long-double on powerpc-linux.Efraim Flashner
* gnu/packages/commencement.scm (gcc-boot0)[arguments]: Adjust configure-flag to also use '--with-long-double-128' on powerpc-linux.
2021-05-23gnu: bootstrap: Add support for powerpc-linux.Efraim Flashner
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.
2021-05-22gnu: python-pyflakes: Remove obsolete patch.Marius Bakke
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.
2021-05-22gnu: python-tqdm: Update to 4.60.0.Marius Bakke
* 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.
2021-05-22gnu: Remove 'texlive-amsfonts/patched'.Marius Bakke
* 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.
2021-05-22gnu: guile-static: Fix build without GMP.Marius Bakke
* gnu/packages/make-bootstrap.scm (make-guile-static)[arguments]: Add "--enable-mini-gmp" to #:configure-flags.
2021-05-22gnu: guile-static: Remove obsolete workaround.Marius Bakke
* gnu/packages/make-bootstrap.scm (make-guile-static)[arguments]: Don't disable JIT on ARMv7.
2021-05-22Merge branch 'master' into core-updatesMarius Bakke
2021-05-22gnu: autotrace: Prepare for GLib 2.68 and later.Marius Bakke
* 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.
2021-05-22gnu: emacs-libgit: Fix installation failure.Marius Bakke
* gnu/packages/emacs-xyz.scm (emacs-libgit)[arguments]: Adjust for renamed source directory. While at it, removing trailing #t's.
2021-05-22gnu: wget: Update to 1.21.1.Marius Bakke
* gnu/packages/wget.scm (wget): Update to 1.21.1.
2021-05-22gnu: gtk-doc: Remove obsolete workaround.Marius Bakke
* gnu/packages/gtk.scm (gtk-doc)[arguments]: Remove set-HOME phase.
2021-05-22gnu: libxaw: Update to 1.0.14.Marius Bakke
* gnu/packages/xorg.scm (libxaw): Update to 1.0.14.
2021-05-22gnu: libxt: Update to 1.2.1.Marius Bakke
* gnu/packages/xorg.scm (libxt): Update to 1.2.1. * gnu/packages/patches/libxt-guix-search-paths.patch: Adjust context.
2021-05-22gnu: xkeyboard-config: Update to 2.32.Marius Bakke
* gnu/packages/xorg.scm (xkeyboard-config): Update to 2.32.
2021-05-22gnu: libxfixes: Update to 6.0.0.Marius Bakke
* gnu/packages/xorg.scm (libxfixes): Update to 6.0.0.
2021-05-22gnu: libxres: Update to 1.2.1.Marius Bakke
* gnu/packages/xorg.scm (libxres): Update to 1.2.1.
2021-05-22gnu: xorgproto: Update to 2021.4.Marius Bakke
* gnu/packages/xorg.scm (xorgproto): Update to 2021.4.
2021-05-22gnu: util-macros: Update to 1.19.3.Marius Bakke
* gnu/packages/xorg.scm (util-macros): Update to 1.19.3.
2021-05-22gnu: doxygen: Update to 1.9.1.Marius Bakke
* gnu/packages/patches/doxygen-1.8.17-runtests.patch, gnu/packages/patches/doxygen-test.patch: Delete files. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/documentation.scm (doxygen): Update to 1.9.1. [source](patches): Remove. [home-page]: Use HTTPS. [arguments]: Disable bibtex test with a phase instead of patch.
2021-05-22gnu: SWIG: Update to 4.0.2.Marius Bakke
* gnu/packages/swig.scm (swig): Update to 4.0.2. [arguments]: Remove.
2021-05-22gnu: Tcl/Tk: Update to 8.6.11.Marius Bakke
* gnu/packages/patches/tcl-fix-cross-compilation.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/tcl.scm (tcl): Update to 8.6.11. [source](patches): Remove. [arguments]: Remove trailing #t's. (tk): Update to 8.6.11.1. [arguments]: Remove trailing #t's and reindent.
2021-05-22gnu: libuv: Update to 1.41.0.Marius Bakke
* gnu/packages/libevent.scm (libuv): Update to 1.41.0. [native-inputs]: Change from AUTOCONF-WRAPPER to AUTOCONF.
2021-05-22gnu: libfaketime: Use absolute 'date' reference.Marius Bakke
* gnu/packages/check.scm (libfaketime)[inputs]: Add COREUTILS. [arguments]: Add phase to substitute the absolute 'date' file name.
2021-05-22gnu: help2man: Update to 1.48.3.Marius Bakke
* gnu/packages/man.scm (help2man): Update to 1.48.3.
2021-05-22gnu: automake: Remove unnecessary conditional.Marius Bakke
* gnu/packages/autotools.scm (automake)[inputs]: Add all unconditionally.
2021-05-22gnu: autoconf: Remove unnecessary conditional.Marius Bakke
* gnu/packages/autotools.scm (autoconf-2.69)[inputs]: Add all unconditionally.
2021-05-22gnu: boost: Update to 1.76.0.Marius Bakke
* gnu/packages/patches/boost-fix-transitive-linking.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/boost.scm (boost): Update to 1.76.0. [source](patches): Remove.
2021-05-22gnu: util-linux: Disable setarch test on all architectures.Marius Bakke
* gnu/packages/linux.scm (util-linux)[arguments]: Don't make the disable-setarch-test phase conditional. While at it, remove trailing #t's.
2021-05-22gnu: gfortran: Remove obsolete workaround.Marius Bakke
* gnu/packages/gcc.scm (gfortran): Use GCC directly.
2021-05-22gnu: zstd: Update to 1.5.0.Marius Bakke
* gnu/packages/compression.scm (zstd): Update to 1.5.0. [arguments]: Remove obsolete phase.
2021-05-22gnu: ninja: Update to 1.10.2.Marius Bakke
* gnu/packages/ninja.scm (ninja): Update to 1.10.2. [arguments]: Remove trailing #t's.
2021-05-22gnu: meson: Update to 0.58.0.Marius Bakke
* gnu/packages/build-tools.scm (meson): Update to 0.58.0. [source](patches): New field.
2021-05-22gnu: Meson: Remove special versions.Marius Bakke
* gnu/packages/audio.scm (lv2-speech-denoiser, libaudec)[arguments]: Remove #:meson. * gnu/packages/build-tools.scm (meson): Update to 0.57.2. (meson-0.55, meson-next): Remove variables. * gnu/packages/datastructures.scm (tllist)[arguments]: Remove. * gnu/packages/fontutils.scm (fcft)[arguments]: Likewise. * gnu/packages/gimp.scm (babl, gegl)[arguments]: Remove #:meson. * gnu/packages/gtk.scm (gdk-pixbuf)[arguments]: Likewise. * gnu/packages/lua.scm (emilua)[arguments]: Likewise. * gnu/packages/music.scm (zrythm)[arguments]: Likewise. * gnu/packages/terminals.scm (foot)[arguments]: Likewise. * gnu/packages/virtualization.scm (qemu)[native-inputs]: Change from MESON-NEXT to MESON. (libvirt)[arguments]: Remove #:meson. * gnu/packages/wm.scm (wlroots, sway)[arguments]: Likewise.
2021-05-22gnu: gtkmm: Fix build failure.Marius Bakke
* gnu/packages/gtk.scm (gtkmm)[native-inputs]: Add GLIB:BIN. [propagated-inputs]: Change ATKMM to ATKMM-2.28 and PANGOMM to PANGOMM-2.46. * gnu/packages/gtk.scm (gtkmm-2)[native-inputs]: Don't inherit from GTKMM.
2021-05-22gnu: pangomm@2.42: Update to 2.46.0.Marius Bakke
* gnu/packages/gtk.scm (pangomm-2.42): Rename to ... (pangomm-2.46): ... this. Update to 2.46.0. (gtkmm-2)[propagated-inputs]: Adjust accordingly.
2021-05-22gnu: cairomm@1.13: Update to 1.14.2.Marius Bakke
* gnu/packages/gtk.scm (cairomm-1.13): Rename to ... (cairomm-1.14): ... this. Update to 1.14.2. [build-system, arguments]: Remove. (pangomm-2.42, gtkmm-2)[propagated-inputs]: Adjust for variable rename.
2021-05-22gnu: ATLAS: Fix build with GCC 10.Marius Bakke
* gnu/packages/patches/atlas-gfortran-compat.patch: New file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/maths.scm (atlas)[source](patches): New field.