me
/
guix
Archived
1
0
Fork 0
Commit Graph

594 Commits (f0a01ff42afd5862a42aa2c6a9aba57061001def)

Author SHA1 Message Date
Marius Bakke 218eb6e611
gnu: tar: Update to 1.32.
* gnu/packages/base.scm (tar): Update to 1.32.
[arguments]: Remove #:make-flags and #:configure-flags.
2019-02-23 20:44:35 +01:00
Marius Bakke 901236474a
Merge branch 'staging' into core-updates 2019-02-20 17:19:00 +01:00
Efraim Flashner c86b5f1b9b
gnu: glibc@2.27: fix CVE-2018-11236, CVE-2018-11237.
* gnu/packages/base.scm (glibc@2.27)[sources]: Add patches.
[properties]: New field, mark CVE-2017-18269 fixed.
* gnu/packages/patches/glibc-CVE-2018-11236.patch,
gnu/packages/patches/glibc-CVE-2018-11237.patch: New files.
* gnu/local.mk (dist_patch_DATA): Register them.
2019-02-12 09:08:13 +02:00
Marius Bakke ebbb7286b9
Merge branch 'master' into core-updates 2019-02-09 21:11:00 +01:00
Ludovic Courtès 50a93adc05
Merge branch 'staging' 2019-02-09 15:14:59 +01:00
Marius Bakke dfc941a943
gnu: binutils: Update to 2.32.
* gnu/packages/base.scm (binutils): Update to 2.32.
2019-02-07 22:10:17 +01:00
Ricardo Wurmus ba88eea2b3
Merge branch 'master' into core-updates 2019-02-06 13:03:26 +01:00
Efraim Flashner 28317d4990
gnu: Add binutils-gold.
This commit is thanks to Guix Days.

* gnu/packages/base.scm (binutils-gold): New variable.
2019-02-04 08:07:39 +02:00
Ricardo Wurmus 5aaef5c5de
Merge branch 'master' into staging 2019-01-23 12:08:27 +01:00
Ricardo Wurmus 0845999a5e
gnu: Add glibc-locales variants for older versions of glibc.
* gnu/packages/base.scm (make-glibc-locales, make-glibc-utf8-locales): New
procedures.
(glibc-locales): Express in terms of make-glibc-locales.
(glibc-utf8-locales): Express in terms of make-glibc-utf8-locales.
(glibc-locales-2.27, glibc-utf8-locales-2.27): New variables.
2019-01-22 15:10:59 +01:00
Leo Famulari 1bb9969f83
gnu: tzdata: Update to 2018i.
* gnu/packages/base.scm (tzdata): Update to 2018i.
(tzdata-for-tests): Keep at version 2018g.
2019-01-09 16:08:18 -05:00
Efraim Flashner e992d56669
gnu: diffutils: Update to 3.7.
* gnu/packages/base.scm (diffutils): Update to 3.7.
[source]: Remove patch.
[native-inputs]: Add perl.
* gnu/packages/commencement.scm (diffutils-boot0)[native-inputs]: Don't
add perl.
* gnu/packages/patches/diffutils-getopt.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2019-01-07 11:59:03 +02:00
Efraim Flashner 17f4334622
gnu: tar: Update to 1.31.
* gnu/packages/base.scm (tar): Update to 1.31.
2019-01-07 11:59:00 +02:00
Ludovic Courtès dad2e7dc79
gnu: sed: Update to 4.7.
* gnu/packages/base.scm (sed): Update to 4.7.
[arguments]: Remove.
2018-12-24 01:39:52 +01:00
Ludovic Courtès b659e97adc
gnu: grep: Update to 3.3.
* gnu/packages/base.scm (grep): Update to 3.3.
[arguments]: Remove 'disable-failing-tests' phase.
2018-12-24 01:39:17 +01:00
Marius Bakke f30830b2e6
Merge branch 'master' into staging 2018-12-22 15:26:30 +01:00
Ludovic Courtès ef5821093a
gnu: glibc: Inline Hurd "pid/…" magic lookup patch.
* gnu/packages/base.scm (glibc)[source](patches): Add
"glibc-hurd-magic-pid.patch".
[arguments]: Remove 'apply-hurd-patch' phase.
[native-inputs]: Remove "hurd-magic-pid-patch".
* gnu/packages/cross-base.scm (cross-libc)[arguments]: Remove
'apply-hurd-patch' phase.
[native-inputs]: Remove "hurd-magic-pid-patch".
2018-12-20 20:02:03 +01:00
Ludovic Courtès 86974d8a92
Merge branch 'master' into core-updates 2018-12-20 18:39:04 +01:00
Ludovic Courtès 92391eaf8d
gnu: glibc: Add patch implementing "pid/…" magic lookup on the Hurd.
This patch is missing from glibc 2.28 and is needed to support
/proc/self lookup when using the Hurd's procfs, which in turn is needed
for our 'guile-relocatable.patch'.

See <https://lists.gnu.org/archive/html/bug-hurd/2018-12/msg00024.html>.

* gnu/packages/patches/glibc-hurd-magic-pid.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/base.scm (glibc)[arguments]: Add 'apply-hurd-patch'
phase.
[native-inputs]: Add "hurd-magic-pid-patch" input.
* gnu/packages/cross-base.scm (cross-libc)[arguments]: Duplicate
'apply-hurd-patch' phase.
2018-12-16 16:28:07 +01:00
Marius Bakke 62c75d6d08
gnu: tzdata-for-tests: Update to 2018g.
* gnu/packages/base.scm (tzdata-for-tests): Inherit TZDATA.
2018-12-12 20:49:13 +01:00
Marius Bakke b03e4fd526
Merge branch 'master' into core-updates 2018-12-11 22:18:05 +01:00
Marius Bakke c3e61854cb
gnu: tzdata: Update to 2018g.
* gnu/packages/base.scm (tzdata): Update to 2018g.
2018-12-04 20:05:19 +01:00
Ludovic Courtès 2d546858b1
gnu: hurd: Build against glibc 2.28.
Version 2.28 of glibc is the first in a long time that fully supports
GNU/Hurd.  This change updates the Hurd and Mach to provide the features
glibc 2.28 expects and adjusts the cross-compilation tool chain for
"i586-pc-gnu".

* gnu/packages/base.scm (glibc/linux): Rename to...
(glibc): ... this.
[propagated-inputs]: Add 'hurd-target?' case.
[arguments]: Use '--disable-werror' when 'hurd-target?'.  Add
'augment-libc.so' phase when 'hurd-target?'.
[native-inputs]: Add MIG and PERL when 'hurd-target?'.
(glibc/hurd, glibc-for-target): Remove
(glibc/hurd-headers): Inherit from GLIBC, not GLIBC/HURD.
[arguments]: Remove "--enable-obsolete-rpc" configure flag and
'patch-configure-script' phase.
* gnu/packages/cross-base.scm (cross-kernel-headers)[xglibc/hurd-headers]:
Move 'set-cross-headers-path' after 'unpack'.
* gnu/packages/cross-base.scm (cross-libc)[cross-libc-for-target]:
Remove.
Pass "--disable-werror" when TARGET matches 'hurd-triplet?'.
* gnu/packages/hurd.scm (hurd-target?, patch-url): New procedures.
(gnumach-headers)[source](patches, modules, snippet): New fields.
(hurd-headers): Use Git commit 98b3390.
[native-inputs]: Add AUTOCONF and AUTOMAKE.
[arguments]: Add "ac_cv_func_*" configure flags.
(hurd-minimal)[native-inputs]: Remove.
[arguments]: In 'build' phase, build "include/assert-backtrace.h"
first.
2018-11-18 23:12:36 +01:00
Mathieu Othacehe 1b9fb043d9
gnu: glibc: Export supported locales.
Debian and Archlinux (at least) force the installation of the
localedata/SUPPORTED file of the glibc. This file lists all the supported
locales of the glibc.

* gnu/packages/patches/glibc-supported-locales.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/base.scm (glibc/linux): Add the previous patch,
(glibc-2.28): ditto.
2018-11-07 18:47:07 +09:00
Marius Bakke 2fa4066c0a
gnu: findutils: Fix build with glibc 2.28.
* gnu/packages/patches/findutils-gnulib-libio.patch,
gnu/packages/patches/findutils-makedev.patch: New files.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/base.scm (findutils)[source](patches): Use them.
2018-08-25 16:23:36 +02:00
Marius Bakke 8c8ded2cc9
gnu: grep: Work around test failure with glibc 2.28.
* gnu/packages/base.scm (grep)[arguments]: Add phase 'disable-failing-tests'.
2018-08-25 16:23:36 +02:00
Marius Bakke a8dcf6cec7
gnu: coreutils: Update to 8.30.
* gnu/packages/base.scm (coreutils): Update to 8.30.
[arguments]: Add phase to skip broken test.
2018-08-25 16:23:36 +02:00
Marius Bakke e13b547407
gnu: glibc: Update to 2.28.
* gnu/packages/patches/glibc-2.28-git-fixes.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/base.scm (glibc/linux): Update to 2.28.
[source](patches): Add 'glibc-2.28-git-fixes.patch'.  Remove 2.27 equivalent.
(glibc-2.28): Remove variable.
(glibc-2.27): New public variable
2018-08-25 16:23:35 +02:00
Marius Bakke 4214066d45
Merge branch 'master' into core-updates 2018-08-01 15:53:17 +02:00
Marius Bakke ae66fdaf9f
gnu: Add glibc@2.28.
* gnu/packages/base.scm (glibc-2.28): New public variable.
2018-08-01 15:48:26 +02:00
Marius Bakke 706ae8e15c
Merge branch 'master' into core-updates 2018-07-24 19:56:35 +02:00
Marius Bakke 6c4709889c
gnu: binutils: Update to 2.31.1.
* gnu/packages/base.scm (binutils): Update to 2.31.1.
(binutils/fixed): Remove variable
* gnu/packages/linux.scm (make-linux-libre): Remove AArch64 workaround.
* gnu/packages/patches/binutils-aarch64-symbol-relocation.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2018-07-19 00:52:22 +02:00
Marius Bakke 6969c4de44
Merge branch 'master' into staging 2018-06-18 15:29:38 +02:00
Marius Bakke cdbcfc113b
gnu: linux-libre: Fix build on AArch64.
* gnu/packages/patches/binutils-aarch64-symbol-relocation.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/base.scm (binutils/fixed): New public variable.
* gnu/packages/linux.scm (make-linux-libre)[native-inputs]: On aarch64, define
new ld-wrapper with the above binutils and use it.
2018-06-16 21:35:24 +02:00
Marius Bakke cd50b9f009
gnu: tzdata-for-tests: Downgrade to 2018d.
* gnu/packages/base.scm (tzdata-for-tests): Don't inherit source and inputs
from TZDATA.
2018-06-12 00:05:18 +02:00
Marius Bakke a032b4454b
Merge branch 'master' into staging 2018-06-11 23:52:15 +02:00
Leo Famulari 6069bb0ab4
gnu: tzdata: Update to 2018e.
* gnu/packages/base.scm (tzdata): Update to 2018e.
2018-05-06 15:19:12 -04:00
Ludovic Courtès c77835db04
gnu: tar: Work around a cross-compilation issue.
* gnu/packages/base.scm (tar)[arguments]: Add #:configure-flags when
cross-compiling.
2018-04-22 22:40:53 +02:00
Ludovic Courtès d3878d3d51
gnu: patch: Work around a cross-compilation issue.
Reported by Marius Bakke <mbakke@fastmail.com>
at <https://lists.gnu.org/archive/html/guix-devel/2018-04/msg00157.html>.

* gnu/packages/base.scm (patch)[arguments]: New field.
2018-04-22 22:40:48 +02:00
Marius Bakke 169c658f7f
gnu: tar: Skip racy tests.
* gnu/packages/base.scm (tar)[arguments]: Skip two more tests in #:make-flags.
2018-04-06 15:22:24 +02:00
Ludovic Courtès 301a424906
gnu: sed: Update to 4.5.
* gnu/packages/base.scm (sed): Update to 4.5.
[arguments]: Remove 'patch-test-suite' phase.
[native-inputs]: New field.
2018-04-01 18:41:28 +02:00
Ludovic Courtès 6422bde9b4
gnu: glibc: Reinstate fallback code for systems lacking 'prlimit64'.
* gnu/packages/patches/glibc-reinstate-prlimit64-fallback.patch: New file.
* gnu/packages/base.scm (glibc/linux)[source]: Use it.
* gnu/local.mk (dist_patch_DATA): Add it.
2018-04-01 12:36:02 +02:00
Leo Famulari 9b018ada13
gnu: tzdata: Update to 2018d.
* gnu/packages/base.scm (tzdata): Update to 2018d.
2018-03-29 20:15:49 -04:00
Mark H Weaver e3cfef22c4
gnu: Use invoke and return #t from all builders.
* gnu/packages/admin.scm, gnu/packages/android.scm, gnu/packages/audio.scm,
gnu/packages/avr.scm, gnu/packages/base.scm, gnu/packages/bioinformatics.scm,
gnu/packages/certs.scm, gnu/packages/check.scm, gnu/packages/code.scm,
gnu/packages/commencement.scm, gnu/packages/dictionaries.scm,
gnu/packages/docbook.scm, gnu/packages/emacs.scm, gnu/packages/embedded.scm,
gnu/packages/fonts.scm, gnu/packages/games.scm, gnu/packages/gnome.scm,
gnu/packages/gnu-doc.scm, gnu/packages/guile.scm, gnu/packages/hurd.scm,
gnu/packages/javascript.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/lisp.scm, gnu/packages/lxde.scm,
gnu/packages/mail.scm, gnu/packages/markup.scm, gnu/packages/mate.scm,
gnu/packages/pkg-config.scm, gnu/packages/qt.scm, gnu/packages/rust.scm,
gnu/packages/scheme.scm, gnu/packages/sdl.scm, gnu/packages/statistics.scm,
gnu/packages/syncthing.scm, gnu/packages/tex.scm, gnu/packages/web.scm,
gnu/packages/wine.scm, gnu/packages/xfce.scm: In the builders of packages
using 'trivial-build-system', use invoke where appropriate, raise exceptions
on errors, and otherwise return #t.
2018-03-27 21:35:41 -04:00
Mark H Weaver b4c4f3399c
gnu: glibc-hurd-headers: Return #t from all phases.
* gnu/packages/base.scm (glibc/hurd-headers): Return #t from the custom
install phase.
2018-03-23 04:42:06 -04:00
Mark H Weaver ab6e5690af
gnu: glibc/linux: Return #t from pre-configure phase.
* gnu/packages/base.scm (glibc/linux)[arguments]: Return #t from the
pre-configure phase.
2018-03-23 04:40:01 -04:00
Marius Bakke 759ad0690b
gnu: make: End phase on #t.
* gnu/packages/base.scm (gnu-make)[arguments]: Return #t from
'set-default-shell' phase.
2018-03-22 18:58:06 +01:00
Marius Bakke e9b9ea1ec0
gnu: make: Fix compatibility with glibc 2.27.
* gnu/packages/patches/make-glibc-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/base.scm (gnu-make)[source](patches): Use it.
2018-03-22 18:58:05 +01:00
Marius Bakke 5e8cb5e698
gnu: glibc: Update to 2.27.
* gnu/packages/base.scm (glibc/linux): Update to 2.27.
[source](patches): Add 'glibc-hidden-visibility-ldconfig.patch' and
'glibc-2.27-git-fixes.patch'.
[native-inputs]: Add BISON.
[arguments]: Remove deprecated "--enable-add-ons" from #:configure-flags.
Also remove unneeded "libc_cv_ssp=no" and "libcv_ssp_strong=no".
(glibc-2.26): New public variable.
* gnu/packages/commencement.scm (glibc-final-with-bootstrap-bash)[native-inputs]:
Add BISON-BOOT0.
* gnu/packages/patches/glibc-2.27-git-fixes.patch,
gnu/packages/patches/glibc-hidden-visibility-ldconfig.patch: New files.
* gnu/local.mk (dist_patch_DATA): Register them.
2018-03-22 18:58:05 +01:00
Mark H Weaver e0f9f85f8d
gnu: tzdata-for-tests: Update to 2018c.
* gnu/packages/base.scm (tzdata-for-tests): Replace with a simple hidden copy
of 'tzdata'.
2018-03-21 20:43:21 -04:00
Mark H Weaver ac21be848a
Merge branch 'master' into core-updates 2018-03-20 14:22:06 -04:00
Marius Bakke ca331eb849
gnu: glibc: Don't apply upstreamed patch in newer glibc versions.
* gnu/packages/base.scm (glibc/linux, glibc-2.25, glibc-2.24,
glibc-2.23)[source](patches): Remove 'glibc-o-largefile.patch'.
(glibc-2.22)[source](patches): Add it.
2018-03-16 15:32:22 +01:00
Marius Bakke ff19532fd5
gnu: binutils: Update to 2.30.
* gnu/packages/patches/binutils-ld-new-dtags.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
* gnu/packages/base.scm (binutils): Update to 2.30.
[source](patches): Remove obsolete patch.
[arguments]: Add "--enable-new-dtags" in #:configure-flags.
2018-03-16 15:32:22 +01:00
Mark H Weaver 45413064c9
gnu: tar: Fix sparse file detection on Btrfs file systems.
* gnu/packages/patches/tar-remove-wholesparse-check.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/base.scm (tar)[source]: Add patch.
2018-03-16 09:31:00 -04:00
Mark H Weaver 6cbee49d66
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 09:08:31 -04:00
Mark H Weaver 408fcff678
gnu: tzdata: Use invoke instead of system*.
* gnu/packages/base.scm (tzdata)[arguments]: Use invoke.  Return a boolean
from all phase procedures.
2018-03-16 05:02:28 -04:00
Mark H Weaver 4e50f1f2d3
gnu: glibc/hurd: Use invoke instead of system*.
* gnu/packages/base.scm (glibc/hurd)[arguments]: In the build phase procedure,
use 'invoke' instead of 'system*' and remove the vestigial result code
plumbing.  Change the local macro 'make' into a normal procedure.
2018-03-16 05:02:10 -04:00
Mark H Weaver bf8e8a7428
gnu: glibc-locales: Use invoke instead of system*.
* gnu/packages/base.scm (glibc-locales)[arguments]: Use invoke.
2018-03-16 05:02:08 -04:00
Mark H Weaver 44161fe16c
gnu: glibc-utf8-locales: Use invoke instead of system*.
* gnu/packages/base.scm (glibc-utf8-locales)[arguments]: Use invoke and
remove the vestigial result code plumbing.
2018-03-16 05:02:06 -04:00
Marius Bakke ec07ba1ff7
gnu: patch: Update to 2.7.6.
* gnu/packages/base.scm (patch): Update to 2.7.6.
* gnu/packages/patches/patch-hurd-path-max.patch: Adjust to upstream changes.
2018-03-14 22:11:34 +01:00
Ricardo Wurmus 8fdc843f26
gnu: Ungraft glibc.
* gnu/packages/base.scm (glibc-2.26-patched): Remove variable.
(glibc/linux)[replacement]: Remove.
[source]: Add "glibc-allow-kernel-2.6.32.patch" to patches.
2018-03-14 17:39:50 +01:00
Ricardo Wurmus 8c72ed923d
Merge branch 'master' into core-updates 2018-03-14 17:37:20 +01:00
Ricardo Wurmus 441010a2d1
Revert "gnu: Use patched static bash in glibc replacement."
This reverts commit 42958b5e0f.
2018-03-14 16:28:22 +01:00
Ricardo Wurmus 9c9912cf5b
Revert "gnu: Add missing module to (gnu packages base)."
This reverts commit 911e66f922.
2018-03-14 16:28:22 +01:00
Ricardo Wurmus 911e66f922
gnu: Add missing module to (gnu packages base).
This is a follow-up to commit 42958b5e0f.

Reported by pmikkelsen on IRC.

* gnu/packages/base.scm: Use srfi-1 for alist-delete.
2018-03-14 12:46:57 +01:00
Ricardo Wurmus 42958b5e0f
gnu: Use patched static bash in glibc replacement.
* gnu/packages/base.scm (glibc-2.26-patched): Rename...
(glibc-2.26-patched-boot): ...to this.
(patched-static-bash, glibc-2.26-patched): New variables.
2018-03-14 11:39:14 +01:00
Marius Bakke d8fa1890c7
Merge branch 'master' into staging 2018-03-08 21:21:05 +01:00
Ludovic Courtès 036ed3a830
gnu: glibc-2.26-patch: Remove unneeded 'replacement' field.
* gnu/packages/base.scm (glibc-2.26-patched): Remove unneeded
'replacement' field.
2018-03-07 21:39:32 +01:00
Leo Famulari 613ef763a5
Merge branch 'master' into staging 2018-03-06 13:39:12 -05:00
Ricardo Wurmus b672a81607
gnu: Graft glibc to allow execution on Linux 2.6.32.
* gnu/packages/patches/glibc-allow-kernel-2.6.32.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/base.scm (glibc/linux)[replacement]: New field.
(glibc-2.26-patched): New variable.
2018-03-01 21:32:36 +01:00
Ludovic Courtès ad2e142278
gnu: tar: Skip faulty test.
* gnu/packages/base.scm (tar)[arguments]: Add #:make-flags.
2018-02-25 01:03:52 +01:00
Leo Famulari eadcdc7422
gnu: tzdata: Restore the test variant tzdata-for-tests.
Commit 62868f124c (gnu: tzdata: Preserve directory layout from before tzdata
2018a) changed the derivation of this package, which doesn't need to change yet.

* gnu/packages/base.scm (tzdata-for-tests)[arguments]: Copy the build
arguments from before commit 62868f124c.
2018-02-20 14:14:38 -05:00
Tobias Geerinckx-Rice 70144879aa
gnu: coreutils: Update to 8.29.
* gnu/packages/base.scm (coreutils): Update to 8.29.
2018-02-20 19:32:45 +01:00
Marius Bakke 7f69459aca
Merge branch 'master' into staging 2018-02-20 17:36:56 +01:00
Tobias Geerinckx-Rice c04e511693
gnu: glibc-hurd-headers: Update phase style.
* gnu/packages/base.scm (glibc/hurd-headers)[arguments]: Use
MODIFY-PHASES syntax and INVOKE, and end phases with #t.
2018-02-20 16:06:09 +01:00
Leo Famulari 62868f124c
gnu: tzdata: Preserve directory layout from before tzdata 2018a.
tzdata 2018a instroduced some changes to the build and installation
procedures that commit e2832cdc3 failed to address. They are described
in the NEWS file.

This is a followup to commit e2832cdc35.

