Commit graph

590 commits

Author SHA1 Message Date
Josselin Poiret
6c447ababf
gnu: gcc-toolchain: Add empty librt.a.
* gnu/packages/commencememnt.scm (make-gcc-toolchain): Add empty librt.a.
* gnu/packages/base.scm (gcc): Add a warning regarding the missing librt.a.
2023-08-25 14:35:22 +02:00
Christopher Baines
560cb51e7b
gnu: commencement: Use system in %final-inputs.
Otherwise this causes odd issues, I presume arising from when %current-system
differs from the system argument passed to %final-inputs.

* gnu/packages/commencement.scm (%final-inputs): Set %current-system to
system.
* gnu/packages/base.scm (%final-inputs): Add optional system parameter.
* gnu/ci.scm (base-packages): New procedure to memoize the base packages
depending on system.
(package->job): Pass system to base-packages.

Co-authored-by: Josselin Poiret <dev@jpoiret.xyz>
Signed-off-by: Josselin Poiret <dev@jpoiret.xyz>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-08-18 16:02:34 +02:00
Janneke Nieuwenhuizen
97677bbda0
gnu: diffutils: Remove test-perror2 from XFAIL_TESTS on the Hurd.
* gnu/packages/base.scm (diffutils)[arguments]: When building natively on the
Hurd, Move "large-subopt" test from #:make-flags' XFAIL_TESTS to a new
'skip-tests' phase.  Remove #:make-flags for the Hurd, as "test-perror2" now
passes.
2023-07-20 10:11:32 +02:00
Janneke Nieuwenhuizen
bc8c6e2368
gnu: findutils: Move test-strerror_r from XFAIL to skip on the Hurd.
* gnu/packages/base.scm (findutils)[arguments]: When building natively on the
Hurd, remove #:make-flags as "test-strerror_r" fails non-deterministically.
Instead, add 'skip-test' phase and skip it.
2023-07-20 10:11:32 +02:00
Janneke Nieuwenhuizen
3cc72873d3
Revert "gnu: sed: Skip failing test on GNU/Hurd."
This reverts commit 7797570479, as
the gnulib "tests-perror2" test now passes.
2023-07-20 10:11:32 +02:00
Janneke Nieuwenhuizen
f719a4086c
gnu: grep: Update hanging and failing tests on the Hurd.
* gnu/packages/base.scm (grep)[arguments]: When building natively on the Hurd,
remove Rename phase 'skip-triple-backref-test' to 'skip-tests'.  Remove
"tests/triple-backref" as it now passes.  Add the hanging
"tests/hash-collision-perf" test, and the failing "tests/file" test.
2023-07-20 10:11:32 +02:00
Janneke Nieuwenhuizen
e4721f7472
gnu: coreutils: Skip hanging and failing test on the Hurd.
* gnu/packages/base.scm (coreutils)[arguments]: When building natively on the
Hurd, remove "test/df/unreadable.sh" and "test-perror2" from #:make-flags's
XFAIL_TESTS as they now pass.  Move failing script tests from XFAIL_TESTS to
'remove-tests' phase.  In phase 'remove-tests' rewrite substitute* to skip
tests instead of removing them.  Add hanging and failing tests.
2023-07-20 10:11:32 +02:00
Josselin Poiret
0dd293b4d9
gnu: Add libc-for-target and glibc/hurd.
* gnu/packages/patches/glibc-2.37-hurd-clock_t_centiseconds.patch
* gnu/packages/patches/glibc-2.37-hurd-local-clock_gettime_MONOTONIC.patch
* gnu/packages/patches/glibc-2.37-versioned-locpath.patch: New patches.
* gnu/local.mk (dist_patch_DATA): Register them.

* gnu/packages/base.scm (glibc/hurd, libc-for-target): New variables.
(glibc/hurd-headers): Use glibc/hurd.
* gnu/packages/commencement.scm (glibc-final-with-bootstrap-bash)[outputs,
source, arguments]
(glibc-final)[source]: Use libc-for-target instead of glibc.
* gnu/packages/cross-base.scm (cross-libc/deprecated, cross-libc*): Use
libc-for-target.

This part fixes

    https://issues.guix.gnu.org/63641#25

* gnu/packages/commencement.scm (%final-inputs): Change to memoized lambda
taking "system".
* gnu/packages/commencement.scm (canonical-package): Likewise, and update
user, passing (%current-system).
(make-gcc-toolchain): Update user, passing (%current-system).
* gnu/packages/base.scm (%final-inputs): Likewise.
* guix/scripts/refresh.scm (options->update-specs): Likewise.
* guix/build-system/gnu.scm (standard-packages): Add optional "system"
parameter.
(lower): Update caller.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Co-authored-by: Janneke Nieuwenhuizen <janneke@gnu.org>
2023-07-13 18:20:05 +02:00
Josselin Poiret
85ebfcf4ff
gnu: glibc/hurd-headers: Properly cross-build.
* gnu/packages/base.scm (glibc/hurd-headers): Rely on cross-mig, and remove
hardcoded configure flag `--host=i586-pc-gnu`.
* gnu/packages/cross-base.scm (cross-kernel-headers*): Add `--host` and
`--build` configure flags.
2023-07-13 18:20:01 +02:00
Janneke Nieuwenhuizen
ff690faf66
gnu: Use target-hurd?, system-hurd? instead of hurd-target?, hurd-system?.
* gnu/packages/hurd.scm (hurd-target?): Remove.
(hurd-system?): Move to...
* guix/utils.scm (system-hurd?): ...here.
* gnu/packages/*: Update all users, removing (gnu packages hurd) include where
now unused.
2023-06-17 14:38:32 +02:00
Efraim Flashner
f9b8f38908
gnu: glibc-2.33: Fix building for riscv64-linux.
* gnu/packages/base.scm (glibc-2.33)[source]: Add patch.
* gnu/packages/patches/glibc-2.33-riscv64-miscompilation.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2023-06-14 14:52:21 +03:00
Christopher Baines
8b855dc1f4
gnu: findutils: Update XFAIL_TESTS for the hurd.
This could do with more investigating, but this reflects what I see locally.

* gnu/packages/base.scm (findutils)[arguments]: Update XFAIL_TESTS for the
hurd.
* gnu/packages/commencement.scm (findutils-boot0): Stop clearing the
make-flags, so the above change applies to findutils-boot0.
2023-05-07 12:16:51 +01:00
Ludovic Courtès
0e978a8195
gnu: glibc: Reintroduce version 2.33.
* gnu/packages/base.scm (glibc-2.33): New variable.
2023-04-19 16:32:03 +02:00
Ludovic Courtès
065d766f09
gnu: glibc: Work around broken GNU Mach header detection.
* gnu/packages/base.scm (%glibc/hurd-configure-flags): New variable.
(glibc)[arguments]: Use it.
(glibc/hurd-headers)[arguments]: likewise.
* gnu/packages/cross-base.scm (cross-libc*): Likewise.

Co-authored-by: Josselin Poiret <dev@jpoiret.xyz>
2023-03-30 12:44:18 +02:00
Christopher Baines
7df09ee0ab
Merge remote-tracking branch 'savannah/master' into core-updates
Conflicts:
	gnu/local.mk
	gnu/packages/autotools.scm
	gnu/packages/cmake.scm
	gnu/packages/gnuzilla.scm
	gnu/packages/haskell.scm
	gnu/packages/pdf.scm
	gnu/packages/python-xyz.scm
	gnu/packages/samba.scm
	gnu/packages/tex.scm
	gnu/packages/tls.scm
	gnu/packages/wxwidgets.scm
2023-03-02 10:55:08 +00:00
Ludovic Courtès
d427ec4038
gnu: guile: Remove input labels.
* gnu/packages/base.scm (libiconv-if-needed): Remove input label.
* gnu/packages/guile.scm (guile-2.0)[native-inputs, inputs]
[propagated-inputs]: Remove labels.
(guile-next)[native-inputs]: Change "self" to "guile".
(make-guile-readline): Adjust 'inputs' and 'propagated-inputs'
accordingly.
2023-02-26 22:42:48 +01:00
Efraim Flashner
4eebb73295
gnu: coreutils: Disable 64-bit time_t on 32-bit systems.
Not all software is ready for 64-bit time in Guix.

* gnu/packages/base.scm (coreutils)[arguments]: When building for a
32-bit system add a configure-flag to not use 64-bit time_t.
2023-02-19 12:40:39 +02:00
Ludovic Courtès
85e55dd90b
gnu: binutils-gold: Remove input label.
* gnu/packages/base.scm (binutils-gold)[native-inputs]: Remove label.
2023-02-25 00:00:32 +01:00
Efraim Flashner
a832b4180e
gnu: tar: Actually fix test suite on 32-bit systems.
This is a follow-up to 87423addf5.

* gnu/packages/base.scm (tar)[arguments]: Actually skip the broken test
on 32-bit systems, not run ONLY that test.
2023-02-14 21:54:26 +02:00
Efraim Flashner
87423addf5
gnu: tar: Fix test suite on 32-bit systems.
* gnu/packages/base.scm (tar)[arguments]: When building for 32-bit
systems skip a test known by upstream to fail.
2023-02-14 16:26:51 +02:00
Efraim Flashner
4cf1acc7f3
Merge remote-tracking branch 'origin/master' into core-updates
Conflicts:
	doc/guix.texi
	gnu/local.mk
	gnu/packages/admin.scm
	gnu/packages/base.scm
	gnu/packages/chromium.scm
	gnu/packages/compression.scm
	gnu/packages/databases.scm
	gnu/packages/diffoscope.scm
	gnu/packages/freedesktop.scm
	gnu/packages/gnome.scm
	gnu/packages/gnupg.scm
	gnu/packages/guile.scm
	gnu/packages/inkscape.scm
	gnu/packages/llvm.scm
	gnu/packages/openldap.scm
	gnu/packages/pciutils.scm
	gnu/packages/ruby.scm
	gnu/packages/samba.scm
	gnu/packages/sqlite.scm
	gnu/packages/statistics.scm
	gnu/packages/syndication.scm
	gnu/packages/tex.scm
	gnu/packages/tls.scm
	gnu/packages/version-control.scm
	gnu/packages/xml.scm
	guix/build-system/copy.scm
	guix/scripts/home.scm
2023-01-30 12:39:40 +02:00
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
zamfofex
25b30622b4
gnu: glibc: Update to 2.35.
* gnu/packages/base.scm (glibc): Update to 2.35.
[arguments]: Handle empty library files.
* gnu/packages/patches/glibc-hurd-clock_gettime_monotonic.patch: Adjust for
renamed file.

Signed-off-by: Marius Bakke <marius@gnu.org>
2022-09-08 21:40:00 +02:00
Marius Bakke
c527b0ce23
gnu: grep: Update to 3.8.
* gnu/packages/base.scm (grep): Update to 3.8.
* gnu/packages/commencement.scm (grep-mesboot)[native-inputs]: Add
SED-MESBOOT.
* gnu/packages/autotools.scm (libtool)[source](patches): Add patch.
* gnu/packages/patches/libtool-grep-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2022-09-08 21:39:59 +02:00
Marius Bakke
40f96ea667
gnu: binutils: Update to 2.38.
If this commit gives a deja vu, you are not dreaming; see commit
3e3a37b2bc.

* gnu/packages/base.scm (binutils): Update to 2.38.
[source](patches): Remove obsolete.
[arguments]: Add #:make-flags.
[properties]: New field.
(binutils+documentation): New variable.
(binutils-gold): Inherit from BINUTILS+DOCUMENTATION.
* gnu/packages/make-bootstrap.scm (%binutils-static)[arguments]: Inherit
 #:make-flags.
* gnu/packages/patches/binutils-2.37-file-descriptor-leak.patch,
gnu/packages/patches/binutils-CVE-2021-45078.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2022-06-26 22:58:33 +02:00
Marius Bakke
bf99d1be2f
gnu: coreutils: Update to 9.1.
* gnu/packages/base.scm (coreutils): Update to 9.1.
[source](patches): Remove.
* gnu/packages/commencement.scm (coreutils-mesboot)[native-inputs]: Add
SED-MESBOOT.
* gnu/packages/patches/coreutils-ls.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2022-06-26 12:06:27 +02:00
Ludovic Courtès
8655a71445
Merge branch master into core-updates 2022-06-22 18:48:00 +02:00
Ludovic Courtès
8c3e9da13a
Merge branch 'master' into core-updates 2022-06-08 14:46:24 +02:00
Efraim Flashner
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
Efraim Flashner
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
Efraim Flashner
46fbea36ea
gnu: findutils: Update to 4.9.0.
* gnu/packages/base.scm (findutils): Update to 4.9.0.
2022-04-29 05:24:17 +03:00
Ludovic Courtès
6b6fb78724
gnu: glibc: Build with '--strip-debug' instead of '--strip-all'.
Fixes <https://issues.guix.gnu.org/54728>.
Reported by Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>.

* gnu/packages/base.scm (glibc)[arguments]: Add #:strip-flags.
2022-04-07 18:34:47 +02:00
Maxim Cournoyer
a9429c8f22
Merge branch 'staging' into core-updates. 2022-03-21 23:39:43 -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