* installing *source* package ‘websocket’ ... ** using staged installation Found pkg-config cflags and libs! Using PKG_CFLAGS= Using PKG_LIBS=-lssl -lcrypto ** libs using C++ compiler: ‘Debian clang version 18.1.8 (3)’ clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I./lib -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/cpp11/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/AsioHeaders/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/later/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c cpp11.cpp -o cpp11.o In file included from cpp11.cpp:5: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/cpp11/include/cpp11/declarations.hpp:13: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/cpp11/include/cpp11.hpp:3: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/cpp11/include/cpp11/R.hpp:11:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 11 | #define R_NO_REMAP | ^ :4:9: note: previous definition is here 4 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I./lib -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/cpp11/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/AsioHeaders/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/later/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c debug.cpp -o debug.o clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I./lib -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/cpp11/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/AsioHeaders/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/later/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c websocket.cpp -o websocket.o In file included from websocket.cpp:14: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/cpp11/include/cpp11.hpp:3: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/cpp11/include/cpp11/R.hpp:11:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 11 | #define R_NO_REMAP | ^ :4:9: note: previous definition is here 4 | #define R_NO_REMAP 1 | ^ In file included from websocket.cpp:15: ./wrapped_print.h:37:11: warning: variable 'res' set but not used [-Wunused-but-set-variable] 37 | ssize_t res = write(STDERR_FILENO, buf, n); | ^ ./wrapped_print.h:56:11: warning: variable 'res' set but not used [-Wunused-but-set-variable] 56 | ssize_t res = write(STDOUT_FILENO, buf, n); | ^ 3 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I./lib -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/cpp11/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/AsioHeaders/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/later/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c websocket_connection.cpp -o websocket_connection.o In file included from websocket_connection.cpp:1: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/cpp11/include/cpp11.hpp:3: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/cpp11/include/cpp11/R.hpp:11:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 11 | #define R_NO_REMAP | ^ :4:9: note: previous definition is here 4 | #define R_NO_REMAP 1 | ^ In file included from websocket_connection.cpp:2: In file included from ./websocket_defs.h:4: In file included from ./client.hpp:5: ./wrapped_print.h:37:11: warning: variable 'res' set but not used [-Wunused-but-set-variable] 37 | ssize_t res = write(STDERR_FILENO, buf, n); | ^ ./wrapped_print.h:56:11: warning: variable 'res' set but not used [-Wunused-but-set-variable] 56 | ssize_t res = write(STDOUT_FILENO, buf, n); | ^ In file included from websocket_connection.cpp:1: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/cpp11/include/cpp11.hpp:5: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/cpp11/include/cpp11/as.hpp:5: In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/memory:66: In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/stl_tempbuf.h:61: /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/stl_construct.h:151:7: warning: destructor called on non-final 'ClientImpl>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 151 | __pointer->~_Tp(); | ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/alloc_traits.h:671:9: note: in instantiation of function template specialization 'std::_Destroy>>' requested here 671 | { std::_Destroy(__p); } | ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/shared_ptr_base.h:616:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy>>' requested here 616 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/shared_ptr_base.h:602:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace>, std::allocator, __gnu_cxx::_S_atomic>::_M_dispose' requested here 602 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace>, std::allocator, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/shared_ptr_base.h:1713:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count>, std::allocator>' requested here 1713 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr>>::__shared_ptr>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr>>::shared_ptr>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ websocket_connection.cpp:64:14: note: in instantiation of function template specialization 'std::make_shared>>' requested here 64 | client = make_shared>(); | ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/stl_construct.h:151:19: note: qualify call to silence this warning 151 | __pointer->~_Tp(); | ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/stl_construct.h:151:7: warning: destructor called on non-final 'ClientImpl>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 151 | __pointer->~_Tp(); | ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/alloc_traits.h:671:9: note: in instantiation of function template specialization 'std::_Destroy>>' requested here 671 | { std::_Destroy(__p); } | ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/shared_ptr_base.h:616:28: note: in instantiation of function template specialization 'std::allocator_traits>::destroy>>' requested here 616 | allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); | ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/shared_ptr_base.h:602:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace>, std::allocator, __gnu_cxx::_S_atomic>::_M_dispose' requested here 602 | _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args) | ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace>, std::allocator, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here 970 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); | ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/shared_ptr_base.h:1713:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count>, std::allocator>' requested here 1713 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) | ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr>>::__shared_ptr>' requested here 463 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) | ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr>>::shared_ptr>' requested here 1007 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, | ^ websocket_connection.cpp:67:14: note: in instantiation of function template specialization 'std::make_shared>>' requested here 67 | client = make_shared>(); | ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/stl_construct.h:151:19: note: qualify call to silence this warning 151 | __pointer->~_Tp(); | ^ 5 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I./lib -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/cpp11/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/AsioHeaders/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/later/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c websocket_task.cpp -o websocket_task.o In file included from websocket_task.cpp:1: In file included from ./websocket_defs.h:4: In file included from ./client.hpp:5: ./wrapped_print.h:37:11: warning: variable 'res' set but not used [-Wunused-but-set-variable] 37 | ssize_t res = write(STDERR_FILENO, buf, n); | ^ ./wrapped_print.h:56:11: warning: variable 'res' set but not used [-Wunused-but-set-variable] 56 | ssize_t res = write(STDOUT_FILENO, buf, n); | ^ In file included from websocket_task.cpp:1: In file included from ./websocket_defs.h:4: In file included from ./client.hpp:6: In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/cpp11/include/cpp11.hpp:3: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/cpp11/include/cpp11/R.hpp:11:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 11 | #define R_NO_REMAP | ^ :4:9: note: previous definition is here 4 | #define R_NO_REMAP 1 | ^ 3 warnings generated. clang++-18 -std=gnu++17 -shared -L/home/hornik/tmp/R/lib -Wl,-O1 -o websocket.so cpp11.o debug.o websocket.o websocket_connection.o websocket_task.o -lssl -lcrypto -L/home/hornik/tmp/R/lib -lR installing to /srv/hornik/tmp/CRAN/websocket.Rcheck/00LOCK-websocket/00new/websocket/libs ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices *** copying figures ** 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 (websocket)