projects/guix·commit 53c85e97

Merge branch 'core-updates'

53c85e97 · Ludovic Courtès <[email protected]> · 2013-11-23 22:30:10 +01:00

Conflicts:
	gnu/packages/gnunet.scm
Commit
53c85e97dcc264da5ff5cd4e3be4d47028f4d726
Parents
2e838890 · c320011d

Merge commit. Changes below are compared with the first parent: 2e838890.

Changes

70 files changed · +792 −372

FileStatusAddDelContent
.gitignoremodified+1−0View file
build-aux/download.scmmodified+1−1View file
build-aux/hydra/gnu-system.scmmodified+1−1View file
doc/guix.teximodified+21−1View file
gnu-system.ammodified+34−9View file
gnu/packages/acl.scmmodified+2−3View file
gnu/packages/apl.scmmodified+2−3View file
gnu/packages/attr.scmmodified+2−3View file
gnu/packages/autotools.scmmodified+27−27View file
gnu/packages/base.scmmodified+132−79View file
gnu/packages/bootstrap.scmmodified+36−14View file
gnu/packages/bootstrap/mips64el-linux/bashadded+0−0View file
gnu/packages/bootstrap/mips64el-linux/mkdiradded+0−0View file
gnu/packages/bootstrap/mips64el-linux/taradded+0−0View file
gnu/packages/bootstrap/mips64el-linux/xzadded+0−0View file
gnu/packages/cdrom.scmmodified+2−2View file
gnu/packages/cross-base.scmmodified+5−4View file
gnu/packages/fdisk.scmmodified+2−3View file
gnu/packages/gcc.scmmodified+24−10View file
gnu/packages/gd.scmmodified+4−1View file
gnu/packages/gdb.scmmodified+5−2View file
gnu/packages/gettext.scmmodified+22−6View file
gnu/packages/gkrellm.scmmodified+2−3View file
gnu/packages/glib.scmmodified+3−4View file
gnu/packages/gnunet.scmmodified+2−3View file
gnu/packages/grub.scmmodified+2−2View file
gnu/packages/libffi.scmmodified+3−1View file
gnu/packages/linux.scmmodified+7−7View file
gnu/packages/lsh.scmmodified+2−1View file
gnu/packages/m4.scmmodified+2−5View file
gnu/packages/make-bootstrap.scmmodified+45−12View file
gnu/packages/maths.scmmodified+10−6View file
gnu/packages/mit-krb5.scmmodified+8−1View file
gnu/packages/mp3.scmmodified+2−1View file
gnu/packages/multiprecision.scmmodified+2−2View file
gnu/packages/nano.scmmodified+2−3View file
gnu/packages/oggvorbis.scmmodified+2−1View file
gnu/packages/parted.scmmodified+2−3View file
gnu/packages/patches/alsa-lib-mips-atomic-fix.patchadded+42−0View file
gnu/packages/patches/binutils-loongson-madd-fix.patchadded+44−0View file
gnu/packages/patches/binutils-loongson-workaround.patchadded+34−0View file
gnu/packages/patches/gd-mips64-deplibs-fix.patchadded+17−0View file
gnu/packages/patches/gdb-loongson-madd-fix.patchadded+44−0View file
gnu/packages/patches/glibc-make-4.0.patchadded+12−0View file
gnu/packages/patches/glibc-no-ld-so-cache.patchdeleted+0−53View before deletion
gnu/packages/patches/libffi-mips-n32-fix.patchadded+21−0View file
gnu/packages/patches/libmad-mips-newgcc.patchadded+16−0View file
gnu/packages/patches/liboop-mips64-deplibs-fix.patchadded+17−0View file
gnu/packages/patches/libtheora-config-guess.patchadded+37−0View file
gnu/packages/patches/libtool-skip-tests-for-mips.patchadded+12−0View file
gnu/packages/patches/mit-krb5-init-fix.patchadded+18−0View file
gnu/packages/patches/pspp-tests.patchadded+13−0View file
gnu/packages/patches/tar-gets-undeclared.patchdeleted+0−26View before deletion
gnu/packages/perl.scmmodified+2−3View file
gnu/packages/readline.scmmodified+4−7View file
gnu/packages/system.scmmodified+2−3View file
gnu/packages/version-control.scmmodified+3−4View file
gnu/packages/vpn.scmmodified+2−3View file
gnu/packages/w3m.scmmodified+2−3View file
gnu/packages/wget.scmmodified+2−3View file
gnu/packages/xorg.scmmodified+3−4View file
guix/build-system/cmake.scmmodified+0−3View file
guix/build-system/gnu.scmmodified+0−6View file
guix/build-system/python.scmmodified+2−3View file
guix/build/gnu-build-system.scmmodified+1−9View file
guix/build/utils.scmmodified+1−1View file
guix/packages.scmmodified+16−10View file
m4/guix.m4modified+1−1View file
tests/packages.scmmodified+2−3View file
tests/union.scmmodified+3−3View file

