Opened 6 months ago

Last modified 6 months ago

#68588 assigned defect

gobject-introspection fails for girffi symbols

Reported by: rmottola (Riccardo) Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version:
Keywords: leopard x86_64 Cc:
Port: gobject-introspection

Description

Build fails with:

Undefined symbols:
  "_ffi_prep_closure_loc", referenced from:
      _g_callable_info_create_closure in girffi.c.o
  "_ffi_closure_alloc", referenced from:
      _g_callable_info_create_closure in girffi.c.o
  "_ffi_closure_free", referenced from:
      _g_callable_info_destroy_closure in girffi.c.o
      _g_callable_info_create_closure in girffi.c.o
ld: symbol(s) not found

Attachments (1)

main.log (148.0 KB) - added by rmottola (Riccardo) 6 months ago.
standard build log gcc 4.2

Download all attachments as: .zip

Change History (3)

Changed 6 months ago by rmottola (Riccardo)

Attachment: main.log added

standard build log gcc 4.2

comment:1 Changed 6 months ago by rmottola (Riccardo)

Forcing macport GCC 7 completes the build. I didn't check other compilers, maybe we can just blacklist apple 4.2 ? I hope there are no circular deps.

comment:2 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)

Keywords: x86_64 added; 64bit removed
Owner: set to mascguy
Status: newassigned

I see in the log that it is linking with /usr/lib/libffi.dylib. Unsure why it isn't using MacPorts libffi which presumably is the one that has the missing symbols.

Note: See TracTickets for help on using tickets.