* gnu/packages/base.scm (tzdata)[arguments]: Set TZDEFAULT. Remove the
time-zone utility programs in a build phase.
2018-02-19 23:57:36 -05:00
Alex Vong ad3c9f18da
gnu: tar: Update to 1.30.
* gnu/packages/base.scm (tar): Update to 1.30.
[source]: Remove 'tar-CVE-2016-6321.patch'.
* gnu/packages/patches/tar-CVE-2016-6321.patch: Remove.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.

Signed-off-by: Leo Famulari <leo@famulari.name>
2018-02-19 21:50:09 -05:00
Leo Famulari e2832cdc35
gnu: tzdata: Update to 2018c.
* gnu/packages/base.scm (tzdata): Update to 2018c.
2018-02-19 20:39:06 -05:00
Mark H Weaver e7ca634912
Merge branch 'master' into core-updates 2018-02-03 22:46:07 -05:00
Leo Famulari 537a17fbe8
gnu: Add copyright statement for Alex Vong.
This is a followup to commit 20be64dcf7.

* gnu/packages/base.scm: Add copyright statement.
2018-02-01 16:14:41 -05:00
Marius Bakke 5029b0bcc4
gnu: glibc@2.25: Don't apply glibc-CVE-2015-5180.patch.
This was mistakenly added in 67d527e35e and
already included in glibc 2.25.

* gnu/packages/base.scm (glibc-2.25)[source](patches): Remove
'glibc-CVE-2015-5180.patch'.
2018-02-01 11:09:16 +01:00
Leo Famulari 4adb40bffc
Merge branch 'master' into core-updates 2018-01-11 14:22:50 -08:00
Ludovic Courtès 20bf5fce7d
gnu: grep: Add dependency on PCRE.
Suggested by Oleg Pykhalov <go.wigust@gmail.com>
and Roel Janssen <roel@gnu.org>.

* gnu/packages/base.scm (grep)[inputs]: New field.
* gnu/packages/commencement.scm (grep-final)[inputs]: New field.
2018-01-11 22:49:15 +01:00
Marius Bakke 0c86790bfd
Revert "gnu: glibc: Fix CVE-2017-15670, CVE-2017-15671."
These issues has been classified as minor by Debian:

https://security-tracker.debian.org/tracker/CVE-2017-15670
https://security-tracker.debian.org/tracker/CVE-2017-15671

In addition, the patch only fixes one of the two CVEs it claims to fix.  We
don't backport most CVEs, especially non-critical ones, so no need to carry
this (which is in 2.26).  See discussion at <https://bugs.gnu.org/29490>.

This reverts commit 60e29339d8.
2018-01-02 16:55:17 +01:00
Ludovic Courtès f3c294a2ab
gnu: coreutils: Fix cross-compilation.
Previously cross-compiling coreutils would fail with:

  aarch64-linux-gnu-gcc   -Os -g0 -Wl,--as-needed -static -pthread -o src/uptime src/uptime.o src/libver.a lib/libcoreutils.a  lib/libcoreutils.a
  /gnu/store/hk8615wmmzk28k5z06g69jm6vbhc8lgk-glibc-cross-aarch64-linux-gnu-2.26.105-g0890d5379c-static/lib/libc.a(mktime.o): In function `__mktime_internal':
  /tmp/guix-build-glibc-cross-aarch64-linux-gnu-2.26.105-g0890d5379c.drv-0/glibc-2.26-105-g0890d5379c/time/mktime.c:353: multiple definition of `__mktime_internal'
  lib/libcoreutils.a(mktime.o):mktime.c:(.text+0x214): first defined here
  collect2: error: ld returned 1 exit status

* gnu/packages/base.scm (coreutils)[arguments]: Add #:configure-flags
when cross-compiling.
2017-12-29 13:31:10 +01:00
Ludovic Courtès 8d6cd08573
gnu: diffutils: Fix Gnulib/getopt cross-compilation issue.
Previously cross-compilation would fail:

     CC       xvasprintf.o
   xstrtol-error.c:50:16: warning: 'struct rpl_option' declared inside parameter list
		   int exit_status)
		   ^
   xstrtol-error.c: In function 'xstrtol_error':
   xstrtol-error.c:84:5: error: invalid use of undefined type 'struct rpl_option'

* gnu/packages/patches/diffutils-getopt.patch: New file.
* gnu/packages/base.scm (diffutils)[source]: Use it.
* gnu/local.mk (dist_patch_DATA): Add it.
2017-12-20 23:19:31 +01:00
Marius Bakke 2bbd674ba0
gnu: glibc-locales: Don't inherit 'move-static-libs' phase from glibc.
This is a follow-up to commit 6dff905e51.

* gnu/packages/base.scm (glibc-locales)[arguments]: Delete failing
'move-static-libs' phase.
2017-12-06 15:16:21 +01:00
Marius Bakke e3f9406b7c
gnu: glibc: Update to 2.26.105-g0890d5379 [fixes CVE-2017-15804].
* gnu/packages/base.scm (glibc/linux): Update to 2.26.105-g0890d5379.
2017-12-05 23:33:03 +01:00
Marius Bakke c6bc8e22e9
gnu: glibc: Don't use full version string in locale path.
This is a follow-up to commit ee3ebf1a35.
Fixes <https://bugs.gnu.org/29537>.

* gnu/packages/base.scm (glibc/linux)[version]: Change to 2.26.91-gaaa2eb83b8.
[source](uri): Adjust accordingly.
[arguments]: Use VERSION-MAJOR+MINOR for locales path.
(glibc-locales, glibc-utf8-locales): Likewise.
* guix/packages.scm (patch-and-repack): Likewise.
* guix/profiles.scm (ca-certificate-bundle, profile-derivation): Likewise.
2017-12-03 16:23:43 +01:00
Marius Bakke ee3ebf1a35
gnu: glibc: Update to 2.26-91-gaaa2eb83b8.
* gnu/packages/base.scm (glibc/linux): Update to 2.26-91-gaaa2eb83b8.
[source](uri): Download from alpha.gnu.org.
[source](patches): Remove glibc-CVE-2017-15670-15671.patch.
2017-11-28 14:24:09 +01:00
Eric Bavier acc2dab7f2
gnu: Disable gnulib's test-lock test in packages.
* gnu/packages/base.scm (findutils)[source]: Disable test-lock.
* gnu/packages/gettext.scm (gettext-minimal)[source]: Ditto.
* gnu/packages/libidn.scm (libidn)[source]: Ditto.
* gnu/packages/libunistring.scm (libunistring)[source]: Ditto.
* gnu/packages/augeas.scm (augeas)[source]: Ditto.
* gnu/packages/gsasl.scm (gsasl)[source]: Ditto.
* gnu/packages/patches/findutils-gnulib-multi-core.patch,
gnu/packages/patches/gettext-gnulib-multi-core.patch,
gnu/packages/patches/gettext-multi-core.patch,
gnu/packages/patches/libunistring-gnulib-multi-core.patch: Delete patches.
* gnu/local.mk (DIST_PATCH_DATA): Remove them.
2017-11-06 17:32:42 -06:00
Leo Famulari 75aea16fb0
gnu: tzdata-for-tests: Update to 2017c.
* gnu/packages/base.scm (tzdata-for-tests): Make it a 'hidden-package' and
update to 2017c.
2017-11-04 10:32:30 -04:00
Leo Famulari f9c3bd2e01
gnu: Generalize the variable name of the test-only tzdata package.
* gnu/packages/base.scm (tzdata-2017a): Rename variable to tzdata-for-tests.
* gnu/packages/calcurse.scm (calcurse)[native-inputs, arguments]: Adjust
accordingly.
gnu/packages/glib.scm (glib): Likewise.
* gnu/packages/perl.scm (perl-libtime-parsedate): Adjust accordingly and
add tzdata-for-tests #:disallowed-references.
* gnu/packages/statistics.scm (r-minimal): Adjust accordingly.
2017-11-04 10:32:30 -04:00
Leo Famulari 232ffa842d
gnu: tzdata: Update to 2017c.
* gnu/packages/base.scm (base)[tzdata]: Update to 2017c.
2017-11-04 10:32:27 -04:00
Marius Bakke 67d527e35e
gnu: glibc: Update to 2.26.
* gnu/packages/base.scm (glibc/linux): Update to 2.26.
[source](patches): Remove 'glibc-memchr-overflow-i686.patch',
'glibc-o-largefile.patch', 'glibc-vectorized-strcspn-guards.patch,
'glibc-CVE-2017-1000366-pt1.patch', 'glibc-CVE-2017-1000366-pt2.patch' and
'glibc-CVE-2017-1000366-pt3.patch'.
(glibc-2.25): New public variable.
2017-10-24 22:15:10 +02:00
Marius Bakke 2cce5fc598
gnu: glibc: Incorporate grafted changes.
* gnu/packages/base.scm (glibc/linux)[source](patches): Add
'glibc-CVE-2017-15670-15671.patch'.
(glibc/fixed): Remove variable.
2017-10-24 22:04:29 +02:00
Marius Bakke ca4fd41de8
Merge branch 'master' into core-updates 2017-10-24 22:00:23 +02:00
Marius Bakke 60e29339d8
gnu: glibc: Fix CVE-2017-15670, CVE-2017-15671.
* gnu/packages/patches/glibc-CVE-2017-15670-15671.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/base.scm (glibc/linux)[replacement]: New field.
(glibc/fixed): New variable.
(glibc-2.24, glibc-2.23, glibc-2.22)[source](patches): Add
'glibc-CVE-2017-15670-15671.patch'.
2017-10-22 23:13:09 +02:00
Marius Bakke c01ef97594
Merge branch 'master' into core-updates 2017-10-10 22:33:28 +02:00
Efraim Flashner 656a5ba0d5
gnu: coreutils: Update build phase.
* gnu/packages/base.scm (coreutils)[arguments]: Use 'modify-phases'
syntax. Substitute with 'which sh'.
2017-10-08 00:59:06 +03:00
Efraim Flashner 2320d4f058
gnu: glibc-locales: Use 'modify-phases' syntax.
* gnu/packages/base.scm (glibc-locales)[arguments]: Use 'modify-phases'
syntax.
2017-10-06 16:00:11 +03:00
Efraim Flashner d31e7bad8c
Revert "gnu: binutils: Update to 2.29.1."
This reverts commit 3097edf549.
2017-10-03 08:55:48 +03:00
Efraim Flashner 3097edf549
gnu: binutils: Update to 2.29.1.
* gnu/packages/base.scm (binutils): Update to 2.29.1.
[source]: Add patch.
* gnu/packages/patches/binutils-CVE-2017-14729.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2017-10-02 12:13:39 +03:00
Efraim Flashner 45953b1f67
gnu: binutils: Update to 2.28.1.
* gnu/packages/base.scm (binutils): Update to 2.28.1.
[replacement]: Remove field.
* gnu/packages/commencement.scm (binutils-boot0, binutils-final): Don't
use 'package/inherit'.
2017-10-01 22:16:24 +03:00
Efraim Flashner 64df08f0cf
Merge remote-tracking branch 'origin/master' into core-updates 2017-10-01 22:16:22 +03:00
Efraim Flashner ce27857f71
gnu: binutils: Fix security issues.
* gnu/packages/base.scm (binutils)[replacement]: New field.
(binutils/fixed): New variable.
* gnu/packages/commencement.scm (binutils-boot0, binutils-final): Use
'package/inherit' to correctly use replacement binutils.
2017-09-17 22:45:21 +03:00
Ludovic Courtès 9f993702a6
gnu: coreutils: Update to 8.28.
* gnu/packages/base.scm (coreutils): Update to 8.28.
[source]: Remove 'patches'.
* gnu/packages/patches/coreutils-cut-huge-range-test.patch: Remove.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2017-09-05 10:18:39 +02:00
Ludovic Courtès 6dff905e51
gnu: glibc: Add "static" output.
This shrinks glibc:out from 37 MiB to 29 MiB.