Only the first 600 diff lines are shown. Download the complete patch.

.gitignore

View file
diff --git a/.gitignore b/.gitignore
index 78b1680..b5a87f4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -46,6 +46,7 @@ config.cache
/doc/version.texi
/gnu/packages/bootstrap/x86_64-linux/guile-2.0.7.tar.xz
/gnu/packages/bootstrap/i686-linux/guile-2.0.7.tar.xz
+/gnu/packages/bootstrap/mips64el-linux/guile-2.0.9.tar.xz
/guix/config.scm
/nix/nix-daemon/nix-daemon.cc
/nix/config.h

build-aux/download.scm

View file
diff --git a/build-aux/download.scm b/build-aux/download.scm
index 91b41bc..50123f5 100644
--- a/build-aux/download.scm
+++ b/build-aux/download.scm
@@ -45,7 +45,7 @@
(match (string-tokenize file (char-set-complement (char-set #\/)))
((_ ... system basename)
(string->uri (string-append %url-base "/" system
- "/20130105/" basename)))))
+ "/20131110/" basename)))))
(match (command-line)
((_ file expected-hash)

build-aux/hydra/gnu-system.scm

View file
diff --git a/build-aux/hydra/gnu-system.scm b/build-aux/hydra/gnu-system.scm
index 72e4c35..3a17b6e 100644
--- a/build-aux/hydra/gnu-system.scm
+++ b/build-aux/hydra/gnu-system.scm
@@ -83,7 +83,7 @@ SYSTEM."
(define %core-packages
(list gmp mpfr mpc coreutils findutils diffutils patch sed grep
- gawk gettext hello guile-2.0
+ gawk gnu-gettext hello guile-2.0
%bootstrap-binaries-tarball
%binutils-bootstrap-tarball
%glibc-bootstrap-tarball

doc/guix.texi

View file
diff --git a/doc/guix.texi b/doc/guix.texi
index 81f85d1..eadca0f 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -1738,7 +1738,7 @@ for in @code{$PATH}.
Guix comes with a distribution of free software@footnote{The term
``free'' here refers to the
@url{http://www.gnu.org/philosophy/free-sw.html,freedom provided to
-users of that software}.} that form the basis of the GNU system. This
+users of that software}.} that forms the basis of the GNU system. This
includes core GNU packages such as GNU libc, GCC, and Binutils, as well
as many GNU and non-GNU applications. The complete list of available
packages can be browsed
@@ -1754,6 +1754,26 @@ Linux-based and other variants of GNU, with a focus on the promotion and
tight integration of GNU components, and an emphasis on programs and
tools that help users exert that freedom.
+The GNU distribution is currently available on the following platforms:
+
+@table @code
+
+@item x86_64-linux
+Intel/AMD @code{x86_64} architecture, Linux-Libre kernel;
+
+@item i686-linux
+Intel 32-bit architecture (IA32), Linux-Libre kernel;
+
+@item mips64el-linux
+little-endian 64-bit MIPS processors, specifically the Loongson series,
+n32 application binary interface (ABI), and Linux-Libre kernel.
+
+@end table
+
+@noindent
+For information on porting to other architectures or kernels,
+@xref{Porting}.
+
@menu
* Installing Debugging Files:: Feeding the debugger.
* Package Modules:: Packages from the programmer's viewpoint.

gnu-system.am

View file
diff --git a/gnu-system.am b/gnu-system.am
index 6267bef..2c893e4 100644
--- a/gnu-system.am
+++ b/gnu-system.am
@@ -1,6 +1,7 @@
# GNU Guix --- Functional package management for GNU
# Copyright © 2012, 2013 Ludovic Courtès <[email protected]>
# Copyright © 2013 Andreas Enge <[email protected]>
+# Copyright © 2013 Mark H Weaver <[email protected]>
#
# This file is part of GNU Guix.
#
@@ -208,11 +209,14 @@ GNU_SYSTEM_MODULES = \
patchdir = $(guilemoduledir)/gnu/packages/patches
dist_patch_DATA = \
+ gnu/packages/patches/alsa-lib-mips-atomic-fix.patch \
gnu/packages/patches/apr-skip-getservbyname-test.patch \
gnu/packages/patches/automake-skip-amhello-tests.patch \
gnu/packages/patches/avahi-localstatedir.patch \
gnu/packages/patches/bigloo-gc-shebangs.patch \
gnu/packages/patches/binutils-ld-new-dtags.patch \
+ gnu/packages/patches/binutils-loongson-madd-fix.patch \
+ gnu/packages/patches/binutils-loongson-workaround.patch \
gnu/packages/patches/cdparanoia-fpic.patch \
gnu/packages/patches/cmake-fix-tests.patch \
gnu/packages/patches/cpio-gets-undeclared.patch \
@@ -224,13 +228,15 @@ dist_patch_DATA = \
gnu/packages/patches/flex-bison-tests.patch \
gnu/packages/patches/gawk-shell.patch \
gnu/packages/patches/gcc-cross-environment-variables.patch \
+ gnu/packages/patches/gd-mips64-deplibs-fix.patch \
+ gnu/packages/patches/gdb-loongson-madd-fix.patch \
gnu/packages/patches/glib-tests-desktop.patch \
gnu/packages/patches/glib-tests-homedir.patch \
gnu/packages/patches/glib-tests-newnet.patch \
gnu/packages/patches/glib-tests-prlimit.patch \
gnu/packages/patches/glibc-bootstrap-system.patch \
gnu/packages/patches/glibc-ldd-x86_64.patch \
- gnu/packages/patches/glibc-no-ld-so-cache.patch \
+ gnu/packages/patches/glibc-make-4.0.patch \
gnu/packages/patches/grub-gets-undeclared.patch \
gnu/packages/patches/gstreamer-0.10-bison3.patch \
gnu/packages/patches/gstreamer-0.10-silly-test.patch \
@@ -240,14 +246,21 @@ dist_patch_DATA = \
gnu/packages/patches/guile-relocatable.patch \
gnu/packages/patches/hop-bigloo-4.0b.patch \
gnu/packages/patches/libevent-dns-tests.patch \
+ gnu/packages/patches/libffi-mips-n32-fix.patch \
+ gnu/packages/patches/liboop-mips64-deplibs-fix.patch \
+ gnu/packages/patches/libmad-mips-newgcc.patch \
+ gnu/packages/patches/libtheora-config-guess.patch \
gnu/packages/patches/libtool-skip-tests.patch \
+ gnu/packages/patches/libtool-skip-tests-for-mips.patch \
gnu/packages/patches/m4-gets-undeclared.patch \
gnu/packages/patches/m4-readlink-EINVAL.patch \
gnu/packages/patches/make-impure-dirs.patch \
gnu/packages/patches/mcron-install.patch \
+ gnu/packages/patches/mit-krb5-init-fix.patch \
gnu/packages/patches/perl-no-sys-dirs.patch \
gnu/packages/patches/plotutils-libpng-jmpbuf.patch \
gnu/packages/patches/procps-make-3.82.patch \
+ gnu/packages/patches/pspp-tests.patch \
gnu/packages/patches/pulseaudio-test-timeouts.patch \
gnu/packages/patches/python-fix-dbm.patch \
gnu/packages/patches/qemu-multiple-smb-shares.patch \
@@ -255,7 +268,6 @@ dist_patch_DATA = \
gnu/packages/patches/readline-link-ncurses.patch \
gnu/packages/patches/ripperx-libm.patch \
gnu/packages/patches/scheme48-tests.patch \
- gnu/packages/patches/tar-gets-undeclared.patch \
gnu/packages/patches/tcsh-fix-autotest.patch \
gnu/packages/patches/teckit-cstdio.patch \
gnu/packages/patches/valgrind-glibc.patch \
@@ -266,6 +278,7 @@ dist_patch_DATA = \
bootstrapdir = $(guilemoduledir)/gnu/packages/bootstrap
bootstrap_x86_64_linuxdir = $(bootstrapdir)/x86_64-linux
bootstrap_i686_linuxdir = $(bootstrapdir)/i686-linux
+bootstrap_mips64el_linuxdir = $(bootstrapdir)/mips64el-linux
dist_bootstrap_x86_64_linux_DATA = \
gnu/packages/bootstrap/x86_64-linux/bash \
@@ -279,12 +292,20 @@ dist_bootstrap_i686_linux_DATA = \
gnu/packages/bootstrap/i686-linux/tar \
gnu/packages/bootstrap/i686-linux/xz
+dist_bootstrap_mips64el_linux_DATA = \
+ gnu/packages/bootstrap/mips64el-linux/bash \
+ gnu/packages/bootstrap/mips64el-linux/mkdir \
+ gnu/packages/bootstrap/mips64el-linux/tar \
+ gnu/packages/bootstrap/mips64el-linux/xz
+
# Big bootstrap binaries are not included in the tarball. Instead, they
# are downloaded.
nodist_bootstrap_x86_64_linux_DATA = \
- gnu/packages/bootstrap/x86_64-linux/guile-2.0.7.tar.xz
+ gnu/packages/bootstrap/x86_64-linux/guile-2.0.9.tar.xz
nodist_bootstrap_i686_linux_DATA = \
- gnu/packages/bootstrap/i686-linux/guile-2.0.7.tar.xz
+ gnu/packages/bootstrap/i686-linux/guile-2.0.9.tar.xz
+nodist_bootstrap_mips64el_linux_DATA = \
+ gnu/packages/bootstrap/mips64el-linux/guile-2.0.9.tar.xz
# Those files must remain executable, so they remain executable once
# imported into the store.
@@ -293,7 +314,8 @@ install-data-hook:
DISTCLEANFILES = \
$(nodist_bootstrap_x86_64_linux_DATA) \
- $(nodist_bootstrap_i686_linux_DATA)
+ $(nodist_bootstrap_i686_linux_DATA) \
+ $(nodist_bootstrap_mips64el_linux_DATA)
# Method to download a file from an external source.
DOWNLOAD_FILE = \
@@ -301,9 +323,12 @@ DOWNLOAD_FILE = \
$(GUILE) --no-auto-compile -L "$(top_builddir)" -L "$(top_srcdir)" \
"$(top_srcdir)/build-aux/download.scm"
-gnu/packages/bootstrap/x86_64-linux/guile-2.0.7.tar.xz:
+gnu/packages/bootstrap/x86_64-linux/guile-2.0.9.tar.xz:
+ $(MKDIR_P) `dirname "$@"`
+ $(DOWNLOAD_FILE) "$@" "037b103522a2d0d7d69c7ffd8de683dfe5bb4b59c1fafd70b4ffd397fd2f57f0"
+gnu/packages/bootstrap/i686-linux/guile-2.0.9.tar.xz:
$(MKDIR_P) `dirname "$@"`
- $(DOWNLOAD_FILE) "$@" "bc43210dcd146d242bef4d354b0aeac12c4ef3118c07502d17ffa8d49e15aa2c"
-gnu/packages/bootstrap/i686-linux/guile-2.0.7.tar.xz:
+ $(DOWNLOAD_FILE) "$@" "b757cd46bf13ecac83fb8e955fb50096ac2d17bb610ca8eb816f29302a00a846"
+gnu/packages/bootstrap/mips64el-linux/guile-2.0.9.tar.xz:
$(MKDIR_P) `dirname "$@"`
- $(DOWNLOAD_FILE) "$@" "f9a7c6f4c556eaafa2a69bcf07d4ffbb6682ea831d4c9da9ba095aca3ccd217c"
+ $(DOWNLOAD_FILE) "$@" "994680f0001346864aa2c2cc5110f380ee7518dcd701c614291682b8e948f73b"

gnu/packages/acl.scm

View file
diff --git a/gnu/packages/acl.scm b/gnu/packages/acl.scm
index dde9ac4..37c0b71 100644
--- a/gnu/packages/acl.scm
+++ b/gnu/packages/acl.scm
@@ -20,8 +20,7 @@
#:use-module (guix licenses)
#:use-module (gnu packages attr)
#:use-module (gnu packages perl)
- #:use-module ((gnu packages gettext)
- #:renamer (symbol-prefix-proc 'guix:))
+ #:use-module (gnu packages gettext)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu))
@@ -62,7 +61,7 @@
'()
`(("perl" ,perl)))))
(native-inputs
- `(("gettext" ,guix:gettext)))
+ `(("gettext" ,gnu-gettext)))
(home-page
"http://savannah.nongnu.org/projects/acl")

gnu/packages/apl.scm

View file
diff --git a/gnu/packages/apl.scm b/gnu/packages/apl.scm
index 5750abb..a2ef71f 100644
--- a/gnu/packages/apl.scm
+++ b/gnu/packages/apl.scm
@@ -21,8 +21,7 @@
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu)
- #:use-module ((gnu packages gettext)
- #:renamer (symbol-prefix-proc 'guix:))
+ #:use-module (gnu packages gettext)
#:use-module (gnu packages maths)
#:use-module (gnu packages readline))
@@ -40,7 +39,7 @@
(build-system gnu-build-system)
(home-page "http://www.gnu.org/software/apl/")
(inputs
- `(("gettext" ,guix:gettext)
+ `(("gettext" ,gnu-gettext)
("lapack" ,lapack)
("readline" ,readline)))
(synopsis "APL interpreter")

gnu/packages/attr.scm

View file
diff --git a/gnu/packages/attr.scm b/gnu/packages/attr.scm
index 3108a90..f4f6c46 100644
--- a/gnu/packages/attr.scm
+++ b/gnu/packages/attr.scm
@@ -20,8 +20,7 @@
(define-module (gnu packages attr)
#:use-module (guix licenses)
#:use-module (gnu packages perl)
- #:use-module ((gnu packages gettext)
- #:renamer (symbol-prefix-proc 'guix:))
+ #:use-module (gnu packages gettext)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu))
@@ -75,7 +74,7 @@
'()
`(("perl" ,perl))))
(native-inputs
- `(("gettext" ,guix:gettext)))
+ `(("gettext" ,gnu-gettext)))
(home-page "http://savannah.nongnu.org/projects/attr/")
(synopsis "Library and tools for manipulating extended attributes")

