build SymEngine出错

如题(已开VPN,并且管理员运行)

(v1.1) pkg> build SymEngine
  Building SpecialFunctions → `D:\Users\Maxwell\AppData\Local\Julia\depot\packages\SpecialFunctions\fvheQ\deps\build.log`
  Building SymEngine ───────→ `D:\Users\Maxwell\AppData\Local\Julia\depot\packages\SymEngine\6KyFJ\deps\build.log`
┌ Error: Error building `SymEngine`:
│ ┌ Warning: platform_key() is deprecated, use platform_key_abi() from now on
│ │   caller = ip:0x0
│ └ @ Core :-1
│ [ Info: Downloading https://github.com/symengine/SymEngineBuilder/releases/download/v0.3.0-3/SymEngine.v0.3.0.x86_64-w64-mingw32.tar.gz to D:\Users\Maxwell\AppData\Local\Julia\depot\packages\SymEngine\6KyFJ\deps\symengine-0.3\downloads\SymEngine.v0.3.0.x86_64-w64-mingw32.tar.gz...
│ [ Info: Downloading https://github.com/symengine/SymEngineBuilder/releases/download/v0.3.0-2/SymEngine.v0.3.0.x86_64-w64-mingw32.tar.gz to D:\Users\Maxwell\AppData\Local\Julia\depot\packages\SymEngine\6KyFJ\deps\symengine-0.3\downloads\SymEngine.v0.3.0.x86_64-w64-mingw32.tar.gz...
│ [ Info: Found a valid dl path libgmp-10.dll while looking for libmpfr
│ [ Info: Found a valid dl path libgmpxx-4.dll while looking for libmpfr
│ [ Info: Found a valid dl path libmpc-3.dll while looking for libmpfr
│ [ Info: Found a valid dl path libmpfr-6.dll while looking for libmpfr
│ [ Info: D:\Users\Maxwell\AppData\Local\Julia\depot\packages\SymEngine\6KyFJ\deps\symengine-0.3\bin\libmpfr-6.dll matches our search criteria of libmpfr
│ [ Info: Found a valid dl path libgmp-10.dll while looking for libsymengine
│ [ Info: Found a valid dl path libgmpxx-4.dll while looking for libsymengine
│ [ Info: Found a valid dl path libmpc-3.dll while looking for libsymengine
│ [ Info: Found a valid dl path libmpfr-6.dll while looking for libsymengine
│ [ Info: Found a valid dl path libsymengine.dll while looking for libsymengine
│ [ Info: D:\Users\Maxwell\AppData\Local\Julia\depot\packages\SymEngine\6KyFJ\deps\symengine-0.3\bin\libsymengine.dll matches our search criteria of libsymengine
│ [ Info: Found a valid dl path libgmp-10.dll while looking for libsymengine
│ [ Info: Found a valid dl path libgmpxx-4.dll while looking for libsymengine
│ [ Info: Found a valid dl path libmpc-3.dll while looking for libsymengine
│ [ Info: Found a valid dl path libmpfr-6.dll while looking for libsymengine
│ [ Info: Found a valid dl path libsymengine.dll while looking for libsymengine
│ [ Info: D:\Users\Maxwell\AppData\Local\Julia\depot\packages\SymEngine\6KyFJ\deps\symengine-0.3\bin\libsymengine.dll matches our search criteria of libsymengine
│ [ Info: Found a valid dl path libgmp-10.dll while looking for libmpc
│ [ Info: Found a valid dl path libgmpxx-4.dll while looking for libmpc
│ [ Info: Found a valid dl path libmpc-3.dll while looking for libmpc
│ [ Info: D:\Users\Maxwell\AppData\Local\Julia\depot\packages\SymEngine\6KyFJ\deps\symengine-0.3\bin\libmpc-3.dll matches our search criteria of libmpc
│ [ Info: Found a valid dl path libgmp-10.dll while looking for libgmp
│ [ Info: D:\Users\Maxwell\AppData\Local\Julia\depot\packages\SymEngine\6KyFJ\deps\symengine-0.3\bin\libgmp-10.dll matches our search criteria of libgmp
│ ERROR: LoadError: SystemError: opening file "D:\\Users\\Maxwell\\AppData\\Local\\Julia\\depot\\packages\\SymEngine\\6KyFJ\\deps\\deps.jl": Permission denied
│ Stacktrace:
│  [1] #systemerror#43(::Nothing, ::Function, ::String, ::Bool) at .\error.jl:134
│  [2] systemerror at .\error.jl:134 [inlined]
│  [3] #open#309(::Nothing, ::Nothing, ::Nothing, ::Bool, ::Nothing, ::Function, ::String) at .\iostream.jl:283
│  [4] #open at .\none:0 [inlined]
│  [5] open(::String, ::String) at .\iostream.jl:339
│  [6] #open#310(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::getfield(BinaryProvider, Symbol("##158#160")){Bool,String,Array{LibraryProduct,1},getfield(BinaryProvider, Symbol("##157#159"))}, ::String, ::Vararg{String,N} where N) at .\iostream.jl:367
│  [7] open at .\iostream.jl:367 [inlined]
│  [8] #write_deps_file#156(::Bool, ::Function, ::String, ::Array{LibraryProduct,1}) at D:\Users\Maxwell\AppData\Local\Julia\depot\packages\BinaryProvider\4F5Hq\src\Products.jl:419
│  [9] write_deps_file(::String, ::Array{LibraryProduct,1}) at D:\Users\Maxwell\AppData\Local\Julia\depot\packages\BinaryProvider\4F5Hq\src\Products.jl:395
│  [10] top-level scope at none:0
│  [11] include at .\boot.jl:326 [inlined]
│  [12] include_relative(::Module, ::String) at .\loading.jl:1038
│  [13] include(::Module, ::String) at .\sysimg.jl:29
│  [14] include(::String) at .\client.jl:403
│  [15] top-level scope at none:0
│ in expression starting at D:\Users\Maxwell\AppData\Local\Julia\depot\packages\SymEngine\6KyFJ\deps\build.jl:49
└ @ Pkg.Operations C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\Pkg\src\Operations.jl:1075

估计就是管理员的锅
删了 ]remove SymEngine
拿正常的权限再试试

试了,还是不行

 Error: Error building `SymEngine`:
│ ┌ Warning: platform_key() is deprecated, use platform_key_abi() from now on
│ │   caller = ip:0x0
│ └ @ Core :-1
│ [ Info: Downloading https://github.com/symengine/SymEngineBuilder/releases/download/v0.3.0-3/SymEngine.v0.3.0.x86_64-w64-mingw32.tar.gz to D:\Users\Maxwell\AppData\Local\Julia\depot\packages\SymEngine\6KyFJ\deps\symengine-0.3\downloads\SymEngine.v0.3.0.x86_64-w64-mingw32.tar.gz...
│ [ Info: Downloading https://github.com/symengine/SymEngineBuilder/releases/download/v0.3.0-2/SymEngine.v0.3.0.x86_64-w64-mingw32.tar.gz to D:\Users\Maxwell\AppData\Local\Julia\depot\packages\SymEngine\6KyFJ\deps\symengine-0.3\downloads\SymEngine.v0.3.0.x86_64-w64-mingw32.tar.gz...
│ [ Info: Found a valid dl path libgmp-10.dll while looking for libmpfr
│ [ Info: Found a valid dl path libgmpxx-4.dll while looking for libmpfr
│ [ Info: Found a valid dl path libmpc-3.dll while looking for libmpfr
│ [ Info: Found a valid dl path libmpfr-6.dll while looking for libmpfr
│ [ Info: D:\Users\Maxwell\AppData\Local\Julia\depot\packages\SymEngine\6KyFJ\deps\symengine-0.3\bin\libmpfr-6.dll matches our search criteria of libmpfr
│ [ Info: Found a valid dl path libgmp-10.dll while looking for libsymengine
│ [ Info: Found a valid dl path libgmpxx-4.dll while looking for libsymengine
│ [ Info: Found a valid dl path libmpc-3.dll while looking for libsymengine
│ [ Info: Found a valid dl path libmpfr-6.dll while looking for libsymengine
│ [ Info: Found a valid dl path libsymengine.dll while looking for libsymengine
│ [ Info: D:\Users\Maxwell\AppData\Local\Julia\depot\packages\SymEngine\6KyFJ\deps\symengine-0.3\bin\libsymengine.dll matches our search criteria of libsymengine
│ [ Info: Found a valid dl path libgmp-10.dll while looking for libsymengine
│ [ Info: Found a valid dl path libgmpxx-4.dll while looking for libsymengine
│ [ Info: Found a valid dl path libmpc-3.dll while looking for libsymengine
│ [ Info: Found a valid dl path libmpfr-6.dll while looking for libsymengine
│ [ Info: Found a valid dl path libsymengine.dll while looking for libsymengine
│ [ Info: D:\Users\Maxwell\AppData\Local\Julia\depot\packages\SymEngine\6KyFJ\deps\symengine-0.3\bin\libsymengine.dll matches our search criteria of libsymengine
│ [ Info: Found a valid dl path libgmp-10.dll while looking for libmpc
│ [ Info: Found a valid dl path libgmpxx-4.dll while looking for libmpc
│ [ Info: Found a valid dl path libmpc-3.dll while looking for libmpc
│ [ Info: D:\Users\Maxwell\AppData\Local\Julia\depot\packages\SymEngine\6KyFJ\deps\symengine-0.3\bin\libmpc-3.dll matches our search criteria of libmpc
│ [ Info: Found a valid dl path libgmp-10.dll while looking for libgmp
│ [ Info: D:\Users\Maxwell\AppData\Local\Julia\depot\packages\SymEngine\6KyFJ\deps\symengine-0.3\bin\libgmp-10.dll matches our search criteria of libgmp
│ ERROR: LoadError: SystemError: opening file "D:\\Users\\Maxwell\\AppData\\Local\\Julia\\depot\\packages\\SymEngine\\6KyFJ\\deps\\deps.jl": Permission denied
│ Stacktrace:
│  [1] #systemerror#43(::Nothing, ::Function, ::String, ::Bool) at .\error.jl:134
│  [2] systemerror at .\error.jl:134 [inlined]
│  [3] #open#309(::Nothing, ::Nothing, ::Nothing, ::Bool, ::Nothing, ::Function, ::String) at .\iostream.jl:283
│  [4] #open at .\none:0 [inlined]
│  [5] open(::String, ::String) at .\iostream.jl:339
│  [6] #open#310(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::getfield(BinaryProvider, Symbol("##158#160")){Bool,String,Array{LibraryProduct,1},getfield(BinaryProvider, Symbol("##157#159"))}, ::String, ::Vararg{String,N} where N) at .\iostream.jl:367
│  [7] open at .\iostream.jl:367 [inlined]
│  [8] #write_deps_file#156(::Bool, ::Function, ::String, ::Array{LibraryProduct,1}) at D:\Users\Maxwell\AppData\Local\Julia\depot\packages\BinaryProvider\4F5Hq\src\Products.jl:419
│  [9] write_deps_file(::String, ::Array{LibraryProduct,1}) at D:\Users\Maxwell\AppData\Local\Julia\depot\packages\BinaryProvider\4F5Hq\src\Products.jl:395
│  [10] top-level scope at none:0
│  [11] include at .\boot.jl:326 [inlined]
│  [12] include_relative(::Module, ::String) at .\loading.jl:1038
│  [13] include(::Module, ::String) at .\sysimg.jl:29
│  [14] include(::String) at .\client.jl:403
│  [15] top-level scope at none:0
│ in expression starting at D:\Users\Maxwell\AppData\Local\Julia\depot\packages\SymEngine\6KyFJ\deps\build.jl:49
└ @ Pkg.Operations C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.1\Pkg\src\Operations.jl:1075

去报 issue 吧 Issues · symengine/SymEngine.jl · GitHub