distro: Rebuild bootstrap Binutils and GCC.

These new binaries are built with the `--with-lib-path' and
`--with-local-prefix' flags, respectively, as introduced in commit
01d4540.

* distro/packages/bootstrap.scm (%bootstrap-coreutils&co,
  %bootstrap-glibc): Update URL.
  (%bootstrap-binutils, %bootstrap-gcc): Update URL and hashes.
* build-aux/download.scm (file-name->uri): Update URL.
This commit is contained in:
Ludovic Courtès 2012-11-16 00:26:34 +01:00
parent 01d45404f6
commit 68c141f144
2 changed files with 12 additions and 11 deletions

View file

@ -34,7 +34,8 @@ (define (file-name->uri file)
"Return the URI for FILE."
(match (string-tokenize file (char-set-complement (char-set #\/)))
((_ ... system basename)
(string->uri (string-append %url-base "/" system "/" basename)))))
(string->uri (string-append %url-base "/" system
"/20121115/" basename)))))
(match (command-line)
((_ file expected-hash)

View file

@ -204,7 +204,7 @@ (define %bootstrap-coreutils&co
(method url-fetch)
(uri (string-append
%bootstrap-base-url "/"
system "/static-binaries.tar.xz"))
system "/20121115/static-binaries.tar.xz"))
(sha256
(match system
("x86_64-linux"
@ -223,15 +223,15 @@ (define %bootstrap-binutils
(method url-fetch)
(uri (string-append
%bootstrap-base-url "/"
system "/binutils-2.22.tar.xz"))
system "/20121115/binutils-2.22.tar.xz"))
(sha256
(match system
("x86_64-linux"
(base32
"1cz1rwqhswgrr14kzbkaj3k32kzgv2b6mmzvc6ssbbz8k2m8jmqa"))
"0ms6i035v40n7mhi91n4b8ivwv2qni3mcd5dj9sj9qmvgqb50r84"))
("i686-linux"
(base32
"1crg5xsf4cxk249sg90h6fjhfkwj1s5dxvhwbym79g79ygbww1br"))))))
"193x62ach4l4x16rbzglrqa1d0a825z2as6czdiv9xjiizmcr0ad"))))))
"ld" ; the program to test
"Bootstrap binaries of the GNU Binutils"))
@ -275,8 +275,8 @@ (define %bootstrap-glibc
(bootstrap-origin
(origin
(method url-fetch)
(uri (string-append %bootstrap-base-url "/"
system "/glibc-2.16.0.tar.xz"))
(uri (string-append %bootstrap-base-url "/" system
"/20121115/glibc-2.16.0.tar.xz"))
(sha256
(match system
("x86_64-linux"
@ -346,16 +346,16 @@ (define %bootstrap-gcc
(bootstrap-origin
(origin
(method url-fetch)
(uri (string-append %bootstrap-base-url "/"
system "/gcc-4.7.2.tar.xz"))
(uri (string-append %bootstrap-base-url "/" system
"/20121115/gcc-4.7.2.tar.xz"))
(sha256
(match system
("x86_64-linux"
(base32
"07piqzcdaksjbcj037y5gdbh9dfqwzjivg6fkhgg8kif82ibwxxr"))
"0fg65i2qcym8ls5ig3g1cc9ida5cxwwsd6zi95xi1d8dnfrja4zz"))
("i686-linux"
(base32
"0caiihphp23rrqn382cabykz9ps3ixd5p63dgdnkhz1f01jiarl2"))))))))))
"01hlz98qmc8yhqrxqajpg5kbkhpvqq6wjnbfvplys32n895avzxg"))))))))))
(synopsis "Bootstrap binaries of the GNU Compiler Collection")
(description #f)
(home-page #f)))