[MacPorts] #43206: capnproto @0.4.1: Version mismatch between generated code and library headers. You must use the same version of the Cap'n Proto compiler and library.
#43206: capnproto @0.4.1: Version mismatch between generated code and library headers. You must use the same version of the Cap'n Proto compiler and library. --------------------------+----------------------- Reporter: ryandesign@… | Owner: cal@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.99 Keywords: | Port: capnproto --------------------------+----------------------- I'm getting this problem trying to upgrade capnproto @0.4.0_0 to @0.4.1_0: {{{ ./src/capnp/compiler/grammar.capnp.h:10:2: error: "Version mismatch between generated code and library headers. You must use the same version of the Cap'n Proto compiler and library." }}} It works fine if I deactivate capnproto @0.4.0_0 first. So this is another instance of the problem that #40656 was supposed to fix (but it was reverted). -- Ticket URL: <https://trac.macports.org/ticket/43206> MacPorts <http://www.macports.org/> Ports system for OS X
#43206: capnproto @0.4.1: Version mismatch between generated code and library headers. You must use the same version of the Cap'n Proto compiler and library. ---------------------------+---------------------- Reporter: ryandesign@… | Owner: cal@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.99 Resolution: | Keywords: Port: capnproto | ---------------------------+---------------------- Changes (by cal@…): * status: new => assigned Comment: … and I guess I didn't notice because I always build in trace mode, which hides the installed header. I guess I could add a deactivate hack to deactivate the old version before building, but the proper solution would be adjusting the include path order. -- Ticket URL: <https://trac.macports.org/ticket/43206#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#43206: capnproto @0.4.1: Version mismatch between generated code and library headers. You must use the same version of the Cap'n Proto compiler and library. ---------------------------+---------------------- Reporter: ryandesign@… | Owner: cal@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.99 Resolution: | Keywords: Port: capnproto | ---------------------------+---------------------- Comment (by ryandesign@…): The deactivate hack is not appropriate for build failures. The deactivate hack is for activation failures caused by moving a file from one port to another. Probably I would recommend using the fix from #40656: {{{ configure.cppflags-replace -I/opt/local/include -isystem/opt/local/include }}} -- Ticket URL: <https://trac.macports.org/ticket/43206#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#43206: capnproto @0.4.1: Version mismatch between generated code and library headers. You must use the same version of the Cap'n Proto compiler and library. ---------------------------+-------------------- Reporter: ryandesign@… | Owner: cal@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.99 Resolution: fixed | Keywords: Port: capnproto | ---------------------------+-------------------- Changes (by cal@…): * status: assigned => closed * resolution: => fixed Comment: Applied the suggested fix in r120175. -- Ticket URL: <https://trac.macports.org/ticket/43206#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts