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

Pkg.add("WinRPM") error (WARNING: received error 0 while downloading) #27

Closed
zapazite opened this issue Jun 25, 2014 · 51 comments
Closed

Comments

@zapazite
Copy link

           _

_ _ ()_ | A fresh approach to technical computing
() | () () | Documentation: http://docs.julialang.org
_ _ | | __ _ | Type "help()" to list help topics
| | | | | | |/ ` | |
| | |
| | | | (
| | | Version 0.3.0-prerelease+3841 (2014-06-22 11:24 UTC)
/ |_'|||__'| | Commit b6ebf91 (2 days old master)
|__/ | x86_64-w64-mingw32

julia> Pkg.add("WinRPM")
INFO: Installing BinDeps v0.2.14
INFO: Installing HTTPClient v0.1.4
INFO: Installing LibCURL v0.1.3
INFO: Installing LibExpat v0.0.4
INFO: Installing URIParser v0.0.2
INFO: Installing URLParse v0.0.0
INFO: Installing WinRPM v0.0.14
INFO: Installing Zlib v0.1.7
INFO: Building LibCURL
WARNING: skipping repodata/aee5879c2f6a0919d05907dcb04969d20a05c74c991513fce859b
6a0e9f675ef-primary.xml.gz, not in cache -- call WinRPM.update() to download
INFO: Updating WinRPM package list
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win3
2/openSUSE_Factory//repodata/repomd.xml
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win3
2/openSUSE_Factory//repodata/aee5879c2f6a0919d05907dcb04969d20a05c74c991513fce85
9b6a0e9f675ef-primary.xml.gz
WARNING: received error 0 while downloading http://download.opensuse.org/reposit
ories/windows:/mingw:/win32/openSUSE_Factory//repodata/aee5879c2f6a0919d05907dcb
04969d20a05c74c991513fce859b6a0e9f675ef-primary.xml.gz
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win6
4/openSUSE_Factory//repodata/repomd.xml
INFO: Packages to install: libgpg-error-lang, libgpg-error, libgcc, libsqlite3-0
, libidn-lang, libgcrypt, libintl, libidn, mozilla-nss, zlib, mozilla-nspr, libs
sh2, libcurl
INFO: Downloading: libgpg-error-lang
INFO: try running WinRPM.update() and retrying the install
===============================[ ERROR: LibCURL ]===============================

failed to download libgpg-error-lang 0 from http://download.opensuse.org/reposit
ories/windows:/mingw:/win64/openSUSE_Factory//noarch/mingw64-libgpg-error-lang-1
.12-3.15.noarch.rpm.
while loading C:\Users\Maxime.julia\v0.3\LibCURL\deps\build.jl, in expression s
tarting on line 13

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

WARNING: LibCURL had build errors.

  • packages with build errors remain installed in C:\Users\Maxime.julia\v0.3
  • build a package and all its dependencies with Pkg.build(pkg)
  • build a single package by running its deps/build.jl script

INFO: Package database updated

julia> WinRPM.update()
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win3
2/openSUSE_Factory//repodata/repomd.xml
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win3
2/openSUSE_Factory//repodata/aee5879c2f6a0919d05907dcb04969d20a05c74c991513fce85
9b6a0e9f675ef-primary.xml.gz
WARNING: received error 0 while downloading http://download.opensuse.org/reposit
ories/windows:/mingw:/win32/openSUSE_Factory//repodata/aee5879c2f6a0919d05907dcb
04969d20a05c74c991513fce859b6a0e9f675ef-primary.xml.gz
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win6
4/openSUSE_Factory//repodata/repomd.xml

julia> Version.i
ERROR: Version not defined

julia> Versioninfo()
ERROR: Versioninfo not defined

julia> versioninfo()
Julia Version 0.3.0-prerelease+3841
Commit b6ebf91 (2014-06-22 11:24 UTC)
Platform Info:
System: Windows (x86_64-w64-mingw32)
CPU: Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY)
LAPACK: libopenblas
LIBM: libopenlibm

julia>

I have the same problem with julia 0.2

thanks for help

@ihnorton
Copy link
Member

This must be a connection issue - I just ran WinRPM.update() several times without any error. Does your internet connection use a proxy server?

@ihnorton
Copy link
Member

cross-linking JuliaGraphics/Winston.jl#158

@ihnorton
Copy link
Member

(although a proxied connection should work, because we are using the Windows API to download files)

@BartKroon
Copy link

Same for me:

julia> WinRPM.update()
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Factory//repodata/repomd.xml
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Factory//repodata/8f70e2c263bb70ad72eb0122587216a34bb165e385b0a558447edb518
WARNING: received error 0 while downloading http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Factory//repodata/8f70e2c263bb70ad72eb0122587216a
primary.xml.gz
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_Factory//repodata/repomd.xml
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_Factory//repodata/c2d57356c4845c5366f448bfb1dfa699500b6c671308c9b547ffefb22
WARNING: received error 0 while downloading http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_Factory//repodata/c2d57356c4845c5366f448bfb1dfa69
primary.xml.gz

I can open the first and third link in my browser but on the second and fourth one I get a 404, repeatedly.

The first and third links shows an XML file with three data sections. When I browse to http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_Factory//repodata/ then I see those three locations, but when I click on one of them, I get a 404. Same for the win32 link.

@zapazite
Copy link
Author

zapazite commented Jul 7, 2014

I live in Belgium and I have friends with the same problem.
If I stop my antivirus, my firewall and I shut down wiffi (I plug a connexion cable)
Some of the "WARNING: received error 0 while downloading" error are solves

But it is RANDOM sometimes I get 3 errors sometimes only 1.

I went to France for holidays and after 2 try I finnaly finnish the installation without any errors.

But now I am back home and I need to update WinRPM again.

Sadly I have again the downloading error.

thanks

@ihnorton
Copy link
Member

ihnorton commented Jul 8, 2014

@vtjnash should we make download retry a couple times on Windows? (optionally?)

@vtjnash
Copy link
Member

vtjnash commented Jul 8, 2014

I'm not sure. It couldn't hurt to try however.

@BartKroon
Copy link

Today I tried again and WinRPM.update() worked on the second try.

I have a consistently fast and proper wired connection so I expect that it is the server that is having hickups.

Update: and now I am stuck with Pkg.build("Cairo") for the same reason:

julia> Pkg.build("Cairo")
INFO: Building LibCURL
INFO: Packages to install: libgpg-error-lang, libgpg-error, libgcc, libsqlite3-0, libidn-lang, libgcrypt, libintl, libidn, libssh2, mozilla-nspr, mozilla-nss, zlib, libcurl
INFO: Downloading: libgpg-error-lang
INFO: try running WinRPM.update() and retrying the install
===========================================================================================[ ERROR: LibCURL ]===========================================================================================


failed to download libgpg-error-lang 0 from http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_Factory//noarch/mingw64-libgpg-error-lang-1.12-3.19.noarch.rpm.
while loading H:\.julia\v0.3\LibCURL\deps\build.jl, in expression starting on line 13

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

INFO: Building Cairo
INFO: Packages to install: glib2-lang, libintl, libffi, zlib, glib2
INFO: Downloading: glib2-lang
INFO: try running WinRPM.update() and retrying the install
============================================================================================[ ERROR: Cairo ]============================================================================================


failed to download glib2-lang 0 from http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_Factory//noarch/mingw64-glib2-lang-2.40.0-1.19.noarch.rpm.
while loading H:\.julia\v0.3\Cairo\deps\build.jl, in expression starting on line 129

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


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


WARNING: LibCURL and Cairo had build errors.

 - packages with build errors remain installed in H:\.julia\v0.3
 - build a package and all its dependencies with `Pkg.build(pkg)`
 - build a single package by running its `deps/build.jl` script

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

I tried a couple of times.

@alamont
Copy link

alamont commented Jul 11, 2014

download.opensuse.org redirects you to a mirror. Unfortunately a lot of mirrors are not up to date.

Replace source.list in the WinRPM directory with the following to use an EU mirror which seems to be up to date:

http://ftp5.gwdg.de/pub/opensuse/repositories/windows:/mingw:/win32/openSUSE_Factory/
http://ftp5.gwdg.de/pub/opensuse/repositories/windows:/mingw:/win64/openSUSE_Factory/

@BartKroon
Copy link

Thanks Andres, this solves the issue for me!

2014-07-11 14:41 GMT+02:00 Andres Lamont notifications@github.com:

download.opensuse.org redirects you to a mirror. Unfortunately a lot of
mirrors are not up to date.

Replace source.list in the WinRPM directory with the following to use an
EU mirror which seems to be up to date:

http://ftp5.gwdg.de/pub/opensuse/repositories/windows:/mingw:/win32/openSUSE_Factory/http://ftp5.gwdg.de/pub/opensuse/repositories/windows:/mingw:/win64/openSUSE_Factory/


Reply to this email directly or view it on GitHub
#27 (comment).


Bart Kroon
Graspol 24
5658 GH Eindhoven
msn: bart.kroon@gmail.com
Tel.: +31 (0)40 7877737
GSM: +31 (0)6 27248320

@tkelman
Copy link
Contributor

tkelman commented Jul 12, 2014

vtjnash should we make download retry a couple times on Windows? (optionally?)

💯

@stonebig
Copy link

Trying again today more closely
If I put in sources.list a "/" at the end

http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Factory/
http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_Factory/

I get the first file repodata%2frepomd.xml
But we see that there is an "ugly" double-slash ('//') at the end of the windows (or internet) directories.
==> could it be the problem ? ( a double-slash at the middle of a windows or internet path)
(abstract)

:/mingw:/win32/openSUSE_Factory//repodata/

(of)

julia> WinRPM.update()
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win3
2/openSUSE_Factory//repodata/repomd.xml
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win3
2/openSUSE_Factory//repodata/ba00a985089b7c20b212fed9f241a06d1939b809c09c76d0042
1f96d30790d62-primary.xml.gz
WARNING: received error 0 while downloading http://download.opensuse.org/reposit
ories/windows:/mingw:/win32/openSUSE_Factory//repodata/ba00a985089b7c20b212fed9f
241a06d1939b809c09c76d00421f96d30790d62-primary.xml.gz

If I remove the last dash "/" in the sources.list, I get no wired path, but no repomd.xml file either.

@BartKroon
Copy link

Hi stonebig,

Did you try alamont's suggestion?

  1. Edit sources.list as suggested
  2. WinRPM.update()
  3. Restart Julia interpreter
  4. Pkg.build("WinRPM")

That uggly slash does not seem to be the problem because the URL's all end with a slash:

http://ftp5.gwdg.de/pub/opensuse/repositories/windows:/mingw:/win32/openSUSE_Factory/
http://ftp5.gwdg.de/pub/opensuse/repositories/windows:/mingw:/win64/openSUSE_Factory/

Versus

http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Factory/
http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_Factory/

@stonebig
Copy link

Yes, I did try at least 5 times since the beginning of the day, with "/" with no "/", every variation I could imagine.
Here is my try of 1 minute ago. Maybe a recent change in Julia makes it fail ?

D:\result_tests\WinPython-32bit-3.4.1.1_build04\scripts>julia
               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "help()" to list help topics
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.3.0-rc1 (2014-07-14 02:04 UTC)
 _/ |\__'_|_|_|\__'_|  |  Official http://julialang.org/ build
|__/                   |  i686-w64-mingw32

julia> import WinRPM
WARNING: skipping repodata/fc3e9543f2d8a747495fa14c657ac6dcc475eeb684f1ccc0bab1a
f5967d5b375-primary.xml.gz, not in cache -- call WinRPM.update() to download
WARNING: skipping repodata/repomd.xml, not in cache -- call WinRPM.update() to d
ownload

julia> WinRPM.update()
INFO: Downloading http://ftp5.gwdg.de/pub/opensuse/repositories/windows:/mingw:/
win32/openSUSE_Factory//repodata/repomd.xml
INFO: Downloading http://ftp5.gwdg.de/pub/opensuse/repositories/windows:/mingw:/
win32/openSUSE_Factory//repodata/fc3e9543f2d8a747495fa14c657ac6dcc475eeb684f1ccc
0bab1af5967d5b375-primary.xml.gz
WARNING: encounted invalid data while parsing repomd
ERROR: opening file D:\result_tests\WinPython-32bit-3.4.1.1_build04\settings\.ju
lia\v0.3\WinRPM\cache\http%3a%2f%2fftp5.gwdg.de%2fpub%2fopensuse%2frepositories%
2fwindows%3a%2fmingw%3a%2fwin32%2fopenSUSE_Factory%2f\repodata%2ffc3e9543f2d8a74
7495fa14c657ac6dcc475eeb684f1ccc0bab1af5967d5b375-primary.xml: No such file or d
irectory

julia>

I see a nice directory on my disk
D:\result_tests\WinPython-32bit-3.4.1.1_build04\settings.julia\v0.3\WinRPM\cache\ftp%3a%2f%2fftp5.gwdg.de%2fpub%2fopensuse%2frepositories%2fwindows%3a%2fmingw%3a%2fwin32%2fopenSUSE_Factory

It contains the file repodata%2frepomd.xml

Which contains itself

<?xml version="1.0" encoding="UTF-8"?>
<repomd xmlns="http://linux.duke.edu/metadata/repo" xmlns:rpm="http://linux.duke.edu/metadata/rpm">
 <revision>1405278179</revision>
 <tags>
   <repo>obsrepository://build.opensuse.org/windows:mingw:win32/openSUSE_Factory</repo>
 </tags>
<data type="filelists">
  <checksum type="sha256">d7061c876ecc24ec1fe7be99e8a519eaccc10550f84427b6635772fe98085519</checksum>
  <open-checksum type="sha256">27e17fbf5af78ddc38229be15c4d7b75b6d2a267355057ba3a9593ca9c15d68c</open-checksum>
  <location href="repodata/d7061c876ecc24ec1fe7be99e8a519eaccc10550f84427b6635772fe98085519-filelists.xml.gz"/>
  <timestamp>1405278190</timestamp>
  <size>946031</size>
  <open-size>15808956</open-size>
</data>
<data type="other">
  <checksum type="sha256">f3bc795bd669c91830d7abaabd563f75417dac62a88d1e414c7dc03083cdfc63</checksum>
  <open-checksum type="sha256">4839efbb210862230a2dc1372746d42651fbbdbe0d2c2d16c06e3a797b808a39</open-checksum>
  <location href="repodata/f3bc795bd669c91830d7abaabd563f75417dac62a88d1e414c7dc03083cdfc63-other.xml.gz"/>
  <timestamp>1405278190</timestamp>
  <size>82142</size>
  <open-size>343762</open-size>
</data>
<data type="primary">
  <checksum type="sha256">fc3e9543f2d8a747495fa14c657ac6dcc475eeb684f1ccc0bab1af5967d5b375</checksum>
  <open-checksum type="sha256">c1d7e325f14febb0586df0ca105396e006ffb73486231d743361bb36205cfec4</open-checksum>
  <location href="repodata/fc3e9543f2d8a747495fa14c657ac6dcc475eeb684f1ccc0bab1af5967d5b375-primary.xml.gz"/>
  <timestamp>1405278190</timestamp>
  <size>292299</size>
  <open-size>2632568</open-size>
</data>
</repomd>

It's coded in "ansi" on my disk, so I suppose there is no Byte-Order-Mark that would disturb a linux program.... What can I do that would help find the issue ?
If I read well, the error is because the download of the second file doesn't succeed, or doesn't land where expected, and repomd.xml seems wrongly accused of infamy

if the "/" is normal at the end of the sources.list lines, maybe should we replace

info("Downloading $source/$path")
data = download("$source/$path")

per

info("Downloading $source$path")
data = download("$source$path")

@stanpetit
Copy link

Hi everybody.
Still running on windows XP sp3

Version 0.3.0-rc1 (2014-07-14 02:04 UTC)   
Official http://julialang.org/ build   
i686-w64-mingw32

runs fine from the console.
The new links provided by @alamont work great.
I was trying to install IJulia for the 100th time and Nettle got built for the first time but there is still a pitfall with LibCURL.
I retry for LibCURL :

julia> Pkg.build("LibCURL")
INFO: Building LibCURL
INFO: Updating WinRPM package list
INFO: Downloading http://ftp5.gwdg.de/pub/opensuse/repositories/windows:/mingw:/win32/openSUSE_Factory//repoda
ta/repomd.xml
INFO: Downloading http://ftp5.gwdg.de/pub/opensuse/repositories/windows:/mingw:/win32/openSUSE_Factory//repoda
ta/ba00a985089b7c20b212fed9f241a06d1939b809c09c76d00421f96d30790d62-primary.xml.gz
WARNING: encounted invalid data while parsing repomd
==============================================[ ERROR: LibCURL ]==============================================


opening file C:\Documents and Settings\Administrateur\.julia\v0.3\WinRPM\cache\http%3a%2f%2fftp5.gwdg.de%2fpub
%2fopensuse%2frepositories%2fwindows%3a%2fmingw%3a%2fwin32%2fopenSUSE_Factory%2f\repodata%2fba00a985089b7c20b2
12fed9f241a06d1939b809c09c76d00421f96d30790d62-primary.xml: No such file or directory
while loading C:\Documents and Settings\Administrateur\.julia\v0.3\LibCURL\deps\build.jl, in expression starti
ng on line 13

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


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


WARNING: LibCURL had build errors.

 - packages with build errors remain installed in C:\Documents and Settings\Administrateur\.julia\v0.3
 - build a package and all its dependencies with `Pkg.build(pkg)`
 - build a single package by running its `deps/build.jl` script

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

What's up doc ?

@stonebig
Copy link

Could it be possible that julia-download implementation on Windows misses a "wait for completion", because of Windows vs Linux threads implementation differences ?

@vtjnash
Copy link
Member

vtjnash commented Jul 14, 2014

It doesn't use threads. It uses the Windows IE download API.

@ihnorton
Copy link
Member

Fixed in 0643240 and JuliaLang/METADATA.jl@cc5320c

Let's see how this works for now. I was getting many failures just now, but with the retry option everything succeeds after 1 or 2 retries.
Beyond that, our options are:

  1. file bugs with OpenSUSE about bad mirrors
  2. host things ourselves

@stonebig
Copy link

Issue seems still there on my Windows 7 64 bit, but I'm not 100% certain I did patch perfectly my installation. I'll check again for RC2

@ihnorton
Copy link
Member

Could you please try julia> Pkg.update() to get the latest version (the fix is in the WinRPM package, not base Julia, so updating should be sufficient).

@stonebig
Copy link

I did, and I did apply the patch by hand on the source. Still, I'm pretty new to Julia and I can have missed a step.

@tkelman
Copy link
Contributor

tkelman commented Jul 14, 2014

What does Pkg.installed("WinRPM") say? Is there any extra label after WinRPM in the list you get from versioninfo(true)? Did you restart Julia? Are you seeing downloads retry, but all failing 5 times in a row?

@stonebig
Copy link

(sorry going to bed now, it's midnight here)

D:\result_tests\WinPython-32bit-3.4.1.1_build04\scripts>julia
               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "help()" to list help topics
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.3.0-rc1 (2014-07-14 02:04 UTC)
 _/ |\__'_|_|_|\__'_|  |  Official http://julialang.org/ build
|__/                   |  i686-w64-mingw32

julia> Pkg.installed("WinRPM")
v"0.0.15"

julia> versioninfo(true)
Julia Version 0.3.0-rc1
Commit 3737cc2 (2014-07-14 02:04 UTC)
Platform Info:
  System: Windows (i686-w64-mingw32)
  CPU: Intel(R) Core(TM) i3 CPU       M 350  @ 2.27GHz
  WORD_SIZE: 32
           Microsoft Windows [version 6.1.7601]
  uname: MINGW32_NT-6.1 1.0.12(0.46/3/2) 2012-07-05 14:56 i686 unknown
Memory: 3.8025970458984375 GB (1220.734375 MB free)
Uptime: 149739.2150801 sec
Load Avg:  0.0  0.0  0.0
Intel(R) Core(TM) i3 CPU       M 350  @ 2.27GHz:
       speed         user       nice        sys       idle        irq ticks
#1  2261 MHz   22530631          0    8151504  119057685     391156 ticks
#2  2261 MHz    5404202          0    2947482  141387543     944648 ticks
#3  2261 MHz   18640512          0    7967563  123131027     911732 ticks
#4  2261 MHz    3494500          0    2415379  143829099     867162 ticks

  BLAS: libopenblas (DYNAMIC_ARCH NO_AFFINITY Nehalem)
  LAPACK: libopenblas
  LIBM: libopenlibm
Environment:
  HOME = D:\result_tests\WinPython-32bit-3.4.1.1_build04\scripts\..\python-3.4.1
\..\settings
  HOMEDRIVE = C:
  HOMEPATH = \Users\famille
  JULIA = D:\result_tests\WinPython-32bit-3.4.1.1_build04\scripts\..\python-3.4.
1\..\tools\Julia-0.3.0-rc1\bin\julia.exe
  JULIA_EXE = julia.exe
  JULIA_HOME = D:\result_tests\WinPython-32bit-3.4.1.1_build04\scripts\..\python
-3.4.1\..\tools\Julia-0.3.0-rc1\bin\
  PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.RB;.RBW;.PY
  SYS_PATH = D:\result_tests\WinPython-32bit-3.4.1.1_build04\scripts\..\python-3
.4.1\Lib\site-packages\PyQt4;D:\result_tests\WinPython-32bit-3.4.1.1_build04\scr
ipts\..\python-3.4.1\;D:\result_tests\WinPython-32bit-3.4.1.1_build04\scripts\..
\python-3.4.1\DLLs;D:\result_tests\WinPython-32bit-3.4.1.1_build04\scripts\..\py
thon-3.4.1\Scripts;D:\result_tests\WinPython-32bit-3.4.1.1_build04\scripts\..\py
thon-3.4.1\..\tools;D:\result_tests\WinPython-32bit-3.4.1.1_build04\scripts\..\p
ython-3.4.1\..\tools\gnuwin32\bin;D:\result_tests\WinPython-32bit-3.4.1.1_build0
4\scripts\..\python-3.4.1\..\tools\mingw32\bin;C:\Python34\;C:\Python34\Scripts;
C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x8
6)\Common Files\Microsoft Shared\Windows Live;C:\Users\Lauriane\Downloads\ruby-S
cite\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\Syst
em32\WindowsPowerShell\v1.0\;c:\Program Files (x86)\Common Files\Ulead Systems\M
PEG;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files
\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow6
4;C:\Program Files (x86)\Windows Live\Shared;C:\Users\Lauriane\Downloads\Install
\android-sdk-windows\tools;C:\Program Files (x86)\Microsoft SQL Server\100\Tools
\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Mi
crosoft SQL Server\100\DTS\Binn\;C:\Program Files\Common Files\Microsoft Shared\
Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C
:\Users\Lauriane\Downloads\ruby-Scite\bin;C:\Windows\system32;C:\Windows;C:\Wind
ows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program Files (
x86)\Common Files\Ulead Systems\MPEG;C:\Program Files (x86)\ATI Technologies\ATI
.ACE\Core-Static;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\W
IDCOMM\Bluetooth Software\syswow64;C:\Program Files (x86)\Windows Live\Shared;C:
\Users\Lauriane\Downloads\Install\android-sdk-windows\tools;C:\Program Files (x8
6)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\10
0\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Users\famil
le\AppData\Local\Programs\Git\cmd;D:\result_tests\WinPython-32bit-3.4.1.1_build0
4\scripts\..\python-3.4.1\..\tools\TortoiseHg
  VBOX_INSTALL_PATH = D:\Program Files\Oracle\VirtualBox\

Package Directory: D:\result_tests\WinPython-32bit-3.4.1.1_build04\settings\.jul
ia\v0.3
3 required packages:
 - IJulia                        0.1.12
 - Tk                            0.2.13
 - WinRPM                        0.0.15             06432407 (dirty)
13 additional packages:
 - BinDeps                       0.2.14
 - Cairo                         0.2.14
 - Color                         0.2.10
 - HTTPClient                    0.1.4
 - JSON                          0.3.7
 - LibCURL                       0.1.3
 - LibExpat                      0.0.4
 - Nettle                        0.1.4
 - REPLCompletions               0.0.1
 - URIParser                     0.0.2
 - URLParse                      0.0.0
 - ZMQ                           0.1.12
 - Zlib                          0.1.7

julia>

@ihnorton
Copy link
Member

@stonebig please try:

julia> cd(Pkg.dir("WinRPM"))
shell>; git reset HEAD --hard

to get a clean WinRPM directory, and then:

Pkg.build("WinRPM")

@tkelman
Copy link
Contributor

tkelman commented Jul 14, 2014

Nevermind @ihnorton's simultaneous post is better, do that instead

@stonebig
Copy link

try 1

D:\result_tests\WinPython-32bit-3.4.1.1_build04\scripts>julia
               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "help()" to list help topics
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.3.0-rc1 (2014-07-14 02:04 UTC)
 _/ |\__'_|_|_|\__'_|  |  Official http://julialang.org/ build
|__/                   |  i686-w64-mingw32

julia> cd(Pkg.dir("WinRPM"))

shell>  git reset HEAD --hard
HEAD is now at 0643240 Retry downloads x5 on Windows due to shaky upstream mirro
rs

julia> Pkg.build("WinRPM")
INFO: Building LibCURL
WARNING: skipping repodata/a6ef8c1d413fdba19add0ffef38ceee2aa29e8e8b2e42d46c5b22
2569ca5c134-primary.xml.gz, not in cache -- call WinRPM.update() to download
WARNING: skipping repodata/repomd.xml, not in cache -- call WinRPM.update() to d
ownload
INFO: Updating WinRPM package list
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win3
2/openSUSE_Factory//repodata/repomd.xml
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win3
2/openSUSE_Factory//repodata/a6ef8c1d413fdba19add0ffef38ceee2aa29e8e8b2e42d46c5b
222569ca5c134-primary.xml.gz
WARNING: Unknown download failure, error code: 2148270086
WARNING: Retry 1/5 downloading: http://download.opensuse.org/repositories/window
s:/mingw:/win32/openSUSE_Factory//repodata/a6ef8c1d413fdba19add0ffef38ceee2aa29e
8e8b2e42d46c5b222569ca5c134-primary.xml.gz
WARNING: encounted invalid data while parsing repomd
===============================[ ERROR: LibCURL ]===============================


opening file D:\result_tests\WinPython-32bit-3.4.1.1_build04\settings\.julia\v0.
3\WinRPM\cache\http%3a%2f%2fdownload.opensuse.org%2frepositories%2fwindows%3a%2f
mingw%3a%2fwin32%2fopenSUSE_Factory%2f\repodata%2fa6ef8c1d413fdba19add0ffef38cee
e2aa29e8e8b2e42d46c5b222569ca5c134-primary.xml: No such file or directory
while loading D:\result_tests\WinPython-32bit-3.4.1.1_build04\settings\.julia\v0
.3\LibCURL\deps\build.jl, in expression starting on line 13

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


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


WARNING: LibCURL had build errors.

 - packages with build errors remain installed in D:\result_tests\WinPython-32bi
t-3.4.1.1_build04\settings\.julia\v0.3
 - build a package and all its dependencies with `Pkg.build(pkg)`
 - build a single package by running its `deps/build.jl` script

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


julia> Pkg.Build("LibCURL")
ERROR: Build not defined

julia> Pkg.build("LibCURL")
INFO: Building LibCURL
INFO: Updating WinRPM package list
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win3
2/openSUSE_Factory//repodata/repomd.xml
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win3
2/openSUSE_Factory//repodata/a6ef8c1d413fdba19add0ffef38ceee2aa29e8e8b2e42d46c5b
222569ca5c134-primary.xml.gz
WARNING: Unknown download failure, error code: 2148270086
WARNING: Retry 1/5 downloading: http://download.opensuse.org/repositories/window
s:/mingw:/win32/openSUSE_Factory//repodata/a6ef8c1d413fdba19add0ffef38ceee2aa29e
8e8b2e42d46c5b222569ca5c134-primary.xml.gz
WARNING: Unknown download failure, error code: 2148270086
WARNING: Retry 2/5 downloading: http://download.opensuse.org/repositories/window
s:/mingw:/win32/openSUSE_Factory//repodata/a6ef8c1d413fdba19add0ffef38ceee2aa29e
8e8b2e42d46c5b222569ca5c134-primary.xml.gz
WARNING: Unknown download failure, error code: 2148270086
WARNING: Retry 3/5 downloading: http://download.opensuse.org/repositories/window
s:/mingw:/win32/openSUSE_Factory//repodata/a6ef8c1d413fdba19add0ffef38ceee2aa29e
8e8b2e42d46c5b222569ca5c134-primary.xml.gz
WARNING: Unknown download failure, error code: 2148270086
WARNING: Retry 4/5 downloading: http://download.opensuse.org/repositories/window
s:/mingw:/win32/openSUSE_Factory//repodata/a6ef8c1d413fdba19add0ffef38ceee2aa29e
8e8b2e42d46c5b222569ca5c134-primary.xml.gz
WARNING: Unknown download failure, error code: 2148270086
WARNING: Retry 5/5 downloading: http://download.opensuse.org/repositories/window
s:/mingw:/win32/openSUSE_Factory//repodata/a6ef8c1d413fdba19add0ffef38ceee2aa29e
8e8b2e42d46c5b222569ca5c134-primary.xml.gz
WARNING: received error 0 while downloading http://download.opensuse.org/reposit
ories/windows:/mingw:/win32/openSUSE_Factory//repodata/a6ef8c1d413fdba19add0ffef
38ceee2aa29e8e8b2e42d46c5b222569ca5c134-primary.xml.gz
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win6
4/openSUSE_Factory//repodata/repomd.xml
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win6
4/openSUSE_Factory//repodata/127b64096c2ede2b82e28e5f23f8ddc0f798de4fb81e04f5df3
4b10155f7f9f9-primary.xml.gz
WARNING: Unknown download failure, error code: 2148270086
WARNING: Retry 1/5 downloading: http://download.opensuse.org/repositories/window
s:/mingw:/win64/openSUSE_Factory//repodata/127b64096c2ede2b82e28e5f23f8ddc0f798d
e4fb81e04f5df34b10155f7f9f9-primary.xml.gz
WARNING: Unknown download failure, error code: 2148270086
WARNING: Retry 2/5 downloading: http://download.opensuse.org/repositories/window
s:/mingw:/win64/openSUSE_Factory//repodata/127b64096c2ede2b82e28e5f23f8ddc0f798d
e4fb81e04f5df34b10155f7f9f9-primary.xml.gz
WARNING: Unknown download failure, error code: 2148270086
WARNING: Retry 3/5 downloading: http://download.opensuse.org/repositories/window
s:/mingw:/win64/openSUSE_Factory//repodata/127b64096c2ede2b82e28e5f23f8ddc0f798d
e4fb81e04f5df34b10155f7f9f9-primary.xml.gz
WARNING: Unknown download failure, error code: 2148270086
WARNING: Retry 4/5 downloading: http://download.opensuse.org/repositories/window
s:/mingw:/win64/openSUSE_Factory//repodata/127b64096c2ede2b82e28e5f23f8ddc0f798d
e4fb81e04f5df34b10155f7f9f9-primary.xml.gz
WARNING: Unknown download failure, error code: 2148270086
WARNING: Retry 5/5 downloading: http://download.opensuse.org/repositories/window
s:/mingw:/win64/openSUSE_Factory//repodata/127b64096c2ede2b82e28e5f23f8ddc0f798d
e4fb81e04f5df34b10155f7f9f9-primary.xml.gz
WARNING: received error 0 while downloading http://download.opensuse.org/reposit
ories/windows:/mingw:/win64/openSUSE_Factory//repodata/127b64096c2ede2b82e28e5f2
3f8ddc0f798de4fb81e04f5df34b10155f7f9f9-primary.xml.gz
===============================[ ERROR: LibCURL ]===============================


None of the selected providers can install dependency libcurl-4
while loading D:\result_tests\WinPython-32bit-3.4.1.1_build04\settings\.julia\v0
.3\LibCURL\deps\build.jl, in expression starting on line 13

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


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


WARNING: LibCURL had build errors.

 - packages with build errors remain installed in D:\result_tests\WinPython-32bi
t-3.4.1.1_build04\settings\.julia\v0.3
 - build a package and all its dependencies with `Pkg.build(pkg)`
 - build a single package by running its `deps/build.jl` script

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


julia>

ok, changing sources.list again

http://ftp5.gwdg.de/pub/opensuse/repositories/windows:/mingw:/win32/openSUSE_Factory/
http://ftp5.gwdg.de/pub/opensuse/repositories/windows:/mingw:/win64/openSUSE_Factory/

try2

D:\result_tests\WinPython-32bit-3.4.1.1_build04\scripts>julia
               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "help()" to list help topics
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.3.0-rc1 (2014-07-14 02:04 UTC)
 _/ |\__'_|_|_|\__'_|  |  Official http://julialang.org/ build
|__/                   |  i686-w64-mingw32

julia> Pkg.build("LibCURL")
INFO: Building LibCURL
WARNING: skipping repodata/ba00a985089b7c20b212fed9f241a06d1939b809c09c76d00421f
96d30790d62-primary.xml.gz, not in cache -- call WinRPM.update() to download
WARNING: skipping repodata/repomd.xml, not in cache -- call WinRPM.update() to d
ownload
INFO: Updating WinRPM package list
INFO: Downloading http://ftp5.gwdg.de/pub/opensuse/repositories/windows:/mingw:/
win32/openSUSE_Factory//repodata/repomd.xml
INFO: Downloading http://ftp5.gwdg.de/pub/opensuse/repositories/windows:/mingw:/
win32/openSUSE_Factory//repodata/ba00a985089b7c20b212fed9f241a06d1939b809c09c76d
00421f96d30790d62-primary.xml.gz
WARNING: encounted invalid data while parsing repomd
===============================[ ERROR: LibCURL ]===============================


opening file D:\result_tests\WinPython-32bit-3.4.1.1_build04\settings\.julia\v0.
3\WinRPM\cache\http%3a%2f%2fftp5.gwdg.de%2fpub%2fopensuse%2frepositories%2fwindo
ws%3a%2fmingw%3a%2fwin32%2fopenSUSE_Factory%2f\repodata%2fba00a985089b7c20b212fe
d9f241a06d1939b809c09c76d00421f96d30790d62-primary.xml: No such file or director
y
while loading D:\result_tests\WinPython-32bit-3.4.1.1_build04\settings\.julia\v0
.3\LibCURL\deps\build.jl, in expression starting on line 13

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


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


WARNING: LibCURL had build errors.

 - packages with build errors remain installed in D:\result_tests\WinPython-32bi
t-3.4.1.1_build04\settings\.julia\v0.3
 - build a package and all its dependencies with `Pkg.build(pkg)`
 - build a single package by running its `deps/build.jl` script

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


julia>

Wouldn't it be a good idea to mirror Opensuse Mirrors to Github ?.

@ihnorton
Copy link
Member

For now, please try the following in your sources.list:

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

@ihnorton ihnorton reopened this Jul 15, 2014
@ihnorton
Copy link
Member

The gwdg mirror looks fine in comparison to warwick, and works to install several packages (for me).

If the problem persists, we need to figure out what is causing this:
WARNING: encounted invalid data while parsing repomd
because it seems that this parse failure is causing some older hash to be used, which then does not exist.

@stonebig
Copy link

Trying with warwick

D:\result_tests\WinPython-32bit-3.4.1.1_build04\scripts>julia
               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "help()" to list help topics
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.3.0-rc1 (2014-07-14 02:04 UTC)
 _/ |\__'_|_|_|\__'_|  |  Official http://julialang.org/ build
|__/                   |  i686-w64-mingw32

julia> Pkg.add("IJulia")
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/Keno/REPLCompletion
s.jl.git
INFO: Cloning cache of ZMQ from git://github.com/JuliaLang/ZMQ.jl.git
INFO: Installing IJulia v0.1.12
INFO: Installing JSON v0.3.7
INFO: Installing Nettle v0.1.4
INFO: Installing REPLCompletions v0.0.1
INFO: Installing ZMQ v0.1.12
INFO: Building LibCURL
WARNING: skipping repodata/repomd.xml, not in cache -- call WinRPM.update() to d
ownload
WARNING: skipping repodata/repomd.xml, not in cache -- call WinRPM.update() to d
ownload
INFO: Updating WinRPM package list
INFO: Downloading ftp://anorien.csc.warwick.ac.uk/download.opensuse.org/reposito
ries/windows:/mingw:/win32/openSUSE_Factory//repodata/repomd.xml
INFO: Downloading ftp://anorien.csc.warwick.ac.uk/download.opensuse.org/reposito
ries/windows:/mingw:/win32/openSUSE_Factory//repodata/a6ef8c1d413fdba19add0ffef3
8ceee2aa29e8e8b2e42d46c5b222569ca5c134-primary.xml.gz
WARNING: encounted invalid data while parsing repomd
===============================[ ERROR: LibCURL ]===============================


opening file D:\result_tests\WinPython-32bit-3.4.1.1_build04\settings\.julia\v0.
3\WinRPM\cache\ftp%3a%2f%2fanorien.csc.warwick.ac.uk%2fdownload.opensuse.org%2fr
epositories%2fwindows%3a%2fmingw%3a%2fwin32%2fopenSUSE_Factory%2f\repodata%2fa6e
f8c1d413fdba19add0ffef38ceee2aa29e8e8b2e42d46c5b222569ca5c134-primary.xml: No su
ch file or directory
while loading D:\result_tests\WinPython-32bit-3.4.1.1_build04\settings\.julia\v0
.3\LibCURL\deps\build.jl, in expression starting on line 13

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

INFO: Building Nettle
INFO: Updating WinRPM package list
INFO: Downloading ftp://anorien.csc.warwick.ac.uk/download.opensuse.org/reposito
ries/windows:/mingw:/win32/openSUSE_Factory//repodata/repomd.xml
INFO: Downloading ftp://anorien.csc.warwick.ac.uk/download.opensuse.org/reposito
ries/windows:/mingw:/win32/openSUSE_Factory//repodata/a6ef8c1d413fdba19add0ffef3
8ceee2aa29e8e8b2e42d46c5b222569ca5c134-primary.xml.gz
WARNING: encounted invalid data while parsing repomd
===============================[ ERROR: Nettle ]================================


opening file D:\result_tests\WinPython-32bit-3.4.1.1_build04\settings\.julia\v0.
3\WinRPM\cache\ftp%3a%2f%2fanorien.csc.warwick.ac.uk%2fdownload.opensuse.org%2fr
epositories%2fwindows%3a%2fmingw%3a%2fwin32%2fopenSUSE_Factory%2f\repodata%2fa6e
f8c1d413fdba19add0ffef38ceee2aa29e8e8b2e42d46c5b222569ca5c134-primary.xml: No su
ch file or directory
while loading D:\result_tests\WinPython-32bit-3.4.1.1_build04\settings\.julia\v0
.3\Nettle\deps\build.jl, in expression starting on line 35

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

Checking version after

Package Directory: D:\result_tests\WinPython-32bit-3.4.1.1_build04\settings\.jul
ia\v0.3
2 required packages:
 - IJulia                        0.1.12
 - WinRPM                        0.0.15             06432407 (dirty)
11 additional packages:
 - BinDeps                       0.2.14
 - HTTPClient                    0.1.4
 - JSON                          0.3.7
 - LibCURL                       0.1.3
 - LibExpat                      0.0.4
 - Nettle                        0.1.4
 - REPLCompletions               0.0.1
 - URIParser                     0.0.2
 - URLParse                      0.0.0
 - ZMQ                           0.1.12
 - Zlib                          0.1.7

another idea ? a source to patch to get more explicit error ?

@stonebig
Copy link

Here is a try with Julia 64 bit, importing Tk from normal sources.list, then change the sources.list and retry from Warwick.
There is a small variation in error messages.
When changing sources.list by hand, I'm dirtying WinRPM, could there be a side effect that make the repair not working well ?

D:\result_tests\WinPython-32bit-3.4.1.1_build04\scripts>julia
               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "help()" to list help topics
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.3.0-rc1 (2014-07-14 02:04 UTC)
 _/ |\__'_|_|_|\__'_|  |  Official http://julialang.org/ build
|__/                   |  x86_64-w64-mingw32

julia> Pkg.add("Tk")
INFO: Initializing package repository D:\result_tests\WinPython-32bit-3.4.1.1_bu
ild04\settings\.julia\v0.3
INFO: Cloning METADATA from git://github.com/JuliaLang/METADATA.jl
INFO: Cloning cache of BinDeps from git://github.com/JuliaLang/BinDeps.jl.git
INFO: Cloning cache of Cairo from git://github.com/JuliaLang/Cairo.jl.git
INFO: Cloning cache of Color from git://github.com/JuliaLang/Color.jl.git
INFO: Cloning cache of HTTPClient from git://github.com/amitmurthy/HTTPClient.jl
.git
INFO: Cloning cache of LibCURL from git://github.com/amitmurthy/LibCURL.jl.git
INFO: Cloning cache of LibExpat from git://github.com/amitmurthy/LibExpat.jl.git

INFO: Cloning cache of Tk from git://github.com/JuliaLang/Tk.jl.git
INFO: Cloning cache of URIParser from git://github.com/Keno/URIParser.jl.git
INFO: Cloning cache of URLParse from git://github.com/tanmaykm/URLParse.jl.git
INFO: Cloning cache of WinRPM from git://github.com/JuliaLang/WinRPM.jl.git
INFO: Cloning cache of Zlib from git://github.com/dcjones/Zlib.jl.git
INFO: Installing BinDeps v0.2.14
INFO: Installing Cairo v0.2.14
INFO: Installing Color v0.2.10
INFO: Installing HTTPClient v0.1.4
INFO: Installing LibCURL v0.1.3
INFO: Installing LibExpat v0.0.4
INFO: Installing Tk v0.2.13
INFO: Installing URIParser v0.0.2
INFO: Installing URLParse v0.0.0
INFO: Installing WinRPM v0.0.15
INFO: Installing Zlib v0.1.7
INFO: Building LibCURL
WARNING: skipping repodata/repomd.xml, not in cache -- call WinRPM.update() to d
ownload
WARNING: skipping repodata/repomd.xml, not in cache -- call WinRPM.update() to d
ownload
INFO: Updating WinRPM package list
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win3
2/openSUSE_Factory//repodata/repomd.xml
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win3
2/openSUSE_Factory//repodata/4f8ed3f26bc8b6d47689d3f5946d5ff722d5eb39f407b882a24
3b6a5e321cf80-primary.xml.gz
WARNING: Unknown download failure, error code: 2148270086
WARNING: Retry 1/5 downloading: http://download.opensuse.org/repositories/window
s:/mingw:/win32/openSUSE_Factory//repodata/4f8ed3f26bc8b6d47689d3f5946d5ff722d5e
b39f407b882a243b6a5e321cf80-primary.xml.gz
WARNING: Unknown download failure, error code: 2148270086
WARNING: Retry 2/5 downloading: http://download.opensuse.org/repositories/window
s:/mingw:/win32/openSUSE_Factory//repodata/4f8ed3f26bc8b6d47689d3f5946d5ff722d5e
b39f407b882a243b6a5e321cf80-primary.xml.gz
WARNING: Unknown download failure, error code: 2148270086
WARNING: Retry 3/5 downloading: http://download.opensuse.org/repositories/window
s:/mingw:/win32/openSUSE_Factory//repodata/4f8ed3f26bc8b6d47689d3f5946d5ff722d5e
b39f407b882a243b6a5e321cf80-primary.xml.gz
WARNING: Unknown download failure, error code: 2148270086
WARNING: Retry 4/5 downloading: http://download.opensuse.org/repositories/window
s:/mingw:/win32/openSUSE_Factory//repodata/4f8ed3f26bc8b6d47689d3f5946d5ff722d5e
b39f407b882a243b6a5e321cf80-primary.xml.gz
WARNING: Unknown download failure, error code: 2148270086
WARNING: Retry 5/5 downloading: http://download.opensuse.org/repositories/window
s:/mingw:/win32/openSUSE_Factory//repodata/4f8ed3f26bc8b6d47689d3f5946d5ff722d5e
b39f407b882a243b6a5e321cf80-primary.xml.gz
WARNING: received error 0 while downloading http://download.opensuse.org/reposit
ories/windows:/mingw:/win32/openSUSE_Factory//repodata/4f8ed3f26bc8b6d47689d3f59
46d5ff722d5eb39f407b882a243b6a5e321cf80-primary.xml.gz
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win6
4/openSUSE_Factory//repodata/repomd.xml
INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win6
4/openSUSE_Factory//repodata/127b64096c2ede2b82e28e5f23f8ddc0f798de4fb81e04f5df3
4b10155f7f9f9-primary.xml.gz
WARNING: Unknown download failure, error code: 2148270086
WARNING: Retry 1/5 downloading: http://download.opensuse.org/repositories/window
s:/mingw:/win64/openSUSE_Factory//repodata/127b64096c2ede2b82e28e5f23f8ddc0f798d
e4fb81e04f5df34b10155f7f9f9-primary.xml.gz
WARNING: Unknown download failure, error code: 2148270086
WARNING: Retry 2/5 downloading: http://download.opensuse.org/repositories/window
s:/mingw:/win64/openSUSE_Factory//repodata/127b64096c2ede2b82e28e5f23f8ddc0f798d
e4fb81e04f5df34b10155f7f9f9-primary.xml.gz
WARNING: Unknown download failure, error code: 2148270086
WARNING: Retry 3/5 downloading: http://download.opensuse.org/repositories/window
s:/mingw:/win64/openSUSE_Factory//repodata/127b64096c2ede2b82e28e5f23f8ddc0f798d
e4fb81e04f5df34b10155f7f9f9-primary.xml.gz
WARNING: Unknown download failure, error code: 2148270086
WARNING: Retry 4/5 downloading: http://download.opensuse.org/repositories/window
s:/mingw:/win64/openSUSE_Factory//repodata/127b64096c2ede2b82e28e5f23f8ddc0f798d
e4fb81e04f5df34b10155f7f9f9-primary.xml.gz
WARNING: Unknown download failure, error code: 2148270086
WARNING: Retry 5/5 downloading: http://download.opensuse.org/repositories/window
s:/mingw:/win64/openSUSE_Factory//repodata/127b64096c2ede2b82e28e5f23f8ddc0f798d
e4fb81e04f5df34b10155f7f9f9-primary.xml.gz
WARNING: received error 0 while downloading http://download.opensuse.org/reposit
ories/windows:/mingw:/win64/openSUSE_Factory//repodata/127b64096c2ede2b82e28e5f2
3f8ddc0f798de4fb81e04f5df34b10155f7f9f9-primary.xml.gz
===============================[ ERROR: LibCURL ]===============================


None of the selected providers can install dependency libcurl-4
while loading D:\result_tests\WinPython-32bit-3.4.1.1_build04\settings\.julia\v0
.3\LibCURL\deps\build.jl, in expression starting on line 13

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

INFO: Building Cairo
================================[ ERROR: Cairo ]================================


None of the selected providers can install dependency gobject
while loading D:\result_tests\WinPython-32bit-3.4.1.1_build04\settings\.julia\v0
.3\Cairo\deps\build.jl, in expression starting on line 129

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

INFO: Building Tk
=================================[ ERROR: Tk ]==================================


None of the selected providers can install dependency tcl
while loading D:\result_tests\WinPython-32bit-3.4.1.1_build04\settings\.julia\v0
.3\Tk\deps\build.jl, in expression starting on line 54

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


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


WARNING: LibCURL, Cairo and Tk had build errors.

 - packages with build errors remain installed in D:\result_tests\WinPython-32bi
t-3.4.1.1_build04\settings\.julia\v0.3
 - build a package and all its dependencies with `Pkg.build(pkg)`
 - build a single package by running its `deps/build.jl` script

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

INFO: Package database updated

julia>


D:\result_tests\WinPython-32bit-3.4.1.1_build04\scripts>julia
               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "help()" to list help topics
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.3.0-rc1 (2014-07-14 02:04 UTC)
 _/ |\__'_|_|_|\__'_|  |  Official http://julialang.org/ build
|__/                   |  x86_64-w64-mingw32

julia> Pkg.rm("Tk")
INFO: Removing Cairo v0.2.14
INFO: Removing Color v0.2.10
INFO: Removing Tk v0.2.13
INFO: Package database updated

julia> Pkg.add("Tk")
INFO: Installing Cairo v0.2.14
INFO: Installing Color v0.2.10
INFO: Installing Tk v0.2.13
INFO: Building LibCURL
WARNING: skipping repodata/repomd.xml, not in cache -- call WinRPM.update() to d
ownload
WARNING: skipping repodata/repomd.xml, not in cache -- call WinRPM.update() to d
ownload
INFO: Updating WinRPM package list
INFO: Downloading ftp://anorien.csc.warwick.ac.uk/download.opensuse.org/reposito
ries/windows:/mingw:/win32/openSUSE_Factory//repodata/repomd.xml
INFO: Downloading ftp://anorien.csc.warwick.ac.uk/download.opensuse.org/reposito
ries/windows:/mingw:/win32/openSUSE_Factory//repodata/a6ef8c1d413fdba19add0ffef3
8ceee2aa29e8e8b2e42d46c5b222569ca5c134-primary.xml.gz
WARNING: encounted invalid data while parsing repomd
===============================[ ERROR: LibCURL ]===============================


opening file D:\result_tests\WinPython-32bit-3.4.1.1_build04\settings\.julia\v0.
3\WinRPM\cache\ftp%3a%2f%2fanorien.csc.warwick.ac.uk%2fdownload.opensuse.org%2fr
epositories%2fwindows%3a%2fmingw%3a%2fwin32%2fopenSUSE_Factory%2f\repodata%2fa6e
f8c1d413fdba19add0ffef38ceee2aa29e8e8b2e42d46c5b222569ca5c134-primary.xml: No su
ch file or directory
while loading D:\result_tests\WinPython-32bit-3.4.1.1_build04\settings\.julia\v0
.3\LibCURL\deps\build.jl, in expression starting on line 13

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

INFO: Building Cairo
INFO: Updating WinRPM package list
INFO: Downloading ftp://anorien.csc.warwick.ac.uk/download.opensuse.org/reposito
ries/windows:/mingw:/win32/openSUSE_Factory//repodata/repomd.xml
INFO: Downloading ftp://anorien.csc.warwick.ac.uk/download.opensuse.org/reposito
ries/windows:/mingw:/win32/openSUSE_Factory//repodata/a6ef8c1d413fdba19add0ffef3
8ceee2aa29e8e8b2e42d46c5b222569ca5c134-primary.xml.gz
WARNING: encounted invalid data while parsing repomd
================================[ ERROR: Cairo ]================================


opening file D:\result_tests\WinPython-32bit-3.4.1.1_build04\settings\.julia\v0.
3\WinRPM\cache\ftp%3a%2f%2fanorien.csc.warwick.ac.uk%2fdownload.opensuse.org%2fr
epositories%2fwindows%3a%2fmingw%3a%2fwin32%2fopenSUSE_Factory%2f\repodata%2fa6e
f8c1d413fdba19add0ffef38ceee2aa29e8e8b2e42d46c5b222569ca5c134-primary.xml: No su
ch file or directory
while loading D:\result_tests\WinPython-32bit-3.4.1.1_build04\settings\.julia\v0
.3\Cairo\deps\build.jl, in expression starting on line 129

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

INFO: Building Tk
INFO: Updating WinRPM package list
INFO: Downloading ftp://anorien.csc.warwick.ac.uk/download.opensuse.org/reposito
ries/windows:/mingw:/win32/openSUSE_Factory//repodata/repomd.xml
INFO: Downloading ftp://anorien.csc.warwick.ac.uk/download.opensuse.org/reposito
ries/windows:/mingw:/win32/openSUSE_Factory//repodata/a6ef8c1d413fdba19add0ffef3
8ceee2aa29e8e8b2e42d46c5b222569ca5c134-primary.xml.gz
WARNING: encounted invalid data while parsing repomd
=================================[ ERROR: Tk ]==================================


opening file D:\result_tests\WinPython-32bit-3.4.1.1_build04\settings\.julia\v0.
3\WinRPM\cache\ftp%3a%2f%2fanorien.csc.warwick.ac.uk%2fdownload.opensuse.org%2fr
epositories%2fwindows%3a%2fmingw%3a%2fwin32%2fopenSUSE_Factory%2f\repodata%2fa6e
f8c1d413fdba19add0ffef38ceee2aa29e8e8b2e42d46c5b222569ca5c134-primary.xml: No su
ch file or directory
while loading D:\result_tests\WinPython-32bit-3.4.1.1_build04\settings\.julia\v0
.3\Tk\deps\build.jl, in expression starting on line 54

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


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


WARNING: LibCURL, Cairo and Tk had build errors.

 - packages with build errors remain installed in D:\result_tests\WinPython-32bi
t-3.4.1.1_build04\settings\.julia\v0.3
 - build a package and all its dependencies with `Pkg.build(pkg)`
 - build a single package by running its `deps/build.jl` script

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

INFO: Package database updated

julia>

@stonebig
Copy link

I added a

warn(depomd)

before the deadly loop. Here is the waring result (hoping it will help)


INFO: Building Tk
INFO: Updating WinRPM package list
INFO: Downloading http://ftp5.gwdg.de/pub/opensuse/repositories/windows:/mingw:/
win32/openSUSE_Factory//repodata/repomd.xml
WARNING: <?xml version="1.0" encoding="UTF-8"?>
<repomd xmlns="http://linux.duke.edu/metadata/repo" xmlns:rpm="http://linux.duke
.edu/metadata/rpm">
 <revision>1405368987</revision>
 <tags>
   <repo>obsrepository://build.opensuse.org/windows:mingw:win32/openSUSE_Factory
</repo>
 </tags>
<data type="filelists">
  <checksum type="sha256">b89d3e134da68b6398357805835b0b2e998d1a5c9883c859fb31f0
0d8ffb3947</checksum>
  <open-checksum type="sha256">8cbed10df0662b7c0156e1da46637019cf12d2124ed54d778
2034e0e371406c6</open-checksum>
  <location href="repodata/b89d3e134da68b6398357805835b0b2e998d1a5c9883c859fb31f
00d8ffb3947-filelists.xml.gz"/>
  <timestamp>1405368998</timestamp>
  <size>946046</size>
  <open-size>15808934</open-size>
</data>
<data type="other">
  <checksum type="sha256">5aa019413830d28feb37c8b5404a2f6ee5f2c24e5449f9103b67b7
a331572639</checksum>
  <open-checksum type="sha256">24e4ebb3f3b1eeefde3b1a63c0720fb4d7add3f07bf20ce79
68f9619466a14db</open-checksum>
  <location href="repodata/5aa019413830d28feb37c8b5404a2f6ee5f2c24e5449f9103b67b
7a331572639-other.xml.gz"/>
  <timestamp>1405368998</timestamp>
  <size>82304</size>
  <open-size>344217</open-size>
</data>
<data type="primary">
  <checksum type="sha256">a6ef8c1d413fdba19add0ffef38ceee2aa29e8e8b2e42d46c5b222
569ca5c134</checksum>
  <open-checksum type="sha256">6b095bca68871a717a2d0424106d2c6e08e7ea3dbc4b61726
a740a3786b5d5b7</open-checksum>
  <location href="repodata/a6ef8c1d413fdba19add0ffef38ceee2aa29e8e8b2e42d46c5b22
2569ca5c134-primary.xml.gz"/>
  <timestamp>1405368998</timestamp>
  <size>292662</size>
  <open-size>2632885</open-size>
</data>
</repomd>
WARNING: <?xml version="1.0" encoding="UTF-8"?>
<repomd xmlns="http://linux.duke.edu/metadata/repo" xmlns:rpm="http://linux.duke
.edu/metadata/rpm">
 <revision>1405368987</revision>
 <tags>
   <repo>obsrepository://build.opensuse.org/windows:mingw:win32/openSUSE_Factory
</repo>
 </tags>
<data type="filelists">
  <checksum type="sha256">b89d3e134da68b6398357805835b0b2e998d1a5c9883c859fb31f0
0d8ffb3947</checksum>
  <open-checksum type="sha256">8cbed10df0662b7c0156e1da46637019cf12d2124ed54d778
2034e0e371406c6</open-checksum>
  <location href="repodata/b89d3e134da68b6398357805835b0b2e998d1a5c9883c859fb31f
00d8ffb3947-filelists.xml.gz"/>
  <timestamp>1405368998</timestamp>
  <size>946046</size>
  <open-size>15808934</open-size>
</data>
<data type="other">
  <checksum type="sha256">5aa019413830d28feb37c8b5404a2f6ee5f2c24e5449f9103b67b7
a331572639</checksum>
  <open-checksum type="sha256">24e4ebb3f3b1eeefde3b1a63c0720fb4d7add3f07bf20ce79
68f9619466a14db</open-checksum>
  <location href="repodata/5aa019413830d28feb37c8b5404a2f6ee5f2c24e5449f9103b67b
7a331572639-other.xml.gz"/>
  <timestamp>1405368998</timestamp>
  <size>82304</size>
  <open-size>344217</open-size>
</data>
<data type="primary">
  <checksum type="sha256">a6ef8c1d413fdba19add0ffef38ceee2aa29e8e8b2e42d46c5b222
569ca5c134</checksum>
  <open-checksum type="sha256">6b095bca68871a717a2d0424106d2c6e08e7ea3dbc4b61726
a740a3786b5d5b7</open-checksum>
  <location href="repodata/a6ef8c1d413fdba19add0ffef38ceee2aa29e8e8b2e42d46c5b22
2569ca5c134-primary.xml.gz"/>
  <timestamp>1405368998</timestamp>
  <size>292662</size>
  <open-size>2632885</open-size>
</data>
</repomd>
INFO: Downloading http://ftp5.gwdg.de/pub/opensuse/repositories/windows:/mingw:/
win32/openSUSE_Factory//repodata/a6ef8c1d413fdba19add0ffef38ceee2aa29e8e8b2e42d4
6c5b222569ca5c134-primary.xml.gz
WARNING: encounted invalid data while parsing repomd

@ihnorton
Copy link
Member

That is helpful - the repomd is way out of date.

I would suggest to remove $HOME\.julia\v0.3\WinRPM\cache\* after closing Julia, to force re-downloading the repomd file. You could also rename or remove ``$HOME.julia\v0.3` to get a clean start.

