Opened 7 years ago
Closed 4 years ago
#56436 closed defect (fixed)
julia fails to build on snowleopard, the linker fails "ld: library not found for -lssp"
Reported by: | chrisjogorman | Owned by: | essandess (Steve Smith) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.4.3 |
Keywords: | Cc: | ||
Port: | julia |
Description
Hello,
I am trying to get julia
installed on a snowleopard machine. Just tried to run port -v install julia
. The build runs a bit then fails trying to find a library that I haven't heard of, nor can I find anything on google about it. The following is the build log.
Chris-Gormans-Mac-mini:~ chrisgorman$ sudo port -v clean julia ---> Cleaning julia ---> Removing work directory for julia Chris-Gormans-Mac-mini:~ chrisgorman$ sudo port -v install julia ---> Computing dependencies for julia. ---> Fetching distfiles for julia ---> Verifying checksums for julia ---> Checksumming julia-0.6.2-full.tar.gz ---> Extracting julia ---> Extracting julia-0.6.2-full.tar.gz Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_julia/julia/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/julia/julia-0.6.2-full.tar.gz' | /usr/bin/gnutar --no-same-owner -xf - ---> Configuring julia ---> Building julia ---> Staging julia into destroot . changed gid expected 0 found 80 modified ./usr missing (created) . missing (directory not created: File exists) ./Applications missing (created) ./Developer missing (created) ./Library missing (created) . changed gid expected 80 found 0 modified ./bin missing (created) ./etc missing (created) ./include missing (created) ./lib missing (created) ./lib/pkgconfig missing (created) ./libexec missing (created) ./sbin missing (created) ./share missing (created) ./share/doc missing (created) ./share/info missing (created) ./share/man missing (created) ./share/man/cat1 missing (created) ./share/man/cat2 missing (created) ./share/man/cat3 missing (created) ./share/man/cat4 missing (created) ./share/man/cat5 missing (created) ./share/man/cat6 missing (created) ./share/man/cat7 missing (created) ./share/man/cat8 missing (created) ./share/man/cat9 missing (created) ./share/man/catl missing (created) ./share/man/catn missing (created) ./share/man/man1 missing (created) ./share/man/man2 missing (created) ./share/man/man3 missing (created) ./share/man/man4 missing (created) ./share/man/man5 missing (created) ./share/man/man6 missing (created) ./share/man/man7 missing (created) ./share/man/man8 missing (created) ./share/man/man9 missing (created) ./share/man/manl missing (created) ./share/man/mann missing (created) ./share/nls missing (created) ./share/nls/C missing (created) ./share/nls/af_ZA.ISO8859-1 missing (created) ./share/nls/af_ZA.ISO8859-15 missing (created) ./share/nls/bg_BG.CP1251 missing (created) ./share/nls/cs_CZ.ISO8859-2 missing (created) ./share/nls/da_DK.ISO8859-1 missing (created) ./share/nls/da_DK.ISO8859-15 missing (created) ./share/nls/de_AT.ISO8859-1 missing (created) ./share/nls/de_AT.ISO8859-15 missing (created) ./share/nls/de_CH.ISO8859-1 missing (created) ./share/nls/de_CH.ISO8859-15 missing (created) ./share/nls/de_DE.ISO8859-1 missing (created) ./share/nls/de_DE.ISO8859-15 missing (created) ./share/nls/el_GR.ISO8859-7 missing (created) ./share/nls/en_AU.ISO8859-1 missing (created) ./share/nls/en_AU.ISO8859-15 missing (created) ./share/nls/en_AU.US-ASCII missing (created) ./share/nls/en_CA.ISO8859-1 missing (created) ./share/nls/en_CA.ISO8859-15 missing (created) ./share/nls/en_CA.US-ASCII missing (created) ./share/nls/en_GB.ISO8859-1 missing (created) ./share/nls/en_GB.ISO8859-15 missing (created) ./share/nls/en_GB.US-ASCII missing (created) ./share/nls/en_NZ.ISO8859-1 missing (created) ./share/nls/en_NZ.ISO8859-15 missing (created) ./share/nls/en_NZ.US-ASCII missing (created) ./share/nls/en_US.ISO8859-1 missing (created) ./share/nls/en_US.ISO8859-15 missing (created) ./share/nls/es_ES.ISO8859-1 missing (created) ./share/nls/es_ES.ISO8859-15 missing (created) ./share/nls/et_EE.ISO8859-15 missing (created) ./share/nls/fi_FI.ISO8859-1 missing (created) ./share/nls/fi_FI.ISO8859-15 missing (created) ./share/nls/fr_BE.ISO8859-1 missing (created) ./share/nls/fr_BE.ISO8859-15 missing (created) ./share/nls/fr_CA.ISO8859-1 missing (created) ./share/nls/fr_CA.ISO8859-15 missing (created) ./share/nls/fr_CH.ISO8859-1 missing (created) ./share/nls/fr_CH.ISO8859-15 missing (created) ./share/nls/fr_FR.ISO8859-1 missing (created) ./share/nls/fr_FR.ISO8859-15 missing (created) ./share/nls/hi_IN.ISCII-DEV missing (created) ./share/nls/hr_HR.ISO8859-2 missing (created) ./share/nls/hu_HU.ISO8859-2 missing (created) ./share/nls/is_IS.ISO8859-1 missing (created) ./share/nls/is_IS.ISO8859-15 missing (created) ./share/nls/it_CH.ISO8859-1 missing (created) ./share/nls/it_CH.ISO8859-15 missing (created) ./share/nls/it_IT.ISO8859-1 missing (created) ./share/nls/it_IT.ISO8859-15 missing (created) ./share/nls/ja_JP.SJIS missing (created) ./share/nls/ja_JP.eucJP missing (created) ./share/nls/ko_KR.eucKR missing (created) ./share/nls/la_LN.ISO8859-1 missing (created) ./share/nls/la_LN.ISO8859-15 missing (created) ./share/nls/la_LN.ISO8859-2 missing (created) ./share/nls/la_LN.ISO8859-4 missing (created) ./share/nls/la_LN.US-ASCII missing (created) ./share/nls/lt_LT.ISO8859-4 missing (created) ./share/nls/nl_BE.ISO8859-1 missing (created) ./share/nls/nl_BE.ISO8859-15 missing (created) ./share/nls/nl_NL.ISO8859-1 missing (created) ./share/nls/nl_NL.ISO8859-15 missing (created) ./share/nls/no_NO.ISO8859-1 missing (created) ./share/nls/no_NO.ISO8859-15 missing (created) ./share/nls/pl_PL.ISO8859-2 missing (created) ./share/nls/pt_BR.ISO8859-1 missing (created) ./share/nls/pt_PT.ISO8859-1 missing (created) ./share/nls/pt_PT.ISO8859-15 missing (created) ./share/nls/ro_RO.ISO8859-2 missing (created) ./share/nls/ru_RU.CP866 missing (created) ./share/nls/ru_RU.ISO8859-5 missing (created) ./share/nls/ru_RU.KOI8-R missing (created) ./share/nls/sk_SK.ISO8859-2 missing (created) ./share/nls/sl_SI.ISO8859-2 missing (created) ./share/nls/sv_SE.ISO8859-1 missing (created) ./share/nls/sv_SE.ISO8859-15 missing (created) ./share/nls/tr_TR.ISO8859-9 missing (created) ./share/nls/uk_UA.ISO8859-5 missing (created) ./share/nls/uk_UA.KOI8-U missing (created) ./share/nls/zh_CN.eucCN missing (created) ./share/nls/zh_TW.Big5 missing (created) ./share/skel missing (created) ./var missing (created) ./var/cache missing (created) ./var/db missing (created) ./var/log missing (created) ./var/run missing (created) ./var/spool missing (created) ./www missing (created) Executing: 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/clang-mp-3.9 CXX=/opt/local/bin/clang++-mp-3.9 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 Warning: git information unavailable; versioning information limited make: 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' CC usr/tools/stringreplace Warning: git information unavailable; versioning information limited make[1]: 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' 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/deps' rm: /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/deps/srccache/libuv-d8ab1c6a33e77bf155facb54215dd8798e13825d/: No such file or directory checking for a BSD-compatible install... /opt/local/bin/ginstall -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /opt/local/bin/gmkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... x86_64-apple-darwin10.8.0 checking host system type... x86_64-apple-darwin10.8.0 checking for gcc... /opt/local/bin/clang-mp-3.9 checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /opt/local/bin/clang-mp-3.9 accepts -g... yes checking for /opt/local/bin/clang-mp-3.9 option to accept ISO C89... none needed checking whether /opt/local/bin/clang-mp-3.9 understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of /opt/local/bin/clang-mp-3.9 ... gcc3 checking if /opt/local/bin/clang-mp-3.9 supports -fvisibility=hidden flag... yes checking if /opt/local/bin/clang-mp-3.9 supports -g flag... yes checking if /opt/local/bin/clang-mp-3.9 supports -std=gnu89 flag... yes checking if /opt/local/bin/clang-mp-3.9 supports -pedantic flag... yes checking if /opt/local/bin/clang-mp-3.9 supports -Wall flag... yes checking if /opt/local/bin/clang-mp-3.9 supports -Wextra flag... yes checking if /opt/local/bin/clang-mp-3.9 supports -Wno-unused-parameter flag... yes checking for ar... ar checking the archiver (ar) interface... ar checking how to print strings... printf checking for a sed that does not truncate output... /opt/local/bin/gsed checking for grep that handles long lines and -e... /opt/local/bin/grep checking for egrep... /opt/local/bin/grep -E checking for fgrep... /opt/local/bin/grep -F checking for ld used by /opt/local/bin/clang-mp-3.9 ... /opt/local/libexec/llvm-3.9/bin/ld checking if the linker (/opt/local/libexec/llvm-3.9/bin/ld) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... /opt/local/bin/nm -B checking the name lister (/opt/local/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 196608 checking how to convert x86_64-apple-darwin10.8.0 file names to x86_64-apple-darwin10.8.0 format... func_convert_file_noop checking how to convert x86_64-apple-darwin10.8.0 file names to toolchain format... func_convert_file_noop checking for /opt/local/libexec/llvm-3.9/bin/ld option to reload object files... -r checking for objdump... no checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for archiver @FILE support... no checking for strip... strip checking for ranlib... ranlib checking command to parse /opt/local/bin/nm -B output from /opt/local/bin/clang-mp-3.9 object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for dsymutil... dsymutil checking for nmedit... nmedit checking for lipo... lipo checking for otool... otool checking for otool64... no checking for -single_module linker flag... yes checking for -exported_symbols_list linker flag... yes checking for -force_load linker flag... yes checking how to run the C preprocessor... /opt/local/bin/clang-mp-3.9 -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if /opt/local/bin/clang-mp-3.9 supports -fno-rtti -fno-exceptions... yes checking for /opt/local/bin/clang-mp-3.9 option to produce PIC... -fno-common -DPIC checking if /opt/local/bin/clang-mp-3.9 PIC flag -fno-common -DPIC works... yes checking if /opt/local/bin/clang-mp-3.9 static flag -static works... no checking if /opt/local/bin/clang-mp-3.9 supports -c -o file.o... yes checking if /opt/local/bin/clang-mp-3.9 supports -c -o file.o... (cached) yes checking whether the /opt/local/bin/clang-mp-3.9 linker (/opt/local/libexec/llvm-3.9/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin10.8.0 dyld checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether make supports nested variables... (cached) yes checking for dlopen in -ldl... yes checking for kstat_lookup in -lkstat... no checking for kvm_open in -lkvm... no checking for gethostbyname in -lnsl... no checking for perfstat_cpu in -lperfstat... no checking for pthread_mutex_init in -lpthread... yes checking for clock_gettime in -lrt... no checking for sendfile in -lsendfile... no checking for socket in -lsocket... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking sys/ahafs_evProds.h usability... no checking sys/ahafs_evProds.h presence... no checking for sys/ahafs_evProds.h... no checking for pkg-config... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating libuv.pc config.status: creating Makefile config.status: executing depfiles commands config.status: executing libtool commands make[3]: 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/deps/scratch/libuv-d8ab1c6a33e77bf155facb54215dd8798e13825d' CC src/libuv_la-fs-poll.lo CC src/libuv_la-inet.lo CC src/libuv_la-threadpool.lo CC src/libuv_la-uv-common.lo /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/deps/srccache/libuv-d8ab1c6a33e77bf155facb54215dd8798e13825d/src/uv-common.c:664:16: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] va_start(ap, option); ^ /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/deps/srccache/libuv-d8ab1c6a33e77bf155facb54215dd8798e13825d/src/uv-common.c:660:55: note: parameter of type 'uv_loop_option' is declared here int uv_loop_configure(uv_loop_t* loop, uv_loop_option option, ...) { ^ 1 warning generated. CC src/libuv_la-version.lo CC src/unix/libuv_la-async.lo CC src/unix/libuv_la-core.lo CC src/unix/libuv_la-dl.lo CC src/unix/libuv_la-fs.lo CC src/unix/libuv_la-getaddrinfo.lo CC src/unix/libuv_la-getnameinfo.lo CC src/unix/libuv_la-loop-watcher.lo CC src/unix/libuv_la-loop.lo CC src/unix/libuv_la-pipe.lo CC src/unix/libuv_la-poll.lo CC src/unix/libuv_la-process.lo CC src/unix/libuv_la-signal.lo CC src/unix/libuv_la-stream.lo CC src/unix/libuv_la-tcp.lo CC src/unix/libuv_la-thread.lo CC src/unix/libuv_la-timer.lo CC src/unix/libuv_la-tty.lo CC src/unix/libuv_la-udp.lo CC src/unix/libuv_la-darwin.lo CC src/unix/libuv_la-darwin-proctitle.lo CC src/unix/libuv_la-fsevents.lo CC src/unix/libuv_la-kqueue.lo CC src/unix/libuv_la-proctitle.lo CCLD libuv.la 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/deps/scratch/libuv-d8ab1c6a33e77bf155facb54215dd8798e13825d' make[3]: 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/deps/scratch/libuv-d8ab1c6a33e77bf155facb54215dd8798e13825d' make[4]: 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/deps/scratch/libuv-d8ab1c6a33e77bf155facb54215dd8798e13825d' /opt/local/bin/gmkdir -p '/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-staging/libuv-d8ab1c6a33e77bf155facb54215dd8798e13825d/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/lib' /bin/sh ./libtool --mode=install /opt/local/bin/ginstall -c libuv.la '/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-staging/libuv-d8ab1c6a33e77bf155facb54215dd8798e13825d/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/lib' libtool: install: /opt/local/bin/ginstall -c .libs/libuv.1.dylib /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-staging/libuv-d8ab1c6a33e77bf155facb54215dd8798e13825d/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/lib/libuv.1.dylib libtool: install: (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-staging/libuv-d8ab1c6a33e77bf155facb54215dd8798e13825d/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/lib && { ln -s -f libuv.1.dylib libuv.dylib || { rm -f libuv.dylib && ln -s libuv.1.dylib libuv.dylib; }; }) libtool: install: /opt/local/bin/ginstall -c .libs/libuv.lai /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-staging/libuv-d8ab1c6a33e77bf155facb54215dd8798e13825d/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/lib/libuv.la libtool: install: /opt/local/bin/ginstall -c .libs/libuv.a /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-staging/libuv-d8ab1c6a33e77bf155facb54215dd8798e13825d/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/lib/libuv.a libtool: install: chmod 644 /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-staging/libuv-d8ab1c6a33e77bf155facb54215dd8798e13825d/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/lib/libuv.a libtool: install: ranlib /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-staging/libuv-d8ab1c6a33e77bf155facb54215dd8798e13825d/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/lib/libuv.a libtool: warning: remember to run 'libtool --finish /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/lib' /opt/local/bin/gmkdir -p '/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-staging/libuv-d8ab1c6a33e77bf155facb54215dd8798e13825d/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/include' /opt/local/bin/ginstall -c -m 644 /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/deps/srccache/libuv-d8ab1c6a33e77bf155facb54215dd8798e13825d/include/uv.h /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/deps/srccache/libuv-d8ab1c6a33e77bf155facb54215dd8798e13825d/include/uv-errno.h /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/deps/srccache/libuv-d8ab1c6a33e77bf155facb54215dd8798e13825d/include/uv-threadpool.h /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/deps/srccache/libuv-d8ab1c6a33e77bf155facb54215dd8798e13825d/include/uv-version.h /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/deps/srccache/libuv-d8ab1c6a33e77bf155facb54215dd8798e13825d/include/uv-unix.h /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/deps/srccache/libuv-d8ab1c6a33e77bf155facb54215dd8798e13825d/include/uv-darwin.h '/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-staging/libuv-d8ab1c6a33e77bf155facb54215dd8798e13825d/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/include' /opt/local/bin/gmkdir -p '/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-staging/libuv-d8ab1c6a33e77bf155facb54215dd8798e13825d/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/lib/pkgconfig' /opt/local/bin/ginstall -c -m 644 libuv.pc '/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-staging/libuv-d8ab1c6a33e77bf155facb54215dd8798e13825d/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/lib/pkgconfig' make[4]: 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/deps/scratch/libuv-d8ab1c6a33e77bf155facb54215dd8798e13825d' 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/deps/scratch/libuv-d8ab1c6a33e77bf155facb54215dd8798e13825d' rm: scratch/openspecfun-39699a1c1824bf88410cabb8a7438af91ea98f4c/: No such file or directory make[3]: 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/deps/scratch/openspecfun-39699a1c1824bf88410cabb8a7438af91ea98f4c' 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/deps/scratch/openspecfun-39699a1c1824bf88410cabb8a7438af91ea98f4c' make[3]: 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/deps/scratch/openspecfun-39699a1c1824bf88410cabb8a7438af91ea98f4c' 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/deps/scratch/openspecfun-39699a1c1824bf88410cabb8a7438af91ea98f4c' rm: scratch/dsfmt-2.2.3/: No such file or directory patching file dSFMT.h Hunk #2 succeeded at 181 (offset 2 lines). Hunk #3 succeeded at 202 (offset 2 lines). Hunk #4 succeeded at 220 (offset 2 lines). Hunk #5 succeeded at 244 (offset 2 lines). Hunk #6 succeeded at 265 (offset 2 lines). Hunk #7 succeeded at 284 (offset 2 lines). Hunk #8 succeeded at 295 (offset 2 lines). Hunk #9 succeeded at 307 (offset 2 lines). Hunk #10 succeeded at 318 (offset 2 lines). Hunk #11 succeeded at 330 (offset 2 lines). Hunk #12 succeeded at 341 (offset 2 lines). Hunk #13 succeeded at 353 (offset 2 lines). Hunk #14 succeeded at 376 (offset 2 lines). Hunk #15 succeeded at 391 (offset 2 lines). Hunk #16 succeeded at 407 (offset 2 lines). Hunk #17 succeeded at 423 (offset 2 lines). Hunk #18 succeeded at 439 (offset 2 lines). Hunk #19 succeeded at 449 (offset 2 lines). Hunk #20 succeeded at 459 (offset 2 lines). Hunk #21 succeeded at 470 (offset 2 lines). Hunk #22 succeeded at 483 (offset 2 lines). Hunk #23 succeeded at 497 (offset 2 lines). Hunk #24 succeeded at 511 (offset 2 lines). Hunk #25 succeeded at 520 (offset 2 lines). Hunk #26 succeeded at 529 (offset 2 lines). Hunk #27 succeeded at 539 (offset 2 lines). Hunk #28 succeeded at 549 (offset 2 lines). Hunk #29 succeeded at 559 (offset 2 lines). Hunk #30 succeeded at 569 (offset 2 lines). Hunk #31 succeeded at 579 (offset 2 lines). Hunk #32 succeeded at 592 (offset 2 lines). Hunk #33 succeeded at 605 (offset 2 lines). Hunk #34 succeeded at 618 (offset 2 lines). Hunk #35 succeeded at 630 (offset 2 lines). patching file test.c patching file dSFMT.c clang: warning: argument unused during compilation: '--param max-inline-insns-single=1800' rm: scratch/utf8proc-40e605959eb5cb90b2587fa88e3b661558fbc55a/: No such file or directory make[3]: 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/deps/scratch/utf8proc-40e605959eb5cb90b2587fa88e3b661558fbc55a' ar: creating archive libutf8proc.a 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/deps/scratch/utf8proc-40e605959eb5cb90b2587fa88e3b661558fbc55a' 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/deps' 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' Warning: git information unavailable; versioning information limited make[3]: 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/support' CC src/support/hashing.o clang: warning: optimization flag '-falign-functions' is not supported CC src/support/timefuncs.o clang: warning: optimization flag '-falign-functions' is not supported CC src/support/ptrhash.o clang: warning: optimization flag '-falign-functions' is not supported CC src/support/operators.o clang: warning: optimization flag '-falign-functions' is not supported CC src/support/utf8.o clang: warning: optimization flag '-falign-functions' is not supported CC src/support/ios.o clang: warning: optimization flag '-falign-functions' is not supported CC src/support/htable.o clang: warning: optimization flag '-falign-functions' is not supported CC src/support/bitvector.o clang: warning: optimization flag '-falign-functions' is not supported CC src/support/int2str.o clang: warning: optimization flag '-falign-functions' is not supported CC src/support/libsupportinit.o clang: warning: optimization flag '-falign-functions' is not supported CC src/support/arraylist.o clang: warning: optimization flag '-falign-functions' is not supported CC src/support/strtod.o clang: warning: optimization flag '-falign-functions' is not supported CC src/support/crc32c.o clang: warning: optimization flag '-falign-functions' is not supported LINK src/support/libsupport.a 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/support' Warning: git information unavailable; versioning information limited make[3]: 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/flisp' CC src/flisp/flisp.o clang: warning: optimization flag '-falign-functions' is not supported CC src/flisp/builtins.o clang: warning: optimization flag '-falign-functions' is not supported CC src/flisp/string.o clang: warning: optimization flag '-falign-functions' is not supported CC src/flisp/equalhash.o clang: warning: optimization flag '-falign-functions' is not supported CC src/flisp/table.o clang: warning: optimization flag '-falign-functions' is not supported CC src/flisp/iostream.o clang: warning: optimization flag '-falign-functions' is not supported CC src/flisp/julia_extensions.o clang: warning: optimization flag '-falign-functions' is not supported LINK src/flisp/libflisp.a CC src/flisp/flmain.o clang: warning: optimization flag '-falign-functions' is not supported LINK src/flisp/flisp ld: library not found for -lssp clang: error: linker command failed with exit code 1 (use -v to see invocation) make[3]: *** [/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] Error 1 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' make[2]: *** [flisp/libflisp.a] Error 2 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_flisp.boot.inc.phony] 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/clang-mp-3.9 CXX=/opt/local/bin/clang++-mp-3.9 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
Attachments (2)
Change History (22)
Changed 7 years ago by chrisjogorman
Attachment: | main.log.gz added |
---|
comment:1 Changed 7 years ago by kencu (Ken)
comment:2 follow-up: 4 Changed 7 years ago 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
comment:3 Changed 7 years ago by mf2k (Frank Schima)
Cc: | sean@… removed |
---|---|
Keywords: | linker julia snowleopard -lssp removed |
Owner: | set to seanfarley |
Status: | new → assigned |
comment:4 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to chrisjogorman:
I wonder if I use the default apple fortran compiler if it will work?
I don't think there is an Apple Fortran compiler. That's why we use gfortran to build Fortran software in MacPorts.
comment:5 follow-up: 7 Changed 7 years ago by chrisjogorman
Sorry the 'default apple fortran compiler' is gfortran 4.2.3. I believe it is too old to build julia properly, and have been trying with gfortran-mp-7
. No luck so far.
comment:6 Changed 7 years ago by kencu (Ken)
You can get past your error with -lssp
by specifying the library fully in Make.inc
like this:
OSLIBS += -L/opt/local/lib/gcc7/libssp.dylib
but then it just errors out later with this:
CC src/signal-handling.dbg.obj In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_lang_julia/julia/work/julia-0.6.2/src/signal-handling.c:94: ./signals-unix.c:39:43: error: expected expression return (bt_context_t*)&((ucontext64_t*)sigctx)->uc_mcontext64->__ss; ^
and more like it.
comment:7 follow-up: 8 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to chrisjogorman:
Sorry the 'default apple fortran compiler' is gfortran 4.2.3.
Where is this on your computer? How did it get there? I didn't think Apple provided a Fortran compiler with Xcode.
comment:8 Changed 7 years ago by chrisjogorman
Where is this on your computer? How did it get there? I didn't think Apple provided a Fortran compiler with Xcode.
I believe I had to install gfortran 4.2.3 for building packages for R. You are correct it wasn't part of Xcode. Interestingly the package puts the binaries in /usr/local
, rather than /usr
. The .pkg file can be downloaded from http://r.research.att.com/tools/.
comment:9 Changed 7 years ago by kencu (Ken)
I tried this build on 10.13, and is succeeded without any problem. I tried it on snowleopard and it failed. I also tried
sudo port -v install +gcc7
(which is the default) and it failed as well. It's not obvious to me why it's failing at the moment.
comment:10 follow-up: 11 Changed 7 years ago by chrisjogorman
gcc7
failed for me initially because I was trying to build it with clang-3.9
and it failed to link. The linking fails because clang-3.9
doesn't add -stdlib=libc++
as it does on newer compilers. (See Ken's explanation to me in ticket:55410). I built gcc7
with the default c compiler from xcode 3.2.6
and it built. The other way to get around it is to rebuild llvm-3.9
with his patches https://github.com/kencu/SnowLeopardPorts/blob/master/lang/llvm-3.9/files/9999-patch-clang-3.9-Toolchains-default-always-libcxx.diff. If tackle building gcc7
with clang-3.9
you'll need his setup https://github.com/kencu/SnowLeopardPorts/tree/master/lang/llvm-3.9.
comment:11 Changed 7 years ago by chrisjogorman
Replying to chrisjogorman: Sorry Ken. I didn't look at who was writing the bug and clicked send just as I was reading your name. (You obviously know what I wrote about.)
comment:12 Changed 6 years ago by mf2k (Frank Schima)
Owner: | seanfarley deleted |
---|
comment:13 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
julia was updated to 1.1.1 and no longer uses llvm. Do you still encounter this problem with that version?
comment:14 Changed 5 years ago by chrisjohgorman (Chris Gorman)
I have a new error when trying to build. I've attached my main.log. There appears to be an environment problem now.
Changed 5 years ago by chrisjohgorman (Chris Gorman)
Attachment: | julia-main.log added |
---|
comment:15 Changed 5 years ago by mf2k (Frank Schima)
Owner: | set to essandess |
---|
comment:16 Changed 5 years ago by essandess (Steve Smith)
Apple Snow Leopard support ended over five years ago. 10.6 is insecure. I haven’t checked and would be amazed if the upstream package supports 10.6 builds.
The fix to all these issues is to stop using 10.6.
@mf2k would you please post the Portfile code that says that only macOS versions 10.12 (my guess) and later are supported and I’ll add it.
@chrisjohgorman all the Julia 1.1.1 Portfile does is implement the build commands that Julia says to do. In the off-chance you can actually build the latest Julia from a git clone directly, please post the how you did it and suggest what the missing step is.
comment:17 Changed 5 years ago by kencu (Ken)
We support older systems if it can be done, but portfile authors without legacy skills are not expected to do the work. In general, no outdated security is exposed by any MacPorts software. It’s all state of the art, even on Tiger.
comment:18 Changed 5 years ago by mf2k (Frank Schima)
Indeed and I am one without legacy skills. I would just look at other portfiles for guidance. Here is a code snippet that was just committed which checks Xcode version:
if {[vercmp $xcodeversion 5] >= 0 && [vercmp $xcodeversion 10.0] < 0} { ... }
comment:19 Changed 5 years ago by mf2k (Frank Schima)
And looking at the guide, the variable for OS version is os.version
comment:20 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
/opt/local/lib/gcc7/libssp.dylib
is part ofgcc7
. There are similar libraries for other versions ofgcc
.So -- as this port LOOKS like it is only c and not c++ -- you might get lucky and try this: