summaryrefslogtreecommitdiff
path: root/gnu/packages/base.scm
AgeCommit message (Expand)Author
2024-02-03gnu: Add python-tzdata....* gnu/packages/time.scm (python-tzdata): New variable. * gnu/packages/base.scm (tzdata): Update comment. Liliana Marie Prikler
2023-12-25gnu: Adjust to removing ed.scm and nano.scm...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 Efraim Flashner
2023-12-06gnu: glibc-locales@2.37: Mark as hidden....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 Ludovic Courtès
2023-12-02gnu: Add ‘libc-locales-for-target’ and related....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 Janneke Nieuwenhuizen
2023-11-25gnu: commencement: Use locales for the right libc version on GNU/Hurd....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 Ludovic Courtès
2023-10-12gnu: glibc: Fix CVE-2023-4911....* 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. Liliana Marie Prikler
2023-10-01gnu: glibc-utf8-locales: Reintroduce input labels....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’. Ludovic Courtès
2023-09-17gnu: Remove extraneous imports....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> Maxim Cournoyer
2023-09-14gnu: glibc/hurd: Add unsubmitted getauxval patch from upstream....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. Janneke Nieuwenhuizen
2023-08-25gnu: gcc-toolchain: Add empty librt.a....* gnu/packages/commencememnt.scm (make-gcc-toolchain): Add empty librt.a. * gnu/packages/base.scm (gcc): Add a warning regarding the missing librt.a. Josselin Poiret
2023-08-18gnu: commencement: Use system in %final-inputs....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> Christopher Baines
2023-07-20gnu: diffutils: Remove test-perror2 from XFAIL_TESTS on the Hurd....* 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. Janneke Nieuwenhuizen
2023-07-20gnu: findutils: Move test-strerror_r from XFAIL to skip on the Hurd....* 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. Janneke Nieuwenhuizen
2023-07-20Revert "gnu: sed: Skip failing test on GNU/Hurd."...This reverts commit 779757047997d315d899b40c199be3709115cce4, as the gnulib "tests-perror2" test now passes. Janneke Nieuwenhuizen
2023-07-20gnu: grep: Update hanging and failing tests on the Hurd....* 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. Janneke Nieuwenhuizen
2023-07-20gnu: coreutils: Skip hanging and failing test on the Hurd....* 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. Janneke Nieuwenhuizen
2023-07-13gnu: Add libc-for-target and glibc/hurd....* 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> Josselin Poiret
2023-07-13gnu: glibc/hurd-headers: Properly cross-build....* 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. Josselin Poiret
2023-06-17gnu: Use target-hurd?, system-hurd? instead of hurd-target?, hurd-system?....* 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. Janneke Nieuwenhuizen
2023-06-14gnu: glibc-2.33: Fix building for riscv64-linux....* 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. Efraim Flashner
2023-05-07gnu: findutils: Update XFAIL_TESTS for the hurd....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. Christopher Baines
2023-04-19gnu: glibc: Reintroduce version 2.33....* gnu/packages/base.scm (glibc-2.33): New variable. Ludovic Courtès
2023-03-30gnu: glibc: Work around broken GNU Mach header detection....* 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> Ludovic Courtès
2023-03-02Merge remote-tracking branch 'savannah/master' into core-updates...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 Christopher Baines
2023-02-26gnu: guile: Remove input labels....* 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. Ludovic Courtès
2023-02-19gnu: coreutils: Disable 64-bit time_t on 32-bit systems....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. Efraim Flashner
2023-02-25gnu: binutils-gold: Remove input label....* gnu/packages/base.scm (binutils-gold)[native-inputs]: Remove label. Ludovic Courtès
2023-02-14gnu: tar: Actually fix test suite on 32-bit systems....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. Efraim Flashner
2023-02-14gnu: tar: Fix test suite on 32-bit systems....* gnu/packages/base.scm (tar)[arguments]: When building for 32-bit systems skip a test known by upstream to fail. Efraim Flashner
2023-01-30Merge remote-tracking branch 'origin/master' into core-updates... 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 Efraim Flashner
2022-11-23gnu: grep: Skip 'triple-backref' test....* gnu/packages/base.scm (grep)[arguments]: Add 'skip-triple-backref-test' phase for GNU/Hurd. Ludovic Courtès
2022-11-02gnu: coreutils: Disable the test-tls tests on the hurd....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. Christopher Baines
2022-10-30gnu: tar: Add chained renames and Directory to hurd skipped tests....* gnu/packages/base.scm (tar)[arguments]: Include chained renames and Directory in the tests skipped for when building for the hurd. Christopher Baines
2022-10-30gnu: diffutils: Add large-subopt to XFAIL_TESTS for the hurd....* gnu/packages/base.scm (diffutils)[arguments]: Add large-subopt to XFAIL_TESTS for the hurd. Christopher Baines
2022-10-30gnu: coreutils: Remove test-tls from XFAIL_TESTS for the hurd....As this test passes. * gnu/packages/base.scm (coreutils)[arguments]: Remove test-tls from XFAIL_TESTS for the hurd. Christopher Baines
2022-10-28gnu: sed: Skip failing test on GNU/Hurd....* gnu/packages/base.scm (sed)[arguments]: Add #:make-flags. Christopher Baines
2022-10-28gnu: diffutils: Skip failing test on GNU/Hurd....* gnu/packages/base.scm (diffutils)[arguments]: Add #:make-flags. * gnu/packages/commencement.scm (diffutils-boot0)[arguments]: Adjust to always use substitute-keyword-arguments. Christopher Baines
2022-10-28gnu: findutils: Skip failing test on GNU/Hurd....* gnu/packages/base.scm (findutils)[arguments]: Add #:make-flags. * gnu/packages/commencement.scm (findutils-boot0)[arguments]: Likewise. Ludovic Courtès
2022-10-28gnu: grep: Skip failing tests on GNU/Hurd....* gnu/packages/base.scm (grep)[arguments]: Add #:make-flags. Ludovic Courtès
2022-10-28gnu: coreutils: Skip failing tests on GNU/Hurd....* gnu/packages/base.scm (coreutils)[arguments]: Add "tests/df/unreadable.sh" and "test-perror2" to the 'XFAIL_TESTS' list. Ludovic Courtès
2022-10-13gnu: Add glibc-for-fhs....* 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> John Kehayias
2022-09-08gnu: glibc: Update to 2.35....* 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> zamfofex
2022-09-08gnu: grep: Update to 3.8....* 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. Marius Bakke
2022-06-26gnu: binutils: Update to 2.38....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. Marius Bakke
2022-06-26gnu: coreutils: Update to 9.1....* 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. Marius Bakke
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....* gnu/packages/base.scm (glibc-locales-2.32): New variable. Ricardo Wurmus
2022-05-31gnu: Add glibc-locales-2.31....* gnu/packages/base.scm (glibc-locales-2.31): New variable. Ricardo Wurmus