exasol / r-exasol

The EXASOL package for R provides an interface to the EXASOL database.
http://www.exasol.com
BSD 3-Clause "New" or "Revised" License
22 stars 8 forks source link

Can't install - OpenSSL already installed #106

Closed kleinhansda closed 2 years ago

kleinhansda commented 2 years ago

Install Log

devtools::install_github("EXASOL/r-exasol")
Downloading GitHub repo EXASOL/r-exasol@HEAD
√  checking for file 'C:\Users\[...]\AppData\Local\Temp\RtmpSixxW8\remotes7c805835158b\exasol-r-exasol-478693f/DESCRIPTION' (501ms)
-  preparing 'exasol': (792ms)
√  checking DESCRIPTION meta-information ... 
-  cleaning src
-  installing the package to process help pages (404ms)
-  saving partial Rd database (44.6s)
-  cleaning src
-  checking for LF line-endings in source and make files and shell scripts (663ms)
-  checking for empty or unneeded directories (485ms)
-  building 'exasol_7.0.2.tar.gz' (363ms)
   Warnung: file 'exasol/cleanup' did not have execute permissions: corrected
   Warnung: file 'exasol/configure' did not have execute permissions: corrected

Installing package into ‘C:/Users/[...]/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
* installing *source* package 'exasol' ...
** using staged installation

   **********************************************
   WARNING: this package has a configure script
         It probably needs manual configuration
   **********************************************

** libs

*** arch - i386
"C:/R/R-40~1.2/bin/i386/Rscript.exe" "../tools/winlibs.R" 1.1.1k
Fehler: (konvertiert von Warnung) OpenSSL already installed
Ausführung angehalten
make: *** [Makevars.win:20: winlibs] Error 1
ERROR: compilation failed for package 'exasol'
* removing 'C:/Users/[...]/Documents/R/win-library/4.0/exasol'
Fehler: Failed to install 'exasol' from GitHub:
  (konvertiert von Warnung) installation of package ‘C:/Users/[...]~1/AppData/Local/Temp/RtmpSixxW8/file7c8054b75525/exasol_7.0.2.tar.gz’ had non-zero exit status

Session Info

R version 4.0.2 (2020-06-22)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19042)

Matrix products: default

locale:
[1] LC_COLLATE=German_Germany.1252  LC_CTYPE=German_Germany.1252    LC_MONETARY=German_Germany.1252 LC_NUMERIC=C                    LC_TIME=German_Germany.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
 [1] ps_1.6.0          prettyunits_1.1.1 rprojroot_2.0.2   digest_0.6.28     crayon_1.4.2      withr_2.4.2       R6_2.5.1          lifecycle_1.0.1   magrittr_2.0.1   
[10] rlang_0.4.12      cli_3.1.0         curl_4.3          rstudioapi_0.13   fs_1.5.0          remotes_2.2.0     testthat_3.1.0    callr_3.7.0       ellipsis_0.3.2   
[19] devtools_2.3.2    desc_1.4.0        tools_4.0.2       glue_1.5.0        purrr_0.3.4       pkgload_1.2.3     compiler_4.0.2    processx_3.5.2    pkgbuild_1.1.0   
[28] sessioninfo_1.1.1 memoise_1.1.0     usethis_2.1.3    
tomuben commented 2 years ago

It seems that there is an environment variable which causes warnings to be treated as error during installation: https://github.com/r-lib/remotes#environment-variables

Setting R_REMOTES_NO_ERRORS_FROM_WARNINGS="false" will cause warning messages during calls to install.packages() to become errors. Often warning messages are caused by dependencies failing to install.
tomuben commented 2 years ago

@KleinhansDa I integrated a fix to main. Could you please re-try, thanks.

kleinhansda commented 2 years ago

Thanks! I will as soon as possible.

kleinhansda commented 2 years ago

Hi @tomuben, the problem remains

> devtools::install_github("EXASOL/r-exasol")
Downloading GitHub repo EXASOL/r-exasol@HEAD
√  checking for file 'C:\Users\[...]\AppData\Local\Temp\RtmpmaoK86\remotes4b64523a268c\exasol-r-exasol-103a6cb/DESCRIPTION' (771ms)
-  preparing 'exasol': (895ms)
√  checking DESCRIPTION meta-information ... 
-  cleaning src
-  installing the package to process help pages (2.4s)
-  saving partial Rd database (58.3s)
-  cleaning src
-  checking for LF line-endings in source and make files and shell scripts (2s)
-  checking for empty or unneeded directories (498ms)
-  building 'exasol_7.1.0.tar.gz' (392ms)
   Warnung: file 'exasol/cleanup' did not have execute permissions: corrected
   Warnung: file 'exasol/configure' did not have execute permissions: corrected

Installing package into ‘C:/Users/[...]/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
* installing *source* package 'exasol' ...
** using staged installation

   **********************************************
   WARNING: this package has a configure script
         It probably needs manual configuration
   **********************************************

** libs

*** arch - i386
"C:/R/R-40~1.2/bin/i386/Rscript.exe" "../tools/winlibs.R" 1.1.1k
OpenSSL already installed
/mingw32/bin/g++  -std=gnu++14 -I"C:/R/R-40~1.2/include" -DNDEBUG -I. -I../windows/openssl-1.1.1k/include -I'C:/Users/[...]/Documents/R/win-library/4.0/testthat/include'        -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c r_exasol/connection_context.cpp -o r_exasol/connection_context.o
/mingw32/bin/g++  -std=gnu++14 -I"C:/R/R-40~1.2/include" -DNDEBUG -I. -I../windows/openssl-1.1.1k/include -I'C:/Users/[...]/Documents/R/win-library/4.0/testthat/include'        -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c r_exasol/rconnection/r_reader_connection.cpp -o r_exasol/rconnection/r_reader_connection.o
/mingw32/bin/g++  -std=gnu++14 -I"C:/R/R-40~1.2/include" -DNDEBUG -I. -I../windows/openssl-1.1.1k/include -I'C:/Users/[...]/Documents/R/win-library/4.0/testthat/include'        -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c r_exasol/rconnection/r_writer_connection.cpp -o r_exasol/rconnection/r_writer_connection.o
/mingw32/bin/g++  -std=gnu++14 -I"C:/R/R-40~1.2/include" -DNDEBUG -I. -I../windows/openssl-1.1.1k/include -I'C:/Users/[...]/Documents/R/win-library/4.0/testthat/include'        -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c r_exasol/ssl/certificate.cpp -o r_exasol/ssl/certificate.o
/mingw32/bin/g++  -std=gnu++14 -I"C:/R/R-40~1.2/include" -DNDEBUG -I. -I../windows/openssl-1.1.1k/include -I'C:/Users/[...]/Documents/R/win-library/4.0/testthat/include'        -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c r_exasol/connection/socket/socket_impl.cpp -o r_exasol/connection/socket/socket_impl.o
/mingw32/bin/g++  -std=gnu++14 -I"C:/R/R-40~1.2/include" -DNDEBUG -I. -I../windows/openssl-1.1.1k/include -I'C:/Users/[...]/Documents/R/win-library/4.0/testthat/include'        -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c r_exasol/connection/socket/ssl_socket_impl.cpp -o r_exasol/connection/socket/ssl_socket_impl.o
/mingw32/bin/g++  -std=gnu++14 -I"C:/R/R-40~1.2/include" -DNDEBUG -I. -I../windows/openssl-1.1.1k/include -I'C:/Users/[...]/Documents/R/win-library/4.0/testthat/include'        -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c r_exasol/connection/protocol/meta_info_reader.cpp -o r_exasol/connection/protocol/meta_info_reader.o
/mingw32/bin/g++  -std=gnu++14 -I"C:/R/R-40~1.2/include" -DNDEBUG -I. -I../windows/openssl-1.1.1k/include -I'C:/Users/[...]/Documents/R/win-library/4.0/testthat/include'        -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c r_exasol/connection/protocol/common.cpp -o r_exasol/connection/protocol/common.o
/mingw32/bin/g++  -std=gnu++14 -I"C:/R/R-40~1.2/include" -DNDEBUG -I. -I../windows/openssl-1.1.1k/include -I'C:/Users/[...]/Documents/R/win-library/4.0/testthat/include'        -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c r_exasol/connection/protocol/http/writer/http_chunk_writer.cpp -o r_exasol/connection/protocol/http/writer/http_chunk_writer.o
/mingw32/bin/g++  -std=gnu++14 -I"C:/R/R-40~1.2/include" -DNDEBUG -I. -I../windows/openssl-1.1.1k/include -I'C:/Users/[...]/Documents/R/win-library/4.0/testthat/include'        -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c r_exasol/connection/protocol/http/reader/http_chunk_reader.cpp -o r_exasol/connection/protocol/http/reader/http_chunk_reader.o
/mingw32/bin/g++  -std=gnu++14 -I"C:/R/R-40~1.2/include" -DNDEBUG -I. -I../windows/openssl-1.1.1k/include -I'C:/Users/[...]/Documents/R/win-library/4.0/testthat/include'        -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c r_exasol/connection/protocol/http/conn/http_connection_establisher.cpp -o r_exasol/connection/protocol/http/conn/http_connection_establisher.o
/mingw32/bin/g++  -std=gnu++14 -I"C:/R/R-40~1.2/include" -DNDEBUG -I. -I../windows/openssl-1.1.1k/include -I'C:/Users/[...]/Documents/R/win-library/4.0/testthat/include'        -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c r_exasol/connection/protocol/https/conn/https_connection_establisher.cpp -o r_exasol/connection/protocol/https/conn/https_connection_establisher.o
/mingw32/bin/g++  -std=gnu++14 -I"C:/R/R-40~1.2/include" -DNDEBUG -I. -I../windows/openssl-1.1.1k/include -I'C:/Users/[...]/Documents/R/win-library/4.0/testthat/include'        -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c r_exasol/connection/connection_controller.cpp -o r_exasol/connection/connection_controller.o
/mingw32/bin/g++  -std=gnu++14 -I"C:/R/R-40~1.2/include" -DNDEBUG -I. -I../windows/openssl-1.1.1k/include -I'C:/Users/[...]/Documents/R/win-library/4.0/testthat/include'        -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c r_exasol/connection/connection_factory_impl.cpp -o r_exasol/connection/connection_factory_impl.o
/mingw32/bin/g++  -std=gnu++14 -I"C:/R/R-40~1.2/include" -DNDEBUG -I. -I../windows/openssl-1.1.1k/include -I'C:/Users/[...]/Documents/R/win-library/4.0/testthat/include'        -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c r_exasol/odbc/odbc_query_executor.cpp -o r_exasol/odbc/odbc_query_executor.o
/mingw32/bin/g++  -std=gnu++14 -I"C:/R/R-40~1.2/include" -DNDEBUG -I. -I../windows/openssl-1.1.1k/include -I'C:/Users/[...]/Documents/R/win-library/4.0/testthat/include'        -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c r_exasol/odbc/odbc_session_info_impl.cpp -o r_exasol/odbc/odbc_session_info_impl.o
/mingw32/bin/g++  -std=gnu++14 -I"C:/R/R-40~1.2/include" -DNDEBUG -I. -I../windows/openssl-1.1.1k/include -I'C:/Users/[...]/Documents/R/win-library/4.0/testthat/include'        -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c connection.cpp -o connection.o
/mingw32/bin/g++  -std=gnu++14 -I"C:/R/R-40~1.2/include" -DNDEBUG -I. -I../windows/openssl-1.1.1k/include -I'C:/Users/[...]/Documents/R/win-library/4.0/testthat/include'        -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c r_exasol/debug_print/debug_printer.cpp -o r_exasol/debug_print/debug_printer.o
/mingw32/bin/g++  -std=gnu++14 -I"C:/R/R-40~1.2/include" -DNDEBUG -I. -I../windows/openssl-1.1.1k/include -I'C:/Users/[...]/Documents/R/win-library/4.0/testthat/include'        -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c r_exasol/debug_print/file_logger.cpp -o r_exasol/debug_print/file_logger.o
/mingw32/bin/g++  -std=gnu++14 -I"C:/R/R-40~1.2/include" -DNDEBUG -I. -I../windows/openssl-1.1.1k/include -I'C:/Users/[...]/Documents/R/win-library/4.0/testthat/include'        -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c tests/test_runner.cpp -o tests/test_runner.o
In file included from C:/Users/dkleinhans/Documents/R/win-library/4.0/testthat/include/testthat.h:1,
                 from tests/test_runner.cpp:7:
C:/Users/[...]/Documents/R/win-library/4.0/testthat/include/testthat/testthat.h: In function 'std::ostream& Catch::cout()':
C:/Users/[...]/Documents/R/win-library/4.0/testthat/include/testthat/testthat.h:145:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
 }
 ^
C:/Users/[...]/Documents/R/win-library/4.0/testthat/include/testthat/testthat.h: In function 'std::ostream& Catch::cerr()':
C:/Users/[...]/Documents/R/win-library/4.0/testthat/include/testthat/testthat.h:152:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
 }
 ^
/mingw32/bin/gcc  -I"C:/R/R-40~1.2/include" -DNDEBUG -I. -I../windows/openssl-1.1.1k/include -I'C:/Users/[...]/Documents/R/win-library/4.0/testthat/include'        -O2 -Wall  -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c exasol.c -o exasol.o
/mingw32/bin/g++ -shared -s -static-libgcc -o exasol.dll tmp.def r_exasol/connection_context.o r_exasol/rconnection/r_reader_connection.o r_exasol/rconnection/r_writer_connection.o r_exasol/ssl/certificate.o r_exasol/connection/socket/socket_impl.o r_exasol/connection/socket/ssl_socket_impl.o r_exasol/connection/protocol/meta_info_reader.o r_exasol/connection/protocol/common.o r_exasol/connection/protocol/http/writer/http_chunk_writer.o r_exasol/connection/protocol/http/reader/http_chunk_reader.o r_exasol/connection/protocol/http/conn/http_connection_establisher.o r_exasol/connection/protocol/https/conn/https_connection_establisher.o r_exasol/connection/connection_controller.o r_exasol/connection/connection_factory_impl.o r_exasol/odbc/odbc_query_executor.o r_exasol/odbc/odbc_session_info_impl.o connection.o r_exasol/debug_print/debug_printer.o r_exasol/debug_print/file_logger.o tests/test_runner.o exasol.o -lodbc32 -lpthread -lws2_32 -L../windows/openssl-1.1.1k/lib/i386 -lssl -lcrypto -lws2_32 -lcrypt32 -LC:/R/R-40~1.2/bin/i386 -lR
installing to C:/Users/[...]/Documents/R/win-library/4.0/00LOCK-exasol/00new/exasol/libs/i386

*** arch - x64
"C:/R/R-40~1.2/bin/x64/Rscript.exe" "../tools/winlibs.R" 1.1.1k
OpenSSL already installed
/mingw64/bin/g++  -std=gnu++14 -I"C:/R/R-40~1.2/include" -DNDEBUG -I. -I../windows/openssl-1.1.1k/include -I'C:/Users/[...]/Documents/R/win-library/4.0/testthat/include'        -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c r_exasol/connection_context.cpp -o r_exasol/connection_context.o
/mingw64/bin/g++  -std=gnu++14 -I"C:/R/R-40~1.2/include" -DNDEBUG -I. -I../windows/openssl-1.1.1k/include -I'C:/Users/[...]/Documents/R/win-library/4.0/testthat/include'        -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c r_exasol/rconnection/r_reader_connection.cpp -o r_exasol/rconnection/r_reader_connection.o
/mingw64/bin/g++  -std=gnu++14 -I"C:/R/R-40~1.2/include" -DNDEBUG -I. -I../windows/openssl-1.1.1k/include -I'C:/Users/[...]/Documents/R/win-library/4.0/testthat/include'        -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c r_exasol/rconnection/r_writer_connection.cpp -o r_exasol/rconnection/r_writer_connection.o
/mingw64/bin/g++  -std=gnu++14 -I"C:/R/R-40~1.2/include" -DNDEBUG -I. -I../windows/openssl-1.1.1k/include -I'C:/Users/[...]/Documents/R/win-library/4.0/testthat/include'        -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c r_exasol/ssl/certificate.cpp -o r_exasol/ssl/certificate.o
/mingw64/bin/g++  -std=gnu++14 -I"C:/R/R-40~1.2/include" -DNDEBUG -I. -I../windows/openssl-1.1.1k/include -I'C:/Users/[...]/Documents/R/win-library/4.0/testthat/include'        -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c r_exasol/connection/socket/socket_impl.cpp -o r_exasol/connection/socket/socket_impl.o
/mingw64/bin/g++  -std=gnu++14 -I"C:/R/R-40~1.2/include" -DNDEBUG -I. -I../windows/openssl-1.1.1k/include -I'C:/Users/[...]/Documents/R/win-library/4.0/testthat/include'        -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c r_exasol/connection/socket/ssl_socket_impl.cpp -o r_exasol/connection/socket/ssl_socket_impl.o
/mingw64/bin/g++  -std=gnu++14 -I"C:/R/R-40~1.2/include" -DNDEBUG -I. -I../windows/openssl-1.1.1k/include -I'C:/Users/[...]/Documents/R/win-library/4.0/testthat/include'        -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c r_exasol/connection/protocol/meta_info_reader.cpp -o r_exasol/connection/protocol/meta_info_reader.o
/mingw64/bin/g++  -std=gnu++14 -I"C:/R/R-40~1.2/include" -DNDEBUG -I. -I../windows/openssl-1.1.1k/include -I'C:/Users/[...]/Documents/R/win-library/4.0/testthat/include'        -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c r_exasol/connection/protocol/common.cpp -o r_exasol/connection/protocol/common.o
/mingw64/bin/g++  -std=gnu++14 -I"C:/R/R-40~1.2/include" -DNDEBUG -I. -I../windows/openssl-1.1.1k/include -I'C:/Users/[...]/Documents/R/win-library/4.0/testthat/include'        -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c r_exasol/connection/protocol/http/writer/http_chunk_writer.cpp -o r_exasol/connection/protocol/http/writer/http_chunk_writer.o
/mingw64/bin/g++  -std=gnu++14 -I"C:/R/R-40~1.2/include" -DNDEBUG -I. -I../windows/openssl-1.1.1k/include -I'C:/Users/[...]/Documents/R/win-library/4.0/testthat/include'        -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c r_exasol/connection/protocol/http/reader/http_chunk_reader.cpp -o r_exasol/connection/protocol/http/reader/http_chunk_reader.o
/mingw64/bin/g++  -std=gnu++14 -I"C:/R/R-40~1.2/include" -DNDEBUG -I. -I../windows/openssl-1.1.1k/include -I'C:/Users/[...]/Documents/R/win-library/4.0/testthat/include'        -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c r_exasol/connection/protocol/http/conn/http_connection_establisher.cpp -o r_exasol/connection/protocol/http/conn/http_connection_establisher.o
/mingw64/bin/g++  -std=gnu++14 -I"C:/R/R-40~1.2/include" -DNDEBUG -I. -I../windows/openssl-1.1.1k/include -I'C:/Users/[...]/Documents/R/win-library/4.0/testthat/include'        -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c r_exasol/connection/protocol/https/conn/https_connection_establisher.cpp -o r_exasol/connection/protocol/https/conn/https_connection_establisher.o
/mingw64/bin/g++  -std=gnu++14 -I"C:/R/R-40~1.2/include" -DNDEBUG -I. -I../windows/openssl-1.1.1k/include -I'C:/Users/[...]/Documents/R/win-library/4.0/testthat/include'        -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c r_exasol/connection/connection_controller.cpp -o r_exasol/connection/connection_controller.o
/mingw64/bin/g++  -std=gnu++14 -I"C:/R/R-40~1.2/include" -DNDEBUG -I. -I../windows/openssl-1.1.1k/include -I'C:/Users/[...]/Documents/R/win-library/4.0/testthat/include'        -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c r_exasol/connection/connection_factory_impl.cpp -o r_exasol/connection/connection_factory_impl.o
/mingw64/bin/g++  -std=gnu++14 -I"C:/R/R-40~1.2/include" -DNDEBUG -I. -I../windows/openssl-1.1.1k/include -I'C:/Users/[...]/Documents/R/win-library/4.0/testthat/include'        -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c r_exasol/odbc/odbc_query_executor.cpp -o r_exasol/odbc/odbc_query_executor.o
/mingw64/bin/g++  -std=gnu++14 -I"C:/R/R-40~1.2/include" -DNDEBUG -I. -I../windows/openssl-1.1.1k/include -I'C:/Users/[...]/Documents/R/win-library/4.0/testthat/include'        -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c r_exasol/odbc/odbc_session_info_impl.cpp -o r_exasol/odbc/odbc_session_info_impl.o
/mingw64/bin/g++  -std=gnu++14 -I"C:/R/R-40~1.2/include" -DNDEBUG -I. -I../windows/openssl-1.1.1k/include -I'C:/Users/[...]/Documents/R/win-library/4.0/testthat/include'        -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c connection.cpp -o connection.o
/mingw64/bin/g++  -std=gnu++14 -I"C:/R/R-40~1.2/include" -DNDEBUG -I. -I../windows/openssl-1.1.1k/include -I'C:/Users/[...]/Documents/R/win-library/4.0/testthat/include'        -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c r_exasol/debug_print/debug_printer.cpp -o r_exasol/debug_print/debug_printer.o
/mingw64/bin/g++  -std=gnu++14 -I"C:/R/R-40~1.2/include" -DNDEBUG -I. -I../windows/openssl-1.1.1k/include -I'C:/Users/[...]/Documents/R/win-library/4.0/testthat/include'        -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c r_exasol/debug_print/file_logger.cpp -o r_exasol/debug_print/file_logger.o
/mingw64/bin/g++  -std=gnu++14 -I"C:/R/R-40~1.2/include" -DNDEBUG -I. -I../windows/openssl-1.1.1k/include -I'C:/Users/[...]/Documents/R/win-library/4.0/testthat/include'        -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c tests/test_runner.cpp -o tests/test_runner.o
In file included from C:/Users/[...]/Documents/R/win-library/4.0/testthat/include/testthat.h:1,
                 from tests/test_runner.cpp:7:
C:/Users/[...]/Documents/R/win-library/4.0/testthat/include/testthat/testthat.h: In function 'std::ostream& Catch::cout()':
C:/Users/[...]/Documents/R/win-library/4.0/testthat/include/testthat/testthat.h:145:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
 }
 ^
C:/Users/[...]/Documents/R/win-library/4.0/testthat/include/testthat/testthat.h: In function 'std::ostream& Catch::cerr()':
C:/Users/[...]/Documents/R/win-library/4.0/testthat/include/testthat/testthat.h:152:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
 }
 ^
/mingw64/bin/gcc  -I"C:/R/R-40~1.2/include" -DNDEBUG -I. -I../windows/openssl-1.1.1k/include -I'C:/Users/[...]/Documents/R/win-library/4.0/testthat/include'        -O2 -Wall  -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c exasol.c -o exasol.o
/mingw64/bin/g++ -shared -s -static-libgcc -o exasol.dll tmp.def r_exasol/connection_context.o r_exasol/rconnection/r_reader_connection.o r_exasol/rconnection/r_writer_connection.o r_exasol/ssl/certificate.o r_exasol/connection/socket/socket_impl.o r_exasol/connection/socket/ssl_socket_impl.o r_exasol/connection/protocol/meta_info_reader.o r_exasol/connection/protocol/common.o r_exasol/connection/protocol/http/writer/http_chunk_writer.o r_exasol/connection/protocol/http/reader/http_chunk_reader.o r_exasol/connection/protocol/http/conn/http_connection_establisher.o r_exasol/connection/protocol/https/conn/https_connection_establisher.o r_exasol/connection/connection_controller.o r_exasol/connection/connection_factory_impl.o r_exasol/odbc/odbc_query_executor.o r_exasol/odbc/odbc_session_info_impl.o connection.o r_exasol/debug_print/debug_printer.o r_exasol/debug_print/file_logger.o tests/test_runner.o exasol.o -lodbc32 -lpthread -lws2_32 -L../windows/openssl-1.1.1k/lib/x64 -lssl -lcrypto -lws2_32 -lcrypt32 -LC:/R/R-40~1.2/bin/x64 -lR
installing to C:/Users/[...]/Documents/R/win-library/4.0/00LOCK-exasol/00new/exasol/libs/x64
** R
** inst
** byte-compile and prepare package for lazy loading
Fehler: (konvertiert von Warnung) Paket 'DBI' wurde unter R Version 4.0.5 erstellt
Ausführung angehalten
ERROR: lazy loading failed for package 'exasol'
* removing 'C:/Users/[...]/Documents/R/win-library/4.0/exasol'
Fehler: Failed to install 'exasol' from GitHub:
  (konvertiert von Warnung) installation of package ‘C:/Users/DKLEIN~1/AppData/Local/Temp/RtmpmaoK86/file4b644db86dbe/exasol_7.1.0.tar.gz’ had non-zero exit status

