-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Need to test installation of packages from fresh master build #5615
Comments
The function call that is causing Pkg to seize up is julia> Pkg.add("IJulia")
INFO: Cloning cache of BinDeps from git://github.com/JuliaLang/BinDeps.jl.git
INFO: Cloning cache of Homebrew from git://github.com/JuliaLang/Homebrew.jl.git
INFO: Cloning cache of IJulia from git://github.com/JuliaLang/IJulia.jl.git
INFO: Cloning cache of JSON from git://github.com/JuliaLang/JSON.jl.git
INFO: Cloning cache of Nettle from git://github.com/staticfloat/Nettle.jl.git
INFO: Cloning cache of REPLCompletions from git://github.com/loladiro/REPLCompletions.jl.git
INFO: Cloning cache of URIParser from git://github.com/loladiro/URIParser.jl.git
INFO: Cloning cache of ZMQ from git://github.com/JuliaLang/ZMQ.jl.git
INFO: Installing BinDeps v0.2.12
fatal: destination path 'BinDeps' already exists and is not an empty directory.
ERROR: failed process: Process(`git clone -q /Users/jiahao/.julia/v0.3/BinDeps BinDeps`, ProcessExited(128)) [128]
in pipeline_error at process.jl:480
in run at process.jl:457
in install at pkg/write.jl:28
in resolve at pkg/entry.jl:406
in resolve at pkg/entry.jl:363
in edit at pkg/entry.jl:24
in anonymous at multi.jl:1308
ERROR: failed process: Process(`git clone -q /Users/jiahao/.julia/v0.3/BinDeps BinDeps`, ProcessExited(128)) [128]
in wait at task.jl:40
in sync_end at multi.jl:1229
in add at pkg/entry.jl:1237
in add at pkg/entry.jl:71
in anonymous at pkg/dir.jl:27
in cd at file.jl:22
in cd at pkg/dir.jl:27
in add at pkg.jl:20 |
The state of the package database is also completely broken at this point: julia> Pkg.rm("BinDeps")
INFO: No packages to install, update or remove
INFO: Package database updated
julia> Pkg.add("BinDeps")
INFO: No packages to install, update or remove
INFO: Package database updated
julia> Pkg.add("IJulia")
INFO: No packages to install, update or remove
INFO: Package database updated
julia> Pkg.rm("IJulia")
INFO: No packages to install, update or remove
INFO: Package database updated
julia> Pkg.add("IJulia")
INFO: No packages to install, update or remove
INFO: Package database updated |
Could we add this test to the travis build? |
I've reverted the commit for now. Adding a test for adding/removing a simple package shouldn't be too difficult, perhaps just adding/removing |
Reopening as a test issue. |
A test for |
I dont't know if this is a result of the realpath error, but there is a test, that shows, that something from the last build went wrong:
Citation from @simonbyrne: |
Yes, it would be nice to include @kmsquire, @ihnorton on my local OSX machine, running 651dde7 I still see a realpath error when running
|
It doesn't need to be included in |
That's the other option I thought of, and is probably the smart thing to do first, rather than shipping with |
@staticfloat I'm looking now. |
@staticfloat, the error in pkg-test should be fixed by 59acba9. Thanks for keeping up with this, and sorry I haven't been more responsive! |
|
Agreed, the core of this issue has been addressed. |
From a fresh build of master and without an existing
~/.julia
directory:The text was updated successfully, but these errors were encountered: