JuliaML / LIBSVM.jl

LIBSVM bindings for Julia
Other
88 stars 35 forks source link

Can't build LIBSVM on Appveyor #59

Closed JonasIsensee closed 3 years ago

JonasIsensee commented 4 years ago

Hi,

I'm not quite sure where to report this but my Appveyor CI jobs are failing because of some error that shows up when trying to build LIBSVM.

See e.g. https://ci.appveyor.com/project/JonasIsensee/jld2-jl/builds/35694287/job/1qy2o7xu763iws6d

Building LIBSVM ───→ `C:\Users\appveyor\.julia\packages\LIBSVM\5Z99T\deps\build.log`
┌ Error: Error building `LIBSVM`: 
│ Exception calling "DownloadFile" with "2" argument(s): "The remote server 
│ returned an error: (403) Forbidden."
│ At line:1 char:96
│ + ... pe]::Tls12; (New-Object System.Net.Webclient).DownloadFile('http://we ...
│ +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
│     + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
│     + FullyQualifiedErrorId : WebException
│  
│ [ Info: Downloading LIBSVM binary
│ ERROR: LoadError: failed process: Process(`'C:\windows\System32\WindowsPowerShell\v1.0\powershell.exe' -Version 3 -NoProfile -Command "[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12; (New-Object System.Net.Webclient).DownloadFile('http://web.ics.purdue.edu/~finej/libsvm32-3.22_1.dll', 'C:\Users\appveyor\.julia\packages\LIBSVM\5Z99T\deps\libsvm.dll')"`, ProcessExited(1)) [1]
│ Stacktrace:
│  [1] error(::String, ::Base.Process, ::String, ::Int64, ::String) at .\error.jl:42
│  [2] pipeline_error at .\process.jl:705 [inlined]
│  [3] download(::String, ::String) at .\download.jl:20
│  [4] top-level scope at C:\Users\appveyor\.julia\packages\LIBSVM\5Z99T\deps\build.jl:8
│  [5] include at .\boot.jl:317 [inlined]
│  [6] include_relative(::Module, ::String) at .\loading.jl:1044
│  [7] include(::Module, ::String) at .\sysimg.jl:29
│  [8] include(::String) at .\client.jl:392
│  [9] top-level scope at none:0
│ in expression starting at C:\Users\appveyor\.julia\packages\LIBSVM\5Z99T\deps\build.jl:2
└ @ Pkg.Operations C:\cygwin\home\Administrator\buildbot\worker\package_win32\build\usr\share\julia\stdlib\v1.0\Pkg\src\Operations.jl:1096
JonasIsensee commented 4 years ago

Ah, so apparently the binary compatible with julia v1.0 is no longer available

iblislin commented 3 years ago

yeah, this package requires Julia 1.3+.