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

Downloads broken #44

Closed
davidanthoff opened this issue Jul 31, 2015 · 7 comments · Fixed by #46
Closed

Downloads broken #44

davidanthoff opened this issue Jul 31, 2015 · 7 comments · Fixed by #46

Comments

@davidanthoff
Copy link
Collaborator

For about a week the whole WinRPM thing seems broken. I'm on Julia 0.3.11, but had the same problem on 0.3.10. Things worked well before. There error I get is this:

INFO: Installing WinRPM v0.1.10
INFO: Building WinRPM
WARNING: skipping repodata/repomd.xml, not in cache -- call WinRPM.update() to download
WARNING: skipping repodata/repomd.xml, not in cache -- call WinRPM.update() to download
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_13.1//repodata/repomd.xml
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_13.1//repodata/23f5431d23fca99bb9c7fbb0f83d56aa374d4b9190a5a85e07b7d34f29321cd1-primary.xml.gz
WARNING: Unknown download failure, error code: 2148270085
WARNING: Retry 1/5 downloading: http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_13.1//repodata/23f5431d23fca99bb9c7fbb0f83d56aa374d4b9190a5a85e07b7d34f29321cd1-primary.xml.gz
WARNING: Unknown download failure, error code: 2148270085
WARNING: Retry 2/5 downloading: http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_13.1//repodata/23f5431d23fca99bb9c7fbb0f83d56aa374d4b9190a5a85e07b7d34f29321cd1-primary.xml.gz
WARNING: Unknown download failure, error code: 2148270085
WARNING: Retry 3/5 downloading: http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_13.1//repodata/23f5431d23fca99bb9c7fbb0f83d56aa374d4b9190a5a85e07b7d34f29321cd1-primary.xml.gz
WARNING: Unknown download failure, error code: 2148270085
WARNING: Retry 4/5 downloading: http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_13.1//repodata/23f5431d23fca99bb9c7fbb0f83d56aa374d4b9190a5a85e07b7d34f29321cd1-primary.xml.gz
WARNING: Unknown download failure, error code: 2148270085
WARNING: Retry 5/5 downloading: http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_13.1//repodata/23f5431d23fca99bb9c7fbb0f83d56aa374d4b9190a5a85e07b7d34f29321cd1-primary.xml.gz
WARNING: received error 0 while downloading http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_13.1//repodata/23f5431d23fca99bb9c7fbb0f83d56aa374d4b9190a5a85e07b7d34f29321cd1-primary.xml.gz
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_13.1//repodata/repomd.xml
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_13.1//repodata/ae8a5b03124f88cbdc1364823a2cd09621b57a2044d38f1ab4659fb27438ffa5-primary.xml.gz
WARNING: Unknown download failure, error code: 2148270085
WARNING: Retry 1/5 downloading: http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_13.1//repodata/ae8a5b03124f88cbdc1364823a2cd09621b57a2044d38f1ab4659fb27438ffa5-primary.xml.gz
WARNING: Unknown download failure, error code: 2148270085
WARNING: Retry 2/5 downloading: http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_13.1//repodata/ae8a5b03124f88cbdc1364823a2cd09621b57a2044d38f1ab4659fb27438ffa5-primary.xml.gz
WARNING: Unknown download failure, error code: 2148270085
WARNING: Retry 3/5 downloading: http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_13.1//repodata/ae8a5b03124f88cbdc1364823a2cd09621b57a2044d38f1ab4659fb27438ffa5-primary.xml.gz
WARNING: Unknown download failure, error code: 2148270085
WARNING: Retry 4/5 downloading: http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_13.1//repodata/ae8a5b03124f88cbdc1364823a2cd09621b57a2044d38f1ab4659fb27438ffa5-primary.xml.gz
WARNING: Unknown download failure, error code: 2148270085
WARNING: Retry 5/5 downloading: http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_13.1//repodata/ae8a5b03124f88cbdc1364823a2cd09621b57a2044d38f1ab4659fb27438ffa5-primary.xml.gz
WARNING: received error 0 while downloading http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_13.1//repodata/ae8a5b03124f88cbdc1364823a2cd09621b57a2044d38f1ab4659fb27438ffa5-primary.xml.gz

Do others have the same problem? Any idea what could be done about this? Maybe some mirror URL that I could add to sources.list? Any help would be appreciated.

@tkelman, sorry to bug you with this, but you seem the all-things-windows-related guru ;)

@tkelman
Copy link
Contributor

tkelman commented Aug 1, 2015

I've been noticing the same thing and been meaning to figure out what to do about it. It hasn't been causing any problems on the buildbots, or appveyor for packages as far as I can tell, so it may be location-dependent. Try adding

