* installing to library ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages’
* installing *source* package ‘clustermq’ ...
** package ‘clustermq’ successfully unpacked and MD5 sums checked
** using staged installation
* system has libzmq -> linking system library
* libzmq without DRAFT API found -> disabling crash monitor feature
** libs
using C++ compiler: ‘g++-13 (Debian 13.2.0-23) 13.2.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpIkS9Tk/R.INSTALL1dd9111d045821/clustermq/src'
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -isystem /usr/include/mit-krb5 -I/usr/include/pgm-5.3 -I/usr/include/libxml2 -I/usr/include/x86_64-linux-gnu  -fPIC -Icppzmq -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c CMQMaster.cpp -o CMQMaster.o
In file included from CMQMaster.cpp:2:
CMQMaster.h: In member function ‘bool CMQMaster::close(int)’:
CMQMaster.h:65:26: warning: variable ‘n’ set but not used [-Wunused-but-set-variable]
   65 |                     auto n = recv_multipart(sock, std::back_inserter(msgs));
      |                          ^
CMQMaster.h:62:21: warning: unused variable ‘rc’ [-Wunused-variable]
   62 |                 int rc = zmq::poll(pitems, time_left);
      |                     ^~
CMQMaster.h: In member function ‘SEXPREC* CMQMaster::recv(int)’:
CMQMaster.h:107:18: warning: variable ‘n’ set but not used [-Wunused-but-set-variable]
  107 |             auto n = recv_multipart(sock, std::back_inserter(msgs));
      |                  ^
CMQMaster.h:109:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<zmq::message_t>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  109 |         } while(data_offset >= msgs.size());
      |                 ~~~~~~~~~~~~^~~~~~~~~~~~~~
CMQMaster.h: In member function ‘void CMQMaster::proxy_submit_cmd(SEXP, int)’:
CMQMaster.h:162:14: warning: variable ‘n’ set but not used [-Wunused-but-set-variable]
  162 |         auto n = recv_multipart(sock, std::back_inserter(msgs));
      |              ^