gnu/packages/autotools.scm

View file
diff --git a/gnu/packages/autotools.scm b/gnu/packages/autotools.scm
index ab0c7dc..90f8087 100644
--- a/gnu/packages/autotools.scm
+++ b/gnu/packages/autotools.scm
@@ -216,7 +216,10 @@ simplifying the entire process for the developer.")
version ".tar.gz"))
(sha256
(base32
- "0649qfpzkswgcj9vqkkr9rn4nlcx80faxpyqscy2k1x9c94f93dk"))))
+ "0649qfpzkswgcj9vqkkr9rn4nlcx80faxpyqscy2k1x9c94f93dk"))
+ (patches
+ (list (search-patch "libtool-skip-tests.patch")
+ (search-patch "libtool-skip-tests-for-mips.patch")))))
(build-system gnu-build-system)
(native-inputs `(("m4" ,m4)
("perl" ,perl)))
@@ -228,33 +231,30 @@ simplifying the entire process for the developer.")
"out")) ; libltdl.so, ltdl.h, etc.
(arguments
- `(#:patches (list (assoc-ref %build-inputs "patch/skip-tests"))
- ,@(if (%current-target-system)
- '() ; no `check' phase when cross-building
- '(#:phases (alist-cons-before
- 'check 'pre-check
- (lambda* (#:key inputs #:allow-other-keys)
- ;; Run the test suite in parallel, if possible.
- (let ((ncores
- (cond
- ((getenv "NIX_BUILD_CORES")
- =>
- (lambda (n)
- (if (zero? (string->number n))
- (number->string (current-processor-count))
- n)))
- (else "1"))))
- (setenv "TESTSUITEFLAGS"
- (string-append "-j" ncores)))
+ (if (%current-target-system)
+ '() ; no `check' phase when cross-building
+ '(#:phases (alist-cons-before
+ 'check 'pre-check
+ (lambda* (#:key inputs #:allow-other-keys)
+ ;; Run the test suite in parallel, if possible.
+ (let ((ncores
+ (cond
+ ((getenv "NIX_BUILD_CORES")
+ =>
+ (lambda (n)
+ (if (zero? (string->number n))
+ (number->string (current-processor-count))
+ n)))
+ (else "1"))))
+ (setenv "TESTSUITEFLAGS"
+ (string-append "-j" ncores)))
- ;; Path references to /bin/sh.
- (let ((bash (assoc-ref inputs "bash")))
- (substitute* "tests/testsuite"
- (("/bin/sh")
- (string-append bash "/bin/bash")))))
- %standard-phases)))))
- (inputs `(("patch/skip-tests"
- ,(search-patch "libtool-skip-tests.patch"))))
+ ;; Path references to /bin/sh.
+ (let ((bash (assoc-ref inputs "bash")))
+ (substitute* "tests/testsuite"
+ (("/bin/sh")
+ (string-append bash "/bin/bash")))))
+ %standard-phases))))
(synopsis "Generic shared library support tools")
(description
"Libtool is a script to help in the creation of shared libraries. By

gnu/packages/base.scm

View file
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index 78798e2..e835b41 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -68,14 +68,14 @@ command-line arguments, multiple languages, and so on.")
(define-public grep
(package
(name "grep")
- (version "2.14")
+ (version "2.15")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/grep/grep-"
version ".tar.xz"))
(sha256
(base32
- "1qbjb1l7f9blckc5pqy8jlf6482hpx4awn2acmhyf5mv9wfq03p7"))))
+ "052kjsafg2x7n2zpy3iw4pzwf8fdfng5pcvi9v3chx3rb1786nmz"))))
(build-system gnu-build-system)
(synopsis "Print lines matching a pattern")
(description
@@ -125,18 +125,15 @@ is often used for substituting text patterns in a stream.")
(define-public tar
(package
(name "tar")
- (version "1.26")
+ (version "1.27.1")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/tar/tar-"
version ".tar.bz2"))
(sha256
(base32
- "0hbdkzmchq9ycr2x1pxqdcgdbaxksh8c6ac0jf75jajhcks6jlss"))))
+ "1iip0fk0wqhxb0jcwphz43r4fxkx1y7mznnhmlvr618jhp7b63wv"))))
(build-system gnu-build-system)
- (inputs `(("patch/gets" ,(search-patch "tar-gets-undeclared.patch"))))
- (arguments
- `(#:patches (list (assoc-ref %build-inputs "patch/gets"))))
(synopsis "Managing tar archives")
(description
"Tar provides the ability to create tar archives, as well as the
@@ -207,19 +204,15 @@ interactive means to merge two files.")
version ".tar.gz"))
(sha256
(base32
- "0amn0bbwqvsvvsh6drfwz20ydc2czk374lzw5kksbh6bf78k4ks3"))))
+ "0amn0bbwqvsvvsh6drfwz20ydc2czk374lzw5kksbh6bf78k4ks3"))
+ (patches (list (search-patch "findutils-absolute-paths.patch")))))
(build-system gnu-build-system)
- (native-inputs
- `(("patch/absolute-paths"
- ,(search-patch "findutils-absolute-paths.patch"))))
(arguments
- `(#:patches (list (assoc-ref %build-inputs "patch/absolute-paths"))
-
- ;; Work around cross-compilation failure.
- ;; See <http://savannah.gnu.org/bugs/?27299#comment1>.
- ,@(if (%current-target-system)
- '(#:configure-flags '("gl_cv_func_wcwidth_works=yes"))
- '())))
+ ;; Work around cross-compilation failure.
+ ;; See <http://savannah.gnu.org/bugs/?27299#comment1>.
+ (if (%current-target-system)
+ '(#:configure-flags '("gl_cv_func_wcwidth_works=yes"))
+ '()))
(synopsis "Operating on files matching given criteria")
(description
"Findutils supplies the basic file directory searching utilities of the
@@ -278,21 +271,20 @@ functionality beyond that which is outlined in the POSIX standard.")
(define-public gnu-make
(package
(name "make")
- (version "3.82")
+ (version "4.0")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/make/make-" version
".tar.bz2"))
(sha256
(base32
- "0ri98385hsd7li6rh4l5afcq92v8l2lgiaz85wgcfh4w2wzsghg2"))))
+ "1nyvn8mknw0mf7727lprva3lisl1y0n03lvar342rrpdmz3qc1p6"))
+ (patches (list (search-patch "make-impure-dirs.patch")))))
(build-system gnu-build-system)
- (native-inputs
- `(("patch/impure-dirs" ,(search-patch "make-impure-dirs.patch"))))
+ (inputs `(("guile" ,guile-2.0)))
(outputs '("out" "debug"))
(arguments
- '(#:patches (list (assoc-ref %build-inputs "patch/impure-dirs"))
- #:phases (alist-cons-before
+ '(#:phases (alist-cons-before
'build 'set-default-shell
(lambda* (#:key inputs #:allow-other-keys)
;; Change the default shell from /bin/sh.
@@ -323,7 +315,10 @@ change.")
version ".tar.bz2"))
(sha256
(base32
- "15qhbkz3r266xaa52slh857qn3abw7rb2x2jnhpfrafpzrb4x4gy"))))
+ "15qhbkz3r266xaa52slh857qn3abw7rb2x2jnhpfrafpzrb4x4gy"))
+ (patches (list (search-patch "binutils-ld-new-dtags.patch")
+ (search-patch "binutils-loongson-workaround.patch")
+ (search-patch "binutils-loongson-madd-fix.patch")))))
(build-system gnu-build-system)
;; Split Binutils in several outputs, mostly to avoid collisions in
@@ -332,11 +327,8 @@ change.")
"lib")) ; libbfd.a, bfd.h, etc.
;; TODO: Add dependency on zlib + those for Gold.
- (native-inputs
- `(("patch/new-dtags" ,(search-patch "binutils-ld-new-dtags.patch"))))
(arguments
- `(#:patches (list (assoc-ref %build-inputs "patch/new-dtags"))
- #:configure-flags '(;; Add `-static-libgcc' to not retain a dependency
+ `(#:configure-flags '(;; Add `-static-libgcc' to not retain a dependency
;; on GCC when bootstrapping.
"LDFLAGS=-static-libgcc"
@@ -367,7 +359,19 @@ archives.")
version ".tar.xz"))
(sha256
(base32
- "18spla703zav8dq9fw7rbzkyv9qfisxb26p7amg1x3wjh7iy3d1c"))))
+ "18spla703zav8dq9fw7rbzkyv9qfisxb26p7amg1x3wjh7iy3d1c"))
+ (snippet
+ ;; Disable 'ldconfig' and /etc/ld.so.cache. The latter is
+ ;; required on LFS distros to avoid loading the distro's libc.so
+ ;; instead of ours.
+ '(substitute* "sysdeps/unix/sysv/linux/configure"
+ (("use_ldconfig=yes")
+ "use_ldconfig=no")))
+ (modules '((guix build utils)))
+ (imported-modules modules)
+ (patches (map search-patch
+ '("glibc-ldd-x86_64.patch"
+ "glibc-make-4.0.patch")))))
(build-system gnu-build-system)
;; Glibc's <limits.h> refers to <linux/limit.h>, for instance, so glibc
@@ -382,8 +386,6 @@ archives.")
(arguments
`(#:out-of-source? #t
- #:patches (list (assoc-ref %build-inputs "patch/ld.so.cache")
- (assoc-ref %build-inputs "patch/ldd"))
#:configure-flags
(list "--enable-add-ons"
"--sysconfdir=/etc"
@@ -467,11 +469,7 @@ archives.")
(zero? (system* "make" "localedata/install-locales")))
%standard-phases))))
- (inputs `(("patch/ld.so.cache"
- ,(search-patch "glibc-no-ld-so-cache.patch"))
- ("patch/ldd"
- ,(search-patch "glibc-ldd-x86_64.patch"))
- ("static-bash" ,(static-package bash-light))))
+ (inputs `(("static-bash" ,(static-package bash-light))))
(synopsis "The GNU C Library")
(description
"Any Unix-like operating system needs a C library: the library which
@@ -569,6 +567,10 @@ and daylight-saving rules.")
((#:phases phases)
`(alist-replace
'build (lambda _
+ ;; Don't attempt to build 'guile.c' since we don't
+ ;; have Guile here.
+ (substitute* "build.sh"
+ (("guile\\.\\$\\{OBJEXT\\}") ""))
(zero? (system* "./build.sh")))
(alist-replace
'install (lambda* (#:key outputs #:allow-other-keys)
@@ -645,7 +647,7 @@ identifier SYSTEM."
(define gcc-boot0
(package-with-bootstrap-guile
- (package (inherit gcc-4.7)
+ (package (inherit gcc-4.8)
(name "gcc-cross-boot0")
(arguments
`(#:guile ,%bootstrap-guile
@@ -655,7 +657,7 @@ identifier SYSTEM."
(ice-9 regex)
(srfi srfi-1)
(srfi srfi-26))
- ,@(substitute-keyword-arguments (package-arguments gcc-4.7)
+ ,@(substitute-keyword-arguments (package-arguments gcc-4.8)
((#:configure-flags flags)
`(append (list ,(string-append "--target=" (boot-triplet))
@@ -664,8 +666,18 @@ identifier SYSTEM."
;; Disable features not needed at this stage.
"--disable-shared"
- "--enable-languages=c"
+ "--enable-languages=c,c++"
+
+ ;; libstdc++ cannot be built at this stage
+ ;; ("Link tests are not allowed after
+ ;; GCC_NO_EXECUTABLES.").
+ "--disable-libstdc++-v3"
+
+ "--disable-threads"
"--disable-libmudflap"
+ "--disable-libatomic"
+ "--disable-libsanitizer"
+ "--disable-libitm"
"--disable-libgomp"
"--disable-libssp"
"--disable-libquadmath"
@@ -692,24 +704,7 @@ identifier SYSTEM."
,@(map (lambda (lib)
`(symlink ,(package-full-name lib)
,(package-name lib)))
- (list gmp mpfr mpc))
-
- ;; MPFR headers/lib are found under $(MPFR)/src, but
- ;; `configure' wrongfully tells MPC too look under
- ;; $(MPFR), so fix that.
- (substitute* "configure"
- (("extra_mpc_mpfr_configure_flags(.+)--with-mpfr-include=([^/]+)/mpfr(.*)--with-mpfr-lib=([^ ]+)/mpfr"
- _ equals include middle lib)
- (string-append "extra_mpc_mpfr_configure_flags" equals
- "--with-mpfr-include=" include
- "/mpfr/src" middle
- "--with-mpfr-lib=" lib
- "/mpfr/src"))
- (("gmpinc='-I([^ ]+)/mpfr -I([^ ]+)/mpfr" _ a b)
- (string-append "gmpinc='-I" a "/mpfr/src "
- "-I" b "/mpfr/src"))
- (("gmplibs='-L([^ ]+)/mpfr" _ a)
- (string-append "gmplibs='-L" a "/mpfr/src")))))
+ (list gmp mpfr mpc))))
(alist-cons-after
'install 'symlink-libgcc_eh
(lambda* (#:key outputs #:allow-other-keys)
@@ -719,7 +714,7 @@ identifier SYSTEM."
(with-directory-excursion
(string-append out "/lib/gcc/"
,(boot-triplet)
- "/" ,(package-version gcc-4.7))
+ "/" ,(package-version gcc-4.8))
(symlink "libgcc.a" "libgcc_eh.a"))))
,phases))))))

This diff is incomplete. Download the complete patch.

gnu/packages/bootstrap.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/bootstrap/mips64el-linux/bash

View file

This diff is incomplete. Download the complete patch.

gnu/packages/bootstrap/mips64el-linux/mkdir

View file

This diff is incomplete. Download the complete patch.

gnu/packages/bootstrap/mips64el-linux/tar

View file

This diff is incomplete. Download the complete patch.

gnu/packages/bootstrap/mips64el-linux/xz

View file

This diff is incomplete. Download the complete patch.

gnu/packages/cdrom.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/cross-base.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/fdisk.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/gcc.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/gd.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/gdb.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/gettext.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/gkrellm.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/glib.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/gnunet.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/grub.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/libffi.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/linux.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/lsh.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/m4.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/make-bootstrap.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/maths.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/mit-krb5.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/mp3.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/multiprecision.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/nano.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/oggvorbis.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/parted.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/patches/alsa-lib-mips-atomic-fix.patch

View file

This diff is incomplete. Download the complete patch.

gnu/packages/patches/binutils-loongson-madd-fix.patch

View file

This diff is incomplete. Download the complete patch.

gnu/packages/patches/binutils-loongson-workaround.patch

View file

This diff is incomplete. Download the complete patch.

gnu/packages/patches/gd-mips64-deplibs-fix.patch

View file

This diff is incomplete. Download the complete patch.

gnu/packages/patches/gdb-loongson-madd-fix.patch

View file

This diff is incomplete. Download the complete patch.

gnu/packages/patches/glibc-make-4.0.patch

View file

This diff is incomplete. Download the complete patch.

gnu/packages/patches/glibc-no-ld-so-cache.patch

View before deletion

This diff is incomplete. Download the complete patch.

gnu/packages/patches/libffi-mips-n32-fix.patch

View file

This diff is incomplete. Download the complete patch.

gnu/packages/patches/libmad-mips-newgcc.patch

View file

This diff is incomplete. Download the complete patch.

gnu/packages/patches/liboop-mips64-deplibs-fix.patch

View file

This diff is incomplete. Download the complete patch.

gnu/packages/patches/libtheora-config-guess.patch

View file

This diff is incomplete. Download the complete patch.

gnu/packages/patches/libtool-skip-tests-for-mips.patch

View file

This diff is incomplete. Download the complete patch.

gnu/packages/patches/mit-krb5-init-fix.patch

View file

This diff is incomplete. Download the complete patch.

gnu/packages/patches/pspp-tests.patch

View file

This diff is incomplete. Download the complete patch.

gnu/packages/patches/tar-gets-undeclared.patch

View before deletion

This diff is incomplete. Download the complete patch.

gnu/packages/perl.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/readline.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/system.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/version-control.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/vpn.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/w3m.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/wget.scm

View file

This diff is incomplete. Download the complete patch.

gnu/packages/xorg.scm

View file

This diff is incomplete. Download the complete patch.

guix/build-system/cmake.scm

View file

This diff is incomplete. Download the complete patch.

guix/build-system/gnu.scm

View file

This diff is incomplete. Download the complete patch.

guix/build-system/python.scm

View file

This diff is incomplete. Download the complete patch.

guix/build/gnu-build-system.scm

View file

This diff is incomplete. Download the complete patch.

guix/build/utils.scm

View file

This diff is incomplete. Download the complete patch.

guix/packages.scm

View file

This diff is incomplete. Download the complete patch.

m4/guix.m4

View file

This diff is incomplete. Download the complete patch.

tests/packages.scm

View file

This diff is incomplete. Download the complete patch.

tests/union.scm

View file

This diff is incomplete. Download the complete patch.