[MacPorts] #63590: py27-pygtk fails to build (default config)

MacPorts noreply at macports.org
Fri Oct 8 13:05:13 UTC 2021


#63590: py27-pygtk fails to build (default config)
------------------------+------------------------
 Reporter:  mouse07410  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:              |       Port:  py27-pygtk
------------------------+------------------------
 macOS Big Sur 11.6, Xcode-13.0. Macports updated right before the attempt
 to install {{{py27-pygtk}}}.

 {{{
 $ sudo port install py27-pygtk
 Portfile changed since last build; discarding previous state.
 --->  Computing dependencies for py27-pygtk
 --->  Fetching archive for py27-pygtk
 --->  Attempting to fetch py27-pygtk-2.24.0_5+x11.darwin_20.x86_64.tbz2
 from https://packages.macports.org/py27-pygtk
 --->  Attempting to fetch py27-pygtk-2.24.0_5+x11.darwin_20.x86_64.tbz2
 from https://nue.de.packages.macports.org/py27-pygtk
 --->  Attempting to fetch py27-pygtk-2.24.0_5+x11.darwin_20.x86_64.tbz2
 from http://atl.us.packages.macports.org/py27-pygtk
 --->  Fetching distfiles for py27-pygtk
 --->  Verifying checksums for py27-pygtk
 --->  Extracting py27-pygtk
 --->  Applying patches to py27-pygtk
 --->  Configuring py27-pygtk
 --->  Building py27-pygtk
 Error: Failed to build py27-pygtk: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-pygtk/py27-pygtk/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 Error: Processing of port py27-pygtk failed
 }}}

 Errors:
 {{{
 .  .  .  .  .
 :info:build /opt/local/include/glib-2.0/glib/gmacros.h:942:37: note:
 expanded from macro 'G_DEPRECATED'
 :info:build #define G_DEPRECATED __attribute__((__deprecated__))
 :info:build                                     ^
 :info:build pango.c:3986:16: error: implicit declaration of function
 'pango_font_metrics_new' is invalid in C99 [-Werror,-Wimplicit-function-
 declaration]
 :info:build         return pango_font_metrics_new();
 :info:build                ^
 :info:build pango.c:3986:16: note: did you mean 'pango_font_metrics_ref'?
 :info:build /opt/local/include/pango-1.0/pango/pango-font.h:346:19: note:
 'pango_font_metrics_ref' declared here
 :info:build PangoFontMetrics *pango_font_metrics_ref
 (PangoFontMetrics *metrics);
 :info:build                   ^
 :info:build pango.c:3986:16: warning: incompatible integer to pointer
 conversion returning 'int' from a function with result type
 'PangoFontMetrics *' (aka 'struct _PangoFontMetrics *') [-Wint-conversion]
 :info:build         return pango_font_metrics_new();
 :info:build                ^~~~~~~~~~~~~~~~~~~~~~~~
 :info:build pango.c:4000:16: error: implicit declaration of function
 'pango_font_metrics_new' is invalid in C99 [-Werror,-Wimplicit-function-
 declaration]
 :info:build         return pango_font_metrics_new();
 :info:build                ^
 :info:build pango.c:4000:16: warning: incompatible integer to pointer
 conversion returning 'int' from a function with result type
 'PangoFontMetrics *' (aka 'struct _PangoFontMetrics *') [-Wint-conversion]
 :info:build         return pango_font_metrics_new();
 :info:build                ^~~~~~~~~~~~~~~~~~~~~~~~
 :info:build pango.c:4011:16: error: implicit declaration of function
 'pango_font_metrics_new' is invalid in C99 [-Werror,-Wimplicit-function-
 declaration]
 :info:build         return pango_font_metrics_new();
 :info:build                ^
 :info:build pango.c:4011:16: warning: incompatible integer to pointer
 conversion returning 'int' from a function with result type
 'PangoFontMetrics *' (aka 'struct _PangoFontMetrics *') [-Wint-conversion]
 .  .  .  .  .
 }}}

 Full log included.

-- 
Ticket URL: <https://trac.macports.org/ticket/63590>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list