The environment variable R_REMOTES_NO_ERRORS_FROM_WARNINGS is empty

> Sys.getenv('R_REMOTES_NO_ERRORS_FROM_WARNINGS')
[1] ""
tkilias commented 2 years ago

Hello @KleinhansDa ,

I think, this is a different error.

Fehler: (konvertiert von Warnung) Paket 'DBI' wurde unter R Version 4.0.5 erstellt

It looks like, the R-Package DBI isn't created for your R version. Could you check which R version you are using and maybe update or reinstall the DBI package? Perhaps, you need to update other packages, too, in case you might have updated your R version lately.

tomuben commented 2 years ago

@KleinhansDa , alternatively you also could try to set the respective environment variable to true:

R_REMOTES_NO_ERRORS_FROM_WARNINGS=true
kleinhansda commented 2 years ago

Hi @tomuben, it did work after setting R_REMOTES_NO_ERRORS_FROM_WARNINGS = TRUE.

Still I don't get what caused the warning.

> sessionInfo()
R version 4.0.2 (2020-06-22)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19042)

Matrix products: default

locale:
[1] LC_COLLATE=German_Germany.1252  LC_CTYPE=German_Germany.1252    LC_MONETARY=German_Germany.1252
[4] LC_NUMERIC=C                    LC_TIME=German_Germany.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] exasol_7.1.0 DBI_1.1.1   

loaded via a namespace (and not attached):
 [1] rstudioapi_0.13   magrittr_2.0.1    usethis_2.1.3     devtools_2.3.2    pkgload_1.2.4     R6_2.5.1         
 [7] rlang_0.4.12      tools_4.0.2       pkgbuild_1.1.0    sessioninfo_1.1.1 cli_3.1.0         withr_2.4.3      
[13] ellipsis_0.3.2    remotes_2.2.0     assertthat_0.2.1  digest_0.6.29     rprojroot_2.0.2   lifecycle_1.0.1  
[19] crayon_1.4.2      processx_3.5.2    purrr_0.3.4       callr_3.7.0       RODBC_1.3-19      fs_1.5.0         
[25] ps_1.6.0          testthat_3.1.1    curl_4.3          memoise_1.1.0     glue_1.5.1        compiler_4.0.2   
[31] desc_1.4.0        prettyunits_1.1.1

THANKS!