[MacPorts] #71481: portaudio @20240308-88ab584e +universal Undefined symbols for architecture x86_64

MacPorts noreply at macports.org
Mon Dec 16 14:45:55 UTC 2024


#71481: portaudio @20240308-88ab584e +universal Undefined symbols for architecture
x86_64
------------------------+----------------------
  Reporter:  adamscott  |      Owner:  ra1nb0w
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.10.5
Resolution:             |   Keywords:  sequoia
      Port:  portaudio  |
------------------------+----------------------

Comment (by adamscott):

 I found where it fails, when creating .libs/libportaudiocpp.0.dylib and
 .libs/libportaudiocpp.0.dylib-master.o. It's even said verbatim in the
 log.

 Oops. The culprit was one line above. See that there's no -arch in the
 command:
 {{{
 :info:build libtool: link: /usr/bin/clang++ -r -keep_private_externs
 -nostdlib -o .libs/libportaudiocpp.0.dylib-master.o
 .libs/BlockingStream.o .libs/CallbackInterface.o .libs/CallbackStream.o
 .libs/CFunCallbackStream.o .libs/CppFunCallbackStream.o .libs/Device.o
 .libs/DirectionSpecificStreamParameters.o .libs/Exception.o
 .libs/HostApi.o .libs/InterfaceCallbackStream.o
 .libs/MemFunCallbackStream.o .libs/Stream.o .libs/StreamParameters.o
 .libs/System.o .libs/SystemDeviceIterator.o .libs/SystemHostApiIterator.o
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/71481#comment:12>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list