* gnu/packages/base.scm (glibc/linux)[outputs]: Add "static".
[arguments]: Add #:modules.  Add 'move-static-libs' phase.
* gnu/packages/commencement.scm (static-bash-for-glibc): Augment
 #:configure-flags to pass "-L LIBC:STATIC".  Add the "static" output of
GLIBC-FINAL to 'inputs'.
(%boot2-inputs, %final-inputs): Likewise.
(canonical-package): Adjust to deal with multiple-output packages.
* gnu/packages/cross-base.scm (cross-gcc): Add the "static" output of
LIBC to 'native-inputs'.
2017-09-05 10:18:39 +02:00
Efraim Flashner 63adf0fd67
gnu: grep: Update to 3.1.
* gnu/packages/base.scm (grep): Update to 3.1.
[source]: Remove patch.
* gnu/packages/patches/grep-gnulib-lock.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2017-08-30 08:08:52 +03:00
Mark H Weaver f167595ba1
Merge branch 'master' into core-updates 2017-08-06 00:23:20 -04:00
Efraim Flashner edd08fb7ac
gnu: glibc@2.22: Fix security issues.
Fixes CVE-2015-{5180,7547}, CVE-2016-{3075,3706,4429}.

* gnu/packages/base.scm (glibc@2.22)[source]: Add patches.
* gnu/packages/patches/glibc-CVE-2015-7547.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2017-08-02 21:51:35 +03:00
Efraim Flashner a0ae64a334
gnu: glibc@2.23: Fix CVE-2015-5180, CVE-2016-{3075,3706,4429}.
* gnu/packages/base.scm (glibc@2.23)[source]: Add patches.
* gnu/packages/patches/glibc-CVE-2016-3075.patch,
gnu/packages/patches/glibc-CVE-2016-3706.patch,
gnu/packages/patches/glibc-CVE-2016-4429.patch: New files.
* gnu/local.mk (dist_patch_DATA): Register them.
2017-08-02 21:51:33 +03:00
Efraim Flashner 575e5e4e51
gnu: glibc@2.24: Fix CVE-2015-5180.
* gnu/packages/base.scm (glibc@2.24)[source]: Add patch.
* gnu/packages/patches/glibc-CVE-2015-5180.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2017-08-02 21:51:31 +03:00
Leo Famulari 6c1a317e29
Merge branch 'master' into core-updates 2017-07-23 03:42:12 -04:00
Ludovic Courtès 6d833b13b7
gnu: Remove glibc@2.21 and its traces.
* gnu/packages/base.scm (glibc-2.21): Remove.
* gnu/system/locale.scm (localedef-command)[maybe-version-directory]:
Remove.  Replace call with use of 'package-version'.
(single-locale-directory): Remove 'version>=' conditional.
2017-07-17 23:41:36 +02:00
Ludovic Courtès d5ec5ed719
packages: Mark 'replacement' as an "innate" field.
Suggested by Mark H Weaver
at <https://lists.gnu.org/archive/html/guix-devel/2017-06/msg00355.html>.

* guix/packages.scm (<package>)[replacement]: Mark as "innate".
* gnu/packages/base.scm (glibc-2.25-patched, glibc-2.24)
(glibc-2.23, glibc-2.22, glibc-2.21, glibc-locales): Remove
'replacement' field, which was set to #f.
* gnu/packages/commencement.scm (perl-boot0): Likewise.
* gnu/packages/fontutils.scm (graphite2/fixed): Likewise.
* gnu/packages/ghostscript.scm (ghostscript/fixed): Likewise.
* gnu/packages/gnupg.scm (libgcrypt-1.7.8): Likewise.
* gnu/packages/guile.scm (guile-2.0/fixed, guile-2.2): Likewise.
* gnu/packages/icu4c.scm (icu4c/fixed): Likewise.
* gnu/packages/image.scm (libpng-apng): Likewise.
* gnu/packages/make-bootstrap.scm (%guile-static): Likewise.
* gnu/packages/pcre.scm (pcre/fixed): Likewise.
* gnu/packages/perl.scm (perl/fixed): Likewise.
* gnu/packages/ruby.scm (ruby-2.3, ruby-2.2, ruby-2.1)
(ruby-1.8): Likewise.
* gnu/packages/tls.scm (gnutls-3.5.13, gnutls/guile-2.2): Likewise.
* gnu/packages/xml.scm (expat-2.2.1): Likewise.
2017-07-03 23:51:22 +02:00
Mark H Weaver 13fa4d7c35
gnu: glibc: Fix build on i686.
This is followup to 503a4df904.
Fixes <https://bugs.gnu.org/27489>.

* gnu/packages/base.scm (glibc/linux): Add
"glibc-vectorized-strcspn-guards.patch" to patches.
2017-07-01 02:18:32 -04:00
Ludovic Courtès 503a4df904
gnu: glibc/linux: Add patches for CVE-2017-1000366.
* 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: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/base.scm (glibc/linux)[source](patches): Add them.
[replacement]: Remove.
(glibc-2.25-patched): Remove.
(glibc-2.24, glibc-2.23, glibc-2.22, glibc-2.21)
(glibc-locales): Remove 'replacement' field.
2017-06-29 22:03:33 +02:00
Mark H Weaver ed068b960e
Merge branch 'master' into core-updates 2017-06-26 00:00:58 -04:00
Mark H Weaver ffc015bea2
gnu: glibc: Fix replacement on i686.
This is followup to 665d6a5916.
Fixes <https://bugs.gnu.org/27489>.

* gnu/packages/base.scm (glibc-2.25-patched, glibc-2.24, glibc-2.23)
(glibc-2.22): Add glibc-vectorized-strcspn-guards.patch to patches.
Move a comment where it belongs.
* gnu/packages/patches/glibc-CVE-2017-1000366-pt2.patch: Swap with ...
* gnu/packages/patches/glibc-CVE-2017-1000366-pt3.patch: ... this.
* gnu/packages/patches/glibc-vectorized-strcspn-guards.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.  Fix formatting.
2017-06-25 21:56:22 -04:00
Efraim Flashner 665d6a5916
gnu: glibc: Add mitigations for CVE-2017-1000366.
* gnu/packages/base.scm (glibc/linux)[replacement]: New field.
(glibc-2.25-patched): New variable.
(glibc-2.24, glibc-2.23, glibc-2.22, glibc-2.21)[source]: Add patches.
[replacement]: New field.
(glibc-locales)[replacement]: New field.
* 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: New files.
* gnu/local.mk (dist_patch_DATA): Add them.

Modified-By: Mark H Weaver <mhw@netris.org>
2017-06-24 02:42:37 -04:00
Mark H Weaver 56ed97c8b5
gnu: glibc-2.22: Return #t from 'fix-pwd' phase.
Based on a patch by Efraim Flashner <efraim@flashner.co.il>.

* gnu/packages/base.scm (glibc-2.22)[arguments]: Return #t from 'fix-pwd'
phase.
2017-06-24 02:42:24 -04:00
Ricardo Wurmus ff647c3d38
gnu: glibc: Move i686 patch to source field.
This is a rewrite of changes introduced by commits
b2fd8f6367,
c2e4f14ac8,
441e99d433 and
d03b34cf19.

* gnu/packages/base.scm (glibc/linux)[source]: Add i686 patch.
[arguments]: Remove conditional patch application from build phase.
[native-inputs]: Remove patch.
(glibc/hurd)[arguments]: Inherit pre-configure build phase from glibc/linux.
* gnu/packages/commencement.scm (glibc-final-with-bootstrap-bash)[native-inputs]:
Remove patch.
2017-05-29 06:14:11 +02:00
Marius Bakke ccd7daae4c
gnu: Remove workaround for <https://bugs.gnu.org/26238>.
* gnu/packages/base.scm (coreutils-8.27): Remove variable.
* gnu/system.scm (%base-packages): Change back to COREUTILS.
2017-05-28 19:08:54 +02:00
Marius Bakke f0c6dda640
gnu: binutils: Update to 2.28.
* gnu/packages/base.scm (binutils): Update to 2.28.
[source]<patches>: Remove upstreamed patch.
[arguments]<#:configure-flags>: Remove "--disable-werror"
* gnu/packages/patches/binutils-mips-bash-bug.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2017-05-28 19:08:40 +02:00
Marius Bakke 03bcf7c317
gnu: diffutils: Update to 3.6.
* gnu/packages/base.scm (diffutils): Update to 3.6.
2017-05-24 17:45:56 +02:00
Ricardo Wurmus d1a914082b
Merge branch 'master' into core-updates 2017-05-24 12:05:47 +02:00
Ricardo Wurmus 441e99d433
gnu: glibc/hurd: Do not apply i686 patch.
This is a follow-up to commit c2e4f14ac8.

* gnu/packages/base.scm (glibc/hurd)[arguments]: Override pre-configure phase
with a copy that does not include the patch application.
2017-05-16 22:37:31 +02:00
Ricardo Wurmus 711a0dcefa
gnu: glibc/hurd: Use modify-phases syntax.
* gnu/packages/base.scm (glibc/hurd)[arguments]: Use modify-phases syntax.
2017-05-16 22:37:31 +02:00
Ludovic Courtès 5c6b6827e9
gnu: libiconv: Update to 1.15.
* gnu/packages/base.scm (libiconv): Update to 1.15.
2017-05-02 12:32:52 +02:00
Ricardo Wurmus c2e4f14ac8
gnu: glibc/linux: Fix build of glibc-intermediate.
This is a follow-up to commit b2fd8f6367.

* gnu/packages/base.scm (glibc/linux)[arguments]: Take patch from either
native-inputs or just inputs; fix syntax error; report errors on patch
failure.
2017-04-30 13:01:20 +02:00
Ricardo Wurmus b2fd8f6367
gnu: glibc/linux: Fix runtime crashes on i686 systems.
* gnu/packages/patches/glibc-memchr-overflow-i686.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/commencement.scm (glibc-final-with-bootstrap-bash)[native-inputs]:
Add the patch conditionally for i686 systems.
* gnu/packages/base.scm (glibc/linux)[native-inputs]: Add the patch
conditionally for i686 systems.
[arguments]: Apply the patch conditionally on i686 systems.
2017-04-29 23:31:35 +02:00
Leo Famulari 39d2d9a7ab
Merge branch 'master' into staging 2017-04-25 14:27:03 -04:00
Ludovic Courtès fd6ec6bd99
gnu: coreutils@8.27: Do not apply 'coreutils-cut-huge-range-test.patch'.
This patch is not needed in 8.27.
Reported by Mark H Weaver <mhw@netris.org>.

* gnu/packages/base.scm (coreutils-8.27)[arguments]: New field.
2017-04-23 01:24:57 +02:00
Leo Famulari 1524851f58
Merge branch 'master' into staging 2017-04-22 18:27:12 -04:00
Ludovic Courtès 78dea6f1d4
gnu: ld-wrapper: Build with Guile 2.2.
Reported by Sergei Trofimovich <slyfox@inbox.ru>.

