[MacPorts] #57441: gvemodules-xforms @0.2: error: unexpected type name 'HPtNCoord': expected expression

MacPorts noreply at macports.org
Thu Oct 25 18:01:44 UTC 2018


#57441: gvemodules-xforms @0.2: error: unexpected type name 'HPtNCoord': expected
expression
--------------------------------+------------------------
  Reporter:  ryandesign         |      Owner:  raphael-st
      Type:  defect             |     Status:  accepted
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:
Resolution:                     |   Keywords:
      Port:  gvemodules-xforms  |
--------------------------------+------------------------

Comment (by raphael-st):

 gvemod-crayola builds but still has a problem because there is a binary
 ({{{src/Crayola}}}) in the distfiles archive that obviously has
 overwritten the original Tcl file that is needed for the build.

 gvemod-labeler does not build:
 {{{
 :info:build In file included from labeler.c:36:
 :info:build In file included from /opt/local/include/tk.h:96:
 :info:build /opt/local/include/X11_tk/Xlib.h:28:9: warning:
 'XlibSpecificationRelease' macro redefined [-Wmacro-redefined]
 :info:build #define XlibSpecificationRelease 5
 :info:build         ^
 :info:build /opt/local/include/X11/Xlib.h:36:9: note: previous definition
 is here
 :info:build #define XlibSpecificationRelease 6
 :info:build         ^
 :info:build In file included from labeler.c:36:
 :info:build In file included from /opt/local/include/tk.h:96:
 :info:build /opt/local/include/X11_tk/Xlib.h:62:13: error: cannot combine
 with previous 'int' declaration specifier
 :info:build typedef int Status;
 :info:build             ^
 :info:build /opt/local/include/X11/Xlib.h:83:16: note: expanded from macro
 'Status'
 :info:build #define Status int
 :info:build                ^
 }}}
 This seems to be a conflict between Tk and X11 headers.

-- 
Ticket URL: <https://trac.macports.org/ticket/57441#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list