jeroen / openssl

OpenSSL bindings for R
Other
64 stars 22 forks source link

AppVeyor error: installation of package 'openssl' had non-zero exit status #64

Closed IndrajeetPatil closed 5 years ago

IndrajeetPatil commented 5 years ago

My AppVeyor package builds are failing because of the openssl installation error. Any idea why this might be happening?

Here is the build log: https://ci.appveyor.com/project/IndrajeetPatil/broomextra/builds/22790234#L227

* installing *source* package 'openssl' ...
** package 'openssl' successfully unpacked and MD5 sums checked
** libs
*** arch - i386
rm -f openssl.dll aes.o base64.o bignum.o cert.o compatibility.o diffie.o envelope.o error.o hash.o info.o keygen.o keys.o onload.o openssh.o password.o pem.o pkcs12.o pkcs7.o rand.o rsa.o signing.o ssl.o stream.o write.o win32/ipv6.o
"c:/R/bin/i386/Rscript.exe" "../tools/winlibs.R" 1.1.1
c:/Rtools/mingw_32/bin/gcc  -I"c:/R/include" -DNDEBUG -I../windows/openssl-1.1.1/include         -O3 -Wall  -std=gnu99 -mtune=generic -c win32/ipv6.c -o win32/ipv6.o
/bin/sh: c:/Rtools/mingw_32/bin/gcc: No such file or directory
make: *** [win32/ipv6.o] Error 127
ERROR: compilation failed for package 'openssl'
* removing 'c:/RLibrary/openssl'
* restoring previous 'c:/RLibrary/openssl'
In R CMD INSTALL
Error in i.p(...) : 
  (converted from warning) installation of package 'openssl' had non-zero exit status
Calls: <Anonymous> ... with_rprofile_user -> with_envvar -> force -> force -> i.p
Execution halted
Command exited with code 1
7z a failure.zip *.Rcheck\*
jeroen commented 5 years ago

It's because openssl was recently updated but the windows binaries are not on cran yet. The problem will solve itself in 1 or 2 days.