julia> Pkg.add("WinRPM")
INFO: Cloning cache of BinDeps from https://github.com/JuliaLang/BinDeps.jl.git
INFO: Cloning cache of BufferedStreams from https://github.com/BioJulia/BufferedStreams.jl.git
INFO: Cloning cache of LibExpat from https://github.com/JuliaIO/LibExpat.jl.git
INFO: Cloning cache of Libz from https://github.com/BioJulia/Libz.jl.git
INFO: Cloning cache of SHA from https://github.com/staticfloat/SHA.jl.git
INFO: Cloning cache of URIParser from https://github.com/JuliaWeb/URIParser.jl.git
INFO: Cloning cache of WinRPM from https://github.com/JuliaPackaging/WinRPM.jl.git
INFO: Installing BinDeps v0.4.5
INFO: Installing BufferedStreams v0.2.3
INFO: Installing LibExpat v0.2.4
INFO: Installing Libz v0.2.2
INFO: Installing SHA v0.3.0
INFO: Installing URIParser v0.1.8
INFO: Installing WinRPM v0.2.3
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 https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_42.2/repodata/repomd.xml
WARNING: Unknown download failure, error code: 2148270088
WARNING: Retry 1/5 downloading: https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_42.2/repodata/repomd.xml
WARNING: Unknown download failure, error code: 2148270088
WARNING: Retry 2/5 downloading: https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_42.2/repodata/repomd.xml
WARNING: Unknown download failure, error code: 2148270088
WARNING: Retry 3/5 downloading: https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_42.2/repodata/repomd.xml
WARNING: Unknown download failure, error code: 2148270088
WARNING: Retry 4/5 downloading: https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_42.2/repodata/repomd.xml
WARNING: Unknown download failure, error code: 2148270088
WARNING: Retry 5/5 downloading: https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_42.2/repodata/repomd.xml
WARNING: received error 0 while downloading https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_42.2/repodata/repomd.xml
INFO: Downloading https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_42.2/repodata/repomd.xml
WARNING: Unknown download failure, error code: 2148270088
WARNING: Retry 1/5 downloading: https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_42.2/repodata/repomd.xml
WARNING: Unknown download failure, error code: 2148270088
WARNING: Retry 2/5 downloading: https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_42.2/repodata/repomd.xml
WARNING: Unknown download failure, error code: 2148270088
WARNING: Retry 3/5 downloading: https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_42.2/repodata/repomd.xml
INFO: Downloading https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_42.2/repodata/733574dd77bf5f28e90f943711332a4a872b4df0dfbabe93ef5b5ca66671dac2-primary.xml.gz
INFO: Package database updated
julia> versioninfo()
Julia Version 0.6.0-dev.2511
Commit e0ab6a8* (2017-02-01 19:43 UTC)
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
LAPACK: libopenblas64_
LIBM: libopenlibm
LLVM: libLLVM-3.9.1 (ORCJIT, skylake)
The current release version is 0.5, please try that first.
If that doesn’t work, see https://github.com/JuliaPackaging/WinRPM.jl/issues/80 (likely a certificate issue, proxy issue).
how to solve this problem in 0.6?
Does 0.5 work? That is useful information for understanding the problem.
it works in 0.5, but not in 0.6
xgdgsc
February 15, 2017, 2:09am
6
It doesn’ t work for me in 0.5.
From: Download Julia
The nightly builds are for developer previews and not intended for normal use. You can expect many packages not to work with this version. Most users are advised to use the latest official release version of Julia, above.
That said, here’s the issue to track if you want to work on it:
opened 08:41PM - 23 Dec 16 UTC
```
C:\Users\s2sajs>C:\cygwin64\home\s2sajs\julia-master\usr\bin\julia.exe
… _
_ _ _(_)_ | A fresh approach to technical computing
(_) | (_) (_) | Documentation: http://docs.julialang.org
_ _ _| |_ __ _ | Type "?help" for help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 0.6.0-dev.1671 (2016-12-23 05:10 UTC)
_/ |\__'_|_|_|\__'_| | Commit 44d7677 (0 days old master)
|__/ | x86_64-w64-mingw32
julia> Pkg.add("WinRPM")
INFO: Nothing to be done
julia> Pkg.build("WinRPM")
INFO: Building WinRPM
===============================[ ERROR: WinRPM ]================================
LoadError: LoadError: LoadError: LoadError: syntax: expected identifier after "const"
while loading C:\Users\s2sajs\.julia\v0.6\LibExpat\src\lX_common_h.jl, in expression starting on line 14
while loading C:\Users\s2sajs\.julia\v0.6\LibExpat\src\LibExpat.jl, in expression starting on line 13
while loading C:\Users\s2sajs\.julia\v0.6\WinRPM\src\WinRPM.jl, in expression starting on line 11
while loading C:\Users\s2sajs\.julia\v0.6\WinRPM\deps\build.jl, in expression starting on line 1
================================================================================
================================[ BUILD ERRORS ]================================
WARNING: WinRPM had build errors.
- packages with build errors remain installed in C:\Users\s2sajs\.julia\v0.6
- build the package(s) and all dependencies with `Pkg.build("WinRPM")`
- build a single package by running its `deps/build.jl` script
================================================================================
```