[MacPorts] #69734: :info:build Undefined symbols for architecture arm64:

MacPorts noreply at macports.org
Mon Apr 15 02:47:30 UTC 2024


#69734: :info:build Undefined symbols for architecture arm64:
--------------------+-----------------------
 Reporter:  dbl001  |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.9.3
 Keywords:          |       Port:  libpixman
--------------------+-----------------------
 I'm running MacOS Sonoma 14.4.1 on an INTEL iMac 27".  For some reason the
 -arch is arm64.
 {{{
 :info:build /usr/bin/clang  -o demos/composite-test demos/composite-test.p
 /composite-test.c.o -L/opt/local/lib -I/opt/local/include
 -Wl,-dead_strip_dylibs -Wl,-headerpad_max_install_names
 -Wl,-headerpad_max_install_names -arch arm64
 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk
 -pipe -Os -arch arm64
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk
 -Wl,-rpath, at loader_path/../pixman -Wl,-rpath,/opt/local/lib
 demos/libdemo.a test/utils/libtestutils.a pixman/libpixman-1.0.dylib
 /opt/local/lib/libintl.dylib -L/opt/local/lib -lglib-2.0 -L/opt/local/lib
 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-
 gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0
 -L/opt/local/lib -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz
 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0
 -lglib-2.0 -L/opt/local/lib -lglib-2.0 -lm
 :info:build ld: warning: ignoring duplicate libraries: '-latk-1.0',
 '-lcairo', '-lcairo-gobject', '-lgdk-3', '-lgdk_pixbuf-2.0', '-lgio-2.0',
 '-lglib-2.0', '-lgobject-2.0', '-lgtk-3', '-lharfbuzz', '-lpango-1.0',
 '-lpangocairo-1.0'
 :info:build ld: warning: ignoring file
 '/opt/local/lib/libglib-2.0.0.dylib': found architecture 'x86_64',
 required architecture 'arm64'
 :info:build ld: warning: ignoring file '/opt/local/lib/libgtk-3.0.dylib':
 found architecture 'x86_64', required architecture 'arm64'
 :info:build ld: warning: ignoring file '/opt/local/lib/libgdk-3.0.dylib':
 found architecture 'x86_64', required architecture 'arm64'
 :info:build ld: warning: ignoring file
 '/opt/local/lib/libpango-1.0.0.dylib': found architecture 'x86_64',
 required architecture 'arm64'
 :info:build ld: warning: ignoring file
 '/opt/local/lib/libharfbuzz.0.dylib': found architecture 'x86_64',
 required architecture 'arm64'
 :info:build ld: warning: ignoring file
 '/opt/local/lib/libgobject-2.0.0.dylib': found architecture 'x86_64',
 required architecture 'arm64'
 :info:build ld: warning: ignoring file
 '/opt/local/lib/libgio-2.0.0.dylib': found architecture 'x86_64', required
 architecture 'arm64'
 :info:build ld: warning: ignoring file
 '/opt/local/lib/libatk-1.0.0.dylib': found architecture 'x86_64', required
 architecture 'arm64'
 :info:build ld: warning: ignoring file '/opt/local/lib/libcairo-
 gobject.2.dylib': found architecture 'x86_64', required architecture
 'arm64'
 :info:build ld: warning: ignoring file
 '/opt/local/lib/libpangocairo-1.0.0.dylib': found architecture 'x86_64',
 required architecture 'arm64'
 :info:build ld: warning: ignoring file '/opt/local/lib/libcairo.2.dylib':
 found architecture 'x86_64', required architecture 'arm64'
 :info:build ld: warning: ignoring file
 '/opt/local/lib/libgdk_pixbuf-2.0.0.dylib': found architecture 'x86_64',
 required architecture 'arm64'
 :info:build Undefined symbols for architecture arm64:
 :info:build   "_cairo_fill", referenced from:
 :info:build       _on_draw in libdemo.a[2](gtk-utils.c.o)
 :info:build   "_cairo_image_surface_create_for_data", referenced from:
 :info:build       _on_draw in libdemo.a[2](gtk-utils.c.o)
 :info:build   "_cairo_rectangle", referenced from:
 :info:build       _on_draw in libdemo.a[2](gtk-utils.c.o)
 :info:build   "_cairo_set_source_surface", referenced from:
 :info:build       _on_draw in libdemo.a[2](gtk-utils.c.o)
 :info:build   "_cairo_surface_destroy", referenced from:
 :info:build       _on_draw in libdemo.a[2](gtk-utils.c.o)
 :info:build   "_g_assertion_message_expr", referenced from:
 :info:build       _reader in composite-test.c.o
 :info:build   "_g_object_unref", referenced from:
 :info:build       _main in composite-test.c.o
 :info:build       _pixman_image_from_file in libdemo.a[2](gtk-utils.c.o)
 :info:build   "_g_signal_connect_data", referenced from:
 :info:build       _main in composite-test.c.o
 :info:build       _show_image in libdemo.a[2](gtk-utils.c.o)
 :info:build       _show_image in libdemo.a[2](gtk-utils.c.o)
 :info:build   "_g_strdup", referenced from:
 :info:build       _show_image in libdemo.a[2](gtk-utils.c.o)
 :info:build   "_gdk_pixbuf_get_height", referenced from:
 :info:build       _pixman_image_from_file in libdemo.a[2](gtk-utils.c.o)
 :info:build   "_gdk_pixbuf_get_n_channels", referenced from:
 :info:build       _pixman_image_from_file in libdemo.a[2](gtk-utils.c.o)
 :info:build   "_gdk_pixbuf_get_pixels", referenced from:
 :info:build       _pixman_image_from_file in libdemo.a[2](gtk-utils.c.o)
 :info:build       _pixbuf_from_argb32 in libdemo.a[2](gtk-utils.c.o)
 :info:build   "_gdk_pixbuf_get_rowstride", referenced from:
 :info:build       _pixman_image_from_file in libdemo.a[2](gtk-utils.c.o)
 :info:build       _pixbuf_from_argb32 in libdemo.a[2](gtk-utils.c.o)
 :info:build   "_gdk_pixbuf_get_width", referenced from:
 :info:build       _pixman_image_from_file in libdemo.a[2](gtk-utils.c.o)
 :info:build   "_gdk_pixbuf_new", referenced from:
 :info:build       _pixbuf_from_argb32 in libdemo.a[2](gtk-utils.c.o)
 :info:build   "_gdk_pixbuf_new_from_file", referenced from:
 :info:build       _pixman_image_from_file in libdemo.a[2](gtk-utils.c.o)
 :info:build   "_gtk_box_pack_start", referenced from:
 :info:build       _main in composite-test.c.o
 :info:build       _main in composite-test.c.o
 :info:build   "_gtk_container_add", referenced from:
 :info:build       _main in composite-test.c.o
 :info:build   "_gtk_image_new_from_pixbuf", referenced from:
 :info:build       _main in composite-test.c.o
 :info:build   "_gtk_init", referenced from:
 :info:build       _main in composite-test.c.o
 :info:build       _show_image in libdemo.a[2](gtk-utils.c.o)
 :info:build   "_gtk_label_new", referenced from:
 :info:build       _main in composite-test.c.o
 :info:build   "_gtk_main", referenced from:
 :info:build       _main in composite-test.c.o
 :info:build       _show_image in libdemo.a[2](gtk-utils.c.o)
 :info:build   "_gtk_main_quit", referenced from:
 :info:build       _main in composite-test.c.o
 :info:build       _show_image in libdemo.a[2](gtk-utils.c.o)
 :info:build   "_gtk_scrolled_window_add_with_viewport", referenced from:
 :info:build       _main in composite-test.c.o
 :info:build   "_gtk_scrolled_window_new", referenced from:
 :info:build       _main in composite-test.c.o
 :info:build   "_gtk_scrolled_window_set_policy", referenced from:
 :info:build       _main in composite-test.c.o
 :info:build   "_gtk_table_attach_defaults", referenced from:
 :info:build       _main in composite-test.c.o
 :info:build   "_gtk_table_new", referenced from:
 :info:build       _main in composite-test.c.o
 :info:build   "_gtk_vbox_new", referenced from:
 :info:build       _main in composite-test.c.o
 :info:build   "_gtk_widget_show", referenced from:
 :info:build       _main in composite-test.c.o
 :info:build       _main in composite-test.c.o
 :info:build       _main in composite-test.c.o


 }}}

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


More information about the macports-tickets mailing list