summaryrefslogtreecommitdiff
path: root/gnu/packages/base.scm
AgeCommit message (Collapse)Author
2023-12-25gnu: Adjust to removing ed.scm and nano.scmEfraim Flashner
This is a follow-up to f6817e71dff7d0d9fdb55db8b85a1d3d04e2bf5a and e11e65a9ad08e18ea2faac3c9f4639a7b189bf76. * gnu/installer.scm, gnu/packages/algebra.scm, gnu/packages/base.scm, gnu/packages/cook.scm, gnu/packages/lisp.scm, gnu/packages/patchutils.scm, gnu/packages/version-control.scm, gnu/packages/web-browsers.scm, gnu/system.scm: Adjust module imports. Change-Id: I25e5519fa003c35a14b81c3dda37b24527858634
2023-12-06gnu: glibc-locales@2.37: Mark as hidden.Ludovic Courtès
Fixes <https://issues.guix.gnu.org/67586>. * gnu/packages/base.scm (glibc-locales/hurd): Wrap in ‘hidden-package’. Change-Id: If4f4aa1ef66c53ee0bb52eaea533241652e48cca Reported-by: Nils Landt <nils@landt.email> Change-Id: I5150f13be9c3b23e7abe408f815c56f498c92ecb
2023-12-02gnu: Add ‘libc-locales-for-target’ and related.Janneke Nieuwenhuizen
Partly fixes <https://issues.guix.gnu.org/66472>. This is a followup to 95ea1277ae2ebd278bdb51a7887f5ba1116fbc64. * gnu/packages/base.scm (glibc-locales/hurd): New variable (libc-locales-for-target): Use it in new procedure. (libc-utf8-locales-for-target): New procedure. Co-authored-by: Ludovic Courtès <ludo@gnu.org> Change-Id: I16e187fcc65a5d4a3b065066b45ef9e45d1875f6
2023-11-25gnu: commencement: Use locales for the right libc version on GNU/Hurd.Ludovic Courtès
Fixes <https://issues.guix.gnu.org/66472>. Until now, we were unconditionally using ‘glibc-utf8-locales’, which targets the glibc version used on Linux (2.35) rather than that used on the Hurd (2.37). This would lead to build failures due to the inability to use locale encoding when targeting i586-gnu. * gnu/packages/base.scm (glibc-utf8-locales/hurd): New variable. * gnu/packages/commencement.scm (glibc-utf8-locales-final/hurd): New variable. (%boot5-inputs): Use it when ‘target-hurd?’ returns #t. (%final-inputs): Likewise. Change-Id: I1666d615dffbe3561cf2d9612b85cd31a48a7dcd
2023-10-12gnu: glibc: Fix CVE-2023-4911.Liliana Marie Prikler
* gnu/packages/patches/glibc-2.35-CVE-2023-4911.patch: New file. * gnu/local.mk: Register it here. * gnu/packages/base.scm (glibc/fixed): New variable. (glibc): Use it as replacement.
2023-10-01gnu: glibc-utf8-locales: Reintroduce input labels.Ludovic Courtès
Since 2f73ea3487b3bf6eb055c08aae7c53713d61a4d7, ‘make-glibc-utf8-locales’ couldn’t be passed a package with a name other than “glibc” (in particular “glibc-hurd”) since the builder expects the name “glibc” in ‘%build-inputs’. * gnu/packages/base.scm (make-glibc-utf8-locales): Reintroduce labels in ‘native-inputs’.
2023-09-17gnu: Remove extraneous imports.Maxim Cournoyer
Found by running 'guild compile -W3 gnu/packages/$module.scm', using guild from the upcoming Guile. * gnu/packages/admin.scm: Remove extraneous imports. * gnu/packages/avr.scm: Likewise. * gnu/packages/base.scm: Likewise. * gnu/packages/bootloaders.scm: Likewise. * gnu/packages/firmware.scm: Likewise. * gnu/packages/linphone.scm: Likewise. * gnu/packages/telephony.scm: Likewise. * gnu/packages/cran.scm: Likewise. * gnu/packages/kde.scm: Likewise. * gnu/packages/libcanberra.scm: Likewise. * gnu/packages/libreoffice.scm: Likewise. * gnu/packages/mes.scm: Likewise. * gnu/packages/mingw.scm: Likewise. * gnu/packages/serialization.scm: Likewise. * gnu/packages/sync.scm: Likewise. * gnu/packages/syncthing.scm: Likewise. * gnu/packages/terminals.scm: Likewise. * gnu/packages/version-control.scm: Likewise. * gnu/packages/video.scm: Likewise. * gnu/packages/wm.scm: Likewise. * gnu/packages/emulators.scm: Likewise. Reviewed-by: Ludovic Courtès <ludo@gnu.org>
2023-09-14gnu: glibc/hurd: Add unsubmitted getauxval patch from upstream.Janneke Nieuwenhuizen
This support building of gdk-pixbuf, gobject-introspection. * gnu/packages/patches/glibc-hurd-getauxval.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/base.scm (glibc/hurd)[source]: Use it.
2023-08-25gnu: gcc-toolchain: Add empty librt.a.Josselin Poiret
* gnu/packages/commencememnt.scm (make-gcc-toolchain): Add empty librt.a. * gnu/packages/base.scm (gcc): Add a warning regarding the missing librt.a.
2023-08-18gnu: commencement: Use system in %final-inputs.Christopher Baines
Otherwise this causes odd issues, I presume arising from when %current-system differs from the system argument passed to %final-inputs. * gnu/packages/commencement.scm (%final-inputs): Set %current-system to system. * gnu/packages/base.scm (%final-inputs): Add optional system parameter. * gnu/ci.scm (base-packages): New procedure to memoize the base packages depending on system. (package->job): Pass system to base-packages. Co-authored-by: Josselin Poiret <dev@jpoiret.xyz> Signed-off-by: Josselin Poiret <dev@jpoiret.xyz> Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-07-20gnu: diffutils: Remove test-perror2 from XFAIL_TESTS on the Hurd.Janneke Nieuwenhuizen
* gnu/packages/base.scm (diffutils)[arguments]: When building natively on the Hurd, Move "large-subopt" test from #:make-flags' XFAIL_TESTS to a new 'skip-tests' phase. Remove #:make-flags for the Hurd, as "test-perror2" now passes.
2023-07-20gnu: findutils: Move test-strerror_r from XFAIL to skip on the Hurd.Janneke Nieuwenhuizen
* gnu/packages/base.scm (findutils)[arguments]: When building natively on the Hurd, remove #:make-flags as "test-strerror_r" fails non-deterministically. Instead, add 'skip-test' phase and skip it.
2023-07-20Revert "gnu: sed: Skip failing test on GNU/Hurd."Janneke Nieuwenhuizen
This reverts commit 779757047997d315d899b40c199be3709115cce4, as the gnulib "tests-perror2" test now passes.
2023-07-20gnu: grep: Update hanging and failing tests on the Hurd.Janneke Nieuwenhuizen
* gnu/packages/base.scm (grep)[arguments]: When building natively on the Hurd, remove Rename phase 'skip-triple-backref-test' to 'skip-tests'. Remove "tests/triple-backref" as it now passes. Add the hanging "tests/hash-collision-perf" test, and the failing "tests/file" test.
2023-07-20gnu: coreutils: Skip hanging and failing test on the Hurd.Janneke Nieuwenhuizen
* gnu/packages/base.scm (coreutils)[arguments]: When building natively on the Hurd, remove "test/df/unreadable.sh" and "test-perror2" from #:make-flags's XFAIL_TESTS as they now pass. Move failing script tests from XFAIL_TESTS to 'remove-tests' phase. In phase 'remove-tests' rewrite substitute* to skip tests instead of removing them. Add hanging and failing tests.
2023-07-13gnu: Add libc-for-target and glibc/hurd.Josselin Poiret
* gnu/packages/patches/glibc-2.37-hurd-clock_t_centiseconds.patch * gnu/packages/patches/glibc-2.37-hurd-local-clock_gettime_MONOTONIC.patch * gnu/packages/patches/glibc-2.37-versioned-locpath.patch: New patches. * gnu/local.mk (dist_patch_DATA): Register them. * gnu/packages/base.scm (glibc/hurd, libc-for-target): New variables. (glibc/hurd-headers): Use glibc/hurd. * gnu/packages/commencement.scm (glibc-final-with-bootstrap-bash)[outputs, source, arguments] (glibc-final)[source]: Use libc-for-target instead of glibc. * gnu/packages/cross-base.scm (cross-libc/deprecated, cross-libc*): Use libc-for-target. This part fixes https://issues.guix.gnu.org/63641#25 * gnu/packages/commencement.scm (%final-inputs): Change to memoized lambda taking "system". * gnu/packages/commencement.scm (canonical-package): Likewise, and update user, passing (%current-system). (make-gcc-toolchain): Update user, passing (%current-system). * gnu/packages/base.scm (%final-inputs): Likewise. * guix/scripts/refresh.scm (options->update-specs): Likewise. * guix/build-system/gnu.scm (standard-packages): Add optional "system" parameter. (lower): Update caller. Co-authored-by: Ludovic Courtès <ludo@gnu.org> Co-authored-by: Janneke Nieuwenhuizen <janneke@gnu.org>
2023-07-13gnu: glibc/hurd-headers: Properly cross-build.Josselin Poiret
* gnu/packages/base.scm (glibc/hurd-headers): Rely on cross-mig, and remove hardcoded configure flag `--host=i586-pc-gnu`. * gnu/packages/cross-base.scm (cross-kernel-headers*): Add `--host` and `--build` configure flags.
2023-06-17gnu: Use target-hurd?, system-hurd? instead of hurd-target?, hurd-system?.Janneke Nieuwenhuizen
* gnu/packages/hurd.scm (hurd-target?): Remove. (hurd-system?): Move to... * guix/utils.scm (system-hurd?): ...here. * gnu/packages/*: Update all users, removing (gnu packages hurd) include where now unused.
2023-06-14gnu: glibc-2.33: Fix building for riscv64-linux.Efraim Flashner
* gnu/packages/base.scm (glibc-2.33)[source]: Add patch. * gnu/packages/patches/glibc-2.33-riscv64-miscompilation.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it.
2023-05-07gnu: findutils: Update XFAIL_TESTS for the hurd.Christopher Baines
This could do with more investigating, but this reflects what I see locally. * gnu/packages/base.scm (findutils)[arguments]: Update XFAIL_TESTS for the hurd. * gnu/packages/commencement.scm (findutils-boot0): Stop clearing the make-flags, so the above change applies to findutils-boot0.
2023-04-19gnu: glibc: Reintroduce version 2.33.Ludovic Courtès
* gnu/packages/base.scm (glibc-2.33): New variable.
2023-03-30gnu: glibc: Work around broken GNU Mach header detection.Ludovic Courtès
* gnu/packages/base.scm (%glibc/hurd-configure-flags): New variable. (glibc)[arguments]: Use it. (glibc/hurd-headers)[arguments]: likewise. * gnu/packages/cross-base.scm (cross-libc*): Likewise. Co-authored-by: Josselin Poiret <dev@jpoiret.xyz>
2023-03-02Merge remote-tracking branch 'savannah/master' into core-updatesChristopher Baines
Conflicts: gnu/local.mk gnu/packages/autotools.scm gnu/packages/cmake.scm gnu/packages/gnuzilla.scm gnu/packages/haskell.scm gnu/packages/pdf.scm gnu/packages/python-xyz.scm gnu/packages/samba.scm gnu/packages/tex.scm gnu/packages/tls.scm gnu/packages/wxwidgets.scm
2023-02-26gnu: guile: Remove input labels.Ludovic Courtès
* gnu/packages/base.scm (libiconv-if-needed): Remove input label. * gnu/packages/guile.scm (guile-2.0)[native-inputs, inputs] [propagated-inputs]: Remove labels. (guile-next)[native-inputs]: Change "self" to "guile". (make-guile-readline): Adjust 'inputs' and 'propagated-inputs' accordingly.
2023-02-19gnu: coreutils: Disable 64-bit time_t on 32-bit systems.Efraim Flashner
Not all software is ready for 64-bit time in Guix. * gnu/packages/base.scm (coreutils)[arguments]: When building for a 32-bit system add a configure-flag to not use 64-bit time_t.
2023-02-25gnu: binutils-gold: Remove input label.Ludovic Courtès
* gnu/packages/base.scm (binutils-gold)[native-inputs]: Remove label.
2023-02-14gnu: tar: Actually fix test suite on 32-bit systems.Efraim Flashner
This is a follow-up to 87423addf503fc2b44dc2f863d6db1712d67c55c. * gnu/packages/base.scm (tar)[arguments]: Actually skip the broken test on 32-bit systems, not run ONLY that test.
2023-02-14gnu: tar: Fix test suite on 32-bit systems.Efraim Flashner
* gnu/packages/base.scm (tar)[arguments]: When building for 32-bit systems skip a test known by upstream to fail.
2023-01-30Merge remote-tracking branch 'origin/master' into core-updatesEfraim Flashner
Conflicts: doc/guix.texi gnu/local.mk gnu/packages/admin.scm gnu/packages/base.scm gnu/packages/chromium.scm gnu/packages/compression.scm gnu/packages/databases.scm gnu/packages/diffoscope.scm gnu/packages/freedesktop.scm gnu/packages/gnome.scm gnu/packages/gnupg.scm gnu/packages/guile.scm gnu/packages/inkscape.scm gnu/packages/llvm.scm gnu/packages/openldap.scm gnu/packages/pciutils.scm gnu/packages/ruby.scm gnu/packages/samba.scm gnu/packages/sqlite.scm gnu/packages/statistics.scm gnu/packages/syndication.scm gnu/packages/tex.scm gnu/packages/tls.scm gnu/packages/version-control.scm gnu/packages/xml.scm guix/build-system/copy.scm guix/scripts/home.scm
2022-11-23gnu: grep: Skip 'triple-backref' test.Ludovic Courtès
* gnu/packages/base.scm (grep)[arguments]: Add 'skip-triple-backref-test' phase for GNU/Hurd.
2022-11-02gnu: coreutils: Disable the test-tls tests on the hurd.Christopher Baines
These tests seem to lead to both consistent and inconsistent failures, so marking them as XFAIL as is done with some other tests doesn't help. So this commit means that they're skipped. * gnu/packages/base.scm (coreutils)[arguments]: Disable the test-tls tests on the hurd.
2022-10-30gnu: tar: Add chained renames and Directory to hurd skipped tests.Christopher Baines
* gnu/packages/base.scm (tar)[arguments]: Include chained renames and Directory in the tests skipped for when building for the hurd.
2022-10-30gnu: diffutils: Add large-subopt to XFAIL_TESTS for the hurd.Christopher Baines
* gnu/packages/base.scm (diffutils)[arguments]: Add large-subopt to XFAIL_TESTS for the hurd.
2022-10-30gnu: coreutils: Remove test-tls from XFAIL_TESTS for the hurd.Christopher Baines
As this test passes. * gnu/packages/base.scm (coreutils)[arguments]: Remove test-tls from XFAIL_TESTS for the hurd.
2022-10-28gnu: sed: Skip failing test on GNU/Hurd.Christopher Baines
* gnu/packages/base.scm (sed)[arguments]: Add #:make-flags.
2022-10-28gnu: diffutils: Skip failing test on GNU/Hurd.Christopher Baines
* gnu/packages/base.scm (diffutils)[arguments]: Add #:make-flags. * gnu/packages/commencement.scm (diffutils-boot0)[arguments]: Adjust to always use substitute-keyword-arguments.
2022-10-28gnu: findutils: Skip failing test on GNU/Hurd.Ludovic Courtès
* gnu/packages/base.scm (findutils)[arguments]: Add #:make-flags. * gnu/packages/commencement.scm (findutils-boot0)[arguments]: Likewise.
2022-10-28gnu: grep: Skip failing tests on GNU/Hurd.Ludovic Courtès
* gnu/packages/base.scm (grep)[arguments]: Add #:make-flags.
2022-10-28gnu: coreutils: Skip failing tests on GNU/Hurd.Ludovic Courtès
* gnu/packages/base.scm (coreutils)[arguments]: Add "tests/df/unreadable.sh" and "test-perror2" to the 'XFAIL_TESTS' list.
2022-10-13gnu: Add glibc-for-fhs.John Kehayias
* gnu/packages/base.scm (glibc-for-fhs): New variable. Hidden package for use in forthcoming --emulate-fhs option for guix containers. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2022-09-08gnu: glibc: Update to 2.35.zamfofex
* gnu/packages/base.scm (glibc): Update to 2.35. [arguments]: Handle empty library files. * gnu/packages/patches/glibc-hurd-clock_gettime_monotonic.patch: Adjust for renamed file. Signed-off-by: Marius Bakke <marius@gnu.org>
2022-09-08gnu: grep: Update to 3.8.Marius Bakke
* gnu/packages/base.scm (grep): Update to 3.8. * gnu/packages/commencement.scm (grep-mesboot)[native-inputs]: Add SED-MESBOOT. * gnu/packages/autotools.scm (libtool)[source](patches): Add patch. * gnu/packages/patches/libtool-grep-compat.patch: New file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2022-06-26gnu: binutils: Update to 2.38.Marius Bakke
If this commit gives a deja vu, you are not dreaming; see commit 3e3a37b2bcb1f23011fde8626559f83504177889. * gnu/packages/base.scm (binutils): Update to 2.38. [source](patches): Remove obsolete. [arguments]: Add #:make-flags. [properties]: New field. (binutils+documentation): New variable. (binutils-gold): Inherit from BINUTILS+DOCUMENTATION. * gnu/packages/make-bootstrap.scm (%binutils-static)[arguments]: Inherit #:make-flags. * gnu/packages/patches/binutils-2.37-file-descriptor-leak.patch, gnu/packages/patches/binutils-CVE-2021-45078.patch: Delete files. * gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2022-06-26gnu: coreutils: Update to 9.1.Marius Bakke
* gnu/packages/base.scm (coreutils): Update to 9.1. [source](patches): Remove. * gnu/packages/commencement.scm (coreutils-mesboot)[native-inputs]: Add SED-MESBOOT. * gnu/packages/patches/coreutils-ls.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2022-06-22Merge branch master into core-updatesLudovic Courtès
2022-06-08Merge branch 'master' into core-updatesLudovic Courtès
2022-06-01Merge remote-tracking branch 'origin/master' into stagingEfraim Flashner
2022-05-31gnu: Add glibc-locales-2.32.Ricardo Wurmus
* gnu/packages/base.scm (glibc-locales-2.32): New variable.
2022-05-31gnu: Add glibc-locales-2.31.Ricardo Wurmus
* gnu/packages/base.scm (glibc-locales-2.31): New variable.
2022-05-31gnu: Add glibc-locales-2.30.Ricardo Wurmus
* gnu/packages/base.scm (glibc-locales-2.30): New variable.