* gnu/packages/base.scm (make-ld-wrapper): Change #:guile to default to
GUILE-2.2.
* gnu/packages/commencement.scm (ld-wrapper): Define in terms of
'make-ld-wrapper' such that #:guile-for-build and #:guile are the same.
2017-04-20 23:58:14 +02:00
Marius Bakke e162050dfc
gnu: Add workaround for `date` regression in coreutils@8.26.
See <https://bugs.gnu.org/23035> and <https://bugs.gnu.org/26238>.

* gnu/packages/base.scm (coreutils-8.27): New variable.
* gnu/system.scm (%base-packages): Use that instead of COREUTILS.
2017-04-19 22:07:18 +02:00
Efraim Flashner a55fbab722
gnu: libiconv: Update to 1.15.
* gnu/packages/base.scm (libiconv): Update to 1.15.
[source]: Remove snippet.
2017-04-18 06:38:01 +03:00
Mathieu Othacehe da8e256a52
gnu: findutils: Fix make check issues on multi-core machines.
* gnu/packages/patches/findutils-gnulib-multi-core.patch: New file.
* gnu/local.mk (dist_patch): Add previous patch.
* gnu/packages/base.scm (findutils)[patches]: Add a reference
to the previous patch.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2017-04-17 21:35:32 +02:00
Sergei Trofimovich dd58c53399
gnu: glibc/linux: Re-enable parallel build.
Parallel build failure was fixed upstream as:
https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=e8b6be0016f131c2ac72bf3213eabdb59800e63b

* gnu/packages/base.scm (glibc/linux): Re-enable parallel build.

Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
Signed-off-by: Kei Kebreau <kei@openmailbox.org>
2017-04-16 09:18:02 -04:00
Ludovic Courtès 1cbd63f205
gnu: coreutils: Update to 8.27.
* gnu/packages/base.scm (coreutils): Update to 8.27.
[source](patches): Remove "coreutils-fix-cross-compilation.patch" and
add "coreutils-cut-huge-range-test.patch".
[native-inputs]: Remove "coreutils-cut-huge-range-test.patch".
[arguments]: Remove 'patch-cut-test' phase.  Remove #:parallel-tests?.
* gnu/local.mk (dist_patch_DATA): Remove
"coreutils-fix-cross-compilation.patch".
* gnu/packages/patches/coreutils-fix-cross-compilation.patch: Remove.
* gnu/packages/patches/coreutils-cut-huge-range-test.patch: Adjust.
2017-04-08 23:27:08 +02:00
rennes b81d11e580
gnu: grep: Fix for gnulib library.
* gnu/packages/patches/grep-gnulib-lock.patch: New file.
* gnu/packages/base.scm (grep)[source]: Use it.
* gnu/local.mk (dist_patch_DATA): Add it.
2017-04-08 19:04:44 +03:00
Leo Famulari 52196aea19
gnu: tzdata: Update to 2017b.
* gnu/packages/base.scm (tzdata): Update to 2017b.
2017-04-02 20:25:42 -04:00
Marius Bakke 84157bb8bf
Merge branch 'master' into core-updates
Most conflicts are from 6fd52309b8.
2017-03-30 22:59:53 +02:00
Tobias Geerinckx-Rice 6fd52309b8
gnu: Use HTTPS for almost all gnu.org HOME-PAGEs.
All HTTP gnu.org (and supported subdomain) HOME-PAGEs changed to HTTPS.
2017-03-30 01:30:16 +02:00
Ludovic Courtès d1e3f59c9b
gnu: coreutils: Patch 'cut' unit test on ARM.
Fixes <https://bugs.gnu.org/26253>.

* gnu/packages/patches/coreutils-cut-huge-range-test.patch: New file.
* gnu/packages/base.scm (coreutils)[native-inputs]: Add it as an input.
[arguments] <#:phases>: On ARM, add 'patch-cut-test' phase.
* gnu/local.mk (dist_patch_DATA): Add 'coreutils-cut-huge-range-test.patch'.
2017-03-25 23:31:10 +01:00
Leo Famulari 3ffaec136f
gnu: Add a tzdata variant for testing purposes.
* gnu/packages/base.scm (tzdata-2017a): New variable.
* gnu/packages/glib.scm (glib)[inputs]: Remove tzdata.
[native-inputs]: Add tzdata-2017a.
[arguments]: Add tzdata-2017a to #:disallowed-references.
* gnu/packages/statistics.scm (r)[inputs]: Remove tzdata.
[native-inputs]: Add tzdata-2017a.
[arguments]: Add tzdata-2017a to #:disallowed-references.
2017-03-12 20:45:46 -04:00
Leo Famulari 8ea0700d23
gnu: tzdata: Update to 2017a.
* gnu/packages/base.scm (tzdata): Update to 2017a.
2017-03-08 18:08:19 -05:00
Efraim Flashner e747964420
gnu: coreutils: Don't run tests in parallel.
* gnu/packages/base.scm (coreutils)[arguments]: Add '#:parallel-tests? #f'
to address a race contition in the test suite.
2017-02-20 10:57:18 +02:00
Marius Bakke f3a79f88e5
gnu: grep: Update to 3.0.
* gnu/packages/base.scm (grep): Update to 3.0.
2017-02-10 16:16:17 +01:00
Efraim Flashner 7ca72ec44b
gnu: glibc: Add version 2.24.
* gnu/packages/base.scm (glibc-2.24): New variable.
2017-02-07 19:41:04 +02:00
Efraim Flashner 242c092745
gnu: glibc: Update to 2.25.
* gnu/packages/base.scm (glibc): Update to 2.25
2017-02-07 19:34:41 +02:00
Marius Bakke 0cd3e44577
gnu: grep: Update to 2.28.
* gnu/packages/base.scm (grep): Update to 2.28.
2017-02-07 17:01:23 +01:00
Marius Bakke d6592d84ca
gnu: sed: Update to 4.4.
* gnu/packages/base.scm (sed): Update to 4.4.
2017-02-04 10:49:54 +01:00
Manolis Ragkousis 82a7a8c667
gnu: coreutils: Fix cross-compilation.
* gnu/packages/patches/coreutils-fix-cross-compilation.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/base.scm (coreutils)[source]: Use it.
2017-01-27 10:19:25 +02:00
Ludovic Courtès c8b44fc107
gnu: sed: Do not attempt to rebuild 'doc/sed.1'.
* gnu/packages/base.scm (sed)[arguments]: Add 'dont-rebuild-sed.1'
phase.
[native-inputs]: Remove.
2017-01-22 13:13:36 +01:00
Ludovic Courtès 8a296947a6
gnu: sed: Use the same phases whether or not we're cross-compiling.
* gnu/packages/base.scm (sed)[arguments]: Make #:phases argument
unconditional.  In 'patch-test-suite' phase, use (which "sh") instead of
referring to the "bash" input.
2017-01-22 13:13:35 +01:00
Leo Famulari e483139141
gnu: glibc/linux: Use /bin/sh instead of /bin/bash as the default shell.
* gnu/packages/base.scm (glibc/linux)[arguments]: Use /bin/sh for scripts that
lack a shebang.
2017-01-06 17:16:03 -05:00
Leo Famulari 11b6687609
gnu: glibc/linux: Don't replace 'sh' reference with 'bash'.
* gnu/packages/base.scm (glibc/linux)[arguments]: Use /bin/sh instead of
/bin/bash in 'pre-configure' phase.
2017-01-06 17:16:03 -05:00
Leo Famulari 60f3ad8c07
gnu: gnu-make: Don't replace 'sh' reference with 'bash'.
* gnu/packages/base.scm (gnu-make)[arguments]: Use /bin/sh instead of /bin/bash
in 'set-default-shell' phase.
2017-01-06 17:16:02 -05:00
Leo Famulari 74288230ea
Merge branch 'master' into core-updates 2017-01-06 17:14:41 -05:00
Marius Bakke 7d7ea947f5
gnu: sed: Update to 4.3.
* gnu/packages/base.scm (sed): Update to 4.3.
[source]: Use xz tarball. Remove upstreamed patch.
[arguments]: Fix '/bin/sh' -> 'bash' substitution.
[home-page]: Use https.
[native-inputs]: Add perl.
* gnu/packages/patches/sed-hurd-path-max.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2017-01-05 15:21:23 +01:00
Manolis Ragkousis 367f701379
gnu: glibc-hurd: Disable werror.
* gnu/packages/base.scm (glibc/hurd)[arguments]: Add "--disable-werror".
2017-01-03 16:00:43 +02:00
Alex Vong 20be64dcf7
gnu: tar: Fix CVE-2016-6321.
* gnu/packages/patches/tar-CVE-2016-6321.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/base.scm (tar)[source]: Use it.

Signed-off-by: Leo Famulari <leo@famulari.name>
2017-01-01 20:19:36 -05:00
Manolis Ragkousis 1d9c889881
gnu: glibc-hurd: Update to 2.23.
* gnu/packages/base.scm (glibc/hurd)[version]: Update to version 2.23.
2016-12-28 21:14:20 +02:00
Efraim Flashner 78636f0b8c
gnu: grep: Update to 2.27.
* gnu/packages/base.scm (grep): Update to 2.27.
2016-12-10 22:10:30 +02:00
Ludovic Courtès f80b4d2ce0
Merge remote-tracking branch 'origin/master' into staging 2016-12-09 18:11:14 +01:00
Jan Nieuwenhuizen 4dab8c5906
gnu: Add function libiconv-if-needed.
* gnu/packages/base.scm (libiconv-if-needed): New function.
2016-12-07 10:23:16 +01:00
Efraim Flashner bec5022ffe
gnu: coreutils: Update to 8.26.
* gnu/packages/base.scm (coreutils): Update to 8.26.
2016-12-03 17:30:33 +02:00
Leo Famulari 80b63e670e
gnu: tzdata: Update to 2016j.
* gnu/packages/base.scm (tzdata): Update to 2016j.
[source]: Use HTTPS URL.
[home-page]: Use HTTPS URL.
2016-12-02 13:16:35 -05:00
Manolis Ragkousis 9b5f498def
gnu: glibc-hurd: Force mach/hurd/libpthread subdirs to build first.
* gnu/packages/base.scm (glibc/hurd)[arguments]: Replace 'build' phase.

Co-authored-by: Ludovic Court<C3><A8>s <ludo@gnu.org>
2016-11-30 15:17:38 +02:00
Efraim Flashner 51c8e2996c
gnu: sed: Use 'modify-phases' syntax.
* gnu/packages/base.scm (sed)[arguments]: Use 'modify-phases' syntax.
2016-11-27 10:25:45 +02:00
Efraim Flashner b7a5a4821f
gnu: grep: Update to 2.26.
* gnu/packages/base.scm (grep): Update to 2.26.
2016-11-27 10:23:59 +02:00
Ludovic Courtès 19ac2ba858
gnu: glibc: Add version 2.23.
* gnu/packages/base.scm (glibc-2.23): New variable.
2016-11-07 00:44:56 +01:00
Mark H Weaver 8b6ad165d1
Merge branch 'master' into core-updates 2016-11-06 03:29:06 -05:00
Ludovic Courtès fb77c61422
gnu: Remove '%final-inputs' references at the top level.
Due to circular dependencies, referring to bindings exported by other
modules from the top level is frowned upon.  This patch addresses one of
the remaining cases.

