Comments (1)
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
from snopt.jl.
Related Issues (12)
- Not enough memory HOT 1
- Does the package support trial libraries? HOT 2
- Printing Summary at Major and Minor Iterations During Optimization
- Are infeasible constraints sometimes ignored? HOT 1
- Print SNOPT iteration history to terminal?
- Snopt version HOT 5
- Set SPEC File Options
- Snopt segmentation fault with Julia 1.10 HOT 10
- Compiled library location HOT 3
- Large integer return as 'xopt' - SNOPT-7.2.11 HOT 4
- Integer upper bounds, lower bounds, and starting point
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from snopt.jl.