[MacPorts] #37543: syck: error: conflicting types for 'syckparse'
#37543: syck: error: conflicting types for 'syckparse' --------------------------+----------------------- Reporter: ryandesign@… | Owner: lharple@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: syck --------------------------+----------------------- {{{ gram.h:107:5: error: conflicting types for 'syckparse' int syckparse (void); ^ ./syck.h:471:5: note: previous declaration is here int syckparse( void * ); ^ 1 error generated. make[2]: *** [gram.o] Error 1 }}} -- Ticket URL: <https://trac.macports.org/ticket/37543> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37543: syck: error: conflicting types for 'syckparse' ---------------------------+----------------------- Reporter: ryandesign@… | Owner: lharple@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: haspatch Port: syck | ---------------------------+----------------------- Changes (by ryandesign@…): * keywords: => haspatch Comment: This happens if bison @2.7_0 is installed. Attached is a patch to fix this by forcing the use of the system's copy of bison, which on Mountain Lion is still 2.3. The configure script provides the variable "YACC" to override the automatic detection, unfortunately the configure script then checks to make sure it has not been overridden and bails out if it has, therefore the patch for the configure script is needed to remove that check. May I commit these patches? Unless you know a way to make syck work with newer bison, which would be preferable in case future OS X includes a newer bison. -- Ticket URL: <https://trac.macports.org/ticket/37543#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37543: syck: error: conflicting types for 'syckparse' ---------------------------+----------------------- Reporter: ryandesign@… | Owner: lharple@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: haspatch Port: syck | ---------------------------+----------------------- Comment (by ryandesign@…): Replying to [comment:1 ryandesign@…]:
Unless you know a way to make syck work with newer bison, which would be preferable in case future OS X includes a newer bison.
In fact here is the upstream bug report: https://github.com/indeyets/syck/issues/10 And the fix that was committed to make it build with bison 2.6 and newer: https://github.com/indeyets/syck/commit/4c0e9b5e2e9fa93f18c850f4a9c2cfe0e835... New patches attached. -- Ticket URL: <https://trac.macports.org/ticket/37543#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts