#67032 closed defect (fixed)

libsexy @0.1.11_3: build fails

Reported by: odysseus9672 (Sean Lake) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: libsexy

Description

I just upgraded to OSX version 13.2.1 with Xcode 14.2, and I'm reinstalling MacPorts. I want to install xchat-gnome and the build fails on a dependency: libsexy. It appears to fail at this point:

:info:build /usr/bin/clang -dynamiclib  -o .libs/libsexy.2.0.4.dylib  .libs/gtkspell-iso-codes.o .libs/sexy-enum-types.o .libs/sexy-icon-entry.o .libs/sexy-spell-entry.o .libs/sexy-tooltip.o .libs/sexy-tree-view.o .libs/sexy-url-label.o .libs/sexy-marshal.o  -L/opt/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lXfixes -lX11 -lXext -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lharfbuzz -lfontconfig -lfreetype -lxml2  -arch x86_64 -Wl,-headerpad_max_install_names -Wl,-syslibroot -Wl,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -install_name  /opt/local/lib/libsexy.2.dylib -Wl,-compatibility_version -Wl,3 -Wl,-current_version -Wl,3.4
:info:build Undefined symbols for architecture x86_64:
:info:build   "_g_module_open", referenced from:
:info:build       _sexy_spell_entry_class_intern_init in sexy-spell-entry.o
:info:build   "_g_module_symbol", referenced from:
:info:build       _sexy_spell_entry_class_intern_init in sexy-spell-entry.o
:info:build ld: symbol(s) not found for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
:info:build make[3]: *** [libsexy.la] Error 1

Which would suggest a problem with handling x86 Macs versus Apple chip ones.

Attachments (1)

main.log (107.7 KB) - added by odysseus9672 (Sean Lake) 14 months ago.
Build log for libsexy.

Download all attachments as: .zip

Change History (5)

Changed 14 months ago by odysseus9672 (Sean Lake)

Attachment: main.log added

Build log for libsexy.

comment:1 Changed 14 months ago by jmroot (Joshua Root)

Port: libsexy added

comment:2 Changed 14 months ago by jmroot (Joshua Root)

Doesn't appear to build on anything newer than 10.15, whether Intel or Apple Silicon.

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

Owner: set to ryandesign
Status: newaccepted

Undefined symbols errors plus use of libtool and no -undefined flag equals the libtool macOS 11+ bug.

comment:4 Changed 14 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: acceptedclosed

In 58b31b922c409e8bb6288036018ebe55d2f6e483/macports-ports (master):

libsexy: Fix macOS 11+ libtool bug

Closes: #67032

Note: See TracTickets for help on using tickets.