aboutsummaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2021-07-08gnu: libdatrie: Run tests sequentially....Fixes <https://bugs.gnu.org/49463>. * gnu/packages/gtk.scm (libdatrie)[arguments]: Add #:parallel-tests?. Ludovic Courtès
2021-07-08utils: Add 'search-input-directory'....* guix/build/utils.scm (search-input-directory): New procedure. * doc/guix.texi (Build Utilities): Document it next to 'search-input-file'. Tweak wording. Ludovic Courtès
2021-07-08build-system/gnu: patch-shebangs: Also patch shebangs in "/libexec"....Shebangs in "/bin" and "/sbin" subdirectories are currently patched by patch-shebangs. But shebangs in "/libexec" currently aren't, even though they occasionally need to be. E.g. when using wrap-program on an executable in "libexec" without an explicit #:sh when cross-compiling. * guix/build/gnu-build-system.scm (patch-shebangs): Add "/libexec" to 'bin-directories'. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Maxime Devos
2021-07-08gnu: guile: Skip 'test-stack-overflow'....* gnu/packages/guile.scm (guile-3.0)[arguments]: Add 'disable-stack-overflow-test' phase. Ludovic Courtès
2021-07-08gnu: glibc: Fix cross-compilation to powerpc64le-linux-gnu....Fixes <https://bugs.gnu.org/49417>. Reported by Maxime Devos <maximedevos@telenet.be>. * gnu/packages/patches/glibc-cross-objcopy.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/base.scm (glibc)[source]: Use it. Ludovic Courtès
2021-07-06gnu: Disable more LuaJIT components on powerpc64le systems....Fixes: <https://bugs.gnu.org/49218>. * gnu/packages/tex.scm (texlive-bin)[#:configure-flags]: Add "--disable-luajithbtex" on powerpc64le systems. (texlive-latex-base)[#:phases][build]: Add "mfluajit" to the disabled-formats list on powerpc64le systems. Chris Marusich
2021-07-06gnu: bc: Don't duplicate bootstrap phase....* gnu/packages/algebra.scm (bc)[arguments]: Use custom 'autoconf phase to replace standard 'bootstrap phase. Efraim Flashner
2021-07-06gnu: gcc: Fix cross-compilation....This fixes cross-compilation of GCC, as in: guix build --target=aarch64-linux-gnu -e '(@ (gnu packages gcc) gcc-10)' * gnu/packages/gcc.scm (gcc-canadian-cross-objdump-snippet): New variable. (gcc-5)[source]: Use it instead of inline 'snippet'. (gcc-8)[source]: Add 'modules' and 'snippet'. (gcc-9)[source]: Likewise. (gcc-10)[source]: Likewise. (gcc-11)[source]: Likewise. Ludovic Courtès
2021-07-05gnu: bootstrap-tarballs: Turn builder into a gexp....* gnu/packages/make-bootstrap.scm (%bootstrap-tarballs)[arguments]: Turn #:builder into a gexp. Ludovic Courtès
2021-07-05gnu: bootstrap-tarballs: Fix build....* gnu/packages/make-bootstrap.scm (%bootstrap-tarballs)[arguments]: Make 'use-modules' the first expression. Failing that, 'match' would not be properly expanded when running on Guile 3.0. Ludovic Courtès
2021-07-05gnu: texlive: Fix Texinfo markup in descriptions....* gnu/packages/tex.scm (texlive-latex-atveryend)[description]: Fix Texinfo markup. (texlive-generic-etexcmds)[description]: Likewise. (texlive-generic-kvdefinekeys)[description]: Likewise. Ludovic Courtès
2021-07-05tests: Fix typo in 'tests/store.scm'....This typo had always been there since the test was introduced in commit ce72c780746776a86f59747f5eff8731cb4ff39b. Presumably, it became visible with 9e5812ac59b01ff011ec0c5b0f437dfe85d6fcc7, where caching was no longer global and thus the 'store' argument of 'package-derivation' was actually being used. * tests/store.scm ("current-build-output-port, UTF-8"): Refer to '%store' rather than 's' in 'package-derivation' call. Ludovic Courtès
2021-07-05build-system/trivial: Honor build inputs when cross-compiling....Fixes a regression introduced in 7d873f194ca69d6096d28d7a224ab78e83e34fe1 whereby host inputs would be missing altogether from '%build-inputs', which broke cross-compilation. * guix/build-system/trivial.scm (trivial-cross-build): Append HOST-INPUTS to the 'with-build-variables' argument. Ludovic Courtès
2021-07-05ci: Change "core" subset to include the latest GCC and Guile....* gnu/ci.scm (%core-packages): Replace GCC-7 by GCC-11 and GUILE-2.0 by GUILE-3.0. Ludovic Courtès
2021-07-05tests: Adjust Python "sanity" check tests....This is a followup to 09448c0994390697e876db235a3b773311795238. The 'check-build-failure' procedure would not actually check anything since it did not call 'build-derivations'. However, it was throwing an exception for unrelated reasons, so the tests would pass. * tests/builders.scm (check-build-failure): Use 'guard' instead of 'false-if-exception'. Call 'build-derivations' to actually check for build failures. Ludovic Courtès
2021-07-05tests: Unset NIX_STORE_DIR when running external tests....This is a followup to cfcead2e515c0dae02127e5a76496463898be6b6 and 47a6a938c3c4d0bbe7b6a3c64ff75d7bfb2f24fb, which made (guix packages) dependent on the value of NIX_STORE_DIR. * guix/tests.scm (call-with-external-store): Unset NIX_STORE_DIR before calling PROC. Ludovic Courtès
2021-07-05gnu: custom-gcc: Update regex for removing executables....Do not match "gccgo". Match "gcov-dump" and "gcov-tool", as well as "lto-dump" (which was introduced in GCC 10). * gnu/packages/gcc.scm (custom-gcc)[arguments]: Update regex used for matching broken or conflicting executables. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Sarah Morgensen
2021-07-05gnu: bison-boot0: Replace 'posix_spawn' on non-x86 platforms....* gnu/packages/commencement.scm (bison-boot0)[arguments]: Pass #:configure-flags on non-x86 platforms. Ludovic Courtès
2021-07-05build-system/gnu: Define '%build-inputs' when cross-compiling....Reported by Maxime Devos. * guix/build-system/gnu.scm (gnu-cross-build)[builder]: Define '%build-inputs' as it existed before 7d873f194ca69d6096d28d7a224ab78e83e34fe1. Ludovic Courtès
2021-07-05build-system/texlive: Change default format to pdftex...LuaTeX has a bug where sometimes it corrupts the heap and aborts. This causes the build of texlive packages to fail at random. The problem is being tracked at https://issues.guix.gnu.org/48064. While a fix isn't found, switch the default TeX format (and consequently also the engine) to pdftex to avoid the issue. * guix/build-system/texlive.scm (texlive-build): Change default value of the ‘tex-format’ key parameter to “pdftex”. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Thiago Jung Bauermann
2021-07-04gnu: glibc: Fix cross-compilation to aarch64-linux-gnu....Fixes <https://bugs.gnu.org/49113>. Reported by Maxime Devos <maximedevos@telenet.be>. Previously, the cross-compiled libc.so linker script would read: OUTPUT_FORMAT(elf64-little) instead of: OUTPUT_FORMAT(elf64-littleaarch64) This is because glibc 2.33 runs "objdump -f" instead of "aarch64-linux-gnu-objdump -f" to determine the output format. * gnu/packages/patches/glibc-cross-objdump.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/base.scm (glibc)[source]: Use it. Ludovic Courtès
2021-07-03gnu: glib-networking: Disable openssl support....Revert openssl support enabled in a1dd57ce83de42b115392816606e810d13864e41, as GnuTLS is preferred over OpenSSL in Guix. * gnu/packages/gnome.scm (glib-networking)[arguments](openssl): Remove flag. [inputs]: Remove openssl. Raghav Gururajan
2021-07-04gnu: make-boot0: Build with "--disable-posix-spawn"....Fixes <https://bugs.gnu.org/49367>. * gnu/packages/commencement.scm (gnu-make-boot0)[arguments]: Pass "--disable-posix-spawn" on non-x86. Ludovic Courtès
2021-07-03gnu: libxkbcommon: Update to 1.3.0....* gnu/packages/xdisorg.scm (libxkbcommon): Update to 1.3.0. Brice Waegeneire
2021-07-03ci: Remove duplicate ".SYSTEM" extension for cross-compilation jobs....* gnu/ci.scm (package-cross-job): Remove ".SYSTEM". Ludovic Courtès
2021-07-02gnu: findutils-boot0: Really disable 'test-fnmatch' on i686-linux....Commit f08b070019a3c1697bb0b4a783dcd4f31243715a intended to skip 'test-fnmatch' on both x86_64-linux and i686-linux but it ended up skipping it on x86_64-linux only. * gnu/packages/commencement.scm (findutils-boot0)[arguments]: Use 'member' to test whether (%current-system) is "x86_64-linux" or "i686-linux". Ludovic Courtès
2021-07-01packages: 'package-derivation' honors 'system' again....Fixes a regression introduced in 7d873f194ca69d6096d28d7a224ab78e83e34fe1. Starting from 7d873f194ca69d6096d28d7a224ab78e83e34fe1, running guix build -s aarch64-linux sed on an x86_64-linux machine would return an x86_64-linux machine, whereby only the top derivation of the graph would be aarch64-linux while all its dependencies would be x86_64-linux. * guix/packages.scm (expand-input): Add 'system' parameter and honor it. (bag->derivation, bag->cross-derivation): Pass SYSTEM to 'expand-input'. * tests/packages.scm ("package-derivation, different system"): New test. Ludovic Courtès
2021-07-01gnu: gcc-toolchain: Remove duplicate gcc-toolchain@10....This is a followup to 4796b5d6d18dcc0f1b6c8e134977ebdb575c5741. Fixes the "fold-available-packages with/without cache" test in 'tests/packages.scm'. * gnu/packages/commencement.scm (gcc-toolchain-8): Explicitly refer to GCC-8. (gcc-toolchain-10): Turn into an alias for GCC-TOOLCHAIN. Ludovic Courtès
2021-06-27gnu: cups-filters: Update to 1.28.9....* gnu/packages/cups.scm (cups-filters): Update to 1.28.9. Tobias Geerinckx-Rice
2021-06-24gnu: Simplify the use of --with-long-double-128....Fixes <https://bugs.gnu.org/48825>. In short, this change adds the hard-coded "--with-long-double-128" configure option in one place and removes it from two other places. This changes and simplifies the use of this option for various architectures that start with the string "powerpc". * gnu/packages/gcc.scm (gcc-configure-flags-for-triplet): Add a clause for targets starting with "powerpc64le-" or "powerpc-" which adds the "--with-long-double-128" option. This causes any package using this procedure to be built using this new option on these architectures. In particular, this affects the gcc package and the gcc-final package, in addition to all the other versions of GCC defined in (gnu packages gcc). * gnu/packages/commencement.scm (gcc-boot0)[#:configure-flags]: Remove the code that adds the "--with-long-double-128" configure option for all architectures starting with "powerpc", since it is now redundant on the architectures where it is needed. The gcc-boot0 package uses (and adds to) the gcc package's configure options. This means that the above change in gcc.scm is sufficient to ensure that the gcc-boot0 package's configure options will include "--with-long-double-128" on powerpc64le and powerpc architectures. Additionally, since the option is apparently not required on the big-endian powerpc64 architecture, this change also has the nice effect of omitting the option in that case. * gnu/packages/cross-base.scm (cross-gcc-arguments)[#:configure-flags]: Remove the code that adds the "--with-long-double-128" configure option for powerpc64le, since it is now redundant. The cross-gcc-arguments procedure uses (and adds to) the configure options of its xgcc argument (a package). This means that regardless of which gcc from gcc.scm is used as the xgcc, the above change in gcc.scm is sufficient to ensure that the cross-gcc-arguments procedure's configure options will include "--with-long-double-128" on the powerpc64le and powerpc architectures. Chris Marusich
2021-06-23gnu: valgrind: Update to 3.17.0....* gnu/packages/valgrind.scm (valgrind): Update to 3.17.0. Chris Marusich
2021-06-23tests: gremlin: Skip file-needed/recursive if DT_NEEDED is empty....* tests/gremlin.scm (file-needed/recursive): Skip the test when (file-runpath %guile-executable) evaluates to the empty list. This causes the test to be correctly skipped in the case where Guix has been built using a foreign distro's toolchain and libraries. Chris Marusich
2021-06-23gnu: Remove dead cups-CVE-2020-10001.patch....* gnu/packages/patches/cups-CVE-2020-10001.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Remove it. Tobias Geerinckx-Rice
2021-06-23Merge branch 'master' into core-updates...Conflicts: gnu/packages/cups.scm gnu/packages/python-web.scm gnu/packages/web.scm guix/build/maven/pom.scm Tobias Geerinckx-Rice
2021-06-23gnu: cups: Add replacement to fix CVE-2020-10001....* gnu/packages/patches/cups-CVE-2020-10001.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/cups.scm (cups-minimal/fixed): New variable. (cups-minimal)[replacement]: Assign it to new field. Tobias Geerinckx-Rice
2021-06-23.guix-authorizations: Update bavier's key....As requested at <https://lists.gnu.org/archive/html/guix-devel/2021-06/msg00123.html>. * .guix-authorizations: Update bavier's signing key fingerprint. Ludovic Courtès
2021-06-23gnu: ocaml-dose3: Fix tests....* gnu/packages/ocaml.scm (ocaml-dose3)[arguments]<#:phases>: Add phase to patch tests script. Signed-off-by: Julien Lepiller <julien@lepiller.eu> Xinglu Chen
2021-06-23gnu: bitcoin-unlimited: Fix build....* gnu/packages/finance.scm (bitcoin-unlimited)[arguments]: Disable a test. Guillaume Le Vaillant
2021-06-23gnu: texmacs: Update to 2.1....* gnu/packages/text-editors.scm (texmacs): Update to 2.1. [arguments]: Remove #t at the end of phases. Nicolas Goaziou
2021-06-23gnu: Fix references to emacs-build-system's expand-load-path phase....* gnu/packages/emacs-xyz.scm (emacs-pdf-tools)[#:phases]: Use emacs-expand-load-path instead of emacs-add-source-to-load-path. * gnu/packages/erlang.scm (emacs-erlang)[#:phases]: Use expand-load-path instead of add-source-to-load-path. * gnu/packages/protobuf.scm (emacs-protobuf-mode)[#:phases]: Use expand-load-path instead of add-source-to-load-path. Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at> Carlo Zancanaro
2021-06-23gnu: Add python-cartopy....* gnu/packages/geo.scm (python-cartopy): New variable. Vinicius Monego
2021-06-23gnu: Add python-pykdtree....* gnu/packages/python-xyz.scm (python-pykdtree): New variable. Vinicius Monego
2021-06-23gnu: Add python-pyshp....* gnu/packages/geo.scm (python-pyshp): New variable. Vinicius Monego
2021-06-22tests: Remove stale reference to %derivation-cache....* guix/tests.scm (call-with-external-store): Remove the stale reference to %derivation-cache. This was causing the tests to error out, since it was removed from (guix packages) in 7d873f194ca69d6096d28d7a224ab78e83e34fe1. Chris Marusich
2021-06-23services: cups: Remove obsolete KeepAliveTimeout directive....https://github.com/apple/cups/commit/461bd4e50142b2928a0d164bd1aae274e4d34da5 * gnu/services/cups.scm (<cups-configuration>): Remove keep-alive-timeout field. * doc/guix.texi (Printing Services): Likewise. Tobias Geerinckx-Rice
2021-06-23installer: Remove unused procedure....NETWORKING-SYSTEM-SERVICE? was obsoleted in commit 2e55f37c0c8fdfbc413edff61490161648a78dcc. * gnu/installer/services.scm (networking-system-service?): Remove it. Tobias Geerinckx-Rice
2021-06-23services: cups: Fix ‘files-config’ typo/left-over....* gnu/services/cups.scm (<policy-configuration>): Substitute <files-configuration> for <files-config> in documentation. * doc/guix.texi (Printing Services): Likewise. Tobias Geerinckx-Rice
2021-06-23services: cups: Support CUPS 2.3.3op2's LogFileGroup directive....* gnu/services/cups.scm (<files-configuration>): Add a log-file-group field. * doc/guix.texi (Printing Services): Document it. Tobias Geerinckx-Rice
2021-06-23gnu: cups: Update to 2.3.3op2 [fixes CVE-2020-10001]....* gnu/packages/cups.scm (cups): Update to 2.3.3op2. [home-page]: Update as well. Tobias Geerinckx-Rice
2021-06-23gnu: cups: Fetch source directly from the Git repository....* gnu/packages/cups.scm (cups)[source]: Use GIT-FETCH and GIT-FILE-NAME. Tobias Geerinckx-Rice