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

WinRPM.install("Cbc") fails with "ERROR: The system cannot find the file specified." #161

Open
braamvandyk opened this issue Aug 25, 2018 · 2 comments

Comments

@braamvandyk
Copy link

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

@larssp
Copy link

larssp commented Sep 5, 2018

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

@larssp
Copy link

larssp commented Sep 5, 2018

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 jump-dev/Cbc.jl#63 faces this issue currently

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

2 participants