[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/22: gnu: binutils: Update to 2.34.
From: |
guix-commits |
Subject: |
06/22: gnu: binutils: Update to 2.34. |
Date: |
Sat, 15 Feb 2020 16:09:01 -0500 (EST) |
mbakke pushed a commit to branch core-updates
in repository guix.
commit 3e3a37b2bcb1f23011fde8626559f83504177889
Author: Marius Bakke <address@hidden>
AuthorDate: Sat Feb 1 16:28:43 2020 +0100
gnu: binutils: Update to 2.34.
* gnu/packages/base.scm (binutils): Update to 2.34.
[arguments]: Add #:make-flags.
[properties]: New field.
(binutils+documentation): New public variable.
* gnu/packages/make-bootstrap.scm (%binutils-static)[arguments]: Inherit
#:make-flags.
---
gnu/packages/base.scm | 30 ++++++++++++++++++++++++++----
gnu/packages/make-bootstrap.scm | 6 +++++-
2 files changed, 31 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index 05a48ce..7e5df24 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -10,7 +10,7 @@
;;; Copyright © 2016, 2018 Alex Vong <address@hidden>
;;; Copyright © 2017 Rene Saavedra <address@hidden>
;;; Copyright © 2017 Mathieu Othacehe <address@hidden>
-;;; Copyright © 2017, 2018 Marius Bakke <address@hidden>
+;;; Copyright © 2017, 2018, 2020 Marius Bakke <address@hidden>
;;; Copyright © 2017 Eric Bavier <address@hidden>
;;; Copyright © 2018 Tobias Geerinckx-Rice <address@hidden>
;;; Copyright © 2018, 2019 Ricardo Wurmus <address@hidden>
@@ -399,14 +399,14 @@ change. GNU make offers many powerful extensions over
the standard utility.")
(define-public binutils
(package
(name "binutils")
- (version "2.33.1")
+ (version "2.34")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/binutils/binutils-"
version ".tar.bz2"))
(sha256
(base32
- "1cmd0riv37bqy9mwbg6n3523qgr8b3bbm5kwj19sjrasl4yq9d0c"))
+ "1rin1f5c7wm4n3piky6xilcrpf2s0n3dd5vqq8irrxkcic3i1w49"))
(patches (search-patches "binutils-loongson-workaround.patch"))))
(build-system gnu-build-system)
@@ -431,7 +431,17 @@ change. GNU make offers many powerful extensions over the
standard utility.")
;; Make sure 'ar' and 'ranlib' produce archives in a
;; deterministic fashion.
- "--enable-deterministic-archives")))
+ "--enable-deterministic-archives")
+
+ ;; XXX: binutils 2.34 was mistakenly released without generated manuals:
+ ;; <https://sourceware.org/bugzilla/show_bug.cgi?id=25491>. To avoid a
+ ;; circular dependency on texinfo, prevent the build system from creating
+ ;; the manuals by calling "true" instead of "makeinfo"...
+ #:make-flags '("MAKEINFO=true")))
+
+ ;; ...and "hide" this package so that users who install binutils get the
+ ;; version with documentation defined below.
+ (properties '((hidden? . #t)))
(synopsis "Binary utilities: bfd gas gprof ld")
(description
@@ -444,6 +454,18 @@ included.")
(license gpl3+)
(home-page "https://www.gnu.org/software/binutils/")))
+;; Work around a problem with binutils 2.34 whereby manuals are missing from
+;; the release tarball. Remove this and the related code above when updating.
+(define-public binutils+documentation
+ (package/inherit
+ binutils
+ (native-inputs
+ `(("texinfo" ,texinfo)))
+ (arguments
+ (substitute-keyword-arguments (package-arguments binutils)
+ ((#:make-flags _ ''()) ''())))
+ (properties '())))
+
(define-public binutils-gold
(package
(inherit binutils)
diff --git a/gnu/packages/make-bootstrap.scm b/gnu/packages/make-bootstrap.scm
index eea5975..c193058 100644
--- a/gnu/packages/make-bootstrap.scm
+++ b/gnu/packages/make-bootstrap.scm
@@ -4,7 +4,7 @@
;;; Copyright © 2018 Tobias Geerinckx-Rice <address@hidden>
;;; Copyright © 2018, 2019 Mark H Weaver <address@hidden>
;;; Copyright © 2018, 2019 Jan (janneke) Nieuwenhuizen <address@hidden>
-;;; Copyright © 2019 Marius Bakke <address@hidden>
+;;; Copyright © 2019, 2020 Marius Bakke <address@hidden>
;;; Copyright © 2020 Mathieu Othacehe <address@hidden>
;;;
;;; This file is part of GNU Guix.
@@ -374,6 +374,10 @@ for `sh' in $PATH, and without nscd, and with static NSS
modules."
(package-arguments binutils))
((#:configure-flags flags _ ...)
flags)))
+ #:make-flags ,(match (memq #:make-flags (package-arguments binutils))
+ ((#:make-flags flags _ ...)
+ flags)
+ (_ ''()))
#:strip-flags '("--strip-all")
#:phases (modify-phases %standard-phases
(add-before 'configure 'all-static
- branch core-updates updated (bbd1e4e -> acb9277), guix-commits, 2020/02/15
- 01/22: gnu: linux-libre: Remove obsolete workaround., guix-commits, 2020/02/15
- 02/22: gnu: efivar: Remove obsolete workaround., guix-commits, 2020/02/15
- 03/22: gnu: efibootmgr: Remove obsolete workaround., guix-commits, 2020/02/15
- 04/22: gnu: linux-libre-headers: Update to 5.4.20., guix-commits, 2020/02/15
- 05/22: gnu: dnsmasq: Fix build with linux-libre-headers >= 5.2., guix-commits, 2020/02/15
- 06/22: gnu: binutils: Update to 2.34.,
guix-commits <=
- 09/22: gnu: libfaketime: Fix build with glibc 2.31., guix-commits, 2020/02/15
- 11/22: gnu: isl: Move the static library to a separate output., guix-commits, 2020/02/15
- 12/22: gnu: python2-more-itertools: Do not depend on 'python2-minimal'., guix-commits, 2020/02/15
- 13/22: gnu: OpenBLAS: Update to 0.3.8., guix-commits, 2020/02/15
- 08/22: gnu: glibc: Update to 2.31., guix-commits, 2020/02/15
- 15/22: gnu: mit-krb5: Update to 1.18., guix-commits, 2020/02/15
- 16/22: gnu: bison: Update to 3.5.2., guix-commits, 2020/02/15
- 17/22: gnu: ncurses: Update to 6.2., guix-commits, 2020/02/15
- 07/22: gnu: ath9k-htc-firmware: Build with binutils@2.33.1., guix-commits, 2020/02/15
- 10/22: gnu: telepathy-glib: Fix test failure., guix-commits, 2020/02/15