[MacPorts] #37816: zebra @2.0.50_0 build fails: error: 'Tcl_Interp' has no member named 'errorLine' or 'result' (was: zebra @2.0.50_0 +Build Fails: command execution failed)

MacPorts noreply at macports.org
Mon Jan 28 10:54:33 PST 2013


#37816: zebra @2.0.50_0 build fails: error: 'Tcl_Interp' has no member named
'errorLine' or 'result'
----------------------------+----------------------
  Reporter:  jigme.datse@…  |      Owner:  dlc@…
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.1.2
Resolution:                 |   Keywords:  haspatch
      Port:  zebra          |
----------------------------+----------------------
Changes (by ryandesign@…):

 * keywords:   => haspatch
 * cc: ryandesign@… (added)
 * port:   => zebra
 * owner:  macports-tickets@… => dlc@…


Comment:

 It's an incompatibility with Tcl 8.6:

 {{{
 :info:build mod_grs_regx.c: In function 'execTcl':
 :info:build mod_grs_regx.c:1304: error: 'Tcl_Interp' has no member named
 'errorLine'
 :info:build mod_grs_regx.c:1305: error: 'Tcl_Interp' has no member named
 'result'
 :info:build make[1]: *** [mod_grs_regx.lo] Error 1
 }}}

 The workaround we've used in many ports already is to add
 `-DUSE_INTERP_ERRORLINE` and `-DUSE_INTERP_RESULT` to `CPPFLAGS`, but this
 problem must be reported to the developers so that they can fix their code
 to work with Tcl 8.6 without this flag.

 The attached patch works for me, and also updates the port to 2.0.54.
 David, may I commit it?

-- 
Ticket URL: <https://trac.macports.org/ticket/37816#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list