me
/
guix
Archived
1
0
Fork 0
Commit Graph

599 Commits (1f6e1808c4cb290622954f4c80a5675fb82be913)

Author SHA1 Message Date
Liliana Marie Prikler bbb9b66316
gnu: Add python-tzdata.
* gnu/packages/time.scm (python-tzdata): New variable.
* gnu/packages/base.scm (tzdata): Update comment.
2024-02-03 10:55:06 +01:00
Efraim Flashner 3e41b252cf
gnu: Adjust to removing ed.scm and nano.scm
This is a follow-up to f6817e71df and
e11e65a9ad.

* gnu/installer.scm, gnu/packages/algebra.scm, gnu/packages/base.scm,
gnu/packages/cook.scm, gnu/packages/lisp.scm,
gnu/packages/patchutils.scm, gnu/packages/version-control.scm,
gnu/packages/web-browsers.scm, gnu/system.scm: Adjust module imports.

Change-Id: I25e5519fa003c35a14b81c3dda37b24527858634
2023-12-25 19:58:21 +02:00
Ludovic Courtès 4a6cef9d66
gnu: glibc-locales@2.37: Mark as hidden.
Fixes <https://issues.guix.gnu.org/67586>.

* gnu/packages/base.scm (glibc-locales/hurd): Wrap in ‘hidden-package’.

Change-Id: If4f4aa1ef66c53ee0bb52eaea533241652e48cca

Reported-by: Nils Landt <nils@landt.email>
Change-Id: I5150f13be9c3b23e7abe408f815c56f498c92ecb
2023-12-06 23:50:04 +01:00
Janneke Nieuwenhuizen 9442b53c6b
gnu: Add ‘libc-locales-for-target’ and related.
Partly fixes <https://issues.guix.gnu.org/66472>.

This is a followup to 95ea1277ae.

* gnu/packages/base.scm (glibc-locales/hurd): New variable
(libc-locales-for-target): Use it in new procedure.
(libc-utf8-locales-for-target): New procedure.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: I16e187fcc65a5d4a3b065066b45ef9e45d1875f6
2023-12-02 12:25:45 +01:00
Ludovic Courtès 95ea1277ae
gnu: commencement: Use locales for the right libc version on GNU/Hurd.
Fixes <https://issues.guix.gnu.org/66472>.

Until now, we were unconditionally using ‘glibc-utf8-locales’, which
targets the glibc version used on Linux (2.35) rather than that used on
the Hurd (2.37).  This would lead to build failures due to the inability
to use locale encoding when targeting i586-gnu.

* gnu/packages/base.scm (glibc-utf8-locales/hurd): New variable.
* gnu/packages/commencement.scm (glibc-utf8-locales-final/hurd): New
variable.
(%boot5-inputs): Use it when ‘target-hurd?’ returns #t.
(%final-inputs): Likewise.

Change-Id: I1666d615dffbe3561cf2d9612b85cd31a48a7dcd
2023-11-25 16:29:25 +01:00
Liliana Marie Prikler 1328c4cca5
gnu: glibc: Fix CVE-2023-4911.
* gnu/packages/patches/glibc-2.35-CVE-2023-4911.patch: New file.
* gnu/local.mk: Register it here.
* gnu/packages/base.scm (glibc/fixed): New variable.
(glibc): Use it as replacement.
2023-10-12 06:49:02 +02:00
Ludovic Courtès ae50099c46
gnu: glibc-utf8-locales: Reintroduce input labels.
Since 2f73ea3487,
‘make-glibc-utf8-locales’ couldn’t be passed a package with a name other
than “glibc” (in particular “glibc-hurd”) since the builder expects the
name “glibc” in ‘%build-inputs’.

* gnu/packages/base.scm (make-glibc-utf8-locales): Reintroduce labels in
‘native-inputs’.
2023-10-01 22:58:19 +02:00
Maxim Cournoyer a6170fcd2b
gnu: Remove extraneous imports.
Found by running 'guild compile -W3 gnu/packages/$module.scm', using guild
from the upcoming Guile.

* gnu/packages/admin.scm: Remove extraneous imports.
* gnu/packages/avr.scm: Likewise.
* gnu/packages/base.scm: Likewise.
* gnu/packages/bootloaders.scm: Likewise.
* gnu/packages/firmware.scm: Likewise.
* gnu/packages/linphone.scm: Likewise.
* gnu/packages/telephony.scm: Likewise.
* gnu/packages/cran.scm: Likewise.
* gnu/packages/kde.scm: Likewise.
* gnu/packages/libcanberra.scm: Likewise.
* gnu/packages/libreoffice.scm: Likewise.
* gnu/packages/mes.scm: Likewise.
* gnu/packages/mingw.scm: Likewise.
* gnu/packages/serialization.scm: Likewise.
* gnu/packages/sync.scm: Likewise.
* gnu/packages/syncthing.scm: Likewise.
* gnu/packages/terminals.scm: Likewise.
* gnu/packages/version-control.scm: Likewise.
* gnu/packages/video.scm: Likewise.
* gnu/packages/wm.scm: Likewise.
* gnu/packages/emulators.scm: Likewise.

Reviewed-by: Ludovic Courtès <ludo@gnu.org>
2023-09-17 16:22:03 -04:00
Janneke Nieuwenhuizen b2cc649999
gnu: glibc/hurd: Add unsubmitted getauxval patch from upstream.
This support building of gdk-pixbuf, gobject-introspection.

* gnu/packages/patches/glibc-hurd-getauxval.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/base.scm (glibc/hurd)[source]: Use it.
2023-09-14 23:52:37 +02:00
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