aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/base.scm
AgeCommit message (Collapse)Author
2020-04-24gnu: Remove obsolete glibc-locales packages.Marius Bakke
* gnu/packages/base.scm (glibc-utf8-locales-2.27, glibc-locales-2.27): Remove variables.
2020-04-24gnu: Update glibc locale compatibility packages for 2.29.Marius Bakke
* gnu/packages/base.scm (glibc-locales-2.28, glibc-utf8-locales-2.28): Rename to ... (glibc-locales-2.29, glibc-utf8-locales-2.29): ... this. Update to 2.29.
2020-04-20gnu: tar: Disable troublesome tests on the Hurd.Jan (janneke) Nieuwenhuizen
The sparse03.at test apparently freezes the Hurd; messages on the console: 165: listing sparse files bigger than 2^33 ext2fs: device:hd0s1: warning: bit already cleared for block 245780 ext2fs: device:hd0s1: warning: bit already cleared for block 245781 ext2fs: device:hd0s1: warning: bit already cleared for block 245782 ... ext2fs: BUG: unexpected fault on disk image ... err 0xa ext2fs: disk-pager.c:98: fault_handler: Assertion 'err' failed. the other tests just fail. * gnu/packages/base.scm (tar)[arguments]: When compiling for the Hurd, skip `sparse' and failing tests.
2020-04-20gnu: coreutils: Mark three more tests XFAIL on the Hurd.Jan (janneke) Nieuwenhuizen
* gnu/packages/base.scm (coreutils)[arguments]: Add three more failing tests.
2020-04-01Revert "gnu: coreutils: Fix cross-compilation to i586-pc-gnu."Ludovic Courtès
This reverts commit 67cbfeae30eb9b7c56145bf72582d71eea177370, which is not longer necessary now that the 'ld.so' linker script of the cross glibc contains "libhurduser.so libmachuser.so".
2020-03-31gnu: coreutils: Fix cross-compilation to i586-pc-gnu.Ludovic Courtès
Until now cross-compilation would fail with: i586-pc-gnu-ld: src/copy.o: undefined reference to symbol 'file_chauthor' i586-pc-gnu-ld: /gnu/store/…-glibc-cross-i586-pc-gnu-2.29/lib/libhurduser.so.0.3: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status * gnu/packages/base.scm (coreutils)[arguments]: When 'hurd-target?', add #:configure-flags.
2020-03-30gnu: coreutils: Typo: Use libcap only when supported.Jan Nieuwenhuizen
* gnu/packages/base.scm (coreutils)[inputs]: Typo: Use libcap only when supported.
2020-03-29gnu: coreutils: Handle failing tests on Hurd.Jan Nieuwenhuizen
* gnu/base/coreutils.scm (coreutils)[arguments]: Use make-flags to mark some tests XFAIL_TESTS on the Hurd.
2020-03-28gnu: OpenJDK: Build with GNU Make 4.2.Marius Bakke
* gnu/packages/base.scm (gnu-make-4.2): New public variable. * gnu/packages/java.scm (openjdk9, openjdk10, openjdk11, openjdk12)[native-inputs]: Add it.
2020-03-26gnu: make: Support for the Hurd.Jan Nieuwenhuizen
* gnu/packages/base.scm (gnu-make): Use fork/exec rather than posix_spawn on the Hurd. Also, add __alloca linkage workaround.
2020-03-24gnu: glibc: Add signal SA_SIGINFO support for the Hurd.Jan Nieuwenhuizen
* gnu/packages/patches/glibc-hurd-signal-sa-siginfo.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/base.scm (glibc): Use it.
2020-03-24gnu: glibc: Add clock patches for the Hurd.Jan Nieuwenhuizen
* gnu/packages/patches/glibc-hurd-clock_t_centiseconds.patch: New file. * gnu/packages/patches/glibc-hurd-clock_gettime_monotonic.patch: New file. * gnu/local.mk (dist_patch_DATA): Update them. * gnu/packages/base.scm (glibc): Use them.
2020-03-21Merge branch 'master' into core-updatesMarius Bakke
2020-03-21gnu: coreutils: Improve description.Vitaliy Shatrov
* gnu/packages/base.scm (coreutils): Improve description and state that there is no shell included. Signed-off-by: Mathieu Othacehe <m.othacehe@gmail.com>
2020-03-18gnu: make-ld-wrapper: Default to Guile 3.0.Marius Bakke
* gnu/packages/base.scm (make-ld-wrapper): Use GUILE-3.0 as the default Guile.
2020-03-16gnu: ld-wrapper: Use _IOLBF on Guile 2.0 only.Ludovic Courtès
* gnu/packages/base.scm (make-ld-wrapper)[arguments]: Wrap use of '_IOLBF' in 'cond-expand' and use 'line instead on Guile > 2.0.
2020-03-14gnu: coreutils: Remove libcap dependency for the Hurd.Jan Nieuwenhuizen
* gnu/packages/linux.scm (libcap)[supported-systems]: Remove the Hurd. * gnu/packages/base.scm (coreutils)[inputs]: Include libcap only for supported systems. Fixes building on the Hurd.
2020-03-09gnu: coreutils: Fix cross-compilation.Mathieu Othacehe
Fix coreutils cross-compilation for aarch64 that was broken by 8.32 update. The following error occured: src/ls.c: In function 'print_dir': src/ls.c:3026:24: error: 'SYS_getdents' undeclared (first use in this function); did you mean 'SYS_getdents64'? if (syscall (SYS_getdents, dirfd (dirp), NULL, 0) == -1 ^~~~~~~~~~~~ SYS_getdents64 * gnu/packages/patches/coreutils-ls.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/base.scm (coreutils): Apply it.
2020-03-05gnu: coreutils: Update to 8.32.Marius Bakke
* gnu/packages/base.scm (coreutils): Update to 8.32. [arguments]: Remove obsolete phase.
2020-02-15gnu: glibc: Update to 2.31.Marius Bakke
* gnu/packages/patches/glibc-supported-locales.patch: Adjust for upstream changes. * gnu/packages/patches/glibc-2.29-supported-locales.patch: New file, with previous contents. * gnu/packages/patches/gcc-4.9-libsanitizer-mode-size.patch, gnu/packages/patches/gcc-6-libsanitizer-mode-size.patch, gnu/packages/patches/gcc-7-libsanitizer-mode-size.patch, gnu/packages/patches/gcc-8-libsanitizer-mode-size.patch, gnu/packages/patches/gcc-9-libsanitizer-mode-size.patch: New files. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/gcc.scm (gcc-4.9, gcc-5, gcc-6, gcc-7, gcc-8, gcc-9)[source](patches): Add the respective patch files. * gnu/packages/base.scm (glibc): Update to 2.31. [source](patches): Remove obsolete. (glibc-2.30): New public variable. (glibc-2.29)[source](patches): Adjust for renamed patch file.
2020-02-15gnu: ath9k-htc-firmware: Build with binutils@2.33.1.Marius Bakke
* gnu/packages/base.scm (binutils-2.33): New public variable. * gnu/packages/cross-base.scm (cross-binutils): Add optional BINUTILS argument. * gnu/packages/firmware.scm (ath9k-htc-firmware)[native-inputs]: Build the xtensa-elf toolchain with BINUTILS-2.33.
2020-02-15gnu: binutils: Update to 2.34.Marius Bakke
* gnu/packages/base.scm (binutils): Update to 2.34. [arguments]: Add #:make-flags. [properties]: New field. (binutils+documentation): New public variable. * gnu/packages/make-bootstrap.scm (%binutils-static)[arguments]: Inherit #:make-flags.
2020-02-06gnu: gcc: Switch back to using 'C_INCLUDE_PATH' instead of 'CPATH'.Ludovic Courtès
Fixes <https://bugs.gnu.org/30756>. Initially reported by Julien Lepiller <julien@lepiller.eu>. * gnu/packages/base.scm (make-gcc-libc): Remove 'treat-glibc-as-system-header' phase from 'arguments'. * gnu/packages/commencement.scm (gcc-final): Likewise. * gnu/packages/gcc.scm (gcc-4.7)[arguments]: Add "include/c++" to 'CPLUS_INCLUDE_PATH'. (gcc-6)[native-search-paths]: Remove. * gnu/packages/make-bootstrap.scm (gcc-for-bootstrap): Remove 'native-search-paths' and 'arguments'. * gnu/packages/patches/python-2.7-search-paths.patch, gnu/packages/patches/python-3-search-paths.patch: Replace "CPATH" with "C_INCLUDE_PATH". * guix/build-system/cmake.scm (lower): When not cross-compiling, move INPUTS from the 'host-inputs' field to the 'build-inputs' field of the bag, right after NATIVE-INPUTS. * guix/build-system/glib-or-gtk.scm (lower): Likewise. * guix/build-system/gnu.scm (lower): Likewise. * guix/build-system/meson.scm (lower): Likewise.
2020-01-21gnu: make: Update to 4.3.Marius Bakke
* gnu/packages/patches/make-impure-dirs.patch: Adjust for renamed files. * gnu/packages/patches/make-glibc-compat.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/base.scm (gnu-make): Update to 4.3. [source](uri): Change to ".gz" tarball. [source](patches): Remove obsolete. [arguments]: Remove #:configure-flags. Adjust for renamed files. [inputs]: Change from GUILE-2.0 to GUILE-3.0. * gnu/packages/commencement.scm (gnu-make-boot0)[arguments]: Add #:configure-flags.
2020-01-21gnu: tzdata-for-tests: Update to 2019c.Marius Bakke
* gnu/packages/base.scm (tzdata-for-tests): Inherit all of TZDATA.
2020-01-15gnu: sed: Update to 4.8.Efraim Flashner
* gnu/packages/base.scm (sed): Update to 4.8. [source]: Download gzip tarball.
2020-01-14gnu: grep: Update to 3.4.Marius Bakke
* gnu/packages/base.scm (grep): Update to 3.4.
2020-01-14gnu: findutils: Fix bootstrap on aarch64-linux and armhf-linux.Marius Bakke
* gnu/packages/patches/findutils-test-rwlock-threads.patch: New file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/base.scm (findutils)[source](patches): Add it.
2019-12-05gnu: findutils: Update to 4.7.0.Marius Bakke
* gnu/packages/patches/findutils-gnulib-libio.patch, gnu/packages/patches/findutils-makedev.patch, gnu/packages/patches/findutils-test-xargs.patch: Delete files. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/base.scm (findutils): Update to 4.7.0. [source](uri): Adjust for file name change. [source](snippet): Remove. [source](patches): Remove obsolete. [arguments]: Remove obsolete workaround. Add phase to patch tests. * gnu/packages/commencement.scm (findutils-boot0)[arguments]: Allow 32-bit time_t on 64-bit systems.
2019-12-05gnu: glibc: Update to 2.30.Marius Bakke
* gnu/packages/patches/glibc-CVE-2019-19126.patch: New file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/base.scm (glibc): Update to 2.30. [source](patches): Adjust for 2.30. (glibc-2.29): New public variable.
2019-12-05Merge branch 'master' into core-updatesMarius Bakke
2019-11-27gnu: binutils: Update to 2.33.1.Efraim Flashner
* gnu/packages/base.scm (binutils): Update to 2.33.1.
2019-11-15Merge branch 'master' into stagingMarius Bakke
2019-10-30gnu: Fix make-gcc-libc.Carl Dong
Until now the following wouldn't build: --8<---------------cut here---------------start------------->8--- (use-modules (gnu packages commencement) (gnu packages gcc) (gnu packages base)) (make-gcc-libc gcc-9 glibc-2.27) --8<---------------cut here---------------end--------------->8--- * gnu/packages/base.scm (make-gcc-libc)[phases]: Add environment variables to place the target libc on the system header search path. [make-flags]: Remove unncessary FLAGS_FOR_TARGET. [native-inputs]: Construct in a way that doesn't require emptying inputs.
2019-10-08gnu: tzdata: Update to 2019c.Marius Bakke
* gnu/packages/base.scm (tzdata): Update to 2019c. (tzdata-for-tests): Stay on 2019b.
2019-09-24gnu: Add locale packages for glibc 2.28.Ludovic Courtès
* gnu/packages/base.scm (glibc-locales-2.28, glibc-utf8-locales-2.28): New variables. (glibc-locales-2.27, glibc-utf8-locales-2.27): Deprecate.
2019-09-06Merge branch 'master' into core-updatesMark H Weaver
2019-09-04gnu: glibc-utf8-locales: Fix cross-compilation.Mathieu Othacehe
* gnu/packages/base.scm (glibc-utf8-locales)[inputs]: Move to ... [native-inputs]: ... here, in order to fix cross-compilation. * gnu/packages/commencement.scm (glibc-utf8-locales-final)[inputs]: Move to ... [native-inputs]: ... here, in order to fix cross-compilation.
2019-07-17Merge branch 'master' into core-updatesLudovic Courtès
2019-07-16gnu: Allow building toolchain with non-default libc.Carl Dong
* gnu/packages/base.scm (make-gcc-libc): Make public. * gnu/packages/commencement.scm (make-gcc-toolchain): Add 'libc' optional argument to specify using a non-default glibc package, also make public.
2019-07-09gnu: make-glibc-locales: Adjust patch for glibc 2.29.Kei Kebreau
The patch for glibc 2.28 and earlier replaces the same content, but the context in the patch is different enough to fail to merge. * gnu/packages/base.scm (make-glibc-locales)[source]: Add patch. * gnu/packages/patches/glibc-locales.patch: Adjust for glibc 2.29 and move old file... * gnu/packages/patches/glibc-locales-2.28.patch: ...here. * gnu/local.mk (dist_patch_DATA): Add it.
2019-07-08gnu: glibc: Add 2.27 supported locales patch.Carl Dong
The 'glibc-supported-locales.patch' was updated for glibc 2.29, breaking compatibility with 2.27. Add a 2.27-specific supported locales patch. * gnu/packages/patches/glibc-2.27-supported-locales.patch: New file. * gnu/packages/base.scm (glibc-2.27)[source](patches): Use 'glibc-2.27-supported-locales.patch' instead. * gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2019-07-02gnu: tzdata-for-tests: Update to 2019b.Marius Bakke
* gnu/packages/base.scm (tzdata-for-tests)[version, source, inputs]: Remove.
2019-07-02Merge branch 'staging' into core-updatesMarius Bakke
2019-07-02gnu: tzdata: Update to 2019b.Marius Bakke
* gnu/packages/base.scm (tzdata): Update to 2019b.
2019-07-02gnu: glibc: Update to 2.29.Marius Bakke
* gnu/packages/patches/glibc-bootstrap-system.patch, gnu/packages/patches/glibc-supported-locales.patch: Adjust for glibc 2.29. * gnu/packages/patches/glibc-2.28-supported-locales.patch, gnu/packages/patches/glibc-CVE-2019-7309.patch, gnu/packages/patches/glibc-CVE-2019-9169.patch, gnu/packages/patches/glibc-2.29-git-updates.patch: New files. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/base.scm (glibc): Update to 2.29. [source](patches): Add 'glibc-CVE-2019-7309.patch', 'glibc-CVE-2019-9169.patch', and 'glibc-2.29-git-updates.patch'. Remove 'glibc-hurd-magic-pid.patch'. [native-inputs]: Add PYTHON-MINIMAL. (glibc-2.28): New public variable. * gnu/packages/commencement.scm (expat-sans-tests, python-boot0): New variables. (glibc-final-with-bootstrap-bash)[native-inputs]: Add PYTHON-BOOT0. * gnu/packages/python.scm (python-3.7)[arguments]: Disable test that fails with glibc 2.29.
2019-07-02gnu: tzdata: Update source URI.Marius Bakke
* gnu/packages/base.scm (tzdata, tzdata-for-tests)[source, native-inputs]: Update redirected URIs.
2019-06-13Merge branch 'master' into core-updatesLudovic Courtès
2019-06-07gnu: glibc-locales: Install symlinks using the normalized codeset.Ludovic Courtès
Fixes <https://bugs.gnu.org/36076>. Reported by Jack Hill <jackhill@jackhill.us> and Giovanni Biscuolo <g@xelera.eu> * gnu/build/locale.scm (locale->name+codeset): New file. * gnu/packages/base.scm (make-glibc-locales): Add #:modules and #:imported-modules. Add a 'symlink-normalized-codesets' phase.
2019-05-25Merge branch 'staging' into core-updatesMarius Bakke