[MacPorts] #41600: bison 3.0.1 is out
#41600: bison 3.0.1 is out -----------------------------+-------------------------------- Reporter: akim.demaille@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: bison -----------------------------+-------------------------------- This version addresses the problem of the yacc man page. {{{ --- /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/bison/Portfile 2013-08-03 00:30:21.000000000 +0200 +++ /tmp/Portfile 2013-11-29 18:30:50.000000000 +0100 @@ -1,9 +1,10 @@ +# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c -basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id: Portfile 108830 2013-08-02 22:11:18Z jeremyhu@macports.org $ PortSystem 1.0 name bison -version 2.7.1 +version 3.0.1 epoch 1 categories devel maintainers mww @@ -20,8 +21,8 @@ homepage http://www.gnu.org/software/bison/ master_sites gnu -checksums rmd160 933257e61c1098160d4fd71063f340b2ee304671 \ - sha256 b409adcbf245baadb68d2f66accf6fdca5e282cafec1b865f4b5e963ba8ea7fb +checksums rmd160 bc2357e0253857e6c5b19ad1b4c6e5f27472bd28 \ + sha256 944efb03b46d831cef452bfa44620e5b30f7de999902a70d96021a0a77f5a2cb use_xz yes depends_lib port:gettext port:m4 port:libiconv @@ -46,10 +47,6 @@ calc++-scanner.cc calc++-scanner.ll calc++.cc location.hh \ position.hh stack.hh test \ ${destroot}${docdir}/examples/calc++ - # yacc manpage gets installed even with '--disable-yacc' - if {! [variant_isset yacc]} { - delete ${destroot}${prefix}/share/man/man1/yacc.1 - } } variant yacc description "enable yacc compatibility" { @@ -59,4 +56,3 @@ livecheck.type regex livecheck.url http://ftp.gnu.org/gnu/bison/?C=M&O=D livecheck.regex ${name}-(\\d+(?:\\.\\d+)*) - }}} -- Ticket URL: <https://trac.macports.org/ticket/41600> MacPorts <http://www.macports.org/> Ports system for OS X
#41600: bison 3.0.1 is out ------------------------------+-------------------------------- Reporter: akim.demaille@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: bison | ------------------------------+-------------------------------- Comment (by egall@…): bison3 has incompatibilities with bison2: see #39910 -- Ticket URL: <https://trac.macports.org/ticket/41600#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#41600: bison 3.0.1 is out ------------------------------+---------------------- Reporter: akim.demaille@… | Owner: mww@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: haspatch Port: bison | ------------------------------+---------------------- Changes (by ryandesign@…): * keywords: => haspatch * owner: macports-tickets@… => mww@… -- Ticket URL: <https://trac.macports.org/ticket/41600#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#41600: bison 3.0.1 is out ------------------------------+---------------------- Reporter: akim.demaille@… | Owner: mww@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: haspatch Port: bison | ------------------------------+---------------------- Comment (by akim.demaille@…): Hi Eric, Thanks for pointing the ticket to me, I had not seen it. However, it is my reading of a ticket that the upstream packages have been fixed, so maybe we could try again with Bison 3? One of the issues shows an easy workaround for packages that have still not been updated, namely `%lex- param { LEX_PARAM }` (works with both 3 and pre-3 Bisons). I'd be happy to give a hand to adjusting remainnig packages that don't work with Bison 3, just tell me where to look at. -- Ticket URL: <https://trac.macports.org/ticket/41600#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#41600: bison 3.0.1 is out ------------------------------+---------------------- Reporter: akim.demaille@… | Owner: mww@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: haspatch Port: bison | ------------------------------+---------------------- Comment (by akim.demaille@…): Hi, Bison 3.0.2 is out too. {{{ --- Portfile.2.7.1 2013-12-09 14:07:38.000000000 +0100 +++ Portfile.3.0.2 2013-12-09 14:09:33.000000000 +0100 @@ -1,9 +1,10 @@ +# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c -basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id: Portfile 108830 2013-08-02 22:11:18Z jeremyhu@macports.org $ PortSystem 1.0 name bison -version 2.7.1 +version 3.0.2 epoch 1 categories devel maintainers mww @@ -20,8 +21,8 @@ homepage http://www.gnu.org/software/bison/ master_sites gnu -checksums rmd160 933257e61c1098160d4fd71063f340b2ee304671 \ - sha256 b409adcbf245baadb68d2f66accf6fdca5e282cafec1b865f4b5e963ba8ea7fb +checksums rmd160 0a945ce5710a79332fbe594255305f244c24dd74 \ + sha256 a2c3e8528bdb50567d6fa26deeb493dc5ccd7e277b865251608a9e43ac928f3c use_xz yes depends_lib port:gettext port:m4 port:libiconv @@ -46,10 +47,6 @@ calc++-scanner.cc calc++-scanner.ll calc++.cc location.hh \ position.hh stack.hh test \ ${destroot}${docdir}/examples/calc++ - # yacc manpage gets installed even with '--disable-yacc' - if {! [variant_isset yacc]} { - delete ${destroot}${prefix}/share/man/man1/yacc.1 - } } variant yacc description "enable yacc compatibility" { @@ -59,4 +56,3 @@ livecheck.type regex livecheck.url http://ftp.gnu.org/gnu/bison/?C=M&O=D livecheck.regex ${name}-(\\d+(?:\\.\\d+)*) - }}} -- Ticket URL: <https://trac.macports.org/ticket/41600#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#41600: bison 3.0.1 is out ------------------------------+---------------------- Reporter: akim.demaille@… | Owner: mww@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: haspatch Port: bison | ------------------------------+---------------------- Comment (by akim.demaille@…): Ping! There are features on Bison 3.0 that some packages use, and currently one has to install it by hand instead of relying on MacPorts. -- Ticket URL: <https://trac.macports.org/ticket/41600#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#41600: bison 3.0.1 is out ------------------------------+---------------------- Reporter: akim.demaille@… | Owner: mww@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: haspatch Port: bison | ------------------------------+---------------------- Comment (by macsforever2000@…): Please instead attach your .diff file(s) instead of pasting them inline. -- Ticket URL: <https://trac.macports.org/ticket/41600#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#41600: bison: update to 3.0.2 ------------------------------+---------------------- Reporter: akim.demaille@… | Owner: mww@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: haspatch Port: bison | ------------------------------+---------------------- Comment (by ryandesign@…): So, have we verified that e.g. #39909 doesn't happen anymore with bison 3.0.2? -- Ticket URL: <https://trac.macports.org/ticket/41600#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#41600: bison: update to 3.0.2 ------------------------------+---------------------- Reporter: akim.demaille@… | Owner: mww@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: haspatch Port: bison | ------------------------------+---------------------- Comment (by akim.demaille@…): Seems to work. {{{ $ sudo port build gstreamer1 ---> Computing dependencies for gstreamer1 ---> Dependencies to be installed: gzip ---> Fetching archive for gzip ---> Attempting to fetch gzip-1.6_0.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/gzip ---> Attempting to fetch gzip-1.6_0.darwin_13.x86_64.tbz2.rmd160 from http://lil.fr.packages.macports.org/gzip ---> Installing gzip @1.6_0 ---> Activating gzip @1.6_0 ---> Cleaning gzip ---> Fetching distfiles for gstreamer1 ---> Attempting to fetch gstreamer-1.2.2.tar.xz from http://lil.fr.distfiles.macports.org/gstreamer1 ---> Verifying checksums for gstreamer1 ---> Extracting gstreamer1 ---> Configuring gstreamer1 ---> Building gstreamer1 $ /opt/local/bin/bison --version bison (GNU Bison) 3.0.2 Écrit par Robert Corbett et Richard Stallman. Copyright © 2013 Free Software Foundation, Inc. Ce logiciel est libre; voir les sources pour les conditions de reproduction. AUCUNE garantie n'est donnée; tant pour des raisons COMMERCIALES que pour RÉPONDRE À UN BESOIN PARTICULIER. }}} -- Ticket URL: <https://trac.macports.org/ticket/41600#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#41600: bison: update to 3.0.2 ------------------------------+---------------------- Reporter: akim.demaille@… | Owner: mww@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: haspatch Port: bison | ------------------------------+---------------------- Comment (by akim.demaille@…): Ping! -- Ticket URL: <https://trac.macports.org/ticket/41600#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#41600: bison: update to 3.0.2 ------------------------------+---------------------- Reporter: akim.demaille@… | Owner: mww@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: haspatch Port: bison | ------------------------------+---------------------- Comment (by cornelius.howl@…): Ping! -- Ticket URL: <https://trac.macports.org/ticket/41600#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
#41600: bison: update to 3.0.2 ------------------------------+---------------------- Reporter: akim.demaille@… | Owner: mww@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: haspatch Port: bison | ------------------------------+---------------------- Comment (by akim.demaille@…): Ping again. Can we please get rid of 2.7? -- Ticket URL: <https://trac.macports.org/ticket/41600#comment:13> MacPorts <http://www.macports.org/> Ports system for OS X
#41600: bison: update to 3.0.2 ------------------------------+---------------------- Reporter: akim.demaille@… | Owner: mww@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: haspatch Port: bison | ------------------------------+---------------------- Comment (by rjvbertin@…): There are applications that don't work with bison 3 (xxdiff comes to mind). So I'd be all for keeping a bison-2 port in addition to having the latest version. -- Ticket URL: <https://trac.macports.org/ticket/41600#comment:14> MacPorts <http://www.macports.org/> Ports system for OS X
#41600: bison: update to 3.0.2 ------------------------------+---------------------- Reporter: akim.demaille@… | Owner: mww@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: haspatch Port: bison | ------------------------------+---------------------- Comment (by akim.demaille@…): It seems that xxdiff was fixed, http://sourceforge.net/p/xxdiff/bugs/229/ We won't know much about the programs that still need to be adjusted if we don't move to Bison 3. -- Ticket URL: <https://trac.macports.org/ticket/41600#comment:15> MacPorts <http://www.macports.org/> Ports system for OS X
#41600: bison: update to 3.0.2 ------------------------------+---------------------- Reporter: akim.demaille@… | Owner: mww@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: haspatch Port: bison | ------------------------------+---------------------- Comment (by rjvbertin@…): Replying to [comment:15 akim.demaille@…]:
It seems that xxdiff was fixed, http://sourceforge.net/p/xxdiff/bugs/229/
Indeed, but it also seems that the patch hasn't yet made it to a source tarball. Nor is it clear what exactly the patch is, the author mentions "another patch" a few months after someone posted one.
We won't know much about the programs that still need to be adjusted if we don't move to Bison 3.
Fair enough, but for those ports it'd be nice if Bison 2 remained available, so that their maintainers can tweak their build system to use that version. -- Ticket URL: <https://trac.macports.org/ticket/41600#comment:16> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts