[MacPorts] #67675: gtk3 @3.24.38 +quartz: Undefined symbols for architecture x86_64

MacPorts noreply at macports.org
Fri Jun 23 13:10:24 UTC 2023


#67675: gtk3 @3.24.38 +quartz: Undefined symbols for architecture x86_64
-------------------------+--------------------
 Reporter:  cooljeanius  |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.8.1
 Keywords:               |       Port:  gtk3
-------------------------+--------------------
 {{{
 FAILED: gdk/libgdk-3.0.dylib
 /usr/bin/clang -arch x86_64  -o gdk/libgdk-3.0.dylib
 gdk/libgdk-3.0.dylib.p/meson-generated_.._gdkenumtypes.c.o
 gdk/libgdk-3.0.dylib.p/meson-generated_.._gdkmarshalers.c.o
 gdk/libgdk-3.0.dylib.p/meson-generated_.._gdkresources.c.o
 gdk/libgdk-3.0.dylib.p/gdk-private.c.o gdk/libgdk-3.0.dylib.p/gdk.c.o
 gdk/libgdk-3.0.dylib.p/gdkapplaunchcontext.c.o
 gdk/libgdk-3.0.dylib.p/gdkcairo.c.o gdk/libgdk-3.0.dylib.p/gdkcursor.c.o
 gdk/libgdk-3.0.dylib.p/gdkdeprecated.c.o
 gdk/libgdk-3.0.dylib.p/gdkdevice.c.o
 gdk/libgdk-3.0.dylib.p/gdkdevicemanager.c.o
 gdk/libgdk-3.0.dylib.p/gdkdevicepad.c.o
 gdk/libgdk-3.0.dylib.p/gdkdisplay.c.o
 gdk/libgdk-3.0.dylib.p/gdkdisplaymanager.c.o
 gdk/libgdk-3.0.dylib.p/gdkdnd.c.o gdk/libgdk-3.0.dylib.p/gdkevents.c.o
 gdk/libgdk-3.0.dylib.p/gdkframetimings.c.o
 gdk/libgdk-3.0.dylib.p/gdkgl.c.o gdk/libgdk-3.0.dylib.p/gdkglcontext.c.o
 gdk/libgdk-3.0.dylib.p/gdkglobals.c.o gdk/libgdk-3.0.dylib.p/gdkkeys.c.o
 gdk/libgdk-3.0.dylib.p/gdkkeyuni.c.o
 gdk/libgdk-3.0.dylib.p/gdkoffscreenwindow.c.o
 gdk/libgdk-3.0.dylib.p/gdkframeclock.c.o
 gdk/libgdk-3.0.dylib.p/gdkframeclockidle.c.o
 gdk/libgdk-3.0.dylib.p/gdkpango.c.o gdk/libgdk-3.0.dylib.p/gdkpixbuf-
 drawable.c.o gdk/libgdk-3.0.dylib.p/gdkprofiler.c.o
 gdk/libgdk-3.0.dylib.p/gdkproperty.c.o
 gdk/libgdk-3.0.dylib.p/gdkrectangle.c.o gdk/libgdk-3.0.dylib.p/gdkrgba.c.o
 gdk/libgdk-3.0.dylib.p/gdkscreen.c.o
 gdk/libgdk-3.0.dylib.p/gdkselection.c.o
 gdk/libgdk-3.0.dylib.p/gdkvisual.c.o gdk/libgdk-3.0.dylib.p/gdkwindow.c.o
 gdk/libgdk-3.0.dylib.p/gdkwindowimpl.c.o
 gdk/libgdk-3.0.dylib.p/gdkseat.c.o
 gdk/libgdk-3.0.dylib.p/gdkseatdefault.c.o
 gdk/libgdk-3.0.dylib.p/gdkdevicetool.c.o
 gdk/libgdk-3.0.dylib.p/gdkdrawingcontext.c.o
 gdk/libgdk-3.0.dylib.p/gdkmonitor.c.o
 gdk/libgdk-3.0.dylib.p/deprecated_gdkcolor.c.o -L/opt/local/lib
 -I/opt/local/include -Wl,-dead_strip_dylibs
 -Wl,-headerpad_max_install_names -Wl,-undefined,error -shared
 -install_name @rpath/libgdk-3.0.dylib -compatibility_version 2407
 -current_version 2407.32.0 -Wl,-force_load gdk/quartz/libgdk-quartz.a
 -Wl,-headerpad_max_install_names
 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk
 -arch x86_64 -pipe -Os -fstrict-aliasing
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -arch
 x86_64 -DX_LOCALE
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk
 -Wl,-rpath,/opt/local/lib -lm /opt/local/lib/libgdk_pixbuf-2.0.dylib
 /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libglib-2.0.dylib
 /opt/local/lib/libintl.dylib /opt/local/lib/libcairo.dylib
 /opt/local/lib/libpango-1.0.dylib /opt/local/lib/libharfbuzz.dylib
 /opt/local/lib/libfribidi.dylib /opt/local/lib/libcairo-gobject.dylib
 /opt/local/lib/libepoxy.dylib /opt/local/lib/libgio-2.0.dylib
 /opt/local/lib/libpangocairo-1.0.dylib -framework CoreGraphics -framework
 AppKit -framework Cocoa -framework Carbon -framework QuartzCore -framework
 IOSurface -framework CoreGraphics -framework AppKit -framework Cocoa
 -framework Carbon -framework QuartzCore -framework IOSurface
 Undefined symbols for architecture x86_64:
   "_OBJC_CLASS_$_NSConstantIntegerNumber", referenced from:
       l__unnamed_nsconstantintegernumber_ in libgdk-
 quartz.a(GdkQuartzView.c.o)
       l__unnamed_nsconstantintegernumber_.1 in libgdk-
 quartz.a(GdkQuartzView.c.o)
 ld: symbol(s) not found for architecture x86_64
 clang: error: linker command failed with exit code 1 (use -v to see
 invocation)
 ninja: build stopped: subcommand failed.
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gtk3/gtk3/work/build"
 && /opt/local/bin/ninja -j16 -v
 Exit code: 1
 Error: Failed to build gtk3: command execution failed
 DEBUG: Error code: CHILDSTATUS 16711 1
 }}}
 I'm on Big Sur with Xcode 13. Looks kinda similar to some other bugs I've
 filed, which might mean it's just the result of some oddity of my
 environment, but I figured I'd file it anyways just in case.

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


More information about the macports-tickets mailing list