* gnu/packages/base.scm (%final-inputs): New procedure.
* gnu/packages/cross-base.scm: Remove (gnu packages commencement) import.
(cross-gcc): Use the new '%final-inputs'.
* gnu/packages/make-bootstrap.scm: Remove (gnu packages commencement) import.
(package-with-relocatable-glibc): Use the new '%final-inputs'.
2016-11-04 15:36:00 +01:00
Ludovic Courtès 5bde4503ee
gnu: ld-wrapper-boot0: Work around strict evaluation of (%current-system).
Reported by Mark H Weaver <mhw@netris.org>
Partly fixes <http://bugs.gnu.org/24832>.

'ld-wrapper-boot0' was evaluating strictly instead of lazily, leading to
invalid system types.

* gnu/packages/base.scm (make-ld-wrapper): Turn #:target into a
one-argument procedure.  Honor it.
* gnu/packages/commencement.scm (ld-wrapper-boot0): Fix 'name' argument
to 'make-ld-wrapper'.  Make #:target argument a procedure.
* gnu/packages/cross-base.scm (cross-gcc): Adjust #:target argument.
2016-10-31 16:06:30 +01:00
John Darrington c8f354588e
gnu: tzdata: Use modify-phases
* gnu/packages/base.scm (tzdata)[arguments]: Replace alist- procedures
with modify-phases
2016-10-07 06:59:49 +02:00
John Darrington 12b85b3787
gnu: tzdata: Fix dangling symbolic link.
* gnu/packages/base.scm (tzdata)[arguments]: Replace dangling symbolic link
with the correct path.
2016-10-07 06:59:42 +02:00
Leo Famulari 17b56c06e9
gnu: tzdata: Update to 2016g.
* gnu/packages/base.scm (tzdata): Update to 2016g.
2016-10-06 17:45:27 -04:00
Ludovic Courtès 789f09a073
gnu: binutils: Work around Bash 4.2 bug.
Fixes a 'binutils-cross-boot0' build failure on mips64el.

Reported at
<https://lists.gnu.org/archive/html/guix-devel/2016-09/msg01083.html>.

* gnu/packages/patches/binutils-mips-bash-bug.patch: New file.
* gnu/packages/base.scm (binutils)[source]: Use it.
* gnu/local.mk (dist_patch_DATA): Add it.
2016-09-28 22:44:38 +02:00
Alex Kost b94a6ca074
gnu: Add and use gettext-minimal.
* gnu/packages/gettext.scm (gnu-gettext): Rename to...
(gettext-minimal): ... this.  Adjust synopsis and description.
(gnu-gettext): Inherit from it.
(po4a): Use 'gettext-minimal' instead of 'gnu-gettext'.
* gnu/packages/acl.scm: Likewise.
* gnu/packages/admin.scm: Likewise.
* gnu/packages/apl.scm: Likewise.
* gnu/packages/attr.scm: Likewise.
* gnu/packages/audio.scm: Likewise.
* gnu/packages/base.scm: Likewise.
* gnu/packages/cdrom.scm: Likewise.
* gnu/packages/commencement.scm: Likewise.
* gnu/packages/crypto.scm: Likewise.
* gnu/packages/databases.scm: Likewise.
* gnu/packages/disk.scm: Likewise.
* gnu/packages/documentation.scm: Likewise.
* gnu/packages/education.scm: Likewise.
* gnu/packages/engineering.scm: Likewise.
* gnu/packages/enlightenment.scm: Likewise.
* gnu/packages/fcitx.scm: Likewise.
* gnu/packages/fontutils.scm: Likewise.
* gnu/packages/freedesktop.scm: Likewise.
* gnu/packages/games.scm: Likewise.
* gnu/packages/gkrellm.scm: Likewise.
* gnu/packages/glib.scm: Likewise.
* gnu/packages/gnome.scm: Likewise.
* gnu/packages/grub.scm: Likewise.
* gnu/packages/gtk.scm: Likewise.
* gnu/packages/guile.scm: Likewise.
* gnu/packages/ibus.scm: Likewise.
* gnu/packages/irc.scm: Likewise.
* gnu/packages/iso-codes.scm: Likewise.
* gnu/packages/kde-frameworks.scm: Likewise.
* gnu/packages/kodi.scm: Likewise.
* gnu/packages/linux.scm: Likewise.
* gnu/packages/man.scm: Likewise.
* gnu/packages/maths.scm: Likewise.
* gnu/packages/mono.scm: Likewise.
* gnu/packages/mp3.scm: Likewise.
* gnu/packages/music.scm: Likewise.
* gnu/packages/nano.scm: Likewise.
* gnu/packages/networking.scm: Likewise.
* gnu/packages/package-management.scm: Likewise.
* gnu/packages/pdf.scm: Likewise.
* gnu/packages/sawfish.scm: Likewise.
* gnu/packages/statistics.scm: Likewise.
* gnu/packages/terminals.scm: Likewise.
* gnu/packages/version-control.scm: Likewise.
* gnu/packages/vpn.scm: Likewise.
* gnu/packages/w3m.scm: Likewise.
* gnu/packages/webkit.scm: Likewise.
* gnu/packages/wicd.scm: Likewise.
* gnu/packages/wine.scm: Likewise.
* gnu/packages/xdisorg.scm: Likewise.
* gnu/packages/xorg.scm: Likewise.
2016-09-28 17:54:50 +03:00
Ludovic Courtès 67fcf2358c
gnu: glibc: Update to 2.24.
* gnu/packages/base.scm (glibc/linux): Update to 2.24.
2016-09-02 15:39:10 +02:00
Mark H Weaver 1a93d0941e
gnu: diffutils: Update to 3.5.
* gnu/packages/base.scm (diffutils): Update to 3.5.
2016-08-21 06:24:38 -04:00
Mark H Weaver 1063d325ea
gnu: grep: Fix egrep/fgrep to work regardless of PATH.
* gnu/packages/base.scm (grep)[arguments]: New field.  Add
'fix-egrep-and-fgrep' phase.
2016-08-20 21:40:59 -04:00
Leo Famulari 5cbc24de44
gnu: tzdata: Update to 2016f.
* gnu/packages/base.scm (tzdata): Update to 2016f.
2016-08-20 18:48:43 -04:00
Efraim Flashner a7a92b02bf
gnu: diffutils: Update to 3.4.
* gnu/packages/base.scm (diffutils): Update to 3.4.
2016-08-15 10:42:08 +03:00
Efraim Flashner 4148ed4644
gnu: binutils: Update to 2.27.
* gnu/packages/base.scm (binutils): Update to 2.27.
2016-08-15 10:42:08 +03:00
Efraim Flashner 6cc83b68cb
gnu: gnu-make: Use 'modify-phases'.
* gnu/packages/base.scm (gnu-make)[arguments]: Use 'modify-phases'.
2016-08-15 10:42:08 +03:00
Efraim Flashner 6d2b94f225
gnu: gnu-make: Update to 4.2.1.
* gnu/packages/base.scm (gnu-make): Update to 4.2.1.
2016-08-15 10:42:04 +03:00
Leo Famulari 9f58fe3d1c
gnu: glibc/linux: Adjust variable name to upstream change.
* gnu/packages/base.scm (glibc/linux)[arguments]: Change
'libc_cv_localedir' to 'libc_cv_complocaledir' in #:configure-flags.
* gnu/system.scm: (operating-system-environment-variables): Remove
'GUIX_LOCPATH'.
2016-08-10 15:41:21 -04:00
Mark H Weaver 536fc5f8cd
Merge branch 'core-updates' 2016-08-04 08:17:05 -04:00
Mark H Weaver 0832787e5c
Revert "Merge branch 'core-updates'"
This reverts commit 455859a50f.
2016-08-04 08:16:38 -04:00
Ludovic Courtès ab3a64507a
system: Define 'GUIX_LOCPATH' to work around 'glibc' package defect.
Our 'glibc' package currently ignores /run/current-system/locale,
although the intent is to look for locales in that directory.

* gnu/packages/base.scm (glibc/linux): Add comment about
/run/current-system/locale being ignored.
* gnu/system.scm (operating-system-environment-variables): Add
'GUIX_LOCPATH'.
* gnu/tests/base.scm (run-basic-test): Add "locale" test.
2016-08-02 18:07:19 +02:00
Ludovic Courtès 455859a50f
Merge branch 'core-updates' 2016-08-01 23:30:52 +02:00
宋文武 85860fdf82
gnu: glibc-locales: Fix build.
* gnu/packages/patches/glibc-locales.patch: Adjust to glibc-2.23.
* gnu/packages/base.scm (glibc-locales)[arguments]:
Pass 'lib_cv_complocaledir'.
2016-07-31 10:42:47 +08:00
Ludovic Courtès c2c54ebd91
gnu: Add glibc 2.22.
* gnu/packages/base.scm (glibc-2.22): New variable.
(glibc-2.21): Inherit from it; remove 'arguments' field.
2016-07-30 15:47:28 +02:00
Efraim Flashner 38e9373b0d
gnu: glibc-2.21: Fix substitutes in glibc-2.21.
* gnu/packages/base.scm (glibc-2.21)[arguments]: Add back substitution
for /bin/pwd which was removed in the update of glibc to 2.23.
2016-07-11 16:52:40 +03:00
Ludovic Courtès bbe032940c
gnu: tar: Allow cross-compilation.
* gnu/packages/base.scm (tar)[inputs]: New field.
2016-06-10 11:25:09 +02:00
Efraim Flashner 36f0c9f2df
gnu: make: Update to 4.2.
* gnu/packages/base.scm (make): Update to 4.2.
2016-06-07 23:13:29 +03:00
Manolis Ragkousis b09617da04
gnu: base: Add glibc-for-target macro.
* gnu/packages/base.scm (glibc): Add macro.
  (glibc/linux): Rename glibc to glibc/linux.
  (glibc/hurd): Adjust accordingly.
2016-06-07 19:14:13 +03:00
Ludovic Courtès aeafff536f
Merge branch 'master' into core-updates 2016-06-07 11:54:03 +02:00
Manolis Ragkousis aa81eb73ce
gnu: glibc-hurd-headers: Use correct "--host".
* gnu/packages/base.scm (glibc/hurd-headers)[arguments]: Use "i586-pc-gnu"
  instead of "i686-pc-gnu".
2016-06-06 14:47:46 +03:00
Manolis Ragkousis 5d4d7a9aa9
gnu: glibc-hurd: Update to 20160518.
* gnu/packages/base.scm (glibc/hurd)[version]: Update to version 20160518.
  [propagated-inputs]: Use hurd-core-headers.
  [native-inputs]: Remove libpthread's source and "patch/libpthread-patch".
  [arguments]: Add augment-libc.so and pre-configure-set-pwd phases.
  Remove prepare-libpthread phase.  Stop removing "--with-headers="
  from original-configure-flags.
* gnu/packages/patches/glibc-hurd-extern-inline.patch: Remove patch.
* gnu/packages/patches/libpthread-glibc-preparation.patch: Likewise.
* gnu/local.mk (dist_patch_DATA): Remove them.
2016-06-06 14:42:45 +03:00
Ludovic Courtès 28dc10a455
gnu: glibc: Refer to the target kernel headers when cross-compiling.
This fixes a regression introduced in
efc4eb1475 whereby the build process
corresponding to 'guix build glibc --target=mips64el-linux-gnu' would
refer to the native headers instead of the target headers, leading to a
build failure:

  ../sysdeps/unix/sysv/linux/statfs64.c: In function ‘__statfs64’:
  ../sysdeps/unix/sysv/linux/statfs64.c:73:1: error: control reaches end of non-void function [-Werror=return-type]
   }
   ^