Also, please stick with warwick so we can reduce the number of variables. download.opensuse.org is going to assign you to some broken mirror whenever it chooses, so it is not very useful for debugging. (The dirty git doesn't matter in this case)

@ihnorton
Copy link
Member

(it might be faster to talk on IRC if you can log on: http://webchat.freenode.net/?channels=julia)

@stonebig
Copy link

new result

D:\result_tests\WinPython-32bit-3.4.1.1_build04\scripts>julia
               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "help()" to list help topics
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.3.0-rc1 (2014-07-14 02:04 UTC)
 _/ |\__'_|_|_|\__'_|  |  Official http://julialang.org/ build
|__/                   |  x86_64-w64-mingw32

julia> Pkg.rm("Tk")
INFO: Removing Cairo v0.2.14
INFO: Removing Color v0.2.10
INFO: Removing Tk v0.2.13
INFO: Package database updated

julia> Pkg.add("Tk")
INFO: Installing Cairo v0.2.14
INFO: Installing Color v0.2.10
INFO: Installing Tk v0.2.13
INFO: Building LibCURL
WARNING: skipping repodata/repomd.xml, not in cache -- call WinRPM.update() to d
ownload
WARNING: skipping repodata/repomd.xml, not in cache -- call WinRPM.update() to d
ownload
INFO: Updating WinRPM package list
INFO: Downloading ftp://anorien.csc.warwick.ac.uk/download.opensuse.org/reposito
ries/windows:/mingw:/win32/openSUSE_Factory//repodata/repomd.xml
WARNING: <?xml version="1.0" encoding="UTF-8"?>
<repomd xmlns="http://linux.duke.edu/metadata/repo" xmlns:rpm="http://linux.duke
.edu/metadata/rpm">
 <revision>1405368987</revision>
 <tags>
   <repo>obsrepository://build.opensuse.org/windows:mingw:win32/openSUSE_Factory
</repo>
 </tags>
<data type="filelists">
  <checksum type="sha256">b89d3e134da68b6398357805835b0b2e998d1a5c9883c859fb31f0
0d8ffb3947</checksum>
  <open-checksum type="sha256">8cbed10df0662b7c0156e1da46637019cf12d2124ed54d778
2034e0e371406c6</open-checksum>
  <location href="repodata/b89d3e134da68b6398357805835b0b2e998d1a5c9883c859fb31f
00d8ffb3947-filelists.xml.gz"/>
  <timestamp>1405368998</timestamp>
  <size>946046</size>
  <open-size>15808934</open-size>
</data>
<data type="other">
  <checksum type="sha256">5aa019413830d28feb37c8b5404a2f6ee5f2c24e5449f9103b67b7
a331572639</checksum>
  <open-checksum type="sha256">24e4ebb3f3b1eeefde3b1a63c0720fb4d7add3f07bf20ce79
68f9619466a14db</open-checksum>
  <location href="repodata/5aa019413830d28feb37c8b5404a2f6ee5f2c24e5449f9103b67b
7a331572639-other.xml.gz"/>
  <timestamp>1405368998</timestamp>
  <size>82304</size>
  <open-size>344217</open-size>
</data>
<data type="primary">
  <checksum type="sha256">a6ef8c1d413fdba19add0ffef38ceee2aa29e8e8b2e42d46c5b222
569ca5c134</checksum>
  <open-checksum type="sha256">6b095bca68871a717a2d0424106d2c6e08e7ea3dbc4b61726
a740a3786b5d5b7</open-checksum>
  <location href="repodata/a6ef8c1d413fdba19add0ffef38ceee2aa29e8e8b2e42d46c5b22
2569ca5c134-primary.xml.gz"/>
  <timestamp>1405368998</timestamp>
  <size>292662</size>
  <open-size>2632885</open-size>
</data>
</repomd>
INFO: Downloading ftp://anorien.csc.warwick.ac.uk/download.opensuse.org/reposito
ries/windows:/mingw:/win32/openSUSE_Factory//repodata/a6ef8c1d413fdba19add0ffef3
8ceee2aa29e8e8b2e42d46c5b222569ca5c134-primary.xml.gz
WARNING: encounted invalid data while parsing repomd
===============================[ ERROR: LibCURL ]===============================


opening file D:\result_tests\WinPython-32bit-3.4.1.1_build04\settings\.julia\v0.
3\WinRPM\cache\ftp%3a%2f%2fanorien.csc.warwick.ac.uk%2fdownload.opensuse.org%2fr
epositories%2fwindows%3a%2fmingw%3a%2fwin32%2fopenSUSE_Factory%2f\repodata%2fa6e
f8c1d413fdba19add0ffef38ceee2aa29e8e8b2e42d46c5b222569ca5c134-primary.xml: No su
ch file or directory
while loading D:\result_tests\WinPython-32bit-3.4.1.1_build04\settings\.julia\v0
.3\LibCURL\deps\build.jl, in expression starting on line 13

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

INFO: Building Cairo
INFO: Updating WinRPM package list
INFO: Downloading ftp://anorien.csc.warwick.ac.uk/download.opensuse.org/reposito
ries/windows:/mingw:/win32/openSUSE_Factory//repodata/repomd.xml
WARNING: <?xml version="1.0" encoding="UTF-8"?>
<repomd xmlns="http://linux.duke.edu/metadata/repo" xmlns:rpm="http://linux.duke
.edu/metadata/rpm">
 <revision>1405368987</revision>
 <tags>
   <repo>obsrepository://build.opensuse.org/windows:mingw:win32/openSUSE_Factory
</repo>
 </tags>
<data type="filelists">
  <checksum type="sha256">b89d3e134da68b6398357805835b0b2e998d1a5c9883c859fb31f0
0d8ffb3947</checksum>
  <open-checksum type="sha256">8cbed10df0662b7c0156e1da46637019cf12d2124ed54d778
2034e0e371406c6</open-checksum>
  <location href="repodata/b89d3e134da68b6398357805835b0b2e998d1a5c9883c859fb31f
00d8ffb3947-filelists.xml.gz"/>
  <timestamp>1405368998</timestamp>
  <size>946046</size>
  <open-size>15808934</open-size>
</data>
<data type="other">
  <checksum type="sha256">5aa019413830d28feb37c8b5404a2f6ee5f2c24e5449f9103b67b7
a331572639</checksum>
  <open-checksum type="sha256">24e4ebb3f3b1eeefde3b1a63c0720fb4d7add3f07bf20ce79
68f9619466a14db</open-checksum>
  <location href="repodata/5aa019413830d28feb37c8b5404a2f6ee5f2c24e5449f9103b67b
7a331572639-other.xml.gz"/>
  <timestamp>1405368998</timestamp>
  <size>82304</size>
  <open-size>344217</open-size>
</data>
<data type="primary">
  <checksum type="sha256">a6ef8c1d413fdba19add0ffef38ceee2aa29e8e8b2e42d46c5b222
569ca5c134</checksum>
  <open-checksum type="sha256">6b095bca68871a717a2d0424106d2c6e08e7ea3dbc4b61726
a740a3786b5d5b7</open-checksum>
  <location href="repodata/a6ef8c1d413fdba19add0ffef38ceee2aa29e8e8b2e42d46c5b22
2569ca5c134-primary.xml.gz"/>
  <timestamp>1405368998</timestamp>
  <size>292662</size>
  <open-size>2632885</open-size>
</data>
</repomd>
INFO: Downloading ftp://anorien.csc.warwick.ac.uk/download.opensuse.org/reposito
ries/windows:/mingw:/win32/openSUSE_Factory//repodata/a6ef8c1d413fdba19add0ffef3
8ceee2aa29e8e8b2e42d46c5b222569ca5c134-primary.xml.gz
WARNING: encounted invalid data while parsing repomd
================================[ ERROR: Cairo ]================================


opening file D:\result_tests\WinPython-32bit-3.4.1.1_build04\settings\.julia\v0.
3\WinRPM\cache\ftp%3a%2f%2fanorien.csc.warwick.ac.uk%2fdownload.opensuse.org%2fr
epositories%2fwindows%3a%2fmingw%3a%2fwin32%2fopenSUSE_Factory%2f\repodata%2fa6e
f8c1d413fdba19add0ffef38ceee2aa29e8e8b2e42d46c5b222569ca5c134-primary.xml: No su
ch file or directory
while loading D:\result_tests\WinPython-32bit-3.4.1.1_build04\settings\.julia\v0
.3\Cairo\deps\build.jl, in expression starting on line 129

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

INFO: Building Tk
INFO: Updating WinRPM package list
INFO: Downloading ftp://anorien.csc.warwick.ac.uk/download.opensuse.org/reposito
ries/windows:/mingw:/win32/openSUSE_Factory//repodata/repomd.xml
WARNING: <?xml version="1.0" encoding="UTF-8"?>
<repomd xmlns="http://linux.duke.edu/metadata/repo" xmlns:rpm="http://linux.duke
.edu/metadata/rpm">
 <revision>1405368987</revision>
 <tags>
   <repo>obsrepository://build.opensuse.org/windows:mingw:win32/openSUSE_Factory
</repo>
 </tags>
<data type="filelists">
  <checksum type="sha256">b89d3e134da68b6398357805835b0b2e998d1a5c9883c859fb31f0
0d8ffb3947</checksum>
  <open-checksum type="sha256">8cbed10df0662b7c0156e1da46637019cf12d2124ed54d778
2034e0e371406c6</open-checksum>
  <location href="repodata/b89d3e134da68b6398357805835b0b2e998d1a5c9883c859fb31f
00d8ffb3947-filelists.xml.gz"/>
  <timestamp>1405368998</timestamp>
  <size>946046</size>
  <open-size>15808934</open-size>
</data>
<data type="other">
  <checksum type="sha256">5aa019413830d28feb37c8b5404a2f6ee5f2c24e5449f9103b67b7
a331572639</checksum>
  <open-checksum type="sha256">24e4ebb3f3b1eeefde3b1a63c0720fb4d7add3f07bf20ce79
68f9619466a14db</open-checksum>
  <location href="repodata/5aa019413830d28feb37c8b5404a2f6ee5f2c24e5449f9103b67b
7a331572639-other.xml.gz"/>
  <timestamp>1405368998</timestamp>
  <size>82304</size>
  <open-size>344217</open-size>
</data>
<data type="primary">
  <checksum type="sha256">a6ef8c1d413fdba19add0ffef38ceee2aa29e8e8b2e42d46c5b222
569ca5c134</checksum>
  <open-checksum type="sha256">6b095bca68871a717a2d0424106d2c6e08e7ea3dbc4b61726
a740a3786b5d5b7</open-checksum>
  <location href="repodata/a6ef8c1d413fdba19add0ffef38ceee2aa29e8e8b2e42d46c5b22
2569ca5c134-primary.xml.gz"/>
  <timestamp>1405368998</timestamp>
  <size>292662</size>
  <open-size>2632885</open-size>
</data>
</repomd>
INFO: Downloading ftp://anorien.csc.warwick.ac.uk/download.opensuse.org/reposito
ries/windows:/mingw:/win32/openSUSE_Factory//repodata/a6ef8c1d413fdba19add0ffef3
8ceee2aa29e8e8b2e42d46c5b222569ca5c134-primary.xml.gz
WARNING: encounted invalid data while parsing repomd
=================================[ ERROR: Tk ]==================================


opening file D:\result_tests\WinPython-32bit-3.4.1.1_build04\settings\.julia\v0.
3\WinRPM\cache\ftp%3a%2f%2fanorien.csc.warwick.ac.uk%2fdownload.opensuse.org%2fr
epositories%2fwindows%3a%2fmingw%3a%2fwin32%2fopenSUSE_Factory%2f\repodata%2fa6e
f8c1d413fdba19add0ffef38ceee2aa29e8e8b2e42d46c5b222569ca5c134-primary.xml: No su
ch file or directory
while loading D:\result_tests\WinPython-32bit-3.4.1.1_build04\settings\.julia\v0
.3\Tk\deps\build.jl, in expression starting on line 54

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


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


WARNING: LibCURL, Cairo and Tk had build errors.

 - packages with build errors remain installed in D:\result_tests\WinPython-32bi
t-3.4.1.1_build04\settings\.julia\v0.3
 - build a package and all its dependencies with `Pkg.build(pkg)`
 - build a single package by running its `deps/build.jl` script

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

INFO: Package database updated

julia>

@stonebig
Copy link

I may have found the possible issue : the path is too long for windows .
the total size of Path + file should be 303, but apparently Windows 7 doesn't want as much

D:\result_tests\WinPython-32bit-3.4.1.1_build04\settings\.julia\v0.3\WinRPM\cache\ftp%3a%2f%2fanorien.csc.warwick.ac.uk%2fdownload.opensuse.org%2frepositories%2fwindows%3a%2fmingw%3a%2fwin32%2fopenSUSE_Factory%2f\6ec4b2a31f2d407d44c688ccfc47bb63844d0fc02e5449eb18b9c6ea762d3a30-primary.xml.gz

not ok

D:\result_tests\WinPython-32bit-3.4.1.1_build04\settings\.julia\v0.3\WinRPM\cache\ftp%3a%2f%2fanorien.csc.warwick.ac.uk%2fdownload.opensuse.org%2frepositories%2fwindows%3a%2fmingw%3a%2fwin32%2fopenSUSE_Factory%2f\repodata%2f6ec4b2a31f2d407d44c688ccfc47bb63844d0fc02e5449eb18b9c6ea762d3a30-primary.xml.gz

@vtjnash
Copy link
Member

vtjnash commented Jul 16, 2014

yeah, i should probably actually get around to fixing that error... (goes to open vim)

@vtjnash
Copy link
Member

vtjnash commented Jul 16, 2014

should work better now

@vtjnash vtjnash closed this as completed Jul 16, 2014
@stonebig
Copy link

so, new procedure julia-0.3.0-rc1 for windows7 'latin europe' is still a bit long, but ... works \o/ !

  • install julia-0.3.0-rc1-3737cc2-win32.exe
  • enter in Julia
D:\result_tests\WinPython-32bit-3.4.1.1_build04\scripts>julia
               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "help()" to list help topics
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.3.0-rc1 (2014-07-14 02:04 UTC)
 _/ |\__'_|_|_|\__'_|  |  Official http://julialang.org/ build
|__/                   |  i686-w64-mingw32

julia> Pkg.add("Tk")
... (details) ...

===============================[ ERROR: LibCURL ]===============================
...(details) ...
================================[ ERROR: Cairo ]================================
...(details) ...
INFO: Building Tk
...(details) ...

INFO: Package database updated
julia> 

  • do Ctrl + D to quit Julia
  • edit .julia\v0.3\WinRPM\sources.list and replace its data per
http://ftp5.gwdg.de/pub/opensuse/repositories/windows:/mingw:/win32/openSUSE_Factory/
http://ftp5.gwdg.de/pub/opensuse/repositories/windows:/mingw:/win64/openSUSE_Factory/

  • enter back in Julia

D:\result_tests\WinPython-32bit-3.4.1.1_build04\scripts>julia
               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "help()" to list help topics
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.3.0-rc1 (2014-07-14 02:04 UTC)
 _/ |\__'_|_|_|\__'_|  |  Official http://julialang.org/ build
|__/                   |  i686-w64-mingw32

julia> using WinRPM
...(details) ...
julia> WinRPM.update()
...(details) ...
INFO: Downloading http://ftp5.gwdg.de/pub/opensuse/repositories/windows:/mingw:/
win64/openSUSE_Factory//repodata/cd4aebc02ce33629c4fa8cab4b0e376867d5a901c8bc0c3
6a62756b8f9b12d53-primary.xml.gz

julia> Pkg.rm("Tk")
...(details) ...

julia> Pkg.add("Tk")
...(details)...

INFO: Extracting: pango
INFO: Complete
INFO: Building Tk
INFO: Package database updated

julia> Pkg.add("IJulia")
INFO: Cloning cache of IJulia from git://github.com/JuliaLang/IJulia.jl.git
...(details)...
Extracting  usr
Extracting  usr\lib
Extracting  usr\lib\libzmq.dll

Everything is Ok
...(details)...

INFO: Package database updated

julia>
  • Ipython notebook --profile Julia

ijulia_windows_success

@stonebig
Copy link

Of course, In the process of editing "sources.list", WinRPM package becomes "(dirty)", so it's not perfect, but now I can swim in Ijulia. Thanks !

@vtjnash
Copy link
Member

vtjnash commented Jul 16, 2014

It should be less necessary now to change the mirror, since it is better at restarting. But it was always the intention that you should be able to.

@stonebig
Copy link

It may be a problem to gain traction in the click-click-run world of Windows users. I hope it will be solved for 0.3 final release

@vtjnash
Copy link
Member

vtjnash commented Jul 16, 2014

Perhaps true. It was intended that this package would have a stong programmatic interface, so you could reliably drive this from less interactive tools, while also being very fluent to use on the command line manually if needed.

@stonebig
Copy link

The issue requiring to switch sources.list by hand to ftp5.gwdg.de for (south-west) european user is still there.

@Ivo-Balbaert
Copy link

Thanks for all the efforts, but changing sources.list does not work for me.
WinRPM.update() keeps downloading from opensuse.org.
I also changed the url's in an index files in the cache, etc. but nothing helps.
Thanks for any suggestion.

Ivo

@vtjnash
Copy link
Member

vtjnash commented Aug 3, 2014

you can call WinRPM.__init__() to force it to reload the internal state. I need to improve the handling of that so it works more automatically.

@Ivo-Balbaert
Copy link

Thanks very much! It didn't work immediately, I had to restart my machine, but now WinRPM.update() works, and finally I got IJulia to work on Windows!

@stonebig
Copy link

stonebig commented Aug 5, 2014

Works today with zero manipulation at all (from build julia-0.3.0-rc1-3d30a5f-win32.exe )
Super !

@admercs
Copy link

admercs commented Feb 14, 2016

WinRPM.__init__() followed by exit() and then using WinRPM and WinRPM.update() before Pkg.build("Cairo") worked for me too.

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

10 participants