Commit graph

448 commits

Author SHA1 Message Date
Marius Bakke
23eb368cd3
gnu: Remove obsolete glibc-locales packages.
* gnu/packages/base.scm (glibc-utf8-locales-2.27, glibc-locales-2.27): Remove
variables.
2020-04-24 00:37:49 +02:00
Marius Bakke
8176ef86be
gnu: Update glibc locale compatibility packages for 2.29.
* 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-24 00:37:07 +02:00
Jan (janneke) Nieuwenhuizen
4e0059beb1
gnu: tar: Disable troublesome tests on the Hurd.
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-20 08:28:50 +02:00
Jan (janneke) Nieuwenhuizen
aa8db0ed0d
gnu: coreutils: Mark three more tests XFAIL on the Hurd.
* gnu/packages/base.scm (coreutils)[arguments]: Add three more failing tests.
2020-04-20 08:00:45 +02:00
Jan Nieuwenhuizen
1808e64de0
gnu: coreutils: Typo: Use libcap only when supported.
* gnu/packages/base.scm (coreutils)[inputs]: Typo: Use libcap only when
supported.
2020-03-30 13:05:21 +02:00
Jan Nieuwenhuizen
2c7ea18925
gnu: coreutils: Handle failing tests on Hurd.
* gnu/base/coreutils.scm (coreutils)[arguments]: Use make-flags to mark some
tests XFAIL_TESTS on the Hurd.
2020-03-29 15:31:17 +02:00
Marius Bakke
5fd0c288cf
gnu: OpenJDK: Build with GNU Make 4.2.
* 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-28 20:57:27 +01:00
Jan Nieuwenhuizen
846f5da129
gnu: make: Support for the Hurd.
* gnu/packages/base.scm (gnu-make): Use fork/exec rather than posix_spawn on
the Hurd.  Also, add __alloca linkage workaround.
2020-03-26 12:59:31 +01:00
Jan Nieuwenhuizen
096a8e35e7
gnu: glibc: Add signal SA_SIGINFO support for the Hurd.
* 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-24 23:31:34 +01:00
Jan Nieuwenhuizen
974c42a70a
gnu: glibc: Add clock patches for the Hurd.
* 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-24 23:31:33 +01:00
Marius Bakke
d19b14c834
Merge branch 'master' into core-updates 2020-03-21 22:16:02 +01:00
Vitaliy Shatrov
2eb39cd26c
gnu: coreutils: Improve description.
* 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-21 15:13:30 +01:00
Marius Bakke
1b70995498
gnu: make-ld-wrapper: Default to Guile 3.0.
* gnu/packages/base.scm (make-ld-wrapper): Use GUILE-3.0 as the default Guile.
2020-03-18 20:04:57 +01:00
Ludovic Courtès
d8f78f5448
gnu: ld-wrapper: Use _IOLBF on Guile 2.0 only.
* 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-16 15:43:23 +01:00
Jan Nieuwenhuizen
11a5ffba73
gnu: coreutils: Remove libcap dependency for the Hurd.
* 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-14 09:24:15 +01:00
Mathieu Othacehe
02043f36d7
gnu: coreutils: Fix cross-compilation.
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-09 08:37:29 +01:00
Marius Bakke
d7ca0f73ff
gnu: coreutils: Update to 8.32.
* gnu/packages/base.scm (coreutils): Update to 8.32.
[arguments]: Remove obsolete phase.
2020-03-05 23:36:06 +01:00
Marius Bakke
a33eac038a
gnu: glibc: Update to 2.31.
* 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-15 22:02:55 +01:00
Marius Bakke
a493a52646
gnu: ath9k-htc-firmware: Build with binutils@2.33.1.
* 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-15 22:02:55 +01:00
Marius Bakke
3e3a37b2bc
gnu: binutils: Update to 2.34.
* 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-15 22:02:55 +01:00
Ludovic Courtès
2073b55e6b
gnu: gcc: Switch back to using 'C_INCLUDE_PATH' instead of 'CPATH'.
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-02-06 18:47:15 +01:00
Marius Bakke
cdba91486a
gnu: make: Update to 4.3.
* 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-21 23:17:20 +01:00
Marius Bakke
e3ca10aba1
gnu: tzdata-for-tests: Update to 2019c.
* gnu/packages/base.scm (tzdata-for-tests): Inherit all of TZDATA.
2020-01-21 23:17:20 +01:00
Efraim Flashner
aded68b300
gnu: sed: Update to 4.8.
* gnu/packages/base.scm (sed): Update to 4.8.
[source]: Download gzip tarball.
2020-01-15 10:32:07 +02:00
Marius Bakke
e8b79cd9f4
gnu: grep: Update to 3.4.
* gnu/packages/base.scm (grep): Update to 3.4.
2020-01-14 18:31:35 +01:00
Marius Bakke
f87b68a186
gnu: findutils: Fix bootstrap on aarch64-linux and armhf-linux.
* 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.
2020-01-14 18:31:34 +01:00
Marius Bakke
717867a6ef
gnu: findutils: Update to 4.7.0.
* 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-05 17:59:01 +01:00
Marius Bakke
0b3df5c913
gnu: glibc: Update to 2.30.
* 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-05 17:58:59 +01:00
Marius Bakke
9d5aa00906
Merge branch 'master' into core-updates 2019-12-05 17:57:35 +01:00
Efraim Flashner
4e4aedf097
gnu: binutils: Update to 2.33.1.
* gnu/packages/base.scm (binutils): Update to 2.33.1.
2019-11-27 11:25:31 +02:00
Marius Bakke
f056553c6b
Merge branch 'master' into staging 2019-11-15 20:11:35 +01:00
Carl Dong
2b1d708294
gnu: Fix make-gcc-libc.
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-30 11:41:31 -04:00
Marius Bakke
a5cd5c91bf
gnu: tzdata: Update to 2019c.
* gnu/packages/base.scm (tzdata): Update to 2019c.
(tzdata-for-tests): Stay on 2019b.
2019-10-08 21:23:03 +02:00
Ludovic Courtès
f77993bb50
gnu: Add locale packages for glibc 2.28.
* 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-24 14:00:58 +02:00
Mark H Weaver
65542a8852
Merge branch 'master' into core-updates 2019-09-06 20:46:00 -04:00
Mathieu Othacehe
58a75996ec
gnu: glibc-utf8-locales: Fix cross-compilation.
* 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-09-04 18:05:59 +02:00
Ludovic Courtès
64de896a71
Merge branch 'master' into core-updates 2019-07-17 15:51:10 +02:00
Carl Dong
6869b6635a
gnu: Allow building toolchain with non-default libc.
* 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-16 11:13:15 -04:00
Kei Kebreau
d4137d84ac
gnu: make-glibc-locales: Adjust patch for glibc 2.29.
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-09 12:15:52 -04:00
Carl Dong
ca3757e1c2
gnu: glibc: Add 2.27 supported locales patch.
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-08 21:20:17 -04:00
Marius Bakke
004b4056d4
gnu: tzdata-for-tests: Update to 2019b.
* gnu/packages/base.scm (tzdata-for-tests)[version, source, inputs]: Remove.
2019-07-02 20:19:20 +02:00
Marius Bakke
4fb9165515
Merge branch 'staging' into core-updates 2019-07-02 20:18:16 +02:00
Marius Bakke
0323db5aef
gnu: tzdata: Update to 2019b.
* gnu/packages/base.scm (tzdata): Update to 2019b.
2019-07-02 17:11:39 +02:00
Marius Bakke
5f3f703918
gnu: glibc: Update to 2.29.
* 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-02 16:45:17 +02:00
Marius Bakke
27b3568b61
gnu: tzdata: Update source URI.
* gnu/packages/base.scm (tzdata, tzdata-for-tests)[source, native-inputs]:
Update redirected URIs.
2019-07-02 01:57:13 +02:00
Ludovic Courtès
d9bbfe042e
Merge branch 'master' into core-updates 2019-06-13 13:24:35 +02:00
Ludovic Courtès
0e6cee21a4
gnu: glibc-locales: Install symlinks using the normalized codeset.
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-06-07 21:50:18 +02:00
Marius Bakke
57df83e07d
Merge branch 'staging' into core-updates 2019-05-25 00:25:15 +02:00
Ludovic Courtès
04a3ecc79e
gnu: Remove 'gcc-glibc-2.27' and 'gcc-glibc-2.26'.
These top-level references to GCC could cause problems, such as:

  $ guix build -e '(@ (gnu packages gcc) gcc)' -n
  guix build: error: failed to evaluate expression '(@ (gnu packages gcc) gcc)':
  In procedure module-lookup: Unbound variable: gcc

Regression introduced in 3ed497d42a.

* gnu/packages/base.scm (gcc-glibc-2.27, gcc-glibc-2.26): Remove.
2019-05-13 11:36:11 +02:00
Carl Dong
3ed497d42a
gnu: Allow building gcc with non-default libc.
* gnu/packages/base.scm (make-gcc-libc): New procedure, returns a gcc
  that targets a specified libc.
  (gcc-glibc-2.26, gcc-glibc-2.27): New public variables.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-05-13 09:46:58 +02:00