When we were using CROSS_CPATH instead of CROSS_C_INCLUDE_PATH, the
problem was hidden by the fact that CPATH corresponds to '-I' whereas
C_INCLUDE_PATH corresponds to '-isystem', and '-isystem' directories are
searched after '-I' directories.

* gnu/packages/base.scm (glibc)[arguments]: Refer to the kernel headers
from '%build-target-inputs' when cross-building.
2016-05-30 00:17:44 +02:00
Ludovic Courtès 74d637397b
gnu: tar: Update to 1.29.
* gnu/packages/base.scm (tar): Update to 1.29.
[source]: Remove 'tar-d_ino_in_dirent-fix.patch'.
[arguments]: New field.
* gnu/packages/patches/tar-d_ino_in_dirent-fix.patch: Remove.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2016-05-17 10:46:26 +02:00
Leo Famulari eb74eb4199
Merge branch 'master' into core-updates 2016-05-13 02:08:11 -04:00
Manolis Ragkousis 55de892b43 gnu: glibc: Rename linux-headers input to kernel-headers.
* gnu/packages/base.scm (glibc)[propagated-inputs]: Use a kernel
  agnostic name for the kernel headers.
  [arguments]: Adjust accordingly.
* gnu/packages/commencement.scm (glibc-final-with-bootstrap-bash)
  [propagated-inputs]: Adjust accordingly.
* gnu/packages/cross-base.scm (cross-gcc-arguments)[arguments]: Adjust
  accordingly.
  (cross-gcc)[native-inputs]: Adjust accordingly.
* gnu/packages/make-bootstrap.scm (%glibc-stripped)[arguments]: Adjust
  accordingly.
  [inputs]: Adjust accordingly.
2016-05-10 14:39:50 +03:00
Jan Nieuwenhuizen 7309045cd3
gnu: Add libiconv.
* gnu/packages/base.scm (libiconv): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-05-05 16:55:14 +02:00
Mathieu Lirzin c3052d6bcd Merge branch 'master' into core-updates 2016-05-02 17:53:40 +02:00
Ludovic Courtès 4d31bdb095
gnu: grep: Update to 2.25.
* gnu/packages/base.scm (grep): Update to 2.25.
2016-04-24 22:53:45 +02:00
Alex Kost fc1adab148 gnu: packages: Use 'search-patches' everywhere.
* gnu/packages/abiword.scm: Use 'search-patches' for 'patches' field.
* gnu/packages/acl.scm: Likewise.
* gnu/packages/admin.scm: Likewise.
* gnu/packages/algebra.scm: Likewise.
* gnu/packages/animation.scm: Likewise.
* gnu/packages/apr.scm: Likewise.
* gnu/packages/audacity.scm: Likewise.
* gnu/packages/audio.scm: Likewise.
* gnu/packages/autotools.scm: Likewise.
* gnu/packages/avahi.scm: Likewise.
* gnu/packages/backup.scm: Likewise.
* gnu/packages/base.scm: Likewise.
* gnu/packages/bash.scm: Likewise.
* gnu/packages/bioinformatics.scm: Likewise.
* gnu/packages/cdrom.scm: Likewise.
* gnu/packages/ci.scm: Likewise.
* gnu/packages/cmake.scm: Likewise.
* gnu/packages/cpio.scm: Likewise.
* gnu/packages/cross-base.scm: Likewise.
* gnu/packages/dico.scm: Likewise.
* gnu/packages/doxygen.scm: Likewise.
* gnu/packages/ebook.scm: Likewise.
* gnu/packages/elf.scm: Likewise.
* gnu/packages/emacs.scm: Likewise.
* gnu/packages/engineering.scm: Likewise.
* gnu/packages/firmware.scm: Likewise.
* gnu/packages/flashing-tools.scm: Likewise.
* gnu/packages/fltk.scm: Likewise.
* gnu/packages/ftp.scm: Likewise.
* gnu/packages/games.scm: Likewise.
* gnu/packages/gawk.scm: Likewise.
* gnu/packages/gcc.scm: Likewise.
* gnu/packages/gd.scm: Likewise.
* gnu/packages/ghostscript.scm: Likewise.
* gnu/packages/glib.scm: Likewise.
* gnu/packages/gnome.scm: Likewise.
* gnu/packages/gnucash.scm: Likewise.
* gnu/packages/gnunet.scm: Likewise.
* gnu/packages/gnupg.scm: Likewise.
* gnu/packages/gnuzilla.scm: Likewise.
* gnu/packages/graphics.scm: Likewise.
* gnu/packages/grub.scm: Likewise.
* gnu/packages/gtk.scm: Likewise.
* gnu/packages/guile.scm: Likewise.
* gnu/packages/icu4c.scm: Likewise.
* gnu/packages/idutils.scm: Likewise.
* gnu/packages/image.scm: Likewise.
* gnu/packages/imagemagick.scm: Likewise.
* gnu/packages/irc.scm: Likewise.
* gnu/packages/ldc.scm: Likewise.
* gnu/packages/libcanberra.scm: Likewise.
* gnu/packages/libevent.scm: Likewise.
* gnu/packages/libreoffice.scm: Likewise.
* gnu/packages/libunwind.scm: Likewise.
* gnu/packages/libusb.scm: Likewise.
* gnu/packages/linux.scm: Likewise.
* gnu/packages/lirc.scm: Likewise.
* gnu/packages/llvm.scm: Likewise.
* gnu/packages/lsh.scm: Likewise.
* gnu/packages/lua.scm: Likewise.
* gnu/packages/lxqt.scm: Likewise.
* gnu/packages/mail.scm: Likewise.
* gnu/packages/maths.scm: Likewise.
* gnu/packages/mcrypt.scm: Likewise.
* gnu/packages/messaging.scm: Likewise.
* gnu/packages/mit-krb5.scm: Likewise.
* gnu/packages/mp3.scm: Likewise.
* gnu/packages/multiprecision.scm: Likewise.
* gnu/packages/music.scm: Likewise.
* gnu/packages/ninja.scm: Likewise.
* gnu/packages/nvi.scm: Likewise.
* gnu/packages/ocaml.scm: Likewise.
* gnu/packages/orpheus.scm: Likewise.
* gnu/packages/ots.scm: Likewise.
* gnu/packages/parallel.scm: Likewise.
* gnu/packages/patchutils.scm: Likewise.
* gnu/packages/pcre.scm: Likewise.
* gnu/packages/pdf.scm: Likewise.
* gnu/packages/perl.scm: Likewise.
* gnu/packages/plotutils.scm: Likewise.
* gnu/packages/polkit.scm: Likewise.
* gnu/packages/pulseaudio.scm: Likewise.
* gnu/packages/python.scm: Likewise.
* gnu/packages/qemu.scm: Likewise.
* gnu/packages/qt.scm: Likewise.
* gnu/packages/ratpoison.scm: Likewise.
* gnu/packages/rdf.scm: Likewise.
* gnu/packages/readline.scm: Likewise.
* gnu/packages/rush.scm: Likewise.
* gnu/packages/scheme.scm: Likewise.
* gnu/packages/screen.scm: Likewise.
* gnu/packages/sdl.scm: Likewise.
* gnu/packages/slim.scm: Likewise.
* gnu/packages/ssh.scm: Likewise.
* gnu/packages/tcl.scm: Likewise.
* gnu/packages/tcsh.scm: Likewise.
* gnu/packages/texinfo.scm: Likewise.
* gnu/packages/tls.scm: Likewise.
* gnu/packages/tor.scm: Likewise.
* gnu/packages/tv.scm: Likewise.
* gnu/packages/valgrind.scm: Likewise.
* gnu/packages/version-control.scm: Likewise.
* gnu/packages/video.scm: Likewise.
* gnu/packages/vpn.scm: Likewise.
* gnu/packages/vtk.scm: Likewise.
* gnu/packages/w3m.scm: Likewise.
* gnu/packages/web.scm: Likewise.
* gnu/packages/wicd.scm: Likewise.
* gnu/packages/wm.scm: Likewise.
* gnu/packages/xdisorg.scm: Likewise.
* gnu/packages/xfce.scm: Likewise.
* gnu/packages/xiph.scm: Likewise.
* gnu/packages/xml.scm: Likewise.
* gnu/packages/xorg.scm: Likewise.
* gnu/packages/zip.scm: Likewise.
2016-04-14 10:38:21 +03:00
Ludovic Courtès e37595d961 gnu: glibc: Update to 2.23.
* gnu/packages/base.scm (glibc): Update to 2.23.  Remove
"glibc-locale-incompatibility.patch" and "glibc-CVE-2015-7547.patch",
now unneeded.
[arguments]: Add "libc_cv_ssp_strong=no" to #:configure-flags.  Remove
now unneeded patching of 'configure'.
* gnu/packages/patches/glibc-CVE-2015-7547.patch: Remove.
* gnu/packages/patches/glibc-locale-incompatibility.patch: Remove.
* gnu-system.am (dist_patch_DATA): Adjust accordingly.
2016-04-06 22:24:13 +02:00
Ludovic Courtès 61516a1613 Revert "gnu: binutils: Update to 2.26."
This reverts commit 5d9356f0fe.

Binutils 2.26 and ld in particular reportedly has serious bugs.
For us, ld from 'binutils-cross-boot0' fails when linking 'cc1plus' in
the first stage.
2016-04-06 22:24:13 +02:00
Efraim Flashner 70e17ba368 gnu: grep: Update to 2.24.
* gnu/packages/base.scm (grep): Update to 2.24.
2016-03-14 21:08:45 +02:00
Mark H Weaver 048ec1a8b0 Merge branch 'master' into core-updates 2016-02-27 08:52:23 -05:00
Mark H Weaver b35461748b gnu: Fix misplaced commas (unquote).
Fix many occurrences of comma (unquote) being placed immediately after the
previous list item, e.g. ("ncurses", ncurses) in the inputs.

* gnu/packages/base.scm (patch, gnu-make),
  gnu/packages/bioinformatics.scm (hmmer),
  gnu/packages/bittorrent.scm (aria2),
  gnu/packages/compression.scm (pbzip2),
  gnu/packages/databases.scm (recutils),
  gnu/packages/fonts.scm (font-terminus),
  gnu/packages/freedesktop.scm (xdg-utils, elogind),
  gnu/packages/games.scm (gnujump),
  gnu/packages/gnome.scm (libidl, gnumeric, eog, gedit),
  gnu/packages/gnunet.scm (gnunet),
  gnu/packages/gnuzilla.scm (mozjs, nspr),
  gnu/packages/gtk.scm (gtksourceview, gdk-pixbuf),
  gnu/packages/lua.scm (lua),
  gnu/packages/openstack.scm (python-swiftclient),
  gnu/packages/perl.scm (perl-json-any),
  gnu/packages/polkit.scm (polkit-qt),
  gnu/packages/python.scm (wrap-python3, python-oauthlib)
  (python-mccabe-0.2.1, python-contextlib2, python2-rauth),
  gnu/packages/qt.scm (qtkeychain),
  gnu/packages/ruby.scm (ruby-nokogiri),
  gnu/packages/screen.scm (screen),
  gnu/packages/ssh.scm (libssh),
  gnu/packages/video.scm (ffmpeg, mplayer),
  gnu/packages/vim.scm (vim),
  gnu/packages/xdisorg.scm (redshift),
  gnu/packages/xfce.scm (xfce4-panel, xfce4-settings),
  gnu/packages/xnee.scm (xnee),
  gnu/packages/xorg.scm (font-adobe100dpi, font-adobe75dpi),
  gnu/packages/zsh.scm (zsh): Fix misplaced commas (unquote).
