Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

precompilation errors with 1.6.0-rc-2 and windows10 non-administrator #40021

Closed
fpmenninger opened this issue Mar 14, 2021 · 17 comments
Closed

Comments

@fpmenninger
Copy link

fpmenninger commented Mar 14, 2021

julia> versioninfo()
Julia Version 1.6.0-rc2
Commit 4b6b9fe4d7 (2021-03-11 07:05 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i7-4810MQ CPU @ 2.80GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-11.0.1 (ORCJIT, haswell)
Environment:
  JULIA_DEPOT_PATH = E:\ProgramFiles\Julia\.julia
  JULIA_PKGDIR = E:\ProgramFiles\Julia\.julia

following is error report when updating after starting julia without administrator priveledges.
(No errors if start as administrator.)

               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.6.0-rc2 (2021-03-11)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

(@v1.6) pkg> up
    Updating registry at `E:\ProgramFiles\Julia\.julia\registries\General`
    Updating git-repo `https://github.com/JuliaRegistries/General.git`
    Updating git-repo `https://github.com/BioJulia/WaveletMatrices.jl`
    Updating git-repo `https://github.com/BioJulia/FMIndexes.jl`
┌ Warning: failed to extract archive downloaded from https://pkg.julialang.org/package/23fbe1c1-3f47-55db-b15f-69d7ec21a316/fbc08b5a78e264ba3d19da90b36ce1789ca67a40
└ @ Pkg.Operations C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Operations.jl:590
┌ Warning: failed to extract archive downloaded from https://api.github.com/repos/korsbo/Latexify.jl/tarball/fbc08b5a78e264ba3d19da90b36ce1789ca67a40
└ @ Pkg.Operations C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Operations.jl:590
     Cloning [23fbe1c1-3f47-55db-b15f-69d7ec21a316] Latexify from https://github.com/korsbo/Latexify.jl.git
   Installed Latexify ─ v0.14.11
  No Changes to `E:\ProgramFiles\Julia\.julia\environments\v1.6\Project.toml`
    Updating `E:\ProgramFiles\Julia\.julia\environments\v1.6\Manifest.toml`
  [23fbe1c1] ↑ Latexify v0.14.10 ⇒ v0.14.11
Precompiling project...
  Progress [>                                        ]  0/6
  ◓ Latexify
┌ Error: Pkg.precompile error
│   exception =
│    IOError: chmod("E:\\ProgramFiles\\Julia\\.julia\\compiled\\v1.6\\Latexify\\AItXo_VYJjm.ji", 0o777): unknown error (UNKNOWN)
│    Stacktrace:
│      [1] uv_error
│        @ .\libuv.jl:97 [inlined]
│      [2] chmod(path::String, mode::UInt16; recursive::Bool)
│        @ Base.Filesystem .\file.jl:1090
│      [3] chmod
│        @ .\file.jl:1089 [inlined]
│      [4] rm(path::String; force::Bool, recursive::Bool)
│        @ Base.Filesystem .\file.jl:269
│      [5] checkfor_mv_cp_cptree(src::String, dst::String, txt::String; force::Bool)
│        @ Base.Filesystem .\file.jl:310
│      [6] cp(src::String, dst::String; force::Bool, follow_symlinks::Bool)
│        @ Base.Filesystem .\file.jl:349
│      [7] rename(src::String, dst::String; force::Bool)
│        @ Base.Filesystem .\file.jl:943
│      [8] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IOBuffer, internal_stdout::Base.DevNull)
│        @ Base .\loading.jl:1351
│      [9] (::Pkg.API.var"#212#237"{IOBuffer, String, Base.PkgId})()
│        @ Pkg.API C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:1132
│     [10] with_logstate(f::Function, logstate::Any)
│        @ Base.CoreLogging .\logging.jl:491
│     [11] with_logger
│        @ .\logging.jl:603 [inlined]
│     [12] macro expansion
│        @ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:1131 [inlined]
│     [13] (::Pkg.API.var"#209#234"{Bool, Vector{Task}, Pkg.API.var"#handle_interrupt#227"{Base.Event, ReentrantLock, Base.TTY}, Pkg.API.var"#color_string#225", Base.Event, Base.Event, ReentrantLock, Vector{Base.PkgId}, Vector{Base.PkgId}, Dict{Base.PkgId, String}, Vector{Base.PkgId}, Vector{Base.PkgId}, Dict{Base.PkgId, Bool}, Dict{Base.PkgId, Base.Event}, Dict{Base.PkgId, Bool}, Dict{Base.UUID, Pkg.Types.PackageEntry}, Vector{Base.PkgId}, Bool, Base.TTY, Base.Semaphore, String, Vector{String}, Vector{Base.PkgId}, Base.PkgId})()
  Progress [>                                        ]  0/5
  ◑ Latexify

(@v1.6) pkg>

@KristofferC
Copy link
Member

Closing in favour of #40024.

@fpmenninger
Copy link
Author

Making the change of #40026
in the base/file.jl does not appear to resolve issue #40021 locally.
This issue seems related to #38411.
Very similar stacktrace as bkamins post in #38411 (last one in thread made about one week ago.)

@fpmenninger fpmenninger changed the title precompilation errors with rc-2 and windows10 non-administrator precompilation errors with 1.6.0-rc-2 and windows10 non-administrator Mar 14, 2021
@KristofferC
Copy link
Member

KristofferC commented Mar 14, 2021

Making the change of #40026 in the base/file.jl does not appear to resolve issue #40021 locally.

You also need to rebuilt Julia to see the change, the source files are not used.

But yes, it is possible the precompile error is not related.

@KristofferC KristofferC reopened this Mar 14, 2021
@fpmenninger
Copy link
Author

fpmenninger commented Mar 14, 2021 via email

@KristofferC
Copy link
Member

You could do

@eval Base.Filesystem begin
# paste the whole new `symlink` function here
end

and it will update immidiately.

@fpmenninger
Copy link
Author

Tried the above.
Still have precompilation error with stacktrace as above.

@KristofferC
Copy link
Member

KristofferC commented Mar 15, 2021

Could you empty out .julia/compiled and try again? Does loading the package also give the same error?

@lungben
Copy link
Contributor

lungben commented Mar 15, 2021

I got the same error. Julia 1.5.x and 1.6-rc-1 work fine for me.

Strangely, this error occurs only on one of my two Windows 10 machines (both without Admin privileges).

@HaoxuanGuo
Copy link

In Windows 10 developer mode, symbol link is enabled without Administrator privillege. But the problem (failed to extract archive downloaded from …) is still on.

@KristofferC
Copy link
Member

@HaoxuanGuo, can you run

using Pkg
Pkg.add(url="https://github.com/giordano/DebugArtifacts.jl")
using DebugArtifacts
debug_artifact("Rmath")

@HaoxuanGuo
Copy link

HaoxuanGuo commented Mar 15, 2021

