[MacPorts] #42348: Latest graphviz with +ming variant build errors
#42348: Latest graphviz with +ming variant build errors ---------------------+-------------------------------- Reporter: david@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: graphviz ---------------------+-------------------------------- See attached log. gvrender_ming.c:45:15: warning: unused variable 'action' [-Wunused- variable] Workaround is to build without +ming variant. -- Ticket URL: <https://trac.macports.org/ticket/42348> MacPorts <http://www.macports.org/> Ports system for OS X
#42348: graphviz @2.36.0 +ming: error: unknown type name 'textpara_t'; did you mean 'textspan_t'? ---------------------------------------+-------------------------- Reporter: david@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: graphviz, graphviz-devel | ---------------------------------------+-------------------------- Changes (by ryandesign@…): * status: new => assigned * cc: ryandesign@… (removed) * owner: macports-tickets@… => ryandesign@… * port: graphviz => graphviz, graphviz-devel Old description:
See attached log.
gvrender_ming.c:45:15: warning: unused variable 'action' [-Wunused- variable]
Workaround is to build without +ming variant.
New description: See attached log. {{{ gvrender_ming.c:45:15: warning: unused variable 'action' [-Wunused- variable] }}} Workaround is to build without +ming variant. -- Comment: The warning you quoted is just a warning. The real problem is what comes after the warning: {{{ :info:build gvrender_ming.c:94:50: error: unknown type name 'textpara_t'; did you mean 'textspan_t'? :info:build static void ming_textpara(GVJ_t * job, pointf p, textpara_t * para) :info:build ^~~~~~~~~~ :info:build textspan_t :info:build ../../lib/common/textspan.h:63:7: note: 'textspan_t' declared here :info:build } textspan_t; :info:build ^ :info:build gvrender_ming.c:126:45: error: no member named 'fontsize' in 'textspan_t' :info:build SWFTextField_setHeight(textfield, para->fontsize); :info:build ~~~~ ^ :info:build gvrender_ming.c:133:20: error: no member named 'width' in 'textspan_t' :info:build offset.x = -para->width; :info:build ~~~~ ^ :info:build gvrender_ming.c:137:20: error: no member named 'width' in 'textspan_t' :info:build offset.x = -para->width/2.; :info:build ~~~~ ^ :info:build gvrender_ming.c:141:23: error: no member named 'height' in 'textspan_t' :info:build offset.y = -para->height + para->fontsize*.4; /* empirically determined */ :info:build ~~~~ ^ :info:build gvrender_ming.c:141:38: error: no member named 'fontsize' in 'textspan_t' :info:build offset.y = -para->height + para->fontsize*.4; /* empirically determined */ :info:build ~~~~ ^ :info:build 1 warning and 6 errors generated. }}} Confirmed with graphviz @2.36.0 and @2.37.20140201.0545. I've reported it to the developers: http://www.graphviz.org/mantisbt/view.php?id=2420 -- Ticket URL: <https://trac.macports.org/ticket/42348#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts