3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00
Commit graph

558 commits

Author SHA1 Message Date
Ludovic Courtès
02a4e54250
gnu: grep: Skip 'triple-backref' test.
* gnu/packages/base.scm (grep)[arguments]: Add
'skip-triple-backref-test' phase for GNU/Hurd.
2022-11-23 19:34:42 +01:00
Christopher Baines
e26b529b1a
gnu: 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.
2022-11-02 21:38:55 +01:00
Christopher Baines
1f29136e25
gnu: 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.
2022-10-30 20:53:06 +00:00
Christopher Baines
8b8430c0ad
gnu: 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.
2022-10-30 20:52:24 +00:00
Christopher Baines
2b21d60a94
gnu: 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.
2022-10-30 20:51:26 +00:00
Christopher Baines
7797570479
gnu: sed: Skip failing test on GNU/Hurd.
* gnu/packages/base.scm (sed)[arguments]: Add #:make-flags.
2022-10-28 15:16:54 +01:00
Christopher Baines
2a152e1a42
gnu: 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.
2022-10-28 15:16:54 +01:00
Ludovic Courtès
d520fdec3c
gnu: findutils: Skip failing test on GNU/Hurd.
* gnu/packages/base.scm (findutils)[arguments]: Add #:make-flags.
* gnu/packages/commencement.scm (findutils-boot0)[arguments]: Likewise.
2022-10-28 01:27:22 +02:00
Ludovic Courtès
6c16eb24d1
gnu: grep: Skip failing tests on GNU/Hurd.
* gnu/packages/base.scm (grep)[arguments]: Add #:make-flags.
2022-10-28 01:27:22 +02:00
Ludovic Courtès
842b73fd2b
gnu: 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.
2022-10-28 01:27:21 +02:00
John Kehayias
3d1d29e440
gnu: 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>
2022-10-13 09:19:08 +02:00
64c043e63a
Merge remote-tracking branch 'origin/master' into staging 2022-06-01 12:42:04 +03:00
Ricardo Wurmus
6d8a3aa9c9
gnu: Add glibc-locales-2.32.
* gnu/packages/base.scm (glibc-locales-2.32): New variable.
2022-05-31 22:32:17 +02:00
Ricardo Wurmus
16ff4bc024
gnu: Add glibc-locales-2.31.
* gnu/packages/base.scm (glibc-locales-2.31): New variable.
2022-05-31 22:32:17 +02:00
Ricardo Wurmus
70f88d53b6
gnu: Add glibc-locales-2.30.
* gnu/packages/base.scm (glibc-locales-2.30): New variable.
2022-05-31 22:32:17 +02:00
Ricardo Wurmus
a484e019d3
gnu: Add glibc-2.32.
* gnu/packages/base.scm (glibc-2.32): New variable.
2022-05-31 22:32:14 +02:00
dc26d0f94e
gnu: hello: Update to 2.12.1.
* gnu/packages/base.scm (hello): Update to 2.12.1.
2022-05-30 15:28:04 +03:00
Leo Famulari
68db3efbe1
gnu: tzdata: Update to 2022a.
* gnu/packages/base.scm (tzdata): Update to 2022a.
2022-05-08 00:11:28 -04:00
Maxim Cournoyer
88d2161517
gnu: hello: Update to 2.12.
* gnu/packages/base.scm (hello): Update to 2.12.
2022-03-03 22:44:45 -05:00
Maxim Cournoyer
61a847187d
gnu: glibc-utf8-locales: Hide the package.
This package has a long history of confusing users, due to containing only a
small, arbitrary subset of UTF-8 locales.

* gnu/packages/base.scm (glibc-utf8-locales): Define as a hidden package.
* doc/guix.texi (Application Setup): Do not mention glibc-utf8-locales.
Instead, provide an example for defining a custom locales package.
2022-02-27 20:21:02 -05:00
Ludovic Courtès
ee230f15c6
gnu: Remove glibc@2.2.5 and gcc-2.95-wrapper.
This reverts commits a95924c9ac and
defa85b265, which were used to build
nhc98@1.22 but are no longer needed.

* gnu/packages/base.scm (glibc-2.2.5): Remove.
* gnu/packages/commencement.scm (gcc-2.95-wrapper): Remove.
(glibc-mesboot0, gcc-mesboot0, binutils-mesboot): Keep private.
2022-02-14 15:52:35 +01:00
Ricardo Wurmus
defa85b265
gnu: Add glibc-2.2.5.
* gnu/packages/commencement.scm (glibc-mesboot0, gcc-mesboot0,
binutils-mesboot): Export variables.
* gnu/packages/base.scm (glibc-2.2.5): New variable.
2022-02-07 14:02:26 +01:00
Maxim Cournoyer
276f40fdc3
Merge branch 'version-1.4.0'
With resolved conflicts in:
	gnu/packages/gnome.scm
	gnu/packages/openstack.scm
	gnu/packages/python-xyz.scm
2022-01-17 11:47:09 -05:00
Leo Famulari
8636d02955
gnu: binutils: Fix CVE-2021-45078.
This is for the release branch.

Should we also use a graft for the master branch? It would be even
better if we could add a binutils-next package that users could install,
in my opinion.

* gnu/packages/patches/binutils-CVE-2021-45078.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/base.scm (binutils)[source]: Use it.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-01-10 11:46:57 -05:00
Maxim Cournoyer
ce362bc1f3
gnu: binutils: Absorb binutils-next.
* gnu/packages/base.scm (binutils)[configure-flags]: Set out-of-source? to #t.
{--enable-64-bit-bfd, --enable-compressed-debug-sections=all, --enable-lto,
--enable-separate-code, --enable-threads}: New flags.
(binutils-next): Delete variable.
(binutils-gold): Inherit from binutils.
* gnu/packages/linux.scm (kexec-tools)[native-inputs]: Replace
binutils-next with binutils.
2022-01-10 11:44:31 -05:00
Tobias Geerinckx-Rice
1ace0c972d
gnu: hello: Update to 2.11.
* gnu/packages/base.scm (hello): Update to 2.11.
2022-01-09 01:00:00 +01:00
15216a06fe
gnu: glibc-locales: Allow finding newer versions.
* gnu/packages/base.scm (glibc-locales)[properties]: New field.
2022-01-14 11:41:24 +02:00
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