* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’ * installing *source* package ‘websocket’ ... ** package ‘websocket’ successfully unpacked and MD5 sums checked ** 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.4 (1)’ using C++11 make[1]: Entering directory '/tmp/Rtmp32rGN3/R.INSTALLa3eb2136ab926/websocket/src' clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./lib -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/cpp11/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/AsioHeaders/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/later/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion -c cpp11.cpp -o cpp11.o clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./lib -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/cpp11/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/AsioHeaders/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/later/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion -c debug.cpp -o debug.o clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./lib -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/cpp11/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/AsioHeaders/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/later/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion -c websocket.cpp -o websocket.o 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); | ^ 2 warnings generated. clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./lib -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/cpp11/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/AsioHeaders/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/later/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion -c websocket_connection.cpp -o websocket_connection.o 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/tmp/R.check/r-devel-clang/Work/build/Packages/cpp11/include/cpp11.hpp:5: In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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(); | ^ 4 warnings generated. clang++-18 -std=gnu++11 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./lib -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/cpp11/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/AsioHeaders/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/later/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -Wno-error=enum-constexpr-conversion -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); | ^ 2 warnings generated. clang++-18 -std=gnu++11 -shared -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/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.check/r-devel-clang/Work/build/lib -lR make[1]: Leaving directory '/tmp/Rtmp32rGN3/R.INSTALLa3eb2136ab926/websocket/src' make[1]: Entering directory '/tmp/Rtmp32rGN3/R.INSTALLa3eb2136ab926/websocket/src' make[1]: Leaving directory '/tmp/Rtmp32rGN3/R.INSTALLa3eb2136ab926/websocket/src' installing to /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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)