CMQMaster.h: In member function ‘int CMQMaster::register_peer(std::vector<zmq::message_t>&)’:
CMQMaster.h:344:25: warning: comparison of integer expressions of different signedness: ‘std::vector<zmq::message_t>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
  344 |         if (msgs.size() > ++cur_i) {
      |             ~~~~~~~~~~~~^~~~~~~~~
CMQMaster.h:359:26: warning: comparison of integer expressions of different signedness: ‘std::unordered_map<std::__cxx11::basic_string<char>, CMQMaster::worker_t>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
  359 |         if (peers.size() > prev_size && w.status == wlife_t::active) {
      |             ~~~~~~~~~~~~~^~~~~~~~~~~
CMQMaster.h:364:25: warning: comparison of integer expressions of different signedness: ‘std::vector<zmq::message_t>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
  364 |         if (msgs.size() > cur_i+2) {
      |             ~~~~~~~~~~~~^~~~~~~~~
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -isystem /usr/include/mit-krb5 -I/usr/include/pgm-5.3 -I/usr/include/libxml2 -I/usr/include/x86_64-linux-gnu  -fPIC -Icppzmq -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c CMQProxy.cpp -o CMQProxy.o
In file included from CMQProxy.h:3,
                 from CMQProxy.cpp:2:
CMQMaster.h: In member function ‘bool CMQMaster::close(int)’:
CMQMaster.h:65:26: warning: variable ‘n’ set but not used [-Wunused-but-set-variable]
   65 |                     auto n = recv_multipart(sock, std::back_inserter(msgs));
      |                          ^
CMQMaster.h:62:21: warning: unused variable ‘rc’ [-Wunused-variable]
   62 |                 int rc = zmq::poll(pitems, time_left);
      |                     ^~
CMQMaster.h: In member function ‘SEXPREC* CMQMaster::recv(int)’:
CMQMaster.h:107:18: warning: variable ‘n’ set but not used [-Wunused-but-set-variable]
  107 |             auto n = recv_multipart(sock, std::back_inserter(msgs));
      |                  ^
CMQMaster.h:109:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<zmq::message_t>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  109 |         } while(data_offset >= msgs.size());
      |                 ~~~~~~~~~~~~^~~~~~~~~~~~~~
CMQMaster.h: In member function ‘void CMQMaster::proxy_submit_cmd(SEXP, int)’:
CMQMaster.h:162:14: warning: variable ‘n’ set but not used [-Wunused-but-set-variable]
  162 |         auto n = recv_multipart(sock, std::back_inserter(msgs));
      |              ^
CMQMaster.h: In member function ‘int CMQMaster::register_peer(std::vector<zmq::message_t>&)’:
CMQMaster.h:344:25: warning: comparison of integer expressions of different signedness: ‘std::vector<zmq::message_t>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
  344 |         if (msgs.size() > ++cur_i) {
      |             ~~~~~~~~~~~~^~~~~~~~~
CMQMaster.h:359:26: warning: comparison of integer expressions of different signedness: ‘std::unordered_map<std::__cxx11::basic_string<char>, CMQMaster::worker_t>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
  359 |         if (peers.size() > prev_size && w.status == wlife_t::active) {
      |             ~~~~~~~~~~~~~^~~~~~~~~~~
CMQMaster.h:364:25: warning: comparison of integer expressions of different signedness: ‘std::vector<zmq::message_t>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
  364 |         if (msgs.size() > cur_i+2) {
      |             ~~~~~~~~~~~~^~~~~~~~~
CMQProxy.h: In member function ‘SEXPREC* CMQProxy::proxy_receive_cmd()’:
CMQProxy.h:54:14: warning: variable ‘n’ set but not used [-Wunused-but-set-variable]
   54 |         auto n = recv_multipart(to_master, std::back_inserter(msgs));
      |              ^
CMQProxy.h:55:14: warning: unused variable ‘status’ [-Wunused-variable]
   55 |         auto status = msg2wlife_t(msgs[1]);
      |              ^~~~~~
CMQProxy.h: In member function ‘bool CMQProxy::process_one()’:
CMQProxy.h:116:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<zmq::message_t>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  116 |             for (int i=0; i<msgs.size(); i++) {
      |                           ~^~~~~~~~~~~~
CMQProxy.h:108:18: warning: variable ‘n’ set but not used [-Wunused-but-set-variable]
  108 |             auto n = recv_multipart(to_master, std::back_inserter(msgs));
      |                  ^
CMQProxy.h:139:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<zmq::message_t>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  139 |             for (int i=0; i<msgs.size(); i++)
      |                           ~^~~~~~~~~~~~
CMQProxy.h:137:18: warning: variable ‘n’ set but not used [-Wunused-but-set-variable]
  137 |             auto n = recv_multipart(to_worker, std::back_inserter(msgs));
      |                  ^
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -isystem /usr/include/mit-krb5 -I/usr/include/pgm-5.3 -I/usr/include/libxml2 -I/usr/include/x86_64-linux-gnu  -fPIC -Icppzmq -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c CMQWorker.cpp -o CMQWorker.o
In file included from CMQWorker.cpp:2:
CMQWorker.h: In member function ‘bool CMQWorker::process_one()’:
CMQWorker.h:76:14: warning: variable ‘n’ set but not used [-Wunused-but-set-variable]
   76 |         auto n = recv_multipart(sock, std::back_inserter(msgs));
      |              ^
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -isystem /usr/include/mit-krb5 -I/usr/include/pgm-5.3 -I/usr/include/libxml2 -I/usr/include/x86_64-linux-gnu  -fPIC -Icppzmq -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c RcppExports.cpp -o RcppExports.o
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -isystem /usr/include/mit-krb5 -I/usr/include/pgm-5.3 -I/usr/include/libxml2 -I/usr/include/x86_64-linux-gnu  -fPIC -Icppzmq -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c common.cpp -o common.o
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -isystem /usr/include/mit-krb5 -I/usr/include/pgm-5.3 -I/usr/include/libxml2 -I/usr/include/x86_64-linux-gnu  -fPIC -Icppzmq -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c util.cpp -o util.o
util.cpp: In function ‘bool has_connectivity(std::string)’:
util.cpp:28:14: warning: variable ‘n’ set but not used [-Wunused-but-set-variable]
   28 |         auto n = server.recv(msg2, zmq::recv_flags::dontwait);
      |              ^
g++-13 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -Wl,-O1 -o clustermq.so CMQMaster.o CMQProxy.o CMQWorker.o RcppExports.o common.o util.o -lzmq -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpIkS9Tk/R.INSTALL1dd9111d045821/clustermq/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpIkS9Tk/R.INSTALL1dd9111d045821/clustermq/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpIkS9Tk/R.INSTALL1dd9111d045821/clustermq/src'
installing to /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/00LOCK-clustermq/00new/clustermq/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (clustermq)