2016-02-27 08:49:26 -05:00
Mark H Weaver 065932966f Revert "gnu: coreutils: Update URI for tail-inotify-race.patch."
This reverts commit 1a51cbc825.
2016-02-20 19:58:19 -05:00
Mark H Weaver 1a51cbc825 gnu: coreutils: Update URI for tail-inotify-race.patch.
* gnu/packages/base.scm (coreutils)[source]: Update URI of patch.
2016-02-20 18:41:34 -05:00
Mark H Weaver 3729ff4183 gnu: glibc: Add fix for CVE-2015-7547.
* gnu/packages/patches/glibc-CVE-2015-7547.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/base.scm (glibc)[source]: Add patch.
2016-02-19 00:42:10 -05:00
Efraim Flashner 10baeb35de gnu: coreutils: Update to 8.25.
* gnu/packages/base.scm (coreutils): Update to 8.25.
[source]: Remove patch.
2016-02-18 07:48:10 +02:00
Efraim Flashner 5d9356f0fe gnu: binutils: Update to 2.26.
* gnu/packages/base.scm (binutils): Update to 2.26.
2016-02-18 07:48:10 +02:00
Efraim Flashner 18caed4475 gnu: grep: Update to 2.23.
* gnu/packages/base.scm (grep): Update to 2.23.
2016-02-15 13:34:34 +02:00
Efraim Flashner 82cb8519bc gnu: tzdata: Update to 2015g.
* gnu/packages/base.scm (tzdata): Update to 2015g.
2016-01-04 16:59:13 +02:00
Ludovic Courtès 1575dcd134 gnu: grep: Skip timing-sensitive test.
This avoids failures on loaded machines as seen
at <http://hydra.gnu.org/build/906900/log/raw>.

* gnu/packages/patches/grep-timing-sensitive-test.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/base.scm (grep): Use it.
2016-01-03 14:50:29 +01:00
Ludovic Courtès e80d2555f5 gnu: findutils: Update to 4.6.0.
* gnu/packages/patches/findutils-absolute-paths.patch: Remove.
* gnu/packages/patches/findutils-test-xargs.patch: New file.
* gnu-system.am (dist_patch_DATA): Adjust accordingly.
* gnu/packages/base.scm (findutils): Update to 4.6.0.  Remove
'findutils-absolute-paths.patch' and add 'findutils-test-xargs.patch'.
2016-01-01 01:05:06 +01:00
Ludovic Courtès c5b65f7e2b gnu: glibc: Remove timestamp from 'nscd' binary.
This makes libc bit-for-bit reproducible per '--rounds=2'.

* gnu/packages/base.scm (glibc)[arguments] <pre-configure>: Remove
__DATE__ and __TIME__ from nscd_stat.c.
2015-12-16 22:05:30 +01:00
Ludovic Courtès 304e4f5135 gnu: grep: Add missing dependency on Perl.
* gnu/packages/base.scm (grep)[native-inputs]: New field.
* gnu/packages/commencement.scm (grep-final): Likewise.
2015-12-15 18:04:28 +01:00
Ludovic Courtès e82e55e58c Merge branch 'master' into core-updates 2015-12-12 11:48:46 +01:00
Ludovic Courtès 9eb681a02d gnu: grep: Update to 2.22.
* gnu/packages/base.scm (grep): Upgrade to 2.22.  Remove
  'grep-CVE-2015-1345.patch'.
* gnu/packages/patches/grep-CVE-2015-1345.patch: Remove.
* gnu-system.am (dist_patch_DATA): Adjust accordingly.
2015-11-07 22:01:04 +01:00
Ludovic Courtès 137d957ed3 gnu: glibc: Add version 2.21.
* gnu/packages/base.scm (glibc-2.21): New variable.
2015-10-30 21:43:20 +01:00
Ludovic Courtès 85e5721421 gnu: glibc: Look for locale data in versioned sub-directories.
Suggested by Mark H Weaver <mhw@netris.org>.

* gnu/packages/patches/glibc-versioned-locpath.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/base.scm (glibc)[source]: Use it.
  [arguments]: Add explicit version sub-directory to
  libc_cv_localedir.
  [native-search-paths]: Use 'GUIX_LOCPATH' instead of 'LOCPATH'.
  (glibc-locales, glibc-utf8-locales): Write to a VERSION
  sub-directory.
2015-10-05 22:34:50 +02:00
Ludovic Courtès f211b2af67 Revert "gnu: glibc: Honor 'GUIX_LOCPATH'."
This reverts commits fbb909ac7e
and 2ebe938c2f.
2015-10-05 22:34:34 +02:00
Ludovic Courtès 8a55e217ad gnu: glibc-utf8-locales: Use the normalized codeset.
* gnu/packages/base.scm (glibc-utf8-locales)[argument]: Use the
  normalized codeset by default.
2015-10-04 00:10:03 +02:00
Ludovic Courtès f2d7bbb537 gnu: glibc: Look for locale data in versioned sub-directories.
* gnu/packages/base.scm (glibc)[native-search-paths]: Add
  'lib/locale/VERSION' for 'GUIX_LOCPATH'.
  (glibc-locales, glibc-utf8-locales): Write to a VERSION
  sub-directory.
* guix/profiles.scm (ca-certificate-bundle): Adjust LOCPATH value
  accordingly.
2015-10-03 20:17:09 +02:00
Ludovic Courtès fbb909ac7e gnu: glibc: Honor 'GUIX_LOCPATH'.
* gnu/packages/patches/glibc-guix-locpath.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/base.scm (glibc)[source]: Use it.
  [native-search-paths]: Use 'GUIX_LOCPATH' instead of 'LOCPATH'.
* doc/guix.texi (Application Setup): Introduce the term "foreign
  distro".  Document 'GUIX_LOCPATH'.
2015-10-03 17:55:13 +02:00
Ludovic Courtès e393586161 gnu: coreutils: Use upstream's fix for 'tail'.
* gnu/packages/patches/coreutils-racy-tail-test.patch: Remove.
* gnu-system.am (dist_patch_DATA): Adjust accordingly.
* gnu/packages/base.scm (coreutils)[source]: Replace this patch with
  upstream's fix for 'tail'.
2015-10-03 14:36:11 +02:00
Ludovic Courtès 2ae71b746b gnu: glibc: Do not abort when incompatible locale data is found.
* gnu/packages/patches/glibc-locale-incompatibility.patch: New file.
* gnu/packages/base.scm (glibc)[source]: Use it.
* gnu-system.am (dist_patch_DATA): Add it.
2015-10-03 14:36:07 +02:00
Ludovic Courtès 46bd6edd5a gnu: libc: Look for locale data under /run/current-system/locale/X.Y.
* gnu/packages/base.scm (glibc)[arguments]: Append VERSION to
  'libc_cv_localedir'.
* gnu/system/locale.scm (localedef-command): Write to the sub-directory
  called (package-version libc) in #$output.
  (locale-directory): Create said directory.
* doc/guix.texi (Locales): Mention the per-version sub-directory.
2015-09-30 17:06:40 +02:00
Ludovic Courtès e2aace769c gnu: glibc-locales: Update to glibc 2.22.
* gnu/packages/base.scm (glibc-locales)[arguments]: Remove
  'delete-file-recursively' call from 'build' phase.
* gnu/packages/patches/glibc-locales.patch: Adjust to glibc 2.22.
2015-09-25 17:02:13 +02:00
Mark H Weaver bd90127ad4 Merge branch 'master' into core-updates 2015-09-22 16:38:48 -04:00
Mathieu Lirzin 17d8e33f31 doc: Use the recommended Scheme format.
Apply the recommended formatting rules from '.dir-locals.el' to the
examples in the manual in order to fulfill it's purpose of being a
reference.

* doc/package-hello.scm: Indent it.
* doc/guix.texi (Defining Packages, Version Numbers): Likewise.
* gnu/packages/base.scm (hello): Be consistent with the manual.
2015-09-14 23:10:58 +02:00
Ludovic Courtès 895067ff49 gnu: coreutils: Skip racy 'tail' tests.
This works around <http://bugs.gnu.org/21460>.

* gnu/packages/patches/coreutils-racy-tail-test.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/base.scm (coreutils): Use it.
2015-09-11 23:16:37 +02:00
Ludovic Courtès c5d8e688dc gnu: glibc: Patch 'openat64', which was buggy on 32-bit platforms.
* gnu/packages/patches/glibc-o-largefile.patch: New file.
* gnu/packages/base.scm (glibc)[source]: Add it to 'patches'.
* gnu-system.am (dist_patch_DATA): Add it.
2015-09-08 15:53:05 +02:00
Alex Kost d0f74308e2 gnu: coreutils-light: Rename to coreutils-minimal.
* gnu/packages/base.scm (coreutils-light): Rename to ...
  (coreutils-minimal): ...this.
* gnu/packages/commencement.scm (%boot5-inputs): Use it.
2015-09-06 12:33:21 +03:00
Manolis Ragkousis 21a8fe1bf5 gnu: base: Add glibc-hurd and hurd-minimal.
* gnu/packages/base.scm (glibc/hurd, glibc/hurd-headers): New variables.
* gnu/packages/hurd.scm (hurd-minimal): New variable.
* gnu/packages/patches/glibc-hurd-extern-inline.patch: New file.
* gnu/packages/patches/libpthread-glibc-preparation.patch: New file.
* gnu-system.am (dist_patch_DATA): Add them.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Co-authored-by: Mark H Weaver <mhw@netris.org>
2015-09-04 13:50:38 +02:00
Ludovic Courtès 62ea886525 gnu: coreutils: Drop dependency on libcap when cross-compiling.
* gnu/packages/base.scm (coreutils)[inputs]: Drop LIBCAP
  when (%current-target-system) is true.
2015-09-04 11:56:51 +02:00
Ludovic Courtès 09cc7729d0 gnu: coreutils: Add dependency on libcap.
* gnu/packages/base.scm (coreutils)[inputs]: Add LIBCAP.
2015-09-02 11:20:48 +02:00
Ludovic Courtès 28cbc587d3 gnu: glibc: Upgrade to 2.22.
* gnu/packages/base.scm (glibc): Upgrade to 2.22.
  (coreutils-light): New variable.
* gnu/packages/commencement.scm (locale-proof-package): New procedure.
  (%boot5-inputs): Add LD-WRAPPER, BINUTILS-FINAL, BASH-FINAL, GNU-MAKE,
  DIFFUTILS, FINDUTILS, COREUTILS-LIGHT (pass through
  'new-libc-package'), and %BOOTSTRAP-COREUTILS&CO (passed through
  'locale-proof-package'.)
2015-09-02 10:58:28 +02:00
Ludovic Courtès d56f8d5e74 gnu: glibc: _PATH_BSHELL refers to our static bash.
* gnu/packages/base.scm (glibc)[arguments]: Change _PATH_BSHELL in
  paths.h to refer to STATIC-BASH.
2015-08-30 18:37:54 +02:00