[MacPorts] #61882: libcanberra @0.30_6: Undefined symbols for architecture x86_64: "_g_module_make_resident"

MacPorts noreply at macports.org
Sun Dec 20 19:47:38 UTC 2020


#61882: libcanberra @0.30_6: Undefined symbols for architecture x86_64:
"_g_module_make_resident"
---------------------+--------------------
 Reporter:  kconkas  |      Owner:  (none)
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:  2.6.4
 Keywords:           |       Port:
---------------------+--------------------
 libcanberra is a pavucontrol dependency. On macOS Big Sur an attempt to
 install it fails with:
 {{{
 :info:build libtool: link: /usr/bin/clang  -o .libs/libcanberra-gtk-
 module.so -bundle  .libs/libcanberra_gtk_module_la-canberra-gtk-module.o
 -L/opt/local/lib ./.libs/libcanberra.dylib ./.libs/libcanberra-gtk.dylib
 -lgtk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lgthread-2.0 -lgdk-x11-2.0
 -lpangocairo-1.0 -lpango-1.0 -lgio-2.0 -lfontconfig -lfreetype -lXrender
 -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lXfixes
 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lintl -lcairo -lXext -lX11
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libcanberra/libcanberra/work/libcanberra-0.30/src/.libs/libcanberra.dylib
 -lvorbisfile -lltdl  -Os -arch x86_64 -Wl,-headerpad_max_install_names
 -Wl,-syslibroot
 -Wl,/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64
 -Wl,-framework -Wl,CoreFoundation -Wl,-dylib_file
 -Wl,/opt/local/lib/libcanberra.0.dylib:/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libcanberra/libcanberra/work/libcanberra-0.30/src/.libs/libcanberra.dylib
 :info:build Undefined symbols for architecture x86_64:
 :info:build   "_g_module_make_resident", referenced from:
 :info:build       _g_module_check_init in libcanberra_gtk_module_la-
 canberra-gtk-module.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[2]: *** [libcanberra-gtk-module.la] Error 1
 :info:build make[2]: *** Waiting for unfinished jobs....
 :info:build make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libcanberra/libcanberra/work/libcanberra-0.30/src'
 :info:build make[1]: *** [all-recursive] Error 1
 :info:build make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libcanberra/libcanberra/work/libcanberra-0.30'
 :info:build make: *** [all] Error 2
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libcanberra/libcanberra/work/libcanberra-0.30'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_libcanberra/libcanberra/work/libcanberra-0.30"
 && /usr/bin/make -j8 -w all
 :info:build Exit code: 2
 :error:build Failed to build libcanberra: command execution failed
 :debug:build Error code: CHILDSTATUS 53915 2
 :debug:build Backtrace: command execution failed
 }}}

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


More information about the macports-tickets mailing list