Age | Commit message (Collapse) | Author |
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
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>
|
|
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/packages/jemalloc.scm (jemalloc)[arguments]: Change configure-flags
so they are configurable per-architecture.
|
|
* 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.
|
|
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.
|
|
* gnu/ci.scm (derivation->job): Add the derivation inputs to the job
association list.
|
|
* gnu/packages/gl.scm (mesa)[arguments]: Rewrite custom
'disable-failing-test phases to be one joint phase. Adjust
'split-outputs phase to simplify.
|
|
* 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/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/packages/commencement.scm (gcc-boot0)[arguments]: Adjust
configure-flag to also use '--with-long-double-128' on powerpc-linux.
|
|
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.
|
|
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/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/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/packages/make-bootstrap.scm (make-guile-static)[arguments]: Add
"--enable-mini-gmp" to #:configure-flags.
|
|
* gnu/packages/make-bootstrap.scm (make-guile-static)[arguments]: Don't
disable JIT on ARMv7.
|
|
|
|
* 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/packages/emacs-xyz.scm (emacs-libgit)[arguments]: Adjust for renamed
source directory. While at it, removing trailing #t's.
|
|
* gnu/packages/wget.scm (wget): Update to 1.21.1.
|
|
* gnu/packages/gtk.scm (gtk-doc)[arguments]: Remove set-HOME phase.
|
|
* gnu/packages/xorg.scm (libxaw): Update to 1.0.14.
|
|
* gnu/packages/xorg.scm (libxt): Update to 1.2.1.
* gnu/packages/patches/libxt-guix-search-paths.patch: Adjust context.
|
|
* gnu/packages/xorg.scm (xkeyboard-config): Update to 2.32.
|
|
* gnu/packages/xorg.scm (libxfixes): Update to 6.0.0.
|
|
* gnu/packages/xorg.scm (libxres): Update to 1.2.1.
|
|
* gnu/packages/xorg.scm (xorgproto): Update to 2021.4.
|
|
* gnu/packages/xorg.scm (util-macros): Update to 1.19.3.
|
|
* 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.
|
|
* gnu/packages/swig.scm (swig): Update to 4.0.2.
[arguments]: Remove.
|
|
* 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.
|
|
* gnu/packages/libevent.scm (libuv): Update to 1.41.0.
[native-inputs]: Change from AUTOCONF-WRAPPER to AUTOCONF.
|
|
* gnu/packages/check.scm (libfaketime)[inputs]: Add COREUTILS.
[arguments]: Add phase to substitute the absolute 'date' file name.
|
|
* gnu/packages/man.scm (help2man): Update to 1.48.3.
|
|
* gnu/packages/autotools.scm (automake)[inputs]: Add all unconditionally.
|
|
* gnu/packages/autotools.scm (autoconf-2.69)[inputs]: Add all
unconditionally.
|
|
* 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.
|
|
* gnu/packages/linux.scm (util-linux)[arguments]: Don't make the
disable-setarch-test phase conditional. While at it, remove trailing #t's.
|
|
* gnu/packages/gcc.scm (gfortran): Use GCC directly.
|
|
* gnu/packages/compression.scm (zstd): Update to 1.5.0.
[arguments]: Remove obsolete phase.
|
|
* gnu/packages/ninja.scm (ninja): Update to 1.10.2.
[arguments]: Remove trailing #t's.
|
|
* gnu/packages/build-tools.scm (meson): Update to 0.58.0.
[source](patches): New field.
|
|
* 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.
|
|
* 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.
|
|
* gnu/packages/gtk.scm (pangomm-2.42): Rename to ...
(pangomm-2.46): ... this. Update to 2.46.0.
(gtkmm-2)[propagated-inputs]: Adjust accordingly.
|
|
* 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.
|
|
* 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.
|