~ruther/guix-local

68c141f144b68baa98a2f48c8ff3f867d667e153 — Ludovic Courtès 13 years ago 01d4540
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.
2 files changed, 12 insertions(+), 11 deletions(-)

M build-aux/download.scm
M distro/packages/bootstrap.scm
M build-aux/download.scm => build-aux/download.scm +2 -1
@@ 34,7 34,8 @@
  "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)

M distro/packages/bootstrap.scm => distro/packages/bootstrap.scm +10 -10
@@ 204,7 204,7 @@ $out/bin/guile --version~%"
                           (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 @@ $out/bin/guile --version~%"
                           (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 @@ $out/bin/guile --version~%"
                     (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 @@ exec ~a/bin/.gcc-wrapped -B~a/lib \
                     (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)))