ftp://anorien.csc.warwick.ac.uk/download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_13.1/
ftp://anorien.csc.warwick.ac.uk/download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_13.1/

to your sources.list and see if that works any better.

tkelman added a commit that referenced this issue Aug 3, 2015
hopefully fixes #36, #44
@tkelman tkelman mentioned this issue Aug 3, 2015
@tkelman
Copy link
Contributor

tkelman commented Aug 3, 2015

Alternately, instead of modifying your sources.list or changing WinRPM.sources, you could try Pkg.checkout("WinRPM", "tk/cache") (likely would need to fetch first). Let me know if that works.

tkelman added a commit that referenced this issue Aug 3, 2015
hopefully fixes #44, #36
@davidanthoff
Copy link
Collaborator Author

This is what I get for the "tk/cache" branch:

PS C:\Users\David\.julia\v0.3\WinRPM> julia
               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "help()" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.3.11 (2015-07-27 06:18 UTC)
 _/ |\__'_|_|_|\__'_|  |  Official http://julialang.org/ release
|__/                   |  x86_64-w64-mingw32

julia> Pkg.checkout("WinRPM", "tk/cache")
INFO: Checking out WinRPM tk/cache...
INFO: Pulling WinRPM latest tk/cache...
INFO: No packages to install, update or remove

julia> using WinRPM
WARNING: skipping repodata/repomd.xml, not in cache -- call WinRPM.update() to download
WARNING: skipping repodata/repomd.xml, not in cache -- call WinRPM.update() to download

julia> WinRPM.update()
INFO: Downloading https://cache.e.ip.saba.us/http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_13
.1/repodata/repomd.xml
INFO: Downloading https://cache.e.ip.saba.us/http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_13
.1/repodata/771e8fc3838f4ad8a200b6f86ca8dfaae3722ee78e620cb59b88e3fab6a2b6b2-primary.xml.gz
INFO: Downloading https://cache.e.ip.saba.us/http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_13
.1/repodata/repomd.xml
INFO: Downloading https://cache.e.ip.saba.us/http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_13
.1/repodata/00ba41dca3e4b7513ea127f905945c97df09ebcf30ecdf1d3d2d5989fe7b2232-primary.xml.gz

julia> Pkg.build("Ipopt")
INFO: Building WinRPM
INFO: Downloading https://cache.e.ip.saba.us/http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_13
.1/repodata/repomd.xml
INFO: Downloading https://cache.e.ip.saba.us/http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_13
.1/repodata/repomd.xml
INFO: Downloading https://cache.e.ip.saba.us/http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_13
.1/repodata/771e8fc3838f4ad8a200b6f86ca8dfaae3722ee78e620cb59b88e3fab6a2b6b2-primary.xml.gz
INFO: Building Ipopt
INFO: Updating WinRPM package list
INFO: Downloading https://cache.e.ip.saba.us/http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_13
.1/repodata/repomd.xml
INFO: Downloading https://cache.e.ip.saba.us/http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_13
.1/repodata/repomd.xml
====================================================[ ERROR: Ipopt ]====================================================


None of the selected providers can install dependency libipopt.
Use BinDeps.debug(package_name) to see available providers

while loading C:\Users\David\.julia\v0.3\Ipopt\deps\build.jl, in expression starting on line 72

========================================================================================================================


====================================================[ BUILD ERRORS ]====================================================


WARNING: Ipopt had build errors.

 - packages with build errors remain installed in C:\Users\David\.julia\v0.3
 - build the package(s) and all dependencies with `Pkg.build("Ipopt")`
 - build a single package by running its `deps/build.jl` script

========================================================================================================================


julia>

I'll try the other option next.

@davidanthoff
Copy link
Collaborator Author

Replacing all entries in sources.list with only the two warwick urls, then manually deleting the whole cache in the WinRPM package directory worked. Thanks!

@tkelman
Copy link
Contributor

tkelman commented Aug 5, 2015

Any chance you could try out the tk/cache branch again? You can temporarily move Pkg.dir("WinRPM","deps","usr") and Pkg.dir("WinRPM","installed.list") out of the way and restore them after testing. The warwick url seemed a bit slow for me and I'm not sure if it'll be reliable enough for everyone to make it the default. We did some tweaking on the cache server a couple days ago and I think it should be working now.

@davidanthoff
Copy link
Collaborator Author

Yes, now it worked. I tried it on master, after you had merged your tk/cache branch. Thanks!

@tkelman
Copy link
Contributor

tkelman commented Aug 7, 2015

Great, thanks for testing. Sorry I got impatient and went ahead with it after local testing was working quite well.

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

Successfully merging a pull request may close this issue.

2 participants