aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/base.scm
Commit message (Collapse)AuthorAge
* gnu: patch: Update to latest commit [security fixes].Maxim Cournoyer2024-06-24
| | | | | | | | | | | | | | | * gnu/packages/base.scm (patch): Rename to... (patch/pinned): ... this. Hide package. (patch): New variable. * gnu/packages/commencement.scm (patch-mesboot): Inherit from patch/pinned. (patch-boot0): Likewise. (%final-inputs): Replace patch with patch/pinned. * gnu/packages/lisp.scm (cl-asdf): Likewise. * guix/packages.scm (%standard-patch-inputs): Replace patch with patch/pinned. Fixes: https://issues.guix.gnu.org/47144 Reported-by: Mark H Weaver <mhw@netris.org> Change-Id: I54ae41b735f5ba0ebad30ebdfaabe0ccdc3f9873
* gnu: patch: Fix indentation.Maxim Cournoyer2024-05-30
| | | | | | * gnu/packages/base.scm (patch): Re-indent package. Change-Id: I97a5d8054ebacc779bead6093d150c44acdcc91c
* gnu: Add python-tzdata.Liliana Marie Prikler2024-02-03
| | | | | * gnu/packages/time.scm (python-tzdata): New variable. * gnu/packages/base.scm (tzdata): Update comment.
* gnu: Adjust to removing ed.scm and nano.scmEfraim Flashner2023-12-25
| | | | | | | | | | | | 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
* gnu: glibc-locales@2.37: Mark as hidden.Ludovic Courtès2023-12-06
| | | | | | | | | | | 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
* gnu: Add ‘libc-locales-for-target’ and related.Janneke Nieuwenhuizen2023-12-02
| | | | | | | | | | | | | 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
* gnu: commencement: Use locales for the right libc version on GNU/Hurd.Ludovic Courtès2023-11-25
| | | | | | | | | | | | | | | | | 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
* gnu: glibc: Fix CVE-2023-4911.Liliana Marie Prikler2023-10-12
| | | | | | | * 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.
* gnu: glibc-utf8-locales: Reintroduce input labels.Ludovic Courtès2023-10-01
| | | | | | | | | | 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’.
* gnu: Remove extraneous imports.Maxim Cournoyer2023-09-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* gnu: glibc/hurd: Add unsubmitted getauxval patch from upstream.Janneke Nieuwenhuizen2023-09-14
| | | | | | | | 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.
* gnu: gcc-toolchain: Add empty librt.a.Josselin Poiret2023-08-25
| | | | | * gnu/packages/commencememnt.scm (make-gcc-toolchain): Add empty librt.a. * gnu/packages/base.scm (gcc): Add a warning regarding the missing librt.a.
* gnu: commencement: Use system in %final-inputs.Christopher Baines2023-08-18
| | | | | | | | | | | | | | | | 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>
* gnu: diffutils: Remove test-perror2 from XFAIL_TESTS on the Hurd.Janneke Nieuwenhuizen2023-07-20
| | | | | | | * 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.
* gnu: findutils: Move test-strerror_r from XFAIL to skip on the Hurd.Janneke Nieuwenhuizen2023-07-20
| | | | | | * 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.
* Revert "gnu: sed: Skip failing test on GNU/Hurd."Janneke Nieuwenhuizen2023-07-20
| | | | | This reverts commit 779757047997d315d899b40c199be3709115cce4, as the gnulib "tests-perror2" test now passes.
* gnu: grep: Update hanging and failing tests on the Hurd.Janneke Nieuwenhuizen2023-07-20
| | | | | | | * 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.
* gnu: coreutils: Skip hanging and failing test on the Hurd.Janneke Nieuwenhuizen2023-07-20
| | | | | | | | * 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.
* gnu: Add libc-for-target and glibc/hurd.Josselin Poiret2023-07-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* gnu: glibc/hurd-headers: Properly cross-build.Josselin Poiret2023-07-13
| | | | | | | * 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.
* gnu: Use target-hurd?, system-hurd? instead of hurd-target?, hurd-system?.Janneke Nieuwenhuizen2023-06-17
| | | | | | | | * 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.
* gnu: glibc-2.33: Fix building for riscv64-linux.Efraim Flashner2023-06-14
| | | | | | * 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.
* gnu: findutils: Update XFAIL_TESTS for the hurd.Christopher Baines2023-05-07
| | | | | | | | | 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.
* gnu: glibc: Reintroduce version 2.33.Ludovic Courtès2023-04-19
| | | | * gnu/packages/base.scm (glibc-2.33): New variable.
* gnu: glibc: Work around broken GNU Mach header detection.Ludovic Courtès2023-03-30
| | | | | | | | | * 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>
* Merge remote-tracking branch 'savannah/master' into core-updatesChristopher Baines2023-03-02
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * gnu: binutils-gold: Remove input label.Ludovic Courtès2023-02-25
| | | | | | | | * gnu/packages/base.scm (binutils-gold)[native-inputs]: Remove label.
* | gnu: guile: Remove input labels.Ludovic Courtès2023-02-26
| | | | | | | | | | | | | | | | | | * 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.
* | gnu: coreutils: Disable 64-bit time_t on 32-bit systems.Efraim Flashner2023-02-19
| | | | | | | | | | | | | | 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.
* | gnu: tar: Actually fix test suite on 32-bit systems.Efraim Flashner2023-02-14
| | | | | | | | | | | | | | 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.
* | gnu: tar: Fix test suite on 32-bit systems.Efraim Flashner2023-02-14
| | | | | | | | | | * gnu/packages/base.scm (tar)[arguments]: When building for 32-bit systems skip a test known by upstream to fail.
* | Merge remote-tracking branch 'origin/master' into core-updatesEfraim Flashner2023-01-30
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * gnu: grep: Skip 'triple-backref' test.Ludovic Courtès2022-11-23
| | | | | | | | | | * gnu/packages/base.scm (grep)[arguments]: Add 'skip-triple-backref-test' phase for GNU/Hurd.
| * gnu: coreutils: Disable the test-tls tests on the hurd.Christopher Baines2022-11-02
| | | | | | | | | | | | | | | | | | 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.
| * gnu: tar: Add chained renames and Directory to hurd skipped tests.Christopher Baines2022-10-30
| | | | | | | | | | * gnu/packages/base.scm (tar)[arguments]: Include chained renames and Directory in the tests skipped for when building for the hurd.
| * gnu: diffutils: Add large-subopt to XFAIL_TESTS for the hurd.Christopher Baines2022-10-30
| | | | | | | | | | * gnu/packages/base.scm (diffutils)[arguments]: Add large-subopt to XFAIL_TESTS for the hurd.
| * gnu: coreutils: Remove test-tls from XFAIL_TESTS for the hurd.Christopher Baines2022-10-30
| | | | | | | | | | | | | | As this test passes. * gnu/packages/base.scm (coreutils)[arguments]: Remove test-tls from XFAIL_TESTS for the hurd.
| * gnu: sed: Skip failing test on GNU/Hurd.Christopher Baines2022-10-28
| | | | | | | | * gnu/packages/base.scm (sed)[arguments]: Add #:make-flags.
| * gnu: diffutils: Skip failing test on GNU/Hurd.Christopher Baines2022-10-28
| | | | | | | | | | | | * gnu/packages/base.scm (diffutils)[arguments]: Add #:make-flags. * gnu/packages/commencement.scm (diffutils-boot0)[arguments]: Adjust to always use substitute-keyword-arguments.
| * gnu: findutils: Skip failing test on GNU/Hurd.Ludovic Courtès2022-10-28
| | | | | | | | | | * gnu/packages/base.scm (findutils)[arguments]: Add #:make-flags. * gnu/packages/commencement.scm (findutils-boot0)[arguments]: Likewise.
| * gnu: grep: Skip failing tests on GNU/Hurd.Ludovic Courtès2022-10-28
| | | | | | | | * gnu/packages/base.scm (grep)[arguments]: Add #:make-flags.
| * gnu: coreutils: Skip failing tests on GNU/Hurd.Ludovic Courtès2022-10-28
| | | | | | | | | | * gnu/packages/base.scm (coreutils)[arguments]: Add "tests/df/unreadable.sh" and "test-perror2" to the 'XFAIL_TESTS' list.
| * gnu: Add glibc-for-fhs.John Kehayias2022-10-13
| | | | | | | | | | | | | | * 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>
* | gnu: glibc: Update to 2.35.zamfofex2022-09-08
| | | | | | | | | | | | | | | | | | * 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>
* | gnu: grep: Update to 3.8.Marius Bakke2022-09-08
| | | | | | | | | | | | | | | | | | * 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.
* | gnu: binutils: Update to 2.38.Marius Bakke2022-06-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | gnu: coreutils: Update to 9.1.Marius Bakke2022-06-26
| | | | | | | | | | | | | | | | | | * 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.
* | Merge branch master into core-updatesLudovic Courtès2022-06-22
|\|
| * Merge remote-tracking branch 'origin/master' into stagingEfraim Flashner2022-06-01
| |\
| * | gnu: tzdata: Update to 2022a.Leo Famulari2022-05-08
| | | | | | | | | | | | * gnu/packages/base.scm (tzdata): Update to 2022a.