Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#64430 closed defect (fixed)

pangomm @2.42.1: error: use of undeclared identifier 'pango_parse_markup'

Reported by: jasonliu-- (Jason Liu) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: arm64 Cc:
Port: pangomm

Description

I've received a report from a user that pangomm +quartz is failing to build on Monterey (arm64):

https://github.com/Beep6581/RawTherapee/issues/5590#issuecomment-1008236390

I don't own an arm64 Mac, so I have no way of verifying the validity of the user's complaint.

Attachments (1)

main.log.bz2 (14.3 KB) - added by ryandesign (Ryan Carsten Schmidt) 3 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: dbevans removed
Keywords: arm64 added
Owner: set to dbevans
Status: newassigned

Confirmed on macOS 11 arm64:

attrlist.cc:38:20: error: use of undeclared identifier 'pango_parse_markup'
  gboolean bTest = pango_parse_markup(markup_text.c_str(), -1 /* means null-terminated */, accel_marker,
                   ^
attrlist.cc:65:20: error: use of undeclared identifier 'pango_parse_markup'
  gboolean bTest = pango_parse_markup(markup_text.c_str(), -1 /* means null-terminated */, accel_marker,
                   ^

Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: main.log.bz2 added

comment:3 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: pangomm: fails to build with +quartz on arm64?pangomm @2.42.1: error: use of undeclared identifier 'pango_parse_markup'

Thanks Ken, that looks like it.

Just to add: got the same error without +quartz.

comment:4 Changed 3 years ago by hexane360 (Colin Gilgenbach)

Resolution: fixed
Status: assignedclosed

In 3a0dd859355d24acf9daeb6dff4ac900b8a7db80/macports-ports (master):

pangomm: Fix broken pango includes

Changes includes in order to fix build errors caused by header
rearrangements in pango.

These are the pango changes which broken pangomm's build: https://gitlab.gnome.org/GNOME/pango/-/commit/d8df0da73752284dff28952224258b1884ed200c
This patch backports this commit in upstream pangomm: https://gitlab.gnome.org/GNOME/pangomm/-/commit/f065a2967e22658565f4228b73b1511d291e343f

Closes: #64430

Co-authored-by: Ryan Schmidt <ryandesign@…>

comment:5 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

In 6d4ccbd63fd62cc15cc2bf6294f89f6ceb2e3cc0/macports-ports (master):

pangomm: Increase revision for preceding commit

The preceding commit modified a header that gets installed.

See: #64430
See: https://github.com/macports/macports-ports/pull/13771

Note: See TracTickets for help on using tickets.