The MKL installation on julia-1.3.1 fails on my Dell laptop
build MKL
Building LibCURL ────────→ `C:\Users\kumar\.julia\packages\LibCURL\lWJxD\deps\build.log`
Building WinRPM ─────────→ `C:\Users\kumar\.julia\packages\WinRPM\BfpQI\deps\build.log`
Building PackageCompiler → `C:\Users\kumar\.julia\packages\PackageCompiler\4yNnV\deps\build.log`
Building MKL ────────────→ `C:\Users\kumar\.julia\packages\MKL\9dWbC\deps\build.log`
┌ Error: Error building `MKL`, showing the last 100 of log:
│ CRC32c ───────── 0.013602 seconds
│ SHA ──────────── 0.248088 seconds
│ FileWatching ─── 0.103975 seconds
│ Unicode ──────── 0.012775 seconds
│ Mmap ─────────── 0.080305 seconds
│ Serialization ── 1.080882 seconds
│ Libdl ────────── 0.046099 seconds
│ Markdown ─────── 1.323151 seconds
│ LibGit2 ──────── 3.355817 seconds
│ Logging ──────── 0.643619 seconds
│ Sockets ──────── 2.559828 seconds
│ Printf ───────── 0.013331 seconds
│ Profile ──────── 0.180189 seconds
│ Dates ────────── 2.469021 seconds
│ DelimitedFiles ─ 0.154035 seconds
│ Random ───────── 1.010254 seconds
│ UUIDs ────────── 0.043053 seconds
│ Future ───────── 0.018183 seconds
│ LinearAlgebra ── 12.969732 seconds
│ SparseArrays ─── 4.815358 seconds
│ SuiteSparse ──── 1.765493 seconds
│ Distributed ──── 6.735791 seconds
│ SharedArrays ─── 0.184318 seconds
│ Pkg ──────────── 14.081363 seconds
│ Test ─────────── 1.151840 seconds
│ REPL ─────────── 0.940129 seconds
│ Statistics ───── 0.172699 seconds
│ Stdlibs total ── 62.084723 seconds
│ Sysimage built. Summary:
│ Total ─────── 98.277430 seconds
│ Base: ─────── 36.189391 seconds 36.8237%
│ Stdlibs: ──── 62.084723 seconds 63.1729%
│ c:/users/kumar/.julia/packages/winrpm/bfpqi/deps/usr/x86_64-w64-mingw32/sys-root/mingw/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: <unknown-file>:0: syntax error
│ Warning: .drectve `-export:ccalllib_C:\Users\kumar\.julia\packages\MKL\9dWbC\deps\usr\bin\mkl_rt.dll,data ' unrecognized
│ c:/users/kumar/.julia/packages/winrpm/bfpqi/deps/usr/x86_64-w64-mingw32/sys-root/mingw/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot export MKL: symbol not found
│ c:/users/kumar/.julia/packages/winrpm/bfpqi/deps/usr/x86_64-w64-mingw32/sys-root/mingw/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot export Users: symbol not found
│ c:/users/kumar/.julia/packages/winrpm/bfpqi/deps/usr/x86_64-w64-mingw32/sys-root/mingw/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot export ccalllib_C:: symbol not found
│ c:/users/kumar/.julia/packages/winrpm/bfpqi/deps/usr/x86_64-w64-mingw32/sys-root/mingw/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot export packages: symbol not found
│ collect2.exe: error: ld returned 1 exit status
│ ┌ Warning: On Windows, creating file symlinks requires Administrator privileges
│ └ @ Base.Filesystem file.jl:848
│ [ Info: Replacing libblas_name in C:\Users\kumar\AppData\Local\Julia-1.3.1\bin\..\share\julia\base\build_h.jl
│ [ Info: Checking if we need to update PATH...
│ [ Info: Checking sysimg.jl
│ [ Info: Could not find init function in sysimg.jl
│ [ Info: Checking Base.jl
│ [ Info: Found ENV already
│ ┌ Info: Building `inference.o`:
│ └ `'C:\Users\kumar\AppData\Local\Julia-1.3.1\bin\julia.exe' -C native --output-ji 'C:\Users\kumar\.julia\packages\PackageCompiler\4yNnV\sysimg\backup\native\basecompiler.ji' --output-o 'C:\Users\kumar\.julia\packages\PackageCompiler\4yNnV\sysimg\backup\native\basecompiler.o' compiler/compiler.jl`
│ ┌ Info: Building `sys.o`:
│ └ `'C:\Users\kumar\AppData\Local\Julia-1.3.1\bin\julia.exe' -C native --output-ji 'C:\Users\kumar\.julia\packages\PackageCompiler\4yNnV\sysimg\backup\native\sys.ji' --output-o 'C:\Users\kumar\.julia\packages\PackageCompiler\4yNnV\sysimg\backup\native\sys.o' -J 'C:\Users\kumar\.julia\packages\PackageCompiler\4yNnV\sysimg\backup\native\basecompiler.ji' --startup-file=no sysimg.jl`
│ ERROR: LoadError: failed process: Process(setenv(`'C:\Users\kumar\.julia\packages\WinRPM\BfpQI\deps\usr\x86_64-w64-mingw32\sys-root\mingw\bin\gcc.exe' --sysroot 'C:\Users\kumar\.julia\packages\WinRPM\BfpQI\deps\usr\x86_64-w64-mingw32\sys-root' -shared '-DJULIAC_PROGRAM_LIBNAME="C:\Users\kumar\.julia\packages\PackageCompiler\4yNnV\sysimg\backup\native\sys.dll"' -o 'C:\Users\kumar\.julia\packages\PackageCompiler\4yNnV\sysimg\backup\native\sys.dll' -Wl,--whole-archive 'C:\Users\kumar\.julia\packages\PackageCompiler\4yNnV\sysimg\backup\native\sys.o' -Wl,--no-whole-archive -std=gnu99 '-IC:\Users\kumar\AppData\Local\Julia-1.3.1\include\julia' -DJULIA_ENABLE_THREADING=1 '-LC:\Users\kumar\AppData\Local\Julia-1.3.1\bin' -Wl,--stack,8388608 -ljulia -lopenlibm -m64 -Wl,--export-all-symbols`,["PATH=C:\\Users\\kumar\\.julia\\packages\\WinRPM\\BfpQI\\deps\\usr\\x86_64-w64-mingw32\\sys-root\\mingw\\bin;C:\\Program Files\\ImageMagick-6.9.8-Q16;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;D:\\sqlite;C:\\Program Files\\SourceGear\\Common\\DiffMerge\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\Intel\\WiFi\\bin\\;C:\\Program Files\\Common Files\\Intel\\WirelessCommon\\;C:\\Users\\kumar\\AppData\\Roaming\\local\\bin;C:\\Program Files\\Intel\\WiFi\\bin\\;C:\\Program Files\\Common Files\\Intel\\WirelessCommon\\;C:\\Users\\kumar\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Program Files\\phantomjs-2.1.1-windows\\bin;C:\\Users\\kumar\\AppData\\Local\\atom\\bin;"]), ProcessExited(1)) [1]
│
│ Stacktrace:
│ [1] pipeline_error at .\process.jl:525 [inlined]
│ [2] #run#565(::Bool, ::typeof(run), ::Cmd) at .\process.jl:440
│ [3] run at .\process.jl:438 [inlined]
│ [4] run_PATH(::Cmd) at C:\Users\kumar\.julia\packages\PackageCompiler\4yNnV\src\static_julia.jl:23
│ [5] (::PackageCompiler.var"#16#18")() at C:\Users\kumar\.julia\packages\PackageCompiler\4yNnV\src\static_julia.jl:309
│ [6] cd(::PackageCompiler.var"#16#18", ::String) at .\file.jl:93
│ [7] build_shared(::String, ::String, ::Bool, ::String, ::Bool, ::Nothing, ::Nothing, ::Cmd, ::Nothing) at C:\Users\kumar\.julia\packages\PackageCompiler\4yNnV\src\static_julia.jl:308
│ [8] (::PackageCompiler.var"#40#41"{Bool,String})() at C:\Users\kumar\.julia\packages\PackageCompiler\4yNnV\src\system_image.jl:46
│ [9] cd(::PackageCompiler.var"#40#41"{Bool,String}, ::String) at .\file.jl:93
│ [10] #compile_system_image#39(::Bool, ::typeof(PackageCompiler.compile_system_image), ::String, ::String) at C:\Users\kumar\.julia\packages\PackageCompiler\4yNnV\src\system_image.jl:15
│ [11] #compile_system_image at .\none:0 [inlined]
│ [12] get_backup!(::Bool, ::String) at C:\Users\kumar\.julia\packages\PackageCompiler\4yNnV\src\system_image.jl:63
│ [13] force_native_image! at C:\Users\kumar\.julia\packages\PackageCompiler\4yNnV\src\api.jl:123 [inlined] (repeats 2 times)
│ [14] enable_mkl_startup(::String) at C:\Users\kumar\.julia\packages\MKL\9dWbC\src\install.jl:138
│ [15] top-level scope at C:\Users\kumar\.julia\packages\MKL\9dWbC\deps\build.jl:9
│ [16] include at .\boot.jl:328 [inlined]
│ [17] include_relative(::Module, ::String) at .\loading.jl:1105
│ [18] include(::Module, ::String) at .\Base.jl:31
│ [19] include(::String) at .\client.jl:424
│ [20] top-level scope at none:5
│ in expression starting at C:\Users\kumar\.julia\packages\MKL\9dWbC\deps\build.jl:9
│ caused by [exception 1]
│ IOError: symlink: operation not permitted (EPERM)
│ Stacktrace:
│ [1] uv_error at .\libuv.jl:97 [inlined]
│ [2] symlink(::String, ::String) at .\file.jl:851
│ [3] probe_symlink_creation(::String) at C:\Users\kumar\.julia\packages\BinaryProvider\kcGxO\src\PlatformEngines.jl:121
│ [4] #probe_platform_engines!#30(::Bool, ::typeof(BinaryProvider.probe_platform_engines!)) at C:\Users\kumar\.julia\packages\BinaryProvider\kcGxO\src\PlatformEngines.jl:175
│ [5] probe_platform_engines! at C:\Users\kumar\.julia\packages\BinaryProvider\kcGxO\src\PlatformEngines.jl:169 [inlined]
│ [6] __init__() at C:\Users\kumar\.julia\packages\BinaryProvider\kcGxO\src\BinaryProvider.jl:28
│ [7] _include_from_serialized(::String, ::Array{Any,1}) at .\loading.jl:692
│ [8] _require_search_from_serialized(::Base.PkgId, ::String) at .\loading.jl:776
│ [9] _require(::Base.PkgId) at .\loading.jl:1001
│ [10] require(::Base.PkgId) at .\loading.jl:922
│ [11] require(::Module, ::Symbol) at .\loading.jl:917
│ [12] include at .\boot.jl:328 [inlined]
│ [13] include_relative(::Module, ::String) at .\loading.jl:1105
│ [14] include(::Module, ::String) at .\Base.jl:31
│ [15] include(::String) at .\client.jl:424
│ [16] top-level scope at C:\Users\kumar\.julia\packages\MKL\9dWbC\deps\build.jl:4
│ [17] include at .\boot.jl:328 [inlined]
│ [18] include_relative(::Module, ::String) at .\loading.jl:1105
│ [19] include(::Module, ::String) at .\Base.jl:31
│ [20] include(::String) at .\client.jl:424
│ [21] top-level scope at none:5
│ Build shared library "C:\\Users\\kumar\\.julia\\packages\\PackageCompiler\\4yNnV\\sysimg\\backup\\native\\sys.dll":
│ `'C:\Users\kumar\.julia\packages\WinRPM\BfpQI\deps\usr\x86_64-w64-mingw32\sys-root\mingw\bin\gcc.exe' --sysroot 'C:\Users\kumar\.julia\packages\WinRPM\BfpQI\deps\usr\x86_64-w64-mingw32\sys-root' -shared '-DJULIAC_PROGRAM_LIBNAME="C:\Users\kumar\.julia\packages\PackageCompiler\4yNnV\sysimg\backup\native\sys.dll"' -o 'C:\Users\kumar\.julia\packages\PackageCompiler\4yNnV\sysimg\backup\native\sys.dll' -Wl,--whole-archive 'C:\Users\kumar\.julia\packages\PackageCompiler\4yNnV\sysimg\backup\native\sys.o' -Wl,--no-whole-archive -std=gnu99 '-IC:\Users\kumar\AppData\Local\Julia-1.3.1\include\julia' -DJULIA_ENABLE_THREADING=1 '-LC:\Users\kumar\AppData\Local\Julia-1.3.1\bin' -Wl,--stack,8388608 -ljulia -lopenlibm -m64 -Wl,--export-all-symbols`
│
│ Full log at C:\Users\kumar\.julia\packages\MKL\9dWbC\deps\build.log
└ @ Pkg.Operations D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\backwards_compatible_isolation.jl:649
The full log is not saved as threatened above.
Any pointers on what may be going wrong?
Thanks, Kumar