julia> debug_artifact("Rmath")
[ Info: Platform: Windows x86_64 {cxxstring_abi=cxx11, julia_version=1.6.0, libgfortran_version=5.0.0}
Julia Version 1.6.0-rc2
Commit 4b6b9fe4d7 (2021-03-11 07:05 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: AMD Ryzen 9 5950X 16-Core Processor
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-11.0.1 (ORCJIT, generic)

[ Info: Downloading Artifacts.toml to C:\Users\skyair\AppData\Local\Temp\jl_TnSuOt\Artifacts.toml...
[ Info: Extracting artifact info for platform x86_64-w64-mingw32-libgfortran5-cxx11-julia_version+1.6.0...
[ Info: Found meta object with git-tree-sha1 72e73d324066b2760195d47f2b659d818cd65c42, attempting download...
ERROR: schannel: failed to receive handshake, SSL/TLS connection failed while requesting https://github.com/JuliaBinaryWrappers/Rmath_jll.jl/releases/download/Rmath-v0.2.2+1/Rmath.v0.2.2.x86_64-w64-mingw32.tar.gz
Stacktrace:
  [1] (::Downloads.var"#9#18"{IOStream, Base.DevNull, Nothing, Vector{Pair{String, String}}, Float64, Downloads.var"#24#27"{Pkg.PlatformEngines.var"#13#15"{Base.TTY}}, Bool, Bool, String, Int64, Bool, Bool})(easy::Downloads.Curl.Easy)
    @ Downloads C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Downloads\src\Downloads.jl:356
  [2] with_handle(f::Downloads.var"#9#18"{IOStream, Base.DevNull, Nothing, Vector{Pair{String, String}}, Float64, Downloads.var"#24#27"{Pkg.PlatformEngines.var"#13#15"{Base.TTY}}, Bool, Bool, String, Int64, Bool, Bool}, handle::Downloads.Curl.Easy)
    @ Downloads.Curl C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Downloads\src\Curl\Curl.jl:60
  [3] #8
    @ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Downloads\src\Downloads.jl:298 [inlined]
  [4] arg_write(f::Downloads.var"#8#17"{Base.DevNull, Nothing, Vector{Pair{String, String}}, Float64, Downloads.var"#24#27"{Pkg.PlatformEngines.var"#13#15"{Base.TTY}}, Bool, Bool, String, Int64, Bool, Bool}, arg::IOStream)
    @ ArgTools C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\ArgTools\src\ArgTools.jl:112
  [5] #7
    @ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Downloads\src\Downloads.jl:297 [inlined]
  [6] arg_read(f::Downloads.var"#7#16"{IOStream, Nothing, Vector{Pair{String, String}}, Float64, Downloads.var"#24#27"{Pkg.PlatformEngines.var"#13#15"{Base.TTY}}, Bool, Bool, String, Int64, Bool, Bool}, arg::Base.DevNull)
    @ ArgTools C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\ArgTools\src\ArgTools.jl:61
  [7] request(url::String; input::Nothing, output::IOStream, method::Nothing, headers::Vector{Pair{String, String}}, timeout::Float64, progress::Pkg.PlatformEngines.var"#13#15"{Base.TTY}, verbose::Bool, throw::Bool, downloader::Nothing)
    @ Downloads C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Downloads\src\Downloads.jl:296
  [8] (::Downloads.var"#3#4"{Nothing, Vector{Pair{String, String}}, Float64, Pkg.PlatformEngines.var"#13#15"{Base.TTY}, Bool, Nothing, String})(output::IOStream)
    @ Downloads C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Downloads\src\Downloads.jl:209
  [9] open(f::Downloads.var"#3#4"{Nothing, Vector{Pair{String, String}}, Float64, Pkg.PlatformEngines.var"#13#15"{Base.TTY}, Bool, Nothing, String}, args::String; kwargs::Base.Iterators.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:write,), Tuple{Bool}}})
    @ Base .\io.jl:330
 [10] arg_write(f::Function, arg::String)
    @ ArgTools C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\ArgTools\src\ArgTools.jl:86
 [11] #download#2
    @ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Downloads\src\Downloads.jl:208 [inlined]
 [12] download(url::String, dest::String; verbose::Bool, headers::Vector{Pair{String, String}}, auth_header::Nothing)
    @ Pkg.PlatformEngines C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\PlatformEngines.jl:270
 [13] download_verify(url::String, hash::String, dest::String; verbose::Bool, force::Bool, quiet_download::Bool)
    @ Pkg.PlatformEngines C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\PlatformEngines.jl:333
 [14] download_verify_unpack(url::String, hash::String, dest::String; tarball_path::Nothing, ignore_existence::Bool, force::Bool, verbose::Bool, quiet_download::Bool)
    @ Pkg.PlatformEngines C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\PlatformEngines.jl:486
 [15] (::DebugArtifacts.var"#3#4"{String, Base.BinaryPlatforms.Platform, String})(tmp_dir::String)
    @ DebugArtifacts ~\.julia\packages\DebugArtifacts\VcVh2\src\DebugArtifacts.jl:65
 [16] mktempdir(fn::DebugArtifacts.var"#3#4"{String, Base.BinaryPlatforms.Platform, String}, parent::String; prefix::String)
    @ Base.Filesystem .\file.jl:729
 [17] mktempdir
    @ .\file.jl:727 [inlined]
 [18] debug_artifact(artifact_name::String, platform::Base.BinaryPlatforms.Platform)
    @ DebugArtifacts ~\.julia\packages\DebugArtifacts\VcVh2\src\DebugArtifacts.jl:53
 [19] debug_artifact(artifact_name::String)
    @ DebugArtifacts ~\.julia\packages\DebugArtifacts\VcVh2\src\DebugArtifacts.jl:43
 [20] top-level scope
    @ REPL[3]:1

But I can download it with my browser (Microsoft Edge) directly.
@KristofferC

@fpmenninger
Copy link
Author

fpmenninger commented Mar 15, 2021

@KristofferC
Yes. Thank you.

After emptying .julia/compiled/v1.6
and then running the following to update the symlink function
precompilation occurred without errors here.
This looks like the solution, but I have only the single success.

@lungben Could you see if this solution works for you?

julia> @eval Base.Filesystem begin
       """
           symlink(target::AbstractString, link::AbstractString; dir_target = false)

       Creates a symbolic link to `target` with the name `link`.

       On Windows, symlinks must be explicitly declared as referring to a directory
       or not.  If `target` already exists, by default the type of `link` will be auto-
       detected, however if `target` does not exist, this function defaults to creating
       a file symlink unless `dir_target` is set to `true`.  Note that if the user
       sets `dir_target` but `target` exists and is a file, a directory symlink will
       still be created, but dereferencing the symlink will fail, just as if the user
       creates a file symlink (by calling `symlink()` with `dir_target` set to `false`
       before the directory is created) and tries to dereference it to a directory.

       Additionally, there are two methods of making a link on Windows; symbolic links
       and junction points.  Junction points are slightly more efficient, but do not
       support relative paths, so if a relative directory symlink is requested (as
       denoted by `isabspath(target)` returning `false`) a symlink will be used, else
       a junction point will be used.  Best practice for creating symlinks on Windows
       is to create them only after the files/directories they reference are already
       created.

       !!! note
           This function raises an error under operating systems that do not support
           soft symbolic links, such as Windows XP.

       !!! compat "Julia 1.6"
           The `dir_target` keyword argument was added in Julia 1.6.  Prior to this,
           symlinks to nonexistant paths on windows would always be file symlinks, and
           relative symlinks to directories were not supported.
       """
       function symlink(target::AbstractString, link::AbstractString;
                        dir_target::Bool = false)
           @static if Sys.iswindows()
               if Sys.windows_version() < Sys.WINDOWS_VISTA_VER
                   error("Windows XP does not support soft symlinks")
               end
           end
           flags = 0
           @static if Sys.iswindows()
               # If we're going to create a directory link, we need to know beforehand.
               # First, if `target` is not an absolute path, let's immediately resolve
               # it so that we can peek and see if it's a directory.
               resolved_target = target
               if !isabspath(target)
                   resolved_target = joinpath(dirname(link), target)
               end

               # If it is a directory (or `dir_target` is set), we'll need to add one
               # of `UV_FS_SYMLINK_{DIR,JUNCTION}` to the flags, depending on whether
               # `target` is an absolute path or not.
               if (ispath(resolved_target) && isdir(resolved_target)) || dir_target
                   if isabspath(target)
                       flags |= UV_FS_SYMLINK_JUNCTION
                   else
                       flags |= UV_FS_SYMLINK_DIR
                   end
               end
           end
           err = ccall(:jl_fs_symlink, Int32, (Cstring, Cstring, Cint), target, link, flags)
           if err < 0
               msg = "symlink($(repr(target)), $(repr(link)))"
               @static if Sys.iswindows()
                   # creating file/directory symlinks requires Administrator privileges
                   # while junction points apparently do not
                   if !flags & UV_FS_SYMLINK_JUNCTION == 0 && err == UV__EPERM
                       msg = "On Windows, creating symlinks requires Administrator privileges.\n$msg"
                   end
               end
               uv_error(msg, err)
           end
           return nothing
       end
       end

@lungben
Copy link
Contributor

lungben commented Mar 15, 2021

After evaluating your code above, I still get the same error message when trying to install a new package:

(@v1.6) pkg> add JLD
  Installing known registries into `C:\Users\xxx\.julia`
     Cloning registry from "https://github.com/JuliaRegistries/General.git"
       Added registry `General` to `C:\Users\xxx\.julia\registries\General`
   Resolving package versions...
┌ Warning: failed to extract archive downloaded from https://pkg.julialang.org/package/0234f1f7-429e-5d53-9886-15a909be8d59/fd83fa0bde42e01952757f01149dd968c06c4dba
└ @ Pkg.Operations C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Operations.jl:590
┌ Warning: failed to extract archive downloaded from https://pkg.julialang.org/package/0b7ba130-8d10-5ba8-a3d6-c5182647fed9/aa9ef39b54a168c3df1b2911e7797e4feee50fbe
...

julia> versioninfo()
Julia Version 1.6.0-rc2
Commit 4b6b9fe4d7 (2021-03-11 07:05 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-11.0.1 (ORCJIT, skylake)
Environment:
  JULIA_NUM_THREADS = 4

@KristofferC
Copy link
Member

@lungben can you try

using Pkg
Pkg.add(url="https://github.com/giordano/DebugArtifacts.jl")
using DebugArtifacts
debug_artifact("Rmath")

@lungben
Copy link
Contributor

lungben commented Mar 15, 2021

Sure, here is the output:

julia> debug_artifact("Rmath")
[ Info: Platform: Windows x86_64 {cxxstring_abi=cxx11, julia_version=1.6.0, libgfortran_version=5.0.0}
Julia Version 1.6.0-rc2
Commit 4b6b9fe4d7 (2021-03-11 07:05 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-11.0.1 (ORCJIT, skylake)
Environment:
  JULIA_NUM_THREADS = 4

[ Info: Downloading Artifacts.toml to C:\Users\xxx\AppData\Local\Temp\jl_eFDaMM\Artifacts.toml...
[ Info: Extracting artifact info for platform x86_64-w64-mingw32-libgfortran5-cxx11-julia_version+1.6.0...
[ Info: Found meta object with git-tree-sha1 72e73d324066b2760195d47f2b659d818cd65c42, attempting download...
[ Info: No hash cache found
[ Info: Calculated hash 6662a51b784988cdb83a5f0fede944ad1530ae84ecb816baeaa27e808fdf4cac for file C:\Users\xxx\AppData\Local\Temp\jl_p2cE0k9HFo-download.gz
[ Info: Unpacking C:\Users\xxx\AppData\Local\Temp\jl_p2cE0k9HFo-download.gz into C:\Users\xxx\AppData\Local\Temp\jl_eFDaMM\unpacked...
ERROR: IOError: unlink("C:\\Users\\xxx\\AppData\\Local\\Temp\\jl_p2cE0k9HFo-download.gz"): resource busy or locked (EBUSY)
Stacktrace:
  [1] uv_error
    @ .\libuv.jl:97 [inlined]
  [2] unlink(p::String)
    @ Base.Filesystem .\file.jl:934
  [3] rm(path::String; force::Bool, recursive::Bool)
    @ Base.Filesystem .\file.jl:272
  [4] rm
    @ .\file.jl:263 [inlined]
  [5] download_verify_unpack(url::String, hash::String, dest::String; tarball_path::Nothing, ignore_existence::Bool, force::Bool, verbose::Bool, quiet_download::Bool)
    @ Pkg.PlatformEngines C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\PlatformEngines.jl:514
  [6] (::DebugArtifacts.var"#3#4"{String, Base.BinaryPlatforms.Platform, String})(tmp_dir::String)
    @ DebugArtifacts ~\.julia\packages\DebugArtifacts\VcVh2\src\DebugArtifacts.jl:65
  [7] mktempdir(fn::DebugArtifacts.var"#3#4"{String, Base.BinaryPlatforms.Platform, String}, parent::String; prefix::String)
    @ Base.Filesystem .\file.jl:729
  [8] mktempdir
    @ .\file.jl:727 [inlined]
  [9] debug_artifact(artifact_name::String, platform::Base.BinaryPlatforms.Platform)
    @ DebugArtifacts ~\.julia\packages\DebugArtifacts\VcVh2\src\DebugArtifacts.jl:53
 [10] debug_artifact(artifact_name::String)
    @ DebugArtifacts ~\.julia\packages\DebugArtifacts\VcVh2\src\DebugArtifacts.jl:43
 [11] top-level scope
    @ REPL[4]:1

caused by: MethodError: no method matching !(::Int64)
Closest candidates are:
  !(::Bool) at bool.jl:33
  !(::Function) at operators.jl:969
  !(::Missing) at missing.jl:101
Stacktrace:
  [1] symlink(target::String, link::String; dir_target::Bool)
    @ Base.Filesystem .\file.jl:1042
  [2] symlink
    @ .\file.jl:1010 [inlined]
  [3] can_symlink(dir::String)
    @ Tar C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Tar\src\Tar.jl:25
  [4] #75
    @ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Tar\src\Tar.jl:198 [inlined]
  [5] arg_mkdir(f::Tar.var"#75#78"{Base.Process, Base.DevNull, Tar.var"#1#2"}, arg::String)
    @ ArgTools C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\ArgTools\src\ArgTools.jl:163
  [6] #74
    @ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Tar\src\Tar.jl:196 [inlined]
  [7] arg_read(f::Tar.var"#74#77"{Base.DevNull, Tar.var"#1#2", String}, arg::Base.Process)
    @ ArgTools C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\ArgTools\src\ArgTools.jl:61
  [8] extract(predicate::Function, tarball::Base.Process, dir::String; skeleton::Nothing, copy_symlinks::Nothing)
    @ Tar C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Tar\src\Tar.jl:195
  [9] #extract#80
    @ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Tar\src\Tar.jl:217 [inlined]
 [10] (::Pkg.PlatformEngines.var"#24#26"{String})(io::Base.Process)
    @ Pkg.PlatformEngines C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\PlatformEngines.jl:510
 [11] open(::Pkg.PlatformEngines.var"#24#26"{String}, ::Cmd; kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
    @ Base .\process.jl:393
 [12] open
    @ .\process.jl:391 [inlined]
 [13] download_verify_unpack(url::String, hash::String, dest::String; tarball_path::Nothing, ignore_existence::Bool, force::Bool, verbose::Bool, quiet_download::Bool)
    @ Pkg.PlatformEngines C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\PlatformEngines.jl:509
 [14] (::DebugArtifacts.var"#3#4"{String, Base.BinaryPlatforms.Platform, String})(tmp_dir::String)
    @ DebugArtifacts ~\.julia\packages\DebugArtifacts\VcVh2\src\DebugArtifacts.jl:65
 [15] mktempdir(fn::DebugArtifacts.var"#3#4"{String, Base.BinaryPlatforms.Platform, String}, parent::String; prefix::String)
    @ Base.Filesystem .\file.jl:729
 [16] mktempdir
    @ .\file.jl:727 [inlined]
 [17] debug_artifact(artifact_name::String, platform::Base.BinaryPlatforms.Platform)
    @ DebugArtifacts ~\.julia\packages\DebugArtifacts\VcVh2\src\DebugArtifacts.jl:53
 [18] debug_artifact(artifact_name::String)
    @ DebugArtifacts ~\.julia\packages\DebugArtifacts\VcVh2\src\DebugArtifacts.jl:43
 [19] top-level scope
    @ REPL[4]:1

@KristofferC
Copy link
Member

caused by: MethodError: no method matching !(::Int64)
Closest candidates are:
  !(::Bool) at bool.jl:33
  !(::Function) at operators.jl:969
  !(::Missing) at missing.jl:101

Then you didn't manage to get the fixed version of the symlink function with the @eval.

@lungben
Copy link
Contributor

lungben commented Mar 18, 2021

RC-3 works fine for me, thanks for fixing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants