Opened 3 years ago

Closed 3 years ago

#63590 closed defect (duplicate)

py27-pygtk fails to build (default config)

Reported by: mouse07410 (Mouse) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: mascguy (Christopher Nielsen)
Port: py27-pygtk

Description

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.

Attachments (1)

py27-pygtk.log.txt (400.9 KB) - added by mouse07410 (Mouse) 3 years ago.
main.log

Download all attachments as: .zip

Change History (2)

Changed 3 years ago by mouse07410 (Mouse)

Attachment: py27-pygtk.log.txt added

main.log

comment:1 Changed 3 years ago by mascguy (Christopher Nielsen)

Resolution: duplicate
Status: newclosed

Duplicate of issue:63585

Note: See TracTickets for help on using tickets.