[MacPorts] #56436: julia fails to build on snowleopard, the linker fails "ld: library not found for -lssp"

MacPorts noreply at macports.org
Sat May 5 20:24:47 UTC 2018


#56436: julia fails to build on snowleopard, the linker fails "ld: library not
found for -lssp"
----------------------------+--------------------------------------------
  Reporter:  chrisjogorman  |      Owner:  (none)
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.4.3
Resolution:                 |   Keywords:  linker julia snowleopard -lssp
      Port:  julia          |
----------------------------+--------------------------------------------

Comment (by chrisjogorman):

 Unfortunately this works only a bit further along in the build.  I believe
 this port should probably be built with `clang` as it uses `llvm-4.0`
 itself as a jit.  I wonder if I use the default apple fortran compiler if
 it will work?  (Instead of using `gfortran` from `gcc7`.)

 {{{
     LINK src/flisp/flisp
 make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_julia/julia/work/julia-0.6.2/src/flisp'
     FLISP src/julia_flisp.boot
     FLISP src/julia_flisp.boot.inc
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_julia/julia/work/julia-0.6.2/src'
 Warning: git information unavailable; versioning information limited
 make[2]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_julia/julia/work/julia-0.6.2/src'
     CC src/jltypes.dbg.obj
     CC src/gf.dbg.obj
     CC src/typemap.dbg.obj
     CC src/ast.dbg.obj
     CC src/builtins.dbg.obj
     CC src/module.dbg.obj
     CC src/interpreter.dbg.obj
     CC src/symbol.dbg.obj
     CC src/dlload.dbg.obj
     CC src/sys.dbg.obj
     CC src/init.dbg.obj
     CC src/task.dbg.obj
     CC src/array.dbg.obj
     CC src/dump.dbg.obj
     CC src/toplevel.dbg.obj
     CC src/jl_uv.dbg.obj
     CC src/datatype.dbg.obj
     CC src/simplevector.dbg.obj
     CC src/APInt-C.dbg.obj
 g++-mp-7: error: unrecognized command line option '-stdlib=libc++'
 g++-mp-7: error: unrecognized command line option '-Wcovered-switch-
 default'; did you mean '-Wno-switch-default'?
 g++-mp-7: error: unrecognized command line option '-Wstring-conversion';
 did you mean '-Wint-conversion'?
 make[2]: *** [APInt-C.dbg.obj] Error 1
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_julia/julia/work/julia-0.6.2/src'
 make[1]: *** [julia-src-debug] Error 2
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_julia/julia/work/julia-0.6.2'
 make: *** [install] Error 2
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_julia/julia/work/julia-0.6.2'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_julia/julia/work/julia-0.6.2"
 && /usr/bin/make -w install CC=/opt/local/bin/gcc-mp-7
 CXX=/opt/local/bin/g++-mp-7 FC=/opt/local/bin/gfortran-mp-7
 USE_SYSTEM_LLVM=1 LLVM_CONFIG=llvm-config-mp-4.0 USE_SYSTEM_LIBUNWIND=1
 USE_SYSTEM_LIBM=1 USE_SYSTEM_GMP=1 USE_SYSTEM_MPFR=1 USE_SYSTEM_ZLIB=1
 USE_SYSTEM_PCRE=1 USE_SYSTEM_FFTW=1 USE_SYSTEM_ARPACK=1
 USE_SYSTEM_SUITESPARSE=1 USE_SYSTEM_LIBGIT2=1 USE_SYSTEM_BLAS=1
 USE_SYSTEM_LAPACK=1 USE_BLAS64=0 LIBBLAS=-lopenblas
 LIBBLASNAME=libopenblas LIBLAPACK=-lopenblas LIBLAPACKNAME=libopenblas
 DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_julia/julia/work/destroot
 Exit code: 2
 Error: Failed to destroot julia: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_julia/julia/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port julia failed
 }}}

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


More information about the macports-tickets mailing list