byuflowlab / Snopt.jl

Julia interface to SNOPT (must obtain a licensed copy of SNOPT separately)
MIT License
18 stars 9 forks source link

Issues Building Package #9

Open jshan432 opened 3 years ago

jshan432 commented 3 years ago

Hello,

I followed all of the installation steps but get the following error messages when trying to build. I appreciate any feedback you can provide.

(@v1.5) pkg> build Snopt Building Snopt → ~/.julia/dev/Snopt/deps/build.log ┌ Error: Error building Snopt, showing the last 100 of log: │ Target: x86_64-apple-darwin19.6.0 │ Thread model: posix │ InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin │ "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" -cc1as -triple x86_64-apple-macosx10.15.0 -filetype obj -main-file-name cc4351Kw.s -target-cpu penryn -fdebug-compilation-dir /Users/lab_home/.julia/dev/Snopt/deps/src -dwarf-debug-producer "Apple clang version 12.0.0 (clang-1200.0.32.21)" -dwarf-version=4 -mrelocation-model pic -o /var/folders/r8/00bvky2d7zl7rvb8hws551ww0000gn/T//cc04w28h.o /var/folders/r8/00bvky2d7zl7rvb8hws551ww0000gn/T//cc4351Kw.s │ COLLECT_GCC_OPTIONS= '-O2' '-fPIC' '-v' '-o' 'libsnopt.dylib' '-mmacosx-version-min=10.15.0' '-shared-libgcc' '-mtune=core2' '-Zdynamiclib' │ /usr/local/Cellar/gcc/10.2.0/libexec/gcc/x86_64-apple-darwin19/10.2.0/f951 snoptch.f -ffixed-form -fPIC -quiet -dumpbase snoptch.f -mmacosx-version-min=10.15.0 -mtune=core2 -auxbase snoptch -O2 -version -fPIC -fintrinsic-modules-path /usr/local/Cellar/gcc/10.2.0/lib/gcc/10/gcc/x86_64-apple-darwin19/10.2.0/finclude -o /var/folders/r8/00bvky2d7zl7rvb8hws551ww0000gn/T//cc4351Kw.s │ GNU Fortran (Homebrew GCC 10.2.0) version 10.2.0 (x86_64-apple-darwin19) │ compiled by GNU C version 10.2.0, GMP version 6.2.0, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.22.1-GMP │ │ warning: MPFR header version 4.0.2 differs from library version 4.1.0. │ GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 │ GNU Fortran2008 (Homebrew GCC 10.2.0) version 10.2.0 (x86_64-apple-darwin19) │ compiled by GNU C version 10.2.0, GMP version 6.2.0, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.22.1-GMP │ │ warning: MPFR header version 4.0.2 differs from library version 4.1.0. │ GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 │ COLLECT_GCC_OPTIONS= '-O2' '-fPIC' '-v' '-o' 'libsnopt.dylib' '-mmacosx-version-min=10.15.0' '-shared-libgcc' '-mtune=core2' '-Zdynamiclib' │ as -arch x86_64 -v -force_cpusubtype_ALL -mmacosx-version-min=10.15 -o /var/folders/r8/00bvky2d7zl7rvb8hws551ww0000gn/T//ccMosBtC.o /var/folders/r8/00bvky2d7zl7rvb8hws551ww0000gn/T//cc4351Kw.s │ Apple clang version 12.0.0 (clang-1200.0.32.21) │ Target: x86_64-apple-darwin19.6.0 │ Thread model: posix │ InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin │ "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" -cc1as -triple x86_64-apple-macosx10.15.0 -filetype obj -main-file-name cc4351Kw.s -target-cpu penryn -fdebug-compilation-dir /Users/lab_home/.julia/dev/Snopt/deps/src -dwarf-debug-producer "Apple clang version 12.0.0 (clang-1200.0.32.21)" -dwarf-version=4 -mrelocation-model pic -o /var/folders/r8/00bvky2d7zl7rvb8hws551ww0000gn/T//ccMosBtC.o /var/folders/r8/00bvky2d7zl7rvb8hws551ww0000gn/T//cc4351Kw.s │ COLLECT_GCC_OPTIONS= '-O2' '-fPIC' '-v' '-o' 'libsnopt.dylib' '-mmacosx-version-min=10.15.0' '-shared-libgcc' '-mtune=core2' '-Zdynamiclib' │ /usr/local/Cellar/gcc/10.2.0/libexec/gcc/x86_64-apple-darwin19/10.2.0/f951 snoptq.f -ffixed-form -fPIC -quiet -dumpbase snoptq.f -mmacosx-version-min=10.15.0 -mtune=core2 -auxbase snoptq -O2 -version -fPIC -fintrinsic-modules-path /usr/local/Cellar/gcc/10.2.0/lib/gcc/10/gcc/x86_64-apple-darwin19/10.2.0/finclude -o /var/folders/r8/00bvky2d7zl7rvb8hws551ww0000gn/T//cc4351Kw.s │ GNU Fortran (Homebrew GCC 10.2.0) version 10.2.0 (x86_64-apple-darwin19) │ compiled by GNU C version 10.2.0, GMP version 6.2.0, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.22.1-GMP │ │ warning: MPFR header version 4.0.2 differs from library version 4.1.0. │ GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 │ GNU Fortran2008 (Homebrew GCC 10.2.0) version 10.2.0 (x86_64-apple-darwin19) │ compiled by GNU C version 10.2.0, GMP version 6.2.0, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.22.1-GMP │ │ warning: MPFR header version 4.0.2 differs from library version 4.1.0. │ GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 │ COLLECT_GCC_OPTIONS= '-O2' '-fPIC' '-v' '-o' 'libsnopt.dylib' '-mmacosx-version-min=10.15.0' '-shared-libgcc' '-mtune=core2' '-Zdynamiclib' │ as -arch x86_64 -v -force_cpusubtype_ALL -mmacosx-version-min=10.15 -o /var/folders/r8/00bvky2d7zl7rvb8hws551ww0000gn/T//cceEO2Ds.o /var/folders/r8/00bvky2d7zl7rvb8hws551ww0000gn/T//cc4351Kw.s │ Apple clang version 12.0.0 (clang-1200.0.32.21) │ Target: x86_64-apple-darwin19.6.0 │ Thread model: posix │ InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin │ "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" -cc1as -triple x86_64-apple-macosx10.15.0 -filetype obj -main-file-name cc4351Kw.s -target-cpu penryn -fdebug-compilation-dir /Users/lab_home/.julia/dev/Snopt/deps/src -dwarf-debug-producer "Apple clang version 12.0.0 (clang-1200.0.32.21)" -dwarf-version=4 -mrelocation-model pic -o /var/folders/r8/00bvky2d7zl7rvb8hws551ww0000gn/T//cceEO2Ds.o /var/folders/r8/00bvky2d7zl7rvb8hws551ww0000gn/T//cc4351Kw.s │ COLLECT_GCC_OPTIONS= '-O2' '-fPIC' '-v' '-o' 'libsnopt.dylib' '-mmacosx-version-min=10.15.0' '-shared-libgcc' '-mtune=core2' '-Zdynamiclib' │ /usr/local/Cellar/gcc/10.2.0/libexec/gcc/x86_64-apple-darwin19/10.2.0/f951 sq02lib.f -ffixed-form -fPIC -quiet -dumpbase sq02lib.f -mmacosx-version-min=10.15.0 -mtune=core2 -auxbase sq02lib -O2 -version -fPIC -fintrinsic-modules-path /usr/local/Cellar/gcc/10.2.0/lib/gcc/10/gcc/x86_64-apple-darwin19/10.2.0/finclude -o /var/folders/r8/00bvky2d7zl7rvb8hws551ww0000gn/T//cc4351Kw.s │ GNU Fortran (Homebrew GCC 10.2.0) version 10.2.0 (x86_64-apple-darwin19) │ compiled by GNU C version 10.2.0, GMP version 6.2.0, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.22.1-GMP │ │ warning: MPFR header version 4.0.2 differs from library version 4.1.0. │ GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 │ GNU Fortran2008 (Homebrew GCC 10.2.0) version 10.2.0 (x86_64-apple-darwin19) │ compiled by GNU C version 10.2.0, GMP version 6.2.0, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.22.1-GMP │ │ warning: MPFR header version 4.0.2 differs from library version 4.1.0. │ GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 │ COLLECT_GCC_OPTIONS= '-O2' '-fPIC' '-v' '-o' 'libsnopt.dylib' '-mmacosx-version-min=10.15.0' '-shared-libgcc' '-mtune=core2' '-Zdynamiclib' │ as -arch x86_64 -v -force_cpusubtype_ALL -mmacosx-version-min=10.15 -o /var/folders/r8/00bvky2d7zl7rvb8hws551ww0000gn/T//cclf7e3H.o /var/folders/r8/00bvky2d7zl7rvb8hws551ww0000gn/T//cc4351Kw.s │ Apple clang version 12.0.0 (clang-1200.0.32.21) │ Target: x86_64-apple-darwin19.6.0 │ Thread model: posix │ InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin │ "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" -cc1as -triple x86_64-apple-macosx10.15.0 -filetype obj -main-file-name cc4351Kw.s -target-cpu penryn -fdebug-compilation-dir /Users/lab_home/.julia/dev/Snopt/deps/src -dwarf-debug-producer "Apple clang version 12.0.0 (clang-1200.0.32.21)" -dwarf-version=4 -mrelocation-model pic -o /var/folders/r8/00bvky2d7zl7rvb8hws551ww0000gn/T//cclf7e3H.o /var/folders/r8/00bvky2d7zl7rvb8hws551ww0000gn/T//cc4351Kw.s │ COLLECT_GCC_OPTIONS= '-O2' '-fPIC' '-v' '-o' 'libsnopt.dylib' '-mmacosx-version-min=10.15.0' '-shared-libgcc' '-mtune=core2' '-Zdynamiclib' │ /usr/local/Cellar/gcc/10.2.0/libexec/gcc/x86_64-apple-darwin19/10.2.0/f951 sqopt.f -ffixed-form -fPIC -quiet -dumpbase sqopt.f -mmacosx-version-min=10.15.0 -mtune=core2 -auxbase sqopt -O2 -version -fPIC -fintrinsic-modules-path /usr/local/Cellar/gcc/10.2.0/lib/gcc/10/gcc/x86_64-apple-darwin19/10.2.0/finclude -o /var/folders/r8/00bvky2d7zl7rvb8hws551ww0000gn/T//cc4351Kw.s │ GNU Fortran (Homebrew GCC 10.2.0) version 10.2.0 (x86_64-apple-darwin19) │ compiled by GNU C version 10.2.0, GMP version 6.2.0, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.22.1-GMP │ │ warning: MPFR header version 4.0.2 differs from library version 4.1.0. │ GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 │ GNU Fortran2008 (Homebrew GCC 10.2.0) version 10.2.0 (x86_64-apple-darwin19) │ compiled by GNU C version 10.2.0, GMP version 6.2.0, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.22.1-GMP │ │ warning: MPFR header version 4.0.2 differs from library version 4.1.0. │ GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 │ COLLECT_GCC_OPTIONS= '-O2' '-fPIC' '-v' '-o' 'libsnopt.dylib' '-mmacosx-version-min=10.15.0' '-shared-libgcc' '-mtune=core2' '-Zdynamiclib' │ as -arch x86_64 -v -force_cpusubtype_ALL -mmacosx-version-min=10.15 -o /var/folders/r8/00bvky2d7zl7rvb8hws551ww0000gn/T//ccqiGOrv.o /var/folders/r8/00bvky2d7zl7rvb8hws551ww0000gn/T//cc4351Kw.s │ Apple clang version 12.0.0 (clang-1200.0.32.21) │ Target: x86_64-apple-darwin19.6.0 │ Thread model: posix │ InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin │ "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" -cc1as -triple x86_64-apple-macosx10.15.0 -filetype obj -main-file-name cc4351Kw.s -target-cpu penryn -fdebug-compilation-dir /Users/lab_home/.julia/dev/Snopt/deps/src -dwarf-debug-producer "Apple clang version 12.0.0 (clang-1200.0.32.21)" -dwarf-version=4 -mrelocation-model pic -o /var/folders/r8/00bvky2d7zl7rvb8hws551ww0000gn/T//ccqiGOrv.o /var/folders/r8/00bvky2d7zl7rvb8hws551ww0000gn/T//cc4351Kw.s │ make: *** [libsnopt.dylib] Error 1 │ ERROR: LoadError: failed process: Process(make FC=gfortran SUFFIX=dylib, ProcessExited(2)) [2] │ │ Stacktrace: │ [1] pipeline_error at ./process.jl:525 [inlined] │ [2] run(::Cmd; wait::Bool) at ./process.jl:440 │ [3] run(::Cmd) at ./process.jl:438 │ [4] top-level scope at /Users/lab_home/.julia/dev/Snopt/deps/build.jl:10 │ [5] include(::String) at ./client.jl:457 │ [6] top-level scope at none:5 │ in expression starting at /Users/lab_home/.julia/dev/Snopt/deps/build.jl:1 │ caused by [exception 1] │ failed process: Process(make FC=ifort SUFFIX=dylib, ProcessExited(2)) [2] │ │ Stacktrace: │ [1] pipeline_error at ./process.jl:525 [inlined] │ [2] run(::Cmd; wait::Bool) at ./process.jl:440 │ [3] run(::Cmd) at ./process.jl:438 │ [4] top-level scope at /Users/lab_home/.julia/dev/Snopt/deps/build.jl:8 │ [5] include(::String) at ./client.jl:457 │ [6] top-level scope at none:5 │ │ Full log at /Users/lab_home/.julia/dev/Snopt/deps/build.log └ @ Pkg.Operations /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.5/Pkg/src/Operations.jl:942

