me
/
guix
Archived
1
0
Fork 0
Commit Graph

581 Commits (b88e8777e97ed219c1966657e286de3b8506683e)

Author SHA1 Message Date
Efraim Flashner 9834ff5d32
gnu: binutils-gold: Skip gold testsuite on some architectures.
* gnu/packages/base.scm (binutils-gold)[arguments]: Add a phase on some
architecturest to skip the gold testsuite.
2021-12-21 16:22:51 +02:00
Ludovic Courtès 148a03b971
gnu: binutils@2.33: Remove non-applicable patches.
* gnu/packages/base.scm (binutils-2.33)[source]: Add empty 'patches' field.
2021-12-13 13:58:31 +01:00
Maxim Cournoyer d26584fcda
gnu: binutils-gold: Inherit from binutils-next.
And reinstate tests on non-x86 architectures, as the past problems now appear
to be resolved.

* gnu/packages/base.scm (binutils-gold): Inherit from binutils-next.
[tests?]: Remove argument.
[inputs]: Remove gcc:lib, which is already included implicitly.
2021-11-11 12:18:37 -05:00
Maxim Cournoyer ac6f677249
gnu: Add binutils-next.
* gnu/packages/base.scm (binutils-next): New variable.
2021-11-11 12:18:37 -05:00
Maxim Cournoyer 8b1dfc144b
gnu: make-ld-wrapper: Add a LINKER argument.
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-11 10:31:31 -05:00
Thiago Jung Bauermann 57fd6d511c
gnu: diffutils: Update to 3.8.
‘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-11 10:31:30 -05:00
Thiago Jung Bauermann f234f5b0e1
gnu: diffutils: Fix signal processing.
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-11 10:31:30 -05:00
Leo Famulari af8b03b4e2
gnu: tzdata: Update to 2021e.
* gnu/packages/base.scm (tzdata, tzdata-for-tests): Update to 2021e.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-11-11 10:31:30 -05:00
Ludovic Courtès 8c801194b5
gnu: glibc: Look for the current timezone in /etc/localtime.
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-11 10:31:29 -05:00
Ludovic Courtès 24e5cf5184
gnu: glibc: Remove unneeded nscd patching.
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-11-11 10:31:29 -05:00
Guillaume Le Vaillant 16c66d1d67
gnu: make-4.2: Fix build.
* gnu/packages/base.scm (gnu-make-4.2)[arguments]: Add "-D__stat=stat" to
  'configure-flags'.
2021-09-14 23:38:37 +02:00
Ludovic Courtès f83d7663eb
gnu: glibc@2.29: Fix build error.
* gnu/packages/base.scm (glibc-2.29): Inherit from GLIBC-2.30.
[sources]: Use "glibc-skip-c++.patch".
2021-09-08 21:45:43 +02:00
Ludovic Courtès 425799cb45
gnu: glibc@2.30: Fix build error.
* gnu/packages/base.scm (glibc-2.30)[native-inputs]: New field.
[source]: Use "glibc-skip-c++.patch".
2021-09-08 21:45:43 +02:00
Ludovic Courtès 6d8c1a5e23
gnu: glibc@2.31: Fix build error.
* 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-08 21:45:43 +02:00
Guillaume Le Vaillant de8e2a699c
gnu: binutils: Fix file decriptor leak.
* 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-09-08 12:05:08 +02:00
Ludovic Courtès 1feca4be52
gnu: glibc: Remove versions 2.27 and 2.28.
* 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-24 16:23:24 +02:00
Ludovic Courtès 3bf9c3afc1
gnu: tzdata: Remove input labels.
* gnu/packages/base.scm (tzdata)[arguments]: Turn flags and phases into
a gexp.
[inputs]: Turn into a plain list.
2021-07-24 16:23:20 +02:00
Marius Bakke 2fa26446a1
gnu: binutils: Update to 2.37.
* 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-23 17:26:45 +02:00
Marius Bakke d672c57a77
gnu: coreutils-minimal: Do not build documentation.
...and avoid an upcoming circular dependency on Perl.

* gnu/packages/base.scm (coreutils-minimal)[native-inputs]: Empty field.
2021-07-23 17:26:44 +02:00
Marius Bakke 2c6464e48b
gnu: tzdata-for-tests: Update to 2021a.
* gnu/packages/base.scm (tzdata-for-tests): Update to 2021a.
2021-07-23 17:26:44 +02:00
Marius Bakke b8a1b697b4
gnu: glibc: Remove obsolete patch.
* gnu/packages/base.scm (glibc)[source](patches): Remove
glibc-hidden-visibility-ldconfig.patch.
2021-07-23 17:26:44 +02:00
Chris Marusich 93a5e89008
gnu: glibc-2.31: Restore patches.
Commit 87961fc965 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-21 16:02:42 -07:00
Ludovic Courtès 532b2d9a38
gnu: sed, diffutils: Patch faulty Gnulib tests.
This is a followup to c823b95825, 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-18 23:48:14 +02:00
Maxime Devos a997640db9
tzdata: Don't bother with cross-compiling.
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-14 15:57:39 +02:00
Ludovic Courtès 2f73ea3487
gnu: Change inputs of core packages to plain lists.
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-11 00:49:14 +02:00
Ludovic Courtès c823b95825
gnu: coreutils: Patch broken Gnulib tests.
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-10 01:31:42 +02:00
Ludovic Courtès 145a5a5797
gnu: glibc: Fix cross-compilation to powerpc64le-linux-gnu.
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-08 00:28:56 +02:00
Ludovic Courtès 949ed7aae1
gnu: glibc: Fix cross-compilation to aarch64-linux-gnu.
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-07-04 22:10:06 +02:00
Carl Dong 6ba1058df0
gnu: coreutils: Disable inotify-dir-recreate test
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-06-11 16:37:52 -04:00
Efraim Flashner 62282ff40b
gnu: binutils: Fix bug in test suite in libiberty.
* 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-23 22:23:34 +03:00
Marius Bakke cd42bad5d5
gnu: libcap: Update to 2.49.
* 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-05-09 23:43:32 +02:00
Efraim Flashner fcc39864db
Merge remote-tracking branch 'origin/master' into core-updates
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-16 14:39:48 +03:00
Ludovic Courtès 87961fc965
gnu: glibc: Update to 2.33.
* 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-04-09 14:19:34 +02:00
Vincent Legoll 078dbd22f5
gnu: tzdata: Update to 2021a.
* gnu/packages/base.scm (tzdata): Update to 2021a.
[inputs]: Update tzcode.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-03-26 14:18:20 -04:00
Efraim Flashner 0e2b817732
gnu: glibc: Absorb powerpc patch.
* 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-24 20:50:44 +02:00
Efraim Flashner 2aab587f84
Merge remote-tracking branch 'origin/master' into core-updates 2021-03-24 20:50:44 +02:00
Chris Marusich 65c46e79e0
gnu: sed: Make it build on SELinux-enabled kernels.
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-23 23:19:58 -07:00
Leo Le Bouter 6e98e9ca92
gnu: glibc: Fix ldd path on powerpc*.
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-03-23 23:19:55 -07:00
Vincent Legoll 49760714fc
gnu: binutils: Update to 2.36.1.
* gnu/packages/base.scm (binutils): Update to 2.36.1.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-02-18 09:55:00 +02:00
Efraim Flashner 983e455fe5
gnu: tar: Update to 1.34.
* gnu/packages/base.scm (tar): Update to 1.34.
2021-02-18 09:54:51 +02:00
Efraim Flashner 77b5f4b195
gnu: binutils: Update to 2.36.
* gnu/packages/base.scm (binutils): Update to 2.36.
2021-01-26 11:26:41 +02:00
Ludovic Courtès f8281090d4
gnu: tar: Update to 1.33.
* gnu/packages/base.scm (tar): Update to 1.33.
2021-01-15 14:06:13 +01:00
Ludovic Courtès 3a0c7e7d1e
gnu: findutils: Update to 4.8.0.
* 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-15 14:06:13 +01:00
Maxim Cournoyer 01f0707207
Merge branch 'staging' into 'core-updates'.
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-13 23:45:53 -05:00
Efraim Flashner 6985a1acb3
Merge branch 'master' into staging 2021-01-10 14:30:36 +02:00
Leo Famulari 8027711ee8
gnu: tzdata-for-tests: Update to 2020d.
* gnu/packages/base.scm (tzdata-for-tests): Update to 2020d.
[inputs]: Update tzcode.
2021-01-07 15:50:50 -05:00
Leo Famulari 87eaa42072
gnu: tzdata: Update to 2020f.
* gnu/packages/base.scm (tzdata): Update to 2020f.
[inputs]: Update tzcode.
2021-01-07 15:37:39 -05:00
Miguel Ángel Arruga Vivas 0d3f2716a8
gnu: base: Add keywords to make-glibc-utf8-locales.
* 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>
2021-01-07 12:58:23 +01:00
Ludovic Courtès 52564e9986
gnu: glibc: Load 'etc/ld.so.cache' in $ORIGIN's store item when available.
* 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-12-01 21:30:28 +01:00
Christopher Baines ff01206345
Merge remote-tracking branch 'origin/master' into core-updates 2020-11-29 17:34:18 +00:00
Ludovic Courtès 3504e39a5d
gnu: base, gcc: Removing trailing #t from snippets.
* 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-25 00:02:30 +01:00
Ludovic Courtès 112982526f
gnu: base, commencement: Remove trailing #t from build phases.
* 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-25 00:02:30 +01:00
Ludovic Courtès 6877e7f97a
gnu: grep: Update to 3.6.
* gnu/packages/base.scm (grep): Update to 3.6.
2020-11-17 15:28:58 +01:00
Marius Bakke 052939c2f6
gnu: tzdata: Update to 2020d.
* gnu/packages/base.scm (tzdata): Update to 2020d.
2020-11-07 20:10:23 +01:00
Marius Bakke fce5ce77d0
gnu: tzdata: Keep using the "fat" tzdata file format.
* gnu/packages/base.scm (tzdata)[arguments]: In #:make-flags, pass CPPFLAGS to
preserve the same on-disk format as earlier releases.
2020-11-07 20:09:54 +01:00
Jan (janneke) Nieuwenhuizen 6690b6d1e7
gnu: glibc: Move patches for the Hurd from cross-libc.
* gnu/packages/cross-base.scm (cross-libc)[arguments]: Remove "patch-libc/hurd"
stage.
[native-inputs]: Move hurd patches to...
* gnu/packages/base.scm (glibc)[source]: ...here.
2020-10-26 13:41:25 +01:00
Maxim Cournoyer 5e2140511c
Merge branch 'staging'
Conflicts:
	gnu/packages/admin.scm
	gnu/packages/commencement.scm
	gnu/packages/gdb.scm
	gnu/packages/llvm.scm
	gnu/packages/package-management.scm
	gnu/packages/tls.scm
