=> "/opt/local/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-trunk-x86_64/security/ecap_clamav_adapter", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for ecap_clamav_adapter-2.0.0nb21 --- all-recursive --- Making all in src --- all --- /opt/local/bin/bmake all-am --- ecap_clamav_adapter_la-Time.lo --- --- ecap_clamav_adapter_la-Adapter.lo --- --- ecap_clamav_adapter_la-Answers.lo --- --- ecap_clamav_adapter_la-Adapter.lo --- /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I/opt/local/include -I../src -I../src -I/opt/local/include -I/opt/local/include/libxml2 -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/libxml2 -I/usr/include -fpermissive -D_REENTRANT -pthread -MT ecap_clamav_adapter_la-Adapter.lo -MD -MP -MF .deps/ecap_clamav_adapter_la-Adapter.Tpo -c -o ecap_clamav_adapter_la-Adapter.lo `test -f 'Adapter.cc' || echo './'`Adapter.cc --- ecap_clamav_adapter_la-Time.lo --- /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I/opt/local/include -I../src -I../src -I/opt/local/include -I/opt/local/include/libxml2 -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/libxml2 -I/usr/include -fpermissive -D_REENTRANT -pthread -MT ecap_clamav_adapter_la-Time.lo -MD -MP -MF .deps/ecap_clamav_adapter_la-Time.Tpo -c -o ecap_clamav_adapter_la-Time.lo `test -f 'Time.cc' || echo './'`Time.cc --- ecap_clamav_adapter_la-Answers.lo --- /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I/opt/local/include -I../src -I../src -I/opt/local/include -I/opt/local/include/libxml2 -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/libxml2 -I/usr/include -fpermissive -D_REENTRANT -pthread -MT ecap_clamav_adapter_la-Answers.lo -MD -MP -MF .deps/ecap_clamav_adapter_la-Answers.Tpo -c -o ecap_clamav_adapter_la-Answers.lo `test -f 'Answers.cc' || echo './'`Answers.cc --- ecap_clamav_adapter_la-Adapter.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I/tmp/work/security/ecap_clamav_adapter/work/.buildlink/include -I../src -I/tmp/work/security/ecap_clamav_adapter/work/.buildlink/include/libxml2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -fpermissive -D_REENTRANT -pthread -MT ecap_clamav_adapter_la-Adapter.lo -MD -MP -MF .deps/ecap_clamav_adapter_la-Adapter.Tpo -c Adapter.cc -fPIC -DPIC -o .libs/ecap_clamav_adapter_la-Adapter.o --- ecap_clamav_adapter_la-Answers.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I/tmp/work/security/ecap_clamav_adapter/work/.buildlink/include -I../src -I/tmp/work/security/ecap_clamav_adapter/work/.buildlink/include/libxml2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -fpermissive -D_REENTRANT -pthread -MT ecap_clamav_adapter_la-Answers.lo -MD -MP -MF .deps/ecap_clamav_adapter_la-Answers.Tpo -c Answers.cc -fPIC -DPIC -o .libs/ecap_clamav_adapter_la-Answers.o --- ecap_clamav_adapter_la-Time.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I/tmp/work/security/ecap_clamav_adapter/work/.buildlink/include -I../src -I/tmp/work/security/ecap_clamav_adapter/work/.buildlink/include/libxml2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -fpermissive -D_REENTRANT -pthread -MT ecap_clamav_adapter_la-Time.lo -MD -MP -MF .deps/ecap_clamav_adapter_la-Time.Tpo -c Time.cc -fPIC -DPIC -o .libs/ecap_clamav_adapter_la-Time.o --- ecap_clamav_adapter_la-Answers.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I/tmp/work/security/ecap_clamav_adapter/work/.buildlink/include -I../src -I/tmp/work/security/ecap_clamav_adapter/work/.buildlink/include/libxml2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -fpermissive -D_REENTRANT -pthread -MT ecap_clamav_adapter_la-Answers.lo -MD -MP -MF .deps/ecap_clamav_adapter_la-Answers.Tpo -c Answers.cc -o ecap_clamav_adapter_la-Answers.o >/dev/null 2>&1 --- ecap_clamav_adapter_la-Time.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I/tmp/work/security/ecap_clamav_adapter/work/.buildlink/include -I../src -I/tmp/work/security/ecap_clamav_adapter/work/.buildlink/include/libxml2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -fpermissive -D_REENTRANT -pthread -MT ecap_clamav_adapter_la-Time.lo -MD -MP -MF .deps/ecap_clamav_adapter_la-Time.Tpo -c Time.cc -o ecap_clamav_adapter_la-Time.o >/dev/null 2>&1 --- ecap_clamav_adapter_la-Adapter.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I/tmp/work/security/ecap_clamav_adapter/work/.buildlink/include -I../src -I/tmp/work/security/ecap_clamav_adapter/work/.buildlink/include/libxml2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -fpermissive -D_REENTRANT -pthread -MT ecap_clamav_adapter_la-Adapter.lo -MD -MP -MF .deps/ecap_clamav_adapter_la-Adapter.Tpo -c Adapter.cc -o ecap_clamav_adapter_la-Adapter.o >/dev/null 2>&1 --- ecap_clamav_adapter_la-Time.lo --- mv -f .deps/ecap_clamav_adapter_la-Time.Tpo .deps/ecap_clamav_adapter_la-Time.Plo --- ecap_clamav_adapter_la-Antivirus.lo --- /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I/opt/local/include -I../src -I../src -I/opt/local/include -I/opt/local/include/libxml2 -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/libxml2 -I/usr/include -fpermissive -D_REENTRANT -pthread -MT ecap_clamav_adapter_la-Antivirus.lo -MD -MP -MF .deps/ecap_clamav_adapter_la-Antivirus.Tpo -c -o ecap_clamav_adapter_la-Antivirus.lo `test -f 'Antivirus.cc' || echo './'`Antivirus.cc --- ecap_clamav_adapter_la-Answers.lo --- mv -f .deps/ecap_clamav_adapter_la-Answers.Tpo .deps/ecap_clamav_adapter_la-Answers.Plo --- ecap_clamav_adapter_la-Service.lo --- /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I/opt/local/include -I../src -I../src -I/opt/local/include -I/opt/local/include/libxml2 -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/libxml2 -I/usr/include -fpermissive -D_REENTRANT -pthread -MT ecap_clamav_adapter_la-Service.lo -MD -MP -MF .deps/ecap_clamav_adapter_la-Service.Tpo -c -o ecap_clamav_adapter_la-Service.lo `test -f 'Service.cc' || echo './'`Service.cc --- ecap_clamav_adapter_la-Antivirus.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I/tmp/work/security/ecap_clamav_adapter/work/.buildlink/include -I../src -I/tmp/work/security/ecap_clamav_adapter/work/.buildlink/include/libxml2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -fpermissive -D_REENTRANT -pthread -MT ecap_clamav_adapter_la-Antivirus.lo -MD -MP -MF .deps/ecap_clamav_adapter_la-Antivirus.Tpo -c Antivirus.cc -fPIC -DPIC -o .libs/ecap_clamav_adapter_la-Antivirus.o --- ecap_clamav_adapter_la-Service.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I/tmp/work/security/ecap_clamav_adapter/work/.buildlink/include -I../src -I/tmp/work/security/ecap_clamav_adapter/work/.buildlink/include/libxml2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -fpermissive -D_REENTRANT -pthread -MT ecap_clamav_adapter_la-Service.lo -MD -MP -MF .deps/ecap_clamav_adapter_la-Service.Tpo -c Service.cc -fPIC -DPIC -o .libs/ecap_clamav_adapter_la-Service.o --- ecap_clamav_adapter_la-Adapter.lo --- mv -f .deps/ecap_clamav_adapter_la-Adapter.Tpo .deps/ecap_clamav_adapter_la-Adapter.Plo --- ecap_clamav_adapter_la-TricklingConfig.lo --- /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I/opt/local/include -I../src -I../src -I/opt/local/include -I/opt/local/include/libxml2 -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/libxml2 -I/usr/include -fpermissive -D_REENTRANT -pthread -MT ecap_clamav_adapter_la-TricklingConfig.lo -MD -MP -MF .deps/ecap_clamav_adapter_la-TricklingConfig.Tpo -c -o ecap_clamav_adapter_la-TricklingConfig.lo `test -f 'TricklingConfig.cc' || echo './'`TricklingConfig.cc --- ecap_clamav_adapter_la-Antivirus.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I/tmp/work/security/ecap_clamav_adapter/work/.buildlink/include -I../src -I/tmp/work/security/ecap_clamav_adapter/work/.buildlink/include/libxml2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -fpermissive -D_REENTRANT -pthread -MT ecap_clamav_adapter_la-Antivirus.lo -MD -MP -MF .deps/ecap_clamav_adapter_la-Antivirus.Tpo -c Antivirus.cc -o ecap_clamav_adapter_la-Antivirus.o >/dev/null 2>&1 --- ecap_clamav_adapter_la-TricklingConfig.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I/tmp/work/security/ecap_clamav_adapter/work/.buildlink/include -I../src -I/tmp/work/security/ecap_clamav_adapter/work/.buildlink/include/libxml2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -fpermissive -D_REENTRANT -pthread -MT ecap_clamav_adapter_la-TricklingConfig.lo -MD -MP -MF .deps/ecap_clamav_adapter_la-TricklingConfig.Tpo -c TricklingConfig.cc -fPIC -DPIC -o .libs/ecap_clamav_adapter_la-TricklingConfig.o libtool: compile: g++ -DHAVE_CONFIG_H -I/tmp/work/security/ecap_clamav_adapter/work/.buildlink/include -I../src -I/tmp/work/security/ecap_clamav_adapter/work/.buildlink/include/libxml2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -fpermissive -D_REENTRANT -pthread -MT ecap_clamav_adapter_la-TricklingConfig.lo -MD -MP -MF .deps/ecap_clamav_adapter_la-TricklingConfig.Tpo -c TricklingConfig.cc -o ecap_clamav_adapter_la-TricklingConfig.o >/dev/null 2>&1 mv -f .deps/ecap_clamav_adapter_la-TricklingConfig.Tpo .deps/ecap_clamav_adapter_la-TricklingConfig.Plo --- ecap_clamav_adapter_la-Xaction.lo --- /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I/opt/local/include -I../src -I../src -I/opt/local/include -I/opt/local/include/libxml2 -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/libxml2 -I/usr/include -fpermissive -D_REENTRANT -pthread -MT ecap_clamav_adapter_la-Xaction.lo -MD -MP -MF .deps/ecap_clamav_adapter_la-Xaction.Tpo -c -o ecap_clamav_adapter_la-Xaction.lo `test -f 'Xaction.cc' || echo './'`Xaction.cc libtool: compile: g++ -DHAVE_CONFIG_H -I/tmp/work/security/ecap_clamav_adapter/work/.buildlink/include -I../src -I/tmp/work/security/ecap_clamav_adapter/work/.buildlink/include/libxml2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -fpermissive -D_REENTRANT -pthread -MT ecap_clamav_adapter_la-Xaction.lo -MD -MP -MF .deps/ecap_clamav_adapter_la-Xaction.Tpo -c Xaction.cc -fPIC -DPIC -o .libs/ecap_clamav_adapter_la-Xaction.o --- ecap_clamav_adapter_la-Antivirus.lo --- mv -f .deps/ecap_clamav_adapter_la-Antivirus.Tpo .deps/ecap_clamav_adapter_la-Antivirus.Plo --- ecap_clamav_adapter_la-Debugger.lo --- /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I/opt/local/include -I../src -I../src -I/opt/local/include -I/opt/local/include/libxml2 -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/libxml2 -I/usr/include -fpermissive -D_REENTRANT -pthread -MT ecap_clamav_adapter_la-Debugger.lo -MD -MP -MF .deps/ecap_clamav_adapter_la-Debugger.Tpo -c -o ecap_clamav_adapter_la-Debugger.lo `test -f 'Debugger.cc' || echo './'`Debugger.cc libtool: compile: g++ -DHAVE_CONFIG_H -I/tmp/work/security/ecap_clamav_adapter/work/.buildlink/include -I../src -I/tmp/work/security/ecap_clamav_adapter/work/.buildlink/include/libxml2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -fpermissive -D_REENTRANT -pthread -MT ecap_clamav_adapter_la-Debugger.lo -MD -MP -MF .deps/ecap_clamav_adapter_la-Debugger.Tpo -c Debugger.cc -fPIC -DPIC -o .libs/ecap_clamav_adapter_la-Debugger.o libtool: compile: g++ -DHAVE_CONFIG_H -I/tmp/work/security/ecap_clamav_adapter/work/.buildlink/include -I../src -I/tmp/work/security/ecap_clamav_adapter/work/.buildlink/include/libxml2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -fpermissive -D_REENTRANT -pthread -MT ecap_clamav_adapter_la-Debugger.lo -MD -MP -MF .deps/ecap_clamav_adapter_la-Debugger.Tpo -c Debugger.cc -o ecap_clamav_adapter_la-Debugger.o >/dev/null 2>&1 --- ecap_clamav_adapter_la-Service.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I/tmp/work/security/ecap_clamav_adapter/work/.buildlink/include -I../src -I/tmp/work/security/ecap_clamav_adapter/work/.buildlink/include/libxml2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -fpermissive -D_REENTRANT -pthread -MT ecap_clamav_adapter_la-Service.lo -MD -MP -MF .deps/ecap_clamav_adapter_la-Service.Tpo -c Service.cc -o ecap_clamav_adapter_la-Service.o >/dev/null 2>&1 --- ecap_clamav_adapter_la-Debugger.lo --- mv -f .deps/ecap_clamav_adapter_la-Debugger.Tpo .deps/ecap_clamav_adapter_la-Debugger.Plo --- ecap_clamav_adapter_la-FileBuffer.lo --- /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I/opt/local/include -I../src -I../src -I/opt/local/include -I/opt/local/include/libxml2 -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/libxml2 -I/usr/include -fpermissive -D_REENTRANT -pthread -MT ecap_clamav_adapter_la-FileBuffer.lo -MD -MP -MF .deps/ecap_clamav_adapter_la-FileBuffer.Tpo -c -o ecap_clamav_adapter_la-FileBuffer.lo `test -f 'FileBuffer.cc' || echo './'`FileBuffer.cc libtool: compile: g++ -DHAVE_CONFIG_H -I/tmp/work/security/ecap_clamav_adapter/work/.buildlink/include -I../src -I/tmp/work/security/ecap_clamav_adapter/work/.buildlink/include/libxml2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -fpermissive -D_REENTRANT -pthread -MT ecap_clamav_adapter_la-FileBuffer.lo -MD -MP -MF .deps/ecap_clamav_adapter_la-FileBuffer.Tpo -c FileBuffer.cc -fPIC -DPIC -o .libs/ecap_clamav_adapter_la-FileBuffer.o --- ecap_clamav_adapter_la-Xaction.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I/tmp/work/security/ecap_clamav_adapter/work/.buildlink/include -I../src -I/tmp/work/security/ecap_clamav_adapter/work/.buildlink/include/libxml2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -fpermissive -D_REENTRANT -pthread -MT ecap_clamav_adapter_la-Xaction.lo -MD -MP -MF .deps/ecap_clamav_adapter_la-Xaction.Tpo -c Xaction.cc -o ecap_clamav_adapter_la-Xaction.o >/dev/null 2>&1 --- ecap_clamav_adapter_la-FileBuffer.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I/tmp/work/security/ecap_clamav_adapter/work/.buildlink/include -I../src -I/tmp/work/security/ecap_clamav_adapter/work/.buildlink/include/libxml2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -fpermissive -D_REENTRANT -pthread -MT ecap_clamav_adapter_la-FileBuffer.lo -MD -MP -MF .deps/ecap_clamav_adapter_la-FileBuffer.Tpo -c FileBuffer.cc -o ecap_clamav_adapter_la-FileBuffer.o >/dev/null 2>&1 --- ecap_clamav_adapter_la-Service.lo --- mv -f .deps/ecap_clamav_adapter_la-Service.Tpo .deps/ecap_clamav_adapter_la-Service.Plo --- ecap_clamav_adapter_la-Gadgets.lo --- /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I/opt/local/include -I../src -I../src -I/opt/local/include -I/opt/local/include/libxml2 -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/libxml2 -I/usr/include -fpermissive -D_REENTRANT -pthread -MT ecap_clamav_adapter_la-Gadgets.lo -MD -MP -MF .deps/ecap_clamav_adapter_la-Gadgets.Tpo -c -o ecap_clamav_adapter_la-Gadgets.lo `test -f 'Gadgets.cc' || echo './'`Gadgets.cc libtool: compile: g++ -DHAVE_CONFIG_H -I/tmp/work/security/ecap_clamav_adapter/work/.buildlink/include -I../src -I/tmp/work/security/ecap_clamav_adapter/work/.buildlink/include/libxml2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -fpermissive -D_REENTRANT -pthread -MT ecap_clamav_adapter_la-Gadgets.lo -MD -MP -MF .deps/ecap_clamav_adapter_la-Gadgets.Tpo -c Gadgets.cc -fPIC -DPIC -o .libs/ecap_clamav_adapter_la-Gadgets.o --- ecap_clamav_adapter_la-FileBuffer.lo --- mv -f .deps/ecap_clamav_adapter_la-FileBuffer.Tpo .deps/ecap_clamav_adapter_la-FileBuffer.Plo --- ecap_clamav_adapter_la-ClamAv.lo --- /usr/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I/opt/local/include -I../src -I../src -I/opt/local/include -I/opt/local/include/libxml2 -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/libxml2 -I/usr/include -fpermissive -D_REENTRANT -pthread -MT ecap_clamav_adapter_la-ClamAv.lo -MD -MP -MF .deps/ecap_clamav_adapter_la-ClamAv.Tpo -c -o ecap_clamav_adapter_la-ClamAv.lo `test -f 'ClamAv.cc' || echo './'`ClamAv.cc libtool: compile: g++ -DHAVE_CONFIG_H -I/tmp/work/security/ecap_clamav_adapter/work/.buildlink/include -I../src -I/tmp/work/security/ecap_clamav_adapter/work/.buildlink/include/libxml2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -fpermissive -D_REENTRANT -pthread -MT ecap_clamav_adapter_la-ClamAv.lo -MD -MP -MF .deps/ecap_clamav_adapter_la-ClamAv.Tpo -c ClamAv.cc -fPIC -DPIC -o .libs/ecap_clamav_adapter_la-ClamAv.o --- ecap_clamav_adapter_la-Gadgets.lo --- libtool: compile: g++ -DHAVE_CONFIG_H -I/tmp/work/security/ecap_clamav_adapter/work/.buildlink/include -I../src -I/tmp/work/security/ecap_clamav_adapter/work/.buildlink/include/libxml2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -fpermissive -D_REENTRANT -pthread -MT ecap_clamav_adapter_la-Gadgets.lo -MD -MP -MF .deps/ecap_clamav_adapter_la-Gadgets.Tpo -c Gadgets.cc -o ecap_clamav_adapter_la-Gadgets.o >/dev/null 2>&1 --- ecap_clamav_adapter_la-ClamAv.lo --- ClamAv.cc: In member function 'virtual void Adapter::ClamAv::scan(Adapter::Answer&)': ClamAv.cc:64:39: warning: invalid conversion from 'int' to 'cl_error_t' [-fpermissive] 64 | answer.errorMsg = cl_strerror(eScanResult); | ^~~~~~~~~~~ | | | int In file included from ClamAv.h:9, from ClamAv.cc:7: /tmp/work/security/ecap_clamav_adapter/work/.buildlink/include/clamav.h:1246:43: note: initializing argument 1 of 'const char* cl_strerror(cl_error_t)' 1246 | extern const char *cl_strerror(cl_error_t clerror); | ~~~~~~~~~~~^~~~~~~ ClamAv.cc: In member function 'virtual void Adapter::ClamAv::configure(const Adapter::Antivirus::Options&)': ClamAv.cc:77:63: warning: invalid conversion from 'int' to 'cl_error_t' [-fpermissive] 77 | Throw("Can't initialize libclamav: ", cl_strerror(ret)); | ^~~ | | | int /tmp/work/security/ecap_clamav_adapter/work/.buildlink/include/clamav.h:1246:43: note: initializing argument 1 of 'const char* cl_strerror(cl_error_t)' 1246 | extern const char *cl_strerror(cl_error_t clerror); | ~~~~~~~~~~~^~~~~~~ ClamAv.cc: In member function 'void Adapter::ClamAv::loadDatabase()': ClamAv.cc:142:44: warning: invalid conversion from 'int' to 'cl_error_t' [-fpermissive] 142 | Throw("cl_load: ", cl_strerror(ret)); | ^~~ | | | int /tmp/work/security/ecap_clamav_adapter/work/.buildlink/include/clamav.h:1246:43: note: initializing argument 1 of 'const char* cl_strerror(cl_error_t)' 1246 | extern const char *cl_strerror(cl_error_t clerror); | ~~~~~~~~~~~^~~~~~~ ClamAv.cc:148:66: warning: invalid conversion from 'int' to 'cl_error_t' [-fpermissive] 148 | Throw("Database initialization error: ", cl_strerror(ret));; | ^~~ | | | int /tmp/work/security/ecap_clamav_adapter/work/.buildlink/include/clamav.h:1246:43: note: initializing argument 1 of 'const char* cl_strerror(cl_error_t)' 1246 | extern const char *cl_strerror(cl_error_t clerror); | ~~~~~~~~~~~^~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I/tmp/work/security/ecap_clamav_adapter/work/.buildlink/include -I../src -I/tmp/work/security/ecap_clamav_adapter/work/.buildlink/include/libxml2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -fpermissive -D_REENTRANT -pthread -MT ecap_clamav_adapter_la-ClamAv.lo -MD -MP -MF .deps/ecap_clamav_adapter_la-ClamAv.Tpo -c ClamAv.cc -o ecap_clamav_adapter_la-ClamAv.o >/dev/null 2>&1 --- ecap_clamav_adapter_la-Xaction.lo --- mv -f .deps/ecap_clamav_adapter_la-Xaction.Tpo .deps/ecap_clamav_adapter_la-Xaction.Plo --- ecap_clamav_adapter_la-Gadgets.lo --- mv -f .deps/ecap_clamav_adapter_la-Gadgets.Tpo .deps/ecap_clamav_adapter_la-Gadgets.Plo --- ecap_clamav_adapter_la-ClamAv.lo --- mv -f .deps/ecap_clamav_adapter_la-ClamAv.Tpo .deps/ecap_clamav_adapter_la-ClamAv.Plo --- ecap_clamav_adapter.la --- /usr/bin/bash ../libtool --tag=CXX --mode=link g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/libxml2 -I/usr/include -fpermissive -D_REENTRANT -pthread -module -avoid-version -L/opt/local/lib -Wl,-R/opt/local/lib -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o ecap_clamav_adapter.la -rpath /opt/local/lib ecap_clamav_adapter_la-Time.lo ecap_clamav_adapter_la-Adapter.lo ecap_clamav_adapter_la-Answers.lo ecap_clamav_adapter_la-Antivirus.lo ecap_clamav_adapter_la-Service.lo ecap_clamav_adapter_la-TricklingConfig.lo ecap_clamav_adapter_la-Xaction.lo ecap_clamav_adapter_la-Debugger.lo ecap_clamav_adapter_la-FileBuffer.lo ecap_clamav_adapter_la-Gadgets.lo ecap_clamav_adapter_la-ClamAv.lo -Wl,-R/opt/local/lib -L/opt/local/lib -lecap -lclamav -lclamav -lpthread -lrt libtool: link: g++ -shared -fPIC -DPIC .libs/ecap_clamav_adapter_la-Time.o .libs/ecap_clamav_adapter_la-Adapter.o .libs/ecap_clamav_adapter_la-Answers.o .libs/ecap_clamav_adapter_la-Antivirus.o .libs/ecap_clamav_adapter_la-Service.o .libs/ecap_clamav_adapter_la-TricklingConfig.o .libs/ecap_clamav_adapter_la-Xaction.o .libs/ecap_clamav_adapter_la-Debugger.o .libs/ecap_clamav_adapter_la-FileBuffer.o .libs/ecap_clamav_adapter_la-Gadgets.o .libs/ecap_clamav_adapter_la-ClamAv.o -Wl,-R -Wl,/tmp/work/security/ecap_clamav_adapter/work/.buildlink/lib -Wl,-R -Wl,/tmp/work/security/ecap_clamav_adapter/work/.buildlink/lib -L/tmp/work/security/ecap_clamav_adapter/work/.buildlink/lib /tmp/work/security/ecap_clamav_adapter/work/.buildlink/lib/libiconv.so /tmp/work/security/ecap_clamav_adapter/work/.buildlink/lib/libecap.so -lclamav -lpthread -lrt -O2 -msave-args -Wl,-rpath -Wl,/opt/local/lib -Wl,-rpath -Wl,/opt/local/lib -Wl,-h -Wl,ecap_clamav_adapter.so -o .libs/ecap_clamav_adapter.so libtool: link: ar cr .libs/ecap_clamav_adapter.a ecap_clamav_adapter_la-Time.o ecap_clamav_adapter_la-Adapter.o ecap_clamav_adapter_la-Answers.o ecap_clamav_adapter_la-Antivirus.o ecap_clamav_adapter_la-Service.o ecap_clamav_adapter_la-TricklingConfig.o ecap_clamav_adapter_la-Xaction.o ecap_clamav_adapter_la-Debugger.o ecap_clamav_adapter_la-FileBuffer.o ecap_clamav_adapter_la-Gadgets.o ecap_clamav_adapter_la-ClamAv.o libtool: link: ranlib .libs/ecap_clamav_adapter.a libtool: link: ( cd ".libs" && rm -f "ecap_clamav_adapter.la" && ln -s "../ecap_clamav_adapter.la" "ecap_clamav_adapter.la" ) *** Please use pkgtools/verifypc to sanity check dependencies.