[MacPorts] #5131: BUG: control-center fails to build

MacPorts noreply at macports.org
Thu Mar 24 09:47:51 PDT 2016


#5131: BUG: control-center fails to build
-----------------------------+---------------------------------
  Reporter:  rhwood@…        |      Owner:  gnome-darwinports@…
      Type:  defect          |     Status:  closed
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  1.0
Resolution:  fixed           |   Keywords:
      Port:  control-center  |
-----------------------------+---------------------------------
Changes (by ryandesign@…):

 * port:   => control-center


Old description:

> On Mac OS X 10.4.2, control-center fails to build. The error in question
> is a syntax problem with /opt/
> local/include/X11/Xft/Xft.h . Particullarly vexing about the error is
> that 21 other ports depend on this
> port and they all built without problems.
>
> sudo port clean --all control-center ; sudo port install control-center
> DID NOT solve the issue.
>
> Output follows:
>
> --->  Building control-center with target all
> Error: Target com.apple.build returned: shell command "cd
> "/opt/local/var/db/dports/build/
> file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_gnome_control-
> center/work/control-center-2.10.0" && make all" returned error 2
> Command output: /opt/local/include/X11/Xft/Xft.h:302: warning: type
> defaults to 'int' in declaration of
> 'FT_UInt'
> /opt/local/include/X11/Xft/Xft.h:302: error: parse error before '*' token
> /opt/local/include/X11/Xft/Xft.h:361: error: parse error before
> 'XftLockFace'
> /opt/local/include/X11/Xft/Xft.h:361: warning: type defaults to 'int' in
> declaration of 'XftLockFace'
> /opt/local/include/X11/Xft/Xft.h:361: warning: data definition has no
> type or storage class
> /opt/local/include/X11/Xft/Xft.h:400: warning: type defaults to 'int' in
> declaration of 'FT_UInt'
> /opt/local/include/X11/Xft/Xft.h:400: error: parse error before '*' token
> /opt/local/include/X11/Xft/Xft.h:406: warning: type defaults to 'int' in
> declaration of 'FT_UInt'
> /opt/local/include/X11/Xft/Xft.h:406: error: parse error before '*' token
> /opt/local/include/X11/Xft/Xft.h:415: error: parse error before 'FT_UInt'
> /opt/local/include/X11/Xft/Xft.h:425: error: parse error before
> 'XftCharIndex'
> /opt/local/include/X11/Xft/Xft.h:427: warning: type defaults to 'int' in
> declaration of 'XftCharIndex'
> /opt/local/include/X11/Xft/Xft.h:427: warning: data definition has no
> type or storage class
> /opt/local/include/X11/Xft/Xft.h:468: warning: type defaults to 'int' in
> declaration of 'FT_UInt'
> /opt/local/include/X11/Xft/Xft.h:468: error: parse error before '*' token
> /opt/local/include/X11/Xft/Xft.h:479: warning: type defaults to 'int' in
> declaration of 'XftGlyphSpec'
> /opt/local/include/X11/Xft/Xft.h:479: error: parse error before '*' token
> /opt/local/include/X11/Xft/Xft.h:500: warning: type defaults to 'int' in
> declaration of
> 'XftGlyphFontSpec'
> /opt/local/include/X11/Xft/Xft.h:500: error: parse error before '*' token
> In file included from /opt/local/include/pango-1.0/pango/pangoxft.h:30,
>                  from keyboard-drawing.c:27:
> /opt/local/include/pango-1.0/pango/pangoxft-render.h:95: error: parse
> error before 'XftGlyphSpec'
> keyboard-drawing.c: In function 'xkb_state_notify_event_filter':
> keyboard-drawing.c:1481: warning: implicit declaration of function
> 'memset'
> keyboard-drawing.c:1481: warning: incompatible implicit declaration of
> built-in function 'memset'
> keyboard-drawing.c: In function 'keyboard_drawing_set_track_modifiers':
> keyboard-drawing.c:1800: warning: incompatible implicit declaration of
> built-in function 'memset'
> make[2]: *** [keyboard-drawing.o] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2

New description:

 On Mac OS X 10.4.2, control-center fails to build. The error in question
 is a syntax problem with /opt/local/include/X11/Xft/Xft.h . Particullarly
 vexing about the error is that 21 other ports depend on this
 port and they all built without problems.

 {{{
 sudo port clean --all control-center ; sudo port install control-center
 DID NOT solve the issue.
 }}}

 Output follows:

 {{{
 --->  Building control-center with target all
 Error: Target com.apple.build returned: shell command "cd
 "/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin
 .org_dpupdate_dports_gnome_control-center/work/control-center-2.10.0" &&
 make all" returned error 2
 Command output: /opt/local/include/X11/Xft/Xft.h:302: warning: type
 defaults to 'int' in declaration of 'FT_UInt'
 /opt/local/include/X11/Xft/Xft.h:302: error: parse error before '*' token
 /opt/local/include/X11/Xft/Xft.h:361: error: parse error before
 'XftLockFace'
 /opt/local/include/X11/Xft/Xft.h:361: warning: type defaults to 'int' in
 declaration of 'XftLockFace'
 /opt/local/include/X11/Xft/Xft.h:361: warning: data definition has no type
 or storage class
 /opt/local/include/X11/Xft/Xft.h:400: warning: type defaults to 'int' in
 declaration of 'FT_UInt'
 /opt/local/include/X11/Xft/Xft.h:400: error: parse error before '*' token
 /opt/local/include/X11/Xft/Xft.h:406: warning: type defaults to 'int' in
 declaration of 'FT_UInt'
 /opt/local/include/X11/Xft/Xft.h:406: error: parse error before '*' token
 /opt/local/include/X11/Xft/Xft.h:415: error: parse error before 'FT_UInt'
 /opt/local/include/X11/Xft/Xft.h:425: error: parse error before
 'XftCharIndex'
 /opt/local/include/X11/Xft/Xft.h:427: warning: type defaults to 'int' in
 declaration of 'XftCharIndex'
 /opt/local/include/X11/Xft/Xft.h:427: warning: data definition has no type
 or storage class
 /opt/local/include/X11/Xft/Xft.h:468: warning: type defaults to 'int' in
 declaration of 'FT_UInt'
 /opt/local/include/X11/Xft/Xft.h:468: error: parse error before '*' token
 /opt/local/include/X11/Xft/Xft.h:479: warning: type defaults to 'int' in
 declaration of 'XftGlyphSpec'
 /opt/local/include/X11/Xft/Xft.h:479: error: parse error before '*' token
 /opt/local/include/X11/Xft/Xft.h:500: warning: type defaults to 'int' in
 declaration of 'XftGlyphFontSpec'
 /opt/local/include/X11/Xft/Xft.h:500: error: parse error before '*' token
 In file included from /opt/local/include/pango-1.0/pango/pangoxft.h:30,
                  from keyboard-drawing.c:27:
 /opt/local/include/pango-1.0/pango/pangoxft-render.h:95: error: parse
 error before 'XftGlyphSpec'
 keyboard-drawing.c: In function 'xkb_state_notify_event_filter':
 keyboard-drawing.c:1481: warning: implicit declaration of function
 'memset'
 keyboard-drawing.c:1481: warning: incompatible implicit declaration of
 built-in function 'memset'
 keyboard-drawing.c: In function 'keyboard_drawing_set_track_modifiers':
 keyboard-drawing.c:1800: warning: incompatible implicit declaration of
 built-in function 'memset'
 make[2]: *** [keyboard-drawing.o] Error 1
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/5131#comment:12>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list