Opened 3 years ago

Closed 3 years ago

#61882 closed defect (fixed)

libcanberra @0.30_6: Undefined symbols for architecture x86_64: "_g_module_make_resident"

Reported by: kconkas (Kristijan Conkas) Owned by: iay (Ian Young)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: Cc: arietis (Sergei Guselnikov)
Port: libcanberra

Description

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

Attachments (1)

main.log (247.6 KB) - added by kconkas (Kristijan Conkas) 3 years ago.
libcanberra main.log

Download all attachments as: .zip

Change History (7)

Changed 3 years ago by kconkas (Kristijan Conkas)

Attachment: main.log added

libcanberra main.log

comment:1 Changed 3 years ago by mf2k (Frank Schima)

In the future, please fill in the Port field.

comment:2 Changed 3 years ago by mf2k (Frank Schima)

Port: libcanberra added

comment:3 Changed 3 years ago by arietis (Sergei Guselnikov)

#61488 seems to be the issue.

comment:4 Changed 3 years ago by arietis (Sergei Guselnikov)

Cc: arietis added

comment:5 Changed 3 years ago by iay (Ian Young)

comment:6 Changed 3 years ago by iay (Ian Young)

Owner: set to iay
Resolution: fixed
Status: newclosed

In 5a7965dfea7727d1ceedee46c7b0ccee9cb23468/macports-ports (master):

libcanberra: Fix macOS 11+ libtool bug

Also added recommended "size" checksum.

Closes: #61882

Note: See TracTickets for help on using tickets.