mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 23:06:59 +01:00
gnu: flex-2.6.1: Remove variable.
* gnu/packages/flex.scm (flex-2.6.1): Remove variable. * gnu/packages/bootloaders.scm (grub, dtc): Use flex instead of flex-2.6.1. * gnu/packages/embedded.scm (propeller-binutils, binutils-vc4): Likewise. * gnu/packages/maths.scm (scotch): Likewise. * gnu/packages/wine.scm (wine): Likewise.
This commit is contained in:
parent
93fabf5996
commit
5e54f4adda
5 changed files with 6 additions and 27 deletions
|
@ -114,10 +114,7 @@ (define-public grub
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("unifont" ,unifont)
|
`(("unifont" ,unifont)
|
||||||
("bison" ,bison)
|
("bison" ,bison)
|
||||||
;; Due to a bug in flex >= 2.6.2, GRUB must be built with an older flex:
|
("flex" ,flex)
|
||||||
;; <http://lists.gnu.org/archive/html/grub-devel/2017-02/msg00133.html>
|
|
||||||
;; TODO Try building with flex > 2.6.3.
|
|
||||||
("flex" ,flex-2.6.1)
|
|
||||||
("texinfo" ,texinfo)
|
("texinfo" ,texinfo)
|
||||||
("help2man" ,help2man)
|
("help2man" ,help2man)
|
||||||
|
|
||||||
|
@ -240,7 +237,7 @@ (define-public dtc
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("bison" ,bison)
|
`(("bison" ,bison)
|
||||||
("flex" ,flex-2.6.1))) ; A bug in flex prevents building with flex-2.6.3.
|
("flex" ,flex)))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:make-flags
|
`(#:make-flags
|
||||||
(list "CC=gcc"
|
(list "CC=gcc"
|
||||||
|
|
|
@ -412,7 +412,7 @@ (define propeller-binutils
|
||||||
,@(package-arguments xbinutils)))
|
,@(package-arguments xbinutils)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("bison" ,bison)
|
`(("bison" ,bison)
|
||||||
("flex" ,flex-2.6.1) ; needed because of yywrap error
|
("flex" ,flex)
|
||||||
("texinfo" ,texinfo)
|
("texinfo" ,texinfo)
|
||||||
("dejagnu" ,dejagnu)
|
("dejagnu" ,dejagnu)
|
||||||
,@(package-native-inputs xbinutils))))))
|
,@(package-native-inputs xbinutils))))))
|
||||||
|
@ -764,7 +764,7 @@ (define-public binutils-vc4
|
||||||
(base32
|
(base32
|
||||||
"14b3h2ji740s8zq5vwm4qdcxs4aa4wxi6wb9di3bv1h39x14nyr9"))))
|
"14b3h2ji740s8zq5vwm4qdcxs4aa4wxi6wb9di3bv1h39x14nyr9"))))
|
||||||
("texinfo" ,texinfo)
|
("texinfo" ,texinfo)
|
||||||
("flex" ,flex-2.6.1) ; A bug in flex prevents building with flex-2.6.3.
|
("flex" ,flex)
|
||||||
("bison" ,bison)
|
("bison" ,bison)
|
||||||
("guile-1.8" ,guile-1.8)
|
("guile-1.8" ,guile-1.8)
|
||||||
("which" ,base:which)))
|
("which" ,base:which)))
|
||||||
|
|
|
@ -85,20 +85,3 @@ (define-public flex
|
||||||
executes the corresponding C code.")
|
executes the corresponding C code.")
|
||||||
(license (non-copyleft "file://COPYING"
|
(license (non-copyleft "file://COPYING"
|
||||||
"See COPYING in the distribution."))))
|
"See COPYING in the distribution."))))
|
||||||
|
|
||||||
;;; Many packages fail to build with flex > 2.6.1, due to this bug in flex:
|
|
||||||
;;; <https://github.com/westes/flex/issues/162>
|
|
||||||
;;; We must not use a flex before 2.6.1, due to CVE-2016-6354.
|
|
||||||
;;; TODO Try using flex > 2.6.3.
|
|
||||||
(define-public flex-2.6.1
|
|
||||||
(package
|
|
||||||
(inherit flex)
|
|
||||||
(version "2.6.1")
|
|
||||||
(source (origin
|
|
||||||
(method url-fetch)
|
|
||||||
(uri (string-append "https://github.com/westes/flex"
|
|
||||||
"/releases/download/v" version "/"
|
|
||||||
"flex-" version ".tar.xz"))
|
|
||||||
(sha256
|
|
||||||
(base32
|
|
||||||
"0gqhk4vkwy4gl9xbpgkljph8c0a5kpijz6wd0p5r9q202qn42yic"))))))
|
|
||||||
|
|
|
@ -1807,7 +1807,7 @@ (define-public scotch
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(inputs
|
(inputs
|
||||||
`(("zlib" ,zlib)
|
`(("zlib" ,zlib)
|
||||||
("flex" ,flex-2.6.1) ; A bug in flex prevents building with flex-2.6.3.
|
("flex" ,flex)
|
||||||
("bison" ,bison)))
|
("bison" ,bison)))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
|
|
|
@ -65,8 +65,7 @@ (define-public wine
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(native-inputs `(("pkg-config" ,pkg-config)
|
(native-inputs `(("pkg-config" ,pkg-config)
|
||||||
("gettext" ,gettext-minimal)
|
("gettext" ,gettext-minimal)
|
||||||
; A bug in flex prevents building with flex-2.6.3.
|
("flex" ,flex)
|
||||||
("flex" ,flex-2.6.1)
|
|
||||||
("bison" ,bison)
|
("bison" ,bison)
|
||||||
("perl" ,perl)))
|
("perl" ,perl)))
|
||||||
(inputs
|
(inputs
|
||||||
|
|
Loading…
Reference in a new issue