WinRPM.jl
WinRPM.jl copied to clipboard
WinRPM.install("Cbc") fails with "ERROR: The system cannot find the file specified."
Test system
Julia Version 0.7.0 Commit a4cb80f3ed (2018-08-08 06:46 UTC) Platform Info: OS: Windows (x86_64-w64-mingw32) CPU: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-6.0.0 (ORCJIT, haswell) Environment: JULIA_EDITOR = "C:\Users\braam\AppData\Local\atom\app-1.29.0\atom.exe" -a JULIA_NUM_THREADS = 4
Instruction
julia> WinRPM.install("Cbc") INFO: Packages to install: libstdc++6, Cbc Continue with install [y/N]? y INFO: Downloading: libstdc++6 INFO: Extracting: libstdc++6
Result
ERROR: The system cannot find the file specified. C:\Users\braam.julia\packages\WinRPM\rDDZz\cache\2\mingw64-libstdc%2B%2B6-7.2.0-3.3.noarch.cpio
System ERROR: The system cannot find the file specified.
7-Zip [64] 16.04 : Copyright (c) 1999-2016 Igor Pavlov : 2016-10-04
Scanning the drive for archives:
ERROR: failed process: Process('C:\Julia\Julia-0.7.0\bin\7z.exe' x -y 'C:\Users\braam\.julia\packages\WinRPM\rDDZz\cache\2\mingw64-libstdc%2B%2B6-7.2.0-3.3.noarch.cpio' '-oC:\Users\braam\.julia\packages\WinRPM\rDDZz\deps'
, ProcessExited(2)) [2]
Additional info
The file C:\Users\braam.julia\packages\WinRPM\rDDZz\cache\2\mingw64-libstdc++6-7.2.0-3.3.noarch.cpio exists (note "++" instead of "%2B6%2B6") with size 1380KB
The filenames of the downloaded rpm packages are escaped (e.g. noarch%2Fmingw64-libstdc%2B%2B6-8.2.0-2.1.noarch.rpm
), but the cpio files after extraction are unescaped (e.g. mingw64-libstdc++6-8.2.0-2.1.noarch.cpio
).
See #157
Anyway, the upfollowing Error I am facing is
ERROR: LoadError: Provider BinDeps.PackageManager failed to satisfy dependency libclp
This is also the case on my unix based binder
using Pkg; Pkg.develop("Cbc"); Pkg.build("Cbc")
ERROR: LoadError: Provider BuildProcess failed to satisfy dependency libclp
Also JuliaOpt/Cbc.jl#63 faces this issue currently