2020-10-19 13:11:40 -04:00
Ludovic Courtès 370adc91b5
gnu: grep: Update to 3.5.
* gnu/packages/base.scm (grep): Update to 3.5.
2020-10-15 22:19:58 +02:00
Marius Bakke 9e1f5a263e
gnu: libcap: Make 'libcap/next' the default libcap.
* gnu/packages/avahi.scm (avahi)[inputs]: Refer to LIBCAP-2.31 instead of LIBCAP.
* gnu/packages/base.scm (coreutils)[inputs]: Likewise.
* gnu/packages/linux.scm (libcap): Rename to ...
(libcap-2.31): ... this.
(libcap/next): Rename to ...
(libcap): ... this.
(libcap/next): Define as deprecated alias for LIBCAP.
(fakeroot)[inputs]: Change from LIBCAP/NEXT to LIBCAP.
* gnu/packages/ntp.scm (chrony, ntp)[inputs]: Likewise.
2020-10-13 23:48:15 +02:00
Marius Bakke da2e37c1b2
gnu: tzdata: Update to 2020b.
* gnu/packages/base.scm (tzdata): Update to 2020b.
* gnu/packages/golang.scm (go-1.4)[arguments]: Exclude one time zone test.
2020-10-13 23:48:13 +02:00
Ludovic Courtès 2a3fccf70f
gnu: binutils: Update to 2.35.1.
* gnu/packages/base.scm (binutils): Update to 2.35.1.
[arguments]: Remove #:make-flags.
[properties]: Remove.
(binutils+documentation): Remove.
(binutils-gold): Inherit from BINUTILS.
* gnu/packages/make-bootstrap.scm (%binutils-static)[arguments]:
Remove #:make-flags.
2020-09-20 23:56:30 +02:00
Ludovic Courtès 855bc05e11
gnu: glibc: Add version 2.31.
* gnu/packages/base.scm (glibc-2.31): New variable.
* gnu/system/locale.scm (%default-locale-libcs): Add it.
2020-09-20 23:56:17 +02:00
Ludovic Courtès d2a01e3b5b
gnu: glibc: Update to 2.32.
* gnu/packages/base.scm (glibc): Update to 2.32.
[arguments]: Add #:make-flags.
2020-09-20 01:01:27 +02:00
Mathieu Othacehe 17dddeeee5
Merge remote-tracking branch 'origin/master' into core-updates 2020-08-26 18:35:14 +02:00
Efraim Flashner 7941e05947
gnu: binutils-gold: build with canonical gcc:lib.
* gnu/packages/base.scm (binutils-gold)[inputs]: Replace gcc:lib with
the canonical-package of gcc.
2020-08-06 09:04:13 +03:00
Marius Bakke ebd1ba713c
gnu: glibc: Remove old versions.
* gnu/packages/patches/glibc-CVE-2015-5180.patch,
gnu/packages/patches/glibc-CVE-2015-7547.patch,
gnu/packages/patches/glibc-CVE-2016-3075.patch,
gnu/packages/patches/glibc-CVE-2016-3706.patch,
gnu/packages/patches/glibc-CVE-2016-4429.patch,
gnu/packages/patches/glibc-CVE-2017-1000366-pt1.patch,
gnu/packages/patches/glibc-CVE-2017-1000366-pt2.patch,
gnu/packages/patches/glibc-CVE-2017-1000366-pt3.patch,
gnu/packages/patches/glibc-o-largefile.patch,
gnu/packages/patches/glibc-vectorized-strcspn-guards.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/base.scm (glibc-2.26, glibc-2.25, glibc-2.24, glibc-2.23,
glibc-2.22): Remove variables.
2020-07-26 13:37:12 +02:00
Jakub Kądziołka d726b954ba
Merge branch 'master' into core-updates
Conflicts:
	gnu/packages/ruby.scm
2020-07-23 21:43:06 +02:00
Jan (janneke) Nieuwenhuizen 413c31dc7a
gnu: coreutils: Mark pwd-long tests XFAIL on the Hurd.
* gnu/packages/base.scm (coreutils)[arguments]: Add pwd-long as failing test.
2020-07-08 07:39:08 +02:00
Marius Bakke eca649d06b
gnu: binutils-gold: Inherit replacements from binutils.
* gnu/packages/base.scm (binutils-gold): Use PACKAGE/INHERIT instead of INHERIT.
2020-06-26 14:02:56 +02:00
Marius Bakke 70cbab44e3
gnu: binutils@2.33.1: Do not inherit replacements from binutils.
* gnu/packages/base.scm (binutils-2.33): Use INHERIT instead of PACKAGE/INHERIT.
2020-06-26 14:02:56 +02:00
Marius Bakke 4a13050b87
gnu: binutils-gold: Inherit from 'binutils+documentation'.
* gnu/packages/base.scm (binutils-gold): Inherit from BINUTILS+DOCUMENTATION
instead of BINUTILS.
2020-06-26 14:02:56 +02:00
Jakub Kądziołka 43bc785511
Merge branch 'master' into core-updates 2020-06-22 02:56:22 +02:00
Jan (janneke) Nieuwenhuizen c00564192a
gnu: coreutils: Update broken tests for the Hurd.
* gnu/packages/base.scm (coreutils)[arguments]: When compiling for the Hurd,
remove hanging "timeout-group" test.  Remove tests "shred-passes", "l-chunk"
and "stats" from XFAIL_TESTS, they pass now.
2020-06-18 09:25:20 +02:00
Marius Bakke 4193095e18
Merge branch 'master' into core-updates 2020-06-14 16:24:34 +02:00
Chris Marusich a48a3f0640
gnu: sed: Make it build on SELinux-enabled kernels.
Fixes: <https://bugs.gnu.org/41498>.

* gnu/packages/base.scm (sed)[origin][snippet]: 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.
2020-06-11 22:31:27 -07:00
Marius Bakke 11ae7e9e45
gnu: coreutils: Enable support for extended attributes.
Fixes <https://bugs.gnu.org/41081>.

* gnu/packages/base.scm (coreutils)[inputs]: Add ATTR.
2020-05-30 20:19:00 +02:00
Marius Bakke 9edb3f66fd
Merge branch 'master' into staging 2020-05-26 22:30:51 +02:00
Ludovic Courtès cef0e08c23
gnu: proot: Fix test failures.
The upgrade to Make 4.3 and Coreutils 8.30 introduced test failures that
this commit addresses.

* gnu/packages/base.scm (coreutils-8.30): New variable.
* gnu/packages/linux.scm (proot)[native-inputs]: Add COREUTILS-8.30 and
GNU-MAKE-4.2.
2020-05-11 13:03:23 +02:00
Marius Bakke 4bdf4182fe
Merge branch 'core-updates' 2020-05-08 21:40:51 +02:00
Jan (janneke) Nieuwenhuizen 1339a03b6d
gnu: glibc/hurd-headers: Cross-build fix for the Hurd.
* gnu/packages/base.scm (glibc/hurd-headers)[native-inputs]: Add mig; when
cross-building use 32-bit mig.
2020-05-07 07:11:33 +02:00
Leo Famulari 492b82bd4d
gnu: tzdata: Update to 2020a.
* gnu/packages/base.scm (tzdata): Update to 2020a.
2020-04-26 14:14:06 -04:00
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
Ludovic Courtès b87d7002b7
Revert "gnu: coreutils: Fix cross-compilation to i586-pc-gnu."
This reverts commit 67cbfeae30, which is
not longer necessary now that the 'ld.so' linker script of the cross
glibc contains "libhurduser.so libmachuser.so".
2020-04-01 00:12:31 +02:00
Ludovic Courtès 67cbfeae30
gnu: coreutils: Fix cross-compilation to i586-pc-gnu.
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-31 14:55:42 +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