pollinico commented 1 year ago

Same issue also for me (I attach also the log). build.log Any suggestion?

(@v1.8) pkg> build Snopt Building Snopt → ~/.julia/dev/Snopt/deps/build.log ERROR: Error building Snopt, showing the last 100 of log:

warning: MPFR header version 4.1.0-p13 differs from library version 4.2.0. warning: MPC header version 1.2.1 differs from library version 1.3.1. GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 GNU Fortran2008 (Homebrew GCC 12.2.0) version 12.2.0 (aarch64-apple-darwin22) compiled by GNU C version 12.2.0, GMP version 6.2.1, MPFR version 4.1.0-p13, MPC version 1.2.1, isl version isl-0.25-GMP

warning: MPFR header version 4.1.0-p13 differs from library version 4.2.0. warning: MPC header version 1.2.1 differs from library version 1.3.1. GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 COLLECT_GCC_OPTIONS= '-O2' '-fPIC' '-v' '-o' 'libsnopt.dylib' '-mmacosx-version-min=13.0.0' '-nodefaultexport' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'libsnopt.dylib-' as -arch arm64 -v -mmacosx-version-min=13.0 -o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//ccaREYz6.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//ccq6uUQ9.s Apple clang version 14.0.0 (clang-1400.0.29.202) Target: arm64-apple-darwin22.2.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin "/Library/Developer/CommandLineTools/usr/bin/clang" -cc1as -triple arm64-apple-macosx13.0.0 -filetype obj -main-file-name ccq6uUQ9.s -target-cpu apple-m1 -target-feature +v8.5a -target-feature +fp-armv8 -target-feature +neon -target-feature +crc -target-feature +crypto -target-feature +dotprod -target-feature +fp16fml -target-feature +ras -target-feature +lse -target-feature +rdm -target-feature +rcpc -target-feature +zcm -target-feature +zcz -target-feature +fullfp16 -target-feature +sm4 -target-feature +sha3 -target-feature +sha2 -target-feature +aes -fdebug-compilation-dir=/Users/nicolo/.julia/dev/Snopt/deps/src -dwarf-debug-producer "Apple clang version 14.0.0 (clang-1400.0.29.202)" -dwarf-version=4 -mrelocation-model pic --mrelax-relocations -mllvm -disable-aligned-alloc-awareness=1 -o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//ccaREYz6.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//ccq6uUQ9.s COLLECT_GCC_OPTIONS= '-O2' '-fPIC' '-v' '-o' 'libsnopt.dylib' '-mmacosx-version-min=13.0.0' '-nodefaultexport' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'libsnopt.dylib-' /opt/homebrew/Cellar/gcc/12.2.0/bin/../libexec/gcc/aarch64-apple-darwin22/12/f951 sqopt.f -ffixed-form -fPIC -quiet -dumpdir libsnopt.dylib- -dumpbase sqopt.f -dumpbase-ext .f -mmacosx-version-min=13.0.0 -mlittle-endian -mabi=lp64 -O2 -version -fPIC -fintrinsic-modules-path /opt/homebrew/Cellar/gcc/12.2.0/bin/../lib/gcc/current/gcc/aarch64-apple-darwin22/12/finclude -o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//ccq6uUQ9.s GNU Fortran (Homebrew GCC 12.2.0) version 12.2.0 (aarch64-apple-darwin22) compiled by GNU C version 12.2.0, GMP version 6.2.1, MPFR version 4.1.0-p13, MPC version 1.2.1, isl version isl-0.25-GMP

warning: MPFR header version 4.1.0-p13 differs from library version 4.2.0. warning: MPC header version 1.2.1 differs from library version 1.3.1. GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 GNU Fortran2008 (Homebrew GCC 12.2.0) version 12.2.0 (aarch64-apple-darwin22) compiled by GNU C version 12.2.0, GMP version 6.2.1, MPFR version 4.1.0-p13, MPC version 1.2.1, isl version isl-0.25-GMP

warning: MPFR header version 4.1.0-p13 differs from library version 4.2.0. warning: MPC header version 1.2.1 differs from library version 1.3.1. GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 COLLECT_GCC_OPTIONS= '-O2' '-fPIC' '-v' '-o' 'libsnopt.dylib' '-mmacosx-version-min=13.0.0' '-nodefaultexport' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'libsnopt.dylib-' as -arch arm64 -v -mmacosx-version-min=13.0 -o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//ccdSj6c5.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//ccq6uUQ9.s Apple clang version 14.0.0 (clang-1400.0.29.202) Target: arm64-apple-darwin22.2.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin "/Library/Developer/CommandLineTools/usr/bin/clang" -cc1as -triple arm64-apple-macosx13.0.0 -filetype obj -main-file-name ccq6uUQ9.s -target-cpu apple-m1 -target-feature +v8.5a -target-feature +fp-armv8 -target-feature +neon -target-feature +crc -target-feature +crypto -target-feature +dotprod -target-feature +fp16fml -target-feature +ras -target-feature +lse -target-feature +rdm -target-feature +rcpc -target-feature +zcm -target-feature +zcz -target-feature +fullfp16 -target-feature +sm4 -target-feature +sha3 -target-feature +sha2 -target-feature +aes -fdebug-compilation-dir=/Users/nicolo/.julia/dev/Snopt/deps/src -dwarf-debug-producer "Apple clang version 14.0.0 (clang-1400.0.29.202)" -dwarf-version=4 -mrelocation-model pic --mrelax-relocations -mllvm -disable-aligned-alloc-awareness=1 -o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//ccdSj6c5.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//ccq6uUQ9.s COLLECT_GCC_OPTIONS= '-O2' '-fPIC' '-v' '-o' 'libsnopt.dylib' '-mmacosx-version-min=13.0.0' '-nodefaultexport' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'libsnopt.dylib-' /opt/homebrew/Cellar/gcc/12.2.0/bin/../libexec/gcc/aarch64-apple-darwin22/12/f951 sqopt_wrapper.f90 -fPIC -quiet -dumpdir libsnopt.dylib- -dumpbase sqopt_wrapper.f90 -dumpbase-ext .f90 -mmacosx-version-min=13.0.0 -mlittle-endian -mabi=lp64 -O2 -version -fPIC -fintrinsic-modules-path /opt/homebrew/Cellar/gcc/12.2.0/bin/../lib/gcc/current/gcc/aarch64-apple-darwin22/12/finclude -o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//ccq6uUQ9.s GNU Fortran (Homebrew GCC 12.2.0) version 12.2.0 (aarch64-apple-darwin22) compiled by GNU C version 12.2.0, GMP version 6.2.1, MPFR version 4.1.0-p13, MPC version 1.2.1, isl version isl-0.25-GMP

warning: MPFR header version 4.1.0-p13 differs from library version 4.2.0. warning: MPC header version 1.2.1 differs from library version 1.3.1. GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 GNU Fortran2008 (Homebrew GCC 12.2.0) version 12.2.0 (aarch64-apple-darwin22) compiled by GNU C version 12.2.0, GMP version 6.2.1, MPFR version 4.1.0-p13, MPC version 1.2.1, isl version isl-0.25-GMP

warning: MPFR header version 4.1.0-p13 differs from library version 4.2.0. warning: MPC header version 1.2.1 differs from library version 1.3.1. GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 COLLECT_GCC_OPTIONS= '-O2' '-fPIC' '-v' '-o' 'libsnopt.dylib' '-mmacosx-version-min=13.0.0' '-nodefaultexport' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'libsnopt.dylib-' as -arch arm64 -v -mmacosx-version-min=13.0 -o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//cccxGN2R.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//ccq6uUQ9.s Apple clang version 14.0.0 (clang-1400.0.29.202) Target: arm64-apple-darwin22.2.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin "/Library/Developer/CommandLineTools/usr/bin/clang" -cc1as -triple arm64-apple-macosx13.0.0 -filetype obj -main-file-name ccq6uUQ9.s -target-cpu apple-m1 -target-feature +v8.5a -target-feature +fp-armv8 -target-feature +neon -target-feature +crc -target-feature +crypto -target-feature +dotprod -target-feature +fp16fml -target-feature +ras -target-feature +lse -target-feature +rdm -target-feature +rcpc -target-feature +zcm -target-feature +zcz -target-feature +fullfp16 -target-feature +sm4 -target-feature +sha3 -target-feature +sha2 -target-feature +aes -fdebug-compilation-dir=/Users/nicolo/.julia/dev/Snopt/deps/src -dwarf-debug-producer "Apple clang version 14.0.0 (clang-1400.0.29.202)" -dwarf-version=4 -mrelocation-model pic --mrelax-relocations -mllvm -disable-aligned-alloc-awareness=1 -o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//cccxGN2R.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//ccq6uUQ9.s Reading specs from /opt/homebrew/Cellar/gcc/12.2.0/bin/../lib/gcc/current/gcc/aarch64-apple-darwin22/12/../../../libgfortran.spec rename spec lib to liborig COLLECT_GCC_OPTIONS= '-O2' '-fPIC' '-v' '-o' 'libsnopt.dylib' '-mmacosx-version-min=13.0.0' '-nodefaultexport' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'libsnopt.dylib-' COMPILER_PATH=/opt/homebrew/Cellar/gcc/12.2.0/bin/../libexec/gcc/aarch64-apple-darwin22/12/:/opt/homebrew/Cellar/gcc/12.2.0/bin/../libexec/gcc/ LIBRARY_PATH=/opt/homebrew/Cellar/gcc/12.2.0/bin/../lib/gcc/current/gcc/aarch64-apple-darwin22/12/:/opt/homebrew/Cellar/gcc/12.2.0/bin/../lib/gcc/current/gcc/:/opt/homebrew/Cellar/gcc/12.2.0/bin/../lib/gcc/current/gcc/aarch64-apple-darwin22/12/../../../ COLLECT_GCC_OPTIONS= '-O2' '-fPIC' '-v' '-o' 'libsnopt.dylib' '-mmacosx-version-min=13.0.0' '-nodefaultexport' '-mlittle-endian' '-mabi=lp64' '-dumpdir' 'libsnopt.dylib.' /opt/homebrew/Cellar/gcc/12.2.0/bin/../libexec/gcc/aarch64-apple-darwin22/12/collect2 -syslibroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/ -dynamic -arch arm64 -macosx_version_min 13.0.0 -o libsnopt.dylib -L/opt/homebrew/Cellar/gcc/12.2.0/bin/../lib/gcc/current/gcc/aarch64-apple-darwin22/12 -L/opt/homebrew/Cellar/gcc/12.2.0/bin/../lib/gcc/current/gcc -L/opt/homebrew/Cellar/gcc/12.2.0/bin/../lib/gcc/current/gcc/aarch64-apple-darwin22/12/../../.. /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//ccrp5jrK.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//ccPensEF.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//ccGa9xh7.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//cc82vK5e.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//ccIATYKE.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//ccH3QRDJ.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//cc0eUMOm.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//ccPco8Kr.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//cci3cQZl.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//ccAaXKld.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//ccNRKQ7y.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//ccsMswL0.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//ccd2FBwX.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//ccMmJRe8.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//cc1TDGsv.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//ccYlj95z.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//cc7QUj02.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//ccEMVC9H.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//ccSWN9Ak.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//cc1ujvEp.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//cccK0449.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//ccr7nSMW.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//ccNyCmk9.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//ccl5l3Uf.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//ccC1dslV.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//ccAdR2gi.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//cc63xiyz.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//cc3k9I8s.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//ccBYMn17.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//ccr3bls5.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//ccSQSdjQ.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//cczvf3R5.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//ccSObgWA.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//ccgbOjUD.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//ccecXlr4.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//cc9JF5FP.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//ccbwkDGA.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//ccnUXT9y.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//ccYQrPdH.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//ccWhurhs.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//ccO2uFWV.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//ccAWmqvD.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//cc0vw4gC.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//cclEP8AD.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//ccan0lOj.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//ccUMuhEv.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//ccB5WeP0.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//cc1acc8m.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//ccLIONtJ.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//ccWCMBrF.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//ccaREYz6.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//ccdSj6c5.o /var/folders/3r/3tcgkrrs3hb8y07fb08clhb0g0g9jy/T//cccxGN2R.o -lgfortran -dylib -lemutls_w -lgcc -lquadmath -lemutls_w -lgcc -lSystem -lgcc -no_compact_unwind -rpath @loader_path -rpath /opt/homebrew/Cellar/gcc/12.2.0/lib/gcc/current/gcc/aarch64-apple-darwin22/12 -rpath /opt/homebrew/Cellar/gcc/12.2.0/lib/gcc/current/gcc -rpath /opt/homebrew/Cellar/gcc/12.2.0/lib/gcc/current ld: unsupported tapi file type '!tapi-tbd' in YAML file '/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/lib/libSystem.tbd' for architecture arm64 collect2: error: ld returned 1 exit status make: *** [libsnopt.dylib] Error 1 ERROR: LoadError: failed process: Process(make FC=gfortran SUFFIX=dylib, ProcessExited(2)) [2]

Stacktrace: [1] pipeline_error @ ./process.jl:565 [inlined] [2] run(::Cmd; wait::Bool) @ Base ./process.jl:480 [3] run(::Cmd) @ Base ./process.jl:477 [4] top-level scope @ ~/.julia/dev/Snopt/deps/build.jl:10 [5] include(fname::String) @ Base.MainInclude ./client.jl:476 [6] top-level scope @ none:5 in expression starting at /Users/nicolo/.julia/dev/Snopt/deps/build.jl:1

caused by: failed process: Process(make FC=ifort SUFFIX=dylib, ProcessExited(2)) [2]

Stacktrace: [1] pipeline_error @ ./process.jl:565 [inlined] [2] run(::Cmd; wait::Bool) @ Base ./process.jl:480 [3] run(::Cmd) @ Base ./process.jl:477 [4] top-level scope @ ~/.julia/dev/Snopt/deps/build.jl:8 [5] include(fname::String) @ Base.MainInclude ./client.jl:476 [6] top-level scope @ none:5

Full log at /Users/nicolo/.julia/dev/Snopt/deps/build.log