summaryrefslogtreecommitdiff
path: root/gnu/packages/base.scm
AgeCommit message (Collapse)Author
2021-11-11gnu: make-ld-wrapper: Add a LINKER argument.Maxim Cournoyer
This allows creating wrappers for other linkers than "ld", such as "ld.gold". * gnu/packages/base.scm (make-ld-wrapper): New variable. [linker]: New argument. Update doc. <ld>: Use LINKER to derive the linker source.
2021-11-11gnu: diffutils: Update to 3.8.Thiago Jung Bauermann
‘coreutils-gnulib-tests.patch’ is applied in the gnulib version shipped with 3.8. * gnu/packages/base.scm (diffutils): Update to 3.8. [source]: Do not apply coreutils-gnulib-tests.patch. Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-11-11gnu: diffutils: Fix signal processing.Thiago Jung Bauermann
diffutils has a race condition in its signal processing code which is easy to trigger on powerpc64le-linux. More often than not, it causes the ‘colors’ test to fail and therefore the build of the package fails as well. Add the patch proposed in Debian bug 922552 which fixes the problem. * gnu/packages/patches/diffutils-fix-signal-processing.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/base.scm (diffutils)[source]: Use it. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-11-11gnu: tzdata: Update to 2021e.Leo Famulari
* gnu/packages/base.scm (tzdata, tzdata-for-tests): Update to 2021e. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-11-11gnu: glibc: Look for the current timezone in /etc/localtime.Ludovic Courtès
Fixes <https://issues.guix.gnu.org/50830>. Reported by podiki on #guix. Previously, glibc 2.33 would look for /gnu/store/...-glibc-2.33/etc/localtime instead of /etc/localtime. * gnu/packages/base.scm (glibc)[arguments]: Remove #:make-flags. [phases]: In 'pre-configure', modify 'inet/Makefile' instead of 'sunrpc/Makefile' since this is where these bits are in 2.33. (glibc-2.31)[arguments]: Add 'set-etc-rpc-installation-directory' phase. (glibc-2.30): Inherit from GLIBC-2.31. * gnu/tests/base.scm (run-basic-test)["libc honors /etc/localtime"]: New test. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-11-11gnu: glibc: Remove unneeded nscd patching.Ludovic Courtès
This change had no effect already in glibc 2.29, which has proper versioning. * gnu/packages/base.scm (glibc)[arguments]: Remove obsolete 'nscd/nscd_stat.c' 'substitute*' statement. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-09-14gnu: make-4.2: Fix build.Guillaume Le Vaillant
* gnu/packages/base.scm (gnu-make-4.2)[arguments]: Add "-D__stat=stat" to 'configure-flags'.
2021-09-08gnu: glibc@2.29: Fix build error.Ludovic Courtès
* gnu/packages/base.scm (glibc-2.29): Inherit from GLIBC-2.30. [sources]: Use "glibc-skip-c++.patch".
2021-09-08gnu: glibc@2.30: Fix build error.Ludovic Courtès
* gnu/packages/base.scm (glibc-2.30)[native-inputs]: New field. [source]: Use "glibc-skip-c++.patch".
2021-09-08gnu: glibc@2.31: Fix build error.Ludovic Courtès
* gnu/packages/patches/glibc-skip-c++.patch: New file. * gnu/packages/base.scm (glibc-2.31)[source]: Use it. * gnu/local.mk (dist_patch_DATA): Add it.
2021-09-08gnu: binutils: Fix file decriptor leak.Guillaume Le Vaillant
* gnu/packages/patches/binutils-2.37-file-descriptor-leak.patch: New file. * gnu/packages/local.mk (dist_patch_DATA): Add it. * gnu/packages/base.scm (binutils)[source]: Use it.
2021-07-24gnu: glibc: Remove versions 2.27 and 2.28.Ludovic Courtès
* gnu/packages/base.scm (glibc-2.28, glibc-2.27): Remove. * gnu/packages/patches/glibc-2.27-git-fixes.patch, gnu/packages/patches/glibc-2.27-supported-locales.patch, gnu/packages/patches/glibc-2.28-git-fixes.patch, gnu/packages/patches/glibc-2.28-supported-locales.patch: Remove. * gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2021-07-24gnu: tzdata: Remove input labels.Ludovic Courtès
* gnu/packages/base.scm (tzdata)[arguments]: Turn flags and phases into a gexp. [inputs]: Turn into a plain list.
2021-07-23gnu: binutils: Update to 2.37.Marius Bakke
* gnu/packages/patches/binutils-loongson-workaround.patch: Adjust for upstream changes. * gnu/packages/patches/binutils-libiberty-endianness-bug.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/base.scm (binutils): Update to 2.37. [source](patches): Remove obsolete patch.
2021-07-23gnu: coreutils-minimal: Do not build documentation.Marius Bakke
...and avoid an upcoming circular dependency on Perl. * gnu/packages/base.scm (coreutils-minimal)[native-inputs]: Empty field.
2021-07-23gnu: tzdata-for-tests: Update to 2021a.Marius Bakke
* gnu/packages/base.scm (tzdata-for-tests): Update to 2021a.
2021-07-23gnu: glibc: Remove obsolete patch.Marius Bakke
* gnu/packages/base.scm (glibc)[source](patches): Remove glibc-hidden-visibility-ldconfig.patch.
2021-07-21gnu: glibc-2.31: Restore patches.Chris Marusich
Commit 87961fc965b96ac0c7a5909ac2faab2d023b5339 inadvertently modified the patch set for glibc-2.31. This change restores the original patch set. Fixes: <https://bugs.gnu.org/49516>. * gnu/packages/base.scm (glibc-2.31) [source]: Use the same patches as glibc, but replace glibc-hurd-clock_gettime_monotonic.patch with glibc-2.31-hurd-clock_gettime_monotonic.patch, and add glibc-hurd-signal-sa-siginfo.patch. * gnu/packages/patches/glibc-2.31-hurd-clock_gettime_monotonic.patch: Add it. * gnu/packages/patches/glibc-hurd-signal-sa-siginfo.patch: Add it. * gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2021-07-18gnu: sed, diffutils: Patch faulty Gnulib tests.Ludovic Courtès
This is a followup to c823b958256ba1db6cf896400fae218e4261266e, fixing tests for sed and diffutils on armhf-linux. * gnu/packages/base.scm (sed)[source]: Add "coreutils-gnulib-tests.patch". (diffutils)[source]: Likewise. * gnu/packages/commencement.scm (diffutils-boot0)[source]: New field.
2021-07-14tzdata: Don't bother with cross-compiling.Maxime Devos
The time zone database is architecture-independent, so trying to cross-compile it is pointless! * gnu/packages/base.scm (tzdata)[arguments]<#:target>: Set to #f. (tzdata)[allowed-references]: Only include the "out" output itself, to make sure no (architecture-dependent) binaries are installed. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-07-11gnu: Change inputs of core packages to plain lists.Ludovic Courtès
This is transparent: the resulting derivations are unchanged. * gnu/packages/base.scm (grep, sed, tar, patch, diffutils, glibc/hurd-headers) (coreutils, gnu-make, make-glibc-utf8-locales): Change input fields to plain package lists and use 'modify-inputs'. * gnu/packages/guile.scm (guile-1.8, guile-json-1, guile-json-3) (guile-gdbm-ffi, guile-sqlite3, guile-bytestructures) (guile-git, guile-zlib, guile-lzlib, guile-zstd, guile-next): Likewise. * gnu/packages/mes.scm (nyacc-0.86, nyacc-0.99) (nyacc, nyacc-1.00.2, mes-0.19, mes, m2-planet): Likewise.
2021-07-10gnu: coreutils: Patch broken Gnulib tests.Ludovic Courtès
Fixes <https://bugs.gnu.org/49459>. * gnu/packages/patches/coreutils-gnulib-tests.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/base.scm (coreutils)[source]: Use it.
2021-07-08gnu: glibc: Fix cross-compilation to powerpc64le-linux-gnu.Ludovic Courtès
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.
2021-07-04gnu: glibc: Fix cross-compilation to aarch64-linux-gnu.Ludovic Courtès
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.
2021-06-11gnu: coreutils: Disable inotify-dir-recreate testCarl Dong
This test fails on filesystems where tail detects that it cannot use inotify safely. See https://issues.guix.gnu.org/47935 for more details. * gnu/packages/base.scm (coreutils)[phases]: Disable inotify-dir-recreate tests, quote Hurd substitute* call to reduce rebuilds.
2021-05-23gnu: binutils: Fix bug in test suite in libiberty.Efraim Flashner
* 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.
2021-05-09gnu: libcap: Update to 2.49.Marius Bakke
* gnu/packages/linux.scm (libcap-2.31): Rename to ... (libcap): ... this: Update to 2.49. [arguments]: Adjust substitution. (libcap/next): Remove variable. * gnu/packages/avahi.scm (avahi)[inputs]: Change from LIBCAP/NEXT to LIBCAP. * gnu/packages/base.scm (coreutils)[inputs]: Likewise.
2021-04-16Merge remote-tracking branch 'origin/master' into core-updatesEfraim Flashner
Conflicts: gnu/local.mk gnu/packages/boost.scm gnu/packages/chez.scm gnu/packages/compression.scm gnu/packages/crates-io.scm gnu/packages/docbook.scm gnu/packages/engineering.scm gnu/packages/gcc.scm gnu/packages/gl.scm gnu/packages/gtk.scm gnu/packages/nettle.scm gnu/packages/python-check.scm gnu/packages/python-xyz.scm gnu/packages/radio.scm gnu/packages/rust.scm gnu/packages/sqlite.scm guix/build-system/node.scm
2021-04-09gnu: glibc: Update to 2.33.Ludovic Courtès
* gnu/packages/base.scm (glibc): Update to 2.33. [source]: Remove "glibc-hurd-signal-sa-siginfo.patch", now upstream. * gnu/packages/patches/glibc-hurd-clock_gettime_monotonic.patch: Update. * gnu/packages/patches/glibc-hurd-signal-sa-siginfo.patch: Remove. * gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2021-03-26gnu: tzdata: Update to 2021a.Vincent Legoll
* gnu/packages/base.scm (tzdata): Update to 2021a. [inputs]: Update tzcode. Signed-off-by: Leo Famulari <leo@famulari.name>
2021-03-24gnu: glibc: Absorb powerpc patch.Efraim Flashner
* gnu/packages/base.scm (glibc)[source]: Add patch. [arguments]: Remove 'apply-patch phase. [native-inputs]: Remove patch file. * gnu/packages/commencement.scm (glibc-final-with-bootstrap-bash, glibc-final)[native-inputs]: Remove patch file.
2021-03-24Merge remote-tracking branch 'origin/master' into core-updatesEfraim Flashner
2021-03-23gnu: sed: Make it build on SELinux-enabled kernels.Chris Marusich
Fixes: <https://bugs.gnu.org/41498>. * gnu/packages/base.scm (sed)[arguments]: New field. This adds a snippet, equivalent to the patch submitted upstream, which fixes an issue that prevents sed from building on SELinux-enabled kernels. Adjusted by Efraim Flashner to apply to master.
2021-03-23gnu: glibc: Fix ldd path on powerpc*.Leo Le Bouter
This should avoid some problems, such as "not a dynamic executable" errors. * gnu/packages/patches/glibc-ldd-powerpc.patch: New patch. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/base.scm: (glibc)[native-inputs]: Add it. [arguments]: When building for powerpc* apply it. * gnu/packages/commencement.scm (glibc-final-with-bootstrap-bash, glibc-final)[native-inputs]: Add patch conditionally. This patch has been adjusted to apply to master. Signed-off-by: Chris Marusich <cmmarusich@gmail.com> Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-02-18gnu: binutils: Update to 2.36.1.Vincent Legoll
* gnu/packages/base.scm (binutils): Update to 2.36.1. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-02-18gnu: tar: Update to 1.34.Efraim Flashner
* gnu/packages/base.scm (tar): Update to 1.34.
2021-01-26gnu: binutils: Update to 2.36.Efraim Flashner
* gnu/packages/base.scm (binutils): Update to 2.36.
2021-01-15gnu: tar: Update to 1.33.Ludovic Courtès
* gnu/packages/base.scm (tar): Update to 1.33.
2021-01-15gnu: findutils: Update to 4.8.0.Ludovic Courtès
* gnu/packages/base.scm (findutils): Update to 4.8.0. [source](patches): Remove "findutils-test-rwlock-threads.patch". * gnu/packages/patches/findutils-test-rwlock-threads.patch: Remove. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/commencement.scm (findutils-boot0)[arguments]: Add 'skip-fnmatch-test' phase.
2021-01-13Merge branch 'staging' into 'core-updates'.Maxim Cournoyer
Conflicts: gnu/local.mk gnu/packages/cmake.scm gnu/packages/curl.scm gnu/packages/gl.scm gnu/packages/glib.scm gnu/packages/guile.scm gnu/packages/node.scm gnu/packages/openldap.scm gnu/packages/package-management.scm gnu/packages/python-xyz.scm gnu/packages/python.scm gnu/packages/tls.scm gnu/packages/vpn.scm gnu/packages/xorg.scm
2021-01-10Merge branch 'master' into stagingEfraim Flashner
2021-01-07gnu: tzdata-for-tests: Update to 2020d.Leo Famulari
* gnu/packages/base.scm (tzdata-for-tests): Update to 2020d. [inputs]: Update tzcode.
2021-01-07gnu: tzdata: Update to 2020f.Leo Famulari
* gnu/packages/base.scm (tzdata): Update to 2020f. [inputs]: Update tzcode.
2021-01-07gnu: base: Add keywords to make-glibc-utf8-locales.Miguel Ángel Arruga Vivas
* gnu/packages/base.scm (make-glibc-utf8-locales): Add keyword parameters locales and name with the old values as default. [name]: Use name parameter. [arguments]: Use locales parameter. Co-authored-by: Efraim Flashner <efraim@flashner.co.il> Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2020-12-01gnu: glibc: Load 'etc/ld.so.cache' in $ORIGIN's store item when available.Ludovic Courtès
* gnu/packages/patches/glibc-dl-cache.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/base.scm (glibc)[source]: Remove 'snippet' and 'modules'. [arguments]: In 'pre-configure' phase, substitute @STORE_DIRECTORY@ in 'elf/dl-cache.c'.
2020-11-29Merge remote-tracking branch 'origin/master' into core-updatesChristopher Baines
2020-11-25gnu: base, gcc: Removing trailing #t from snippets.Ludovic Courtès
* gnu/packages/base.scm (libiconv)[source]: Remove trailing #t from 'snippet'. * gnu/packages/gcc.scm (gcc-4.8)[source]: Likewise. (gcc-4.9)[source]: Likewise. (gcc-5)[source]: Likewise.
2020-11-25gnu: base, commencement: Remove trailing #t from build phases.Ludovic Courtès
* gnu/packages/base.scm (grep, tar, findutils) (coreutils, coreutils-8.30, gnu-make, gnu-make-4.2) (binutils-gold, glibc, make-glibc-locales): (glibc/hurd-headers, tzdata): Remove trailing #t in build phases. * gnu/packages/commencement.scm (bootar) (gash-boot, gash-utils-boot, mes-boot): (gzip-mesboot, gnu-make-mesboot0, bzip2-mesboot) (bash-mesboot0, tcc-boot, diffutils-mesboot) (patch-mesboot, sed-mesboot0, binutils-mesboot0) (gcc-core-mesboot0, mesboot-headers, gawk-mesboot0) (glibc-mesboot0, gcc-mesboot0, tar-mesboot) (grep-mesboot, binutils-mesboot1, gnu-make-mesboot) (gawk-mesboot, sed-mesboot, bash-mesboot) (gcc-core-mesboot1, gcc-mesboot1, binutils-mesboot) (glibc-headers-mesboot, glibc-mesboot, gcc-mesboot1-wrapper) (gcc-mesboot, gnu-make-boot0, binutils-boot0) (libstdc++-boot0, gcc-boot0, perl-boot0, python-boot0) (glibc-final-with-bootstrap-bash) (cross-gcc-wrapper, gettext-boot0, gcc-final): Remove trailing #t in build phases.
2020-11-17gnu: grep: Update to 3.6.Ludovic Courtès
* gnu/packages/base.scm (grep): Update to 3.6.
2020-11-07gnu: tzdata: Update to 2020d.Marius Bakke
* gnu/packages/base.scm (tzdata): Update to 2020d.