Commit Graph

258 Commits

Author SHA1 Message Date
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
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
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