[MacPorts] #65292: armadillo fails to build on Leopard: Undefined symbols: "_dpstrf_", "_zpstrf_", "_cpstrf_", "_spstrf_"

MacPorts noreply at macports.org
Sat Jun 4 09:41:46 UTC 2022


#65292: armadillo fails to build on Leopard: Undefined symbols: "_dpstrf_",
"_zpstrf_", "_cpstrf_", "_spstrf_"
-------------------------------------------+-------------------------
 Reporter:  barracuda156                   |      Owner:  Schamschula
     Type:  defect                         |     Status:  assigned
 Priority:  Normal                         |  Milestone:
Component:  ports                          |    Version:  2.7.2
 Keywords:  powerpc, leopard, snowleopard  |       Port:  armadillo
-------------------------------------------+-------------------------
 {{{
 [100%] Linking CXX shared library libarmadillo.dylib
 /opt/local/bin/cmake -E cmake_link_script
 CMakeFiles/armadillo.dir/link.txt --verbose=ON
 /opt/local/bin/g++-mp-11 -pipe -Os -D_GLIBCXX_USE_CXX11_ABI=0 -O2 -DNDEBUG
 -arch ppc -mmacosx-version-min=10.5 -dynamiclib
 -Wl,-headerpad_max_install_names -L/opt/local/lib
 -Wl,-headerpad_max_install_names -compatibility_version 11.0.0
 -current_version 11.1.1 -o libarmadillo.11.1.1.dylib -install_name
 /opt/local/lib/libarmadillo.11.dylib
 CMakeFiles/armadillo.dir/src/wrapper1.cpp.o
 CMakeFiles/armadillo.dir/src/wrapper2.cpp.o  -Wl,-rpath,/opt/local/lib
 -framework Accelerate /opt/local/lib/libhdf5.dylib
 /opt/local/lib/libMacportsLegacySupport.dylib /opt/local/lib/libz.dylib
 //usr/lib/libdl.dylib //usr/lib/libm.dylib
 Undefined symbols:
   "_dpstrf_", referenced from:
       _wrapper_dpstrf_ in wrapper1.cpp.o
       _wrapper2_dpstrf_ in wrapper2.cpp.o
      (maybe you meant: _wrapper_dpstrf_, _wrapper2_dpstrf_ )
   "_zpstrf_", referenced from:
       _wrapper_zpstrf_ in wrapper1.cpp.o
       _wrapper2_zpstrf_ in wrapper2.cpp.o
      (maybe you meant: _wrapper_zpstrf_, _wrapper2_zpstrf_ )
   "_cpstrf_", referenced from:
       _wrapper_cpstrf_ in wrapper1.cpp.o
       _wrapper2_cpstrf_ in wrapper2.cpp.o
      (maybe you meant: _wrapper2_cpstrf_, _wrapper_cpstrf_ )
   "_spstrf_", referenced from:
       _wrapper_spstrf_ in wrapper1.cpp.o
       _wrapper2_spstrf_ in wrapper2.cpp.o
      (maybe you meant: _wrapper2_spstrf_, _wrapper_spstrf_ )
 ld: symbol(s) not found
 collect2: error: ld returned 1 exit status
 make[2]: *** [libarmadillo.11.1.1.dylib] Error 1
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_armadillo/armadillo/work/build'
 make[1]: *** [CMakeFiles/armadillo.dir/all] Error 2
 }}}

 It also fails on 10.6 PPC identically.

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


More information about the macports-tickets mailing list