* Package: net-proxy/havp-0.92a-r2 * Repository: gentoo * USE: abi_x86_64 amd64 clamav elibc_glibc kernel_linux ssl userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Adding group 'havp' to your system ... * - Groupid: next available * Adding user 'havp' to your system ... * - Userid: 113 * - Shell: /sbin/nologin * - Home: /etc/havp * - Groups: havp * - GECOS: added by portage for havp * - Creating /etc/havp in / >>> Unpacking source... >>> Unpacking havp-0.92a.tar.gz to /var/tmp/portage/net-proxy/havp-0.92a-r2/work >>> Source unpacked in /var/tmp/portage/net-proxy/havp-0.92a-r2/work >>> Preparing source in /var/tmp/portage/net-proxy/havp-0.92a-r2/work/havp-0.92a ... * Applying havp-0.92a-run.patch ... [ ok ] * Applying havp-0.92a-pkg-config-libclamav.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/net-proxy/havp-0.92a-r2/work/havp-0.92a' ... * Running aclocal ... [ ok ] * Running autoconf --force ... [ ok ] * Running autoheader ... [ !! ] * Running elibtoolize in: havp-0.92a/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-proxy/havp-0.92a-r2/work/havp-0.92a ... ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --enable-clamav --enable-ssl-tunnel --localstatedir=/var checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for ar... x86_64-pc-linux-gnu-ar checking for perl... perl checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for initgroups... yes checking for setgroups... yes checking OS... Linux checking for mandatory locking support... OS supported checking for clamav... yes checking for Trend Micro scanner... /etc/iscan/libvsapi.so not found, disabled configure: creating ./config.status config.status: creating Makefile config.status: creating havp/Makefile config.status: creating havp/scanners/Makefile config.status: creating etc/havp/havp.config config.status: creating havp/default.h >>> Source configured. >>> Compiling source in /var/tmp/portage/net-proxy/havp-0.92a-r2/work/havp-0.92a ... make -j1 cd havp && make make[1]: Entering directory '/var/tmp/portage/net-proxy/havp-0.92a-r2/work/havp-0.92a/havp' x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -DHAVE_CONFIG_H -c -o helper.o helper.cpp helper.cpp: In function ‘bool MakeDaemon()’: helper.cpp:158:10: warning: ignoring return value of ‘int chdir(const char*)’, declared with attribute warn_unused_result [-Wunused-result] 158 | chdir("/tmp/"); | ~~~~~^~~~~~~~~ x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -DHAVE_CONFIG_H -c -o logfile.o logfile.cpp logfile.cpp: In static member function ‘static void LogFile::AccessMessage(const char*, ...)’: logfile.cpp:118:14: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] 118 | write(Access_fd, strt, strlen(strt)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logfile.cpp: In static member function ‘static void LogFile::VirusMessage(const char*, ...)’: logfile.cpp:148:14: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] 148 | write(Virus_fd, strt, strlen(strt)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logfile.cpp: In static member function ‘static void LogFile::ErrorMessage(const char*, ...)’: logfile.cpp:178:14: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] 178 | write(Error_fd, strt, strlen(strt)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -DHAVE_CONFIG_H -c -o scannerhandler.o scannerhandler.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -DHAVE_CONFIG_H -c -o connectiontobrowser.o connectiontobrowser.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -DHAVE_CONFIG_H -c -o genericscanner.o genericscanner.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -DHAVE_CONFIG_H -c -o httphandler.o httphandler.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -DHAVE_CONFIG_H -c -o params.o params.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -DHAVE_CONFIG_H -c -o sockethandler.o sockethandler.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -DHAVE_CONFIG_H -c -o connectiontohttp.o connectiontohttp.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -DHAVE_CONFIG_H -c -o havp.o havp.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -DHAVE_CONFIG_H -c -o proxyhandler.o proxyhandler.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -DHAVE_CONFIG_H -c -o utils.o utils.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -DHAVE_CONFIG_H -c -o whitelist.o whitelist.cpp cd scanners && make make[2]: Entering directory '/var/tmp/portage/net-proxy/havp-0.92a-r2/work/havp-0.92a/havp/scanners' x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -DHAVE_CONFIG_H -c -o avgscanner.o avgscanner.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -DHAVE_CONFIG_H -c -o f-protscanner.o f-protscanner.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -DHAVE_CONFIG_H -c -o kasperskyscanner.o kasperskyscanner.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -DHAVE_CONFIG_H -c -o nod32scanner.o nod32scanner.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -DHAVE_CONFIG_H -c -o clamdscanner.o clamdscanner.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -DHAVE_CONFIG_H -c -o sophiescanner.o sophiescanner.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -DHAVE_CONFIG_H -c -o avastscanner.o avastscanner.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -DHAVE_CONFIG_H -c -o arcavirscanner.o arcavirscanner.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -DHAVE_CONFIG_H -c -o drwebscanner.o drwebscanner.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -DHAVE_CONFIG_H -c -o clamlibscanner.o clamlibscanner.cpp clamlibscanner.cpp: In member function ‘virtual std::string ClamLibScanner::Scan(const char*)’: clamlibscanner.cpp:207:61: error: invalid conversion from ‘int’ to ‘cl_scan_options*’ [-fpermissive] 207 | int ret = cl_scanfile(FileName, &virname, NULL, engine, scanopts); | ^~~~~~~~ | | | int In file included from clamlibscanner.h:23, from clamlibscanner.cpp:20: /usr/include/clamav.h:875:152: note: initializing argument 5 of ‘int cl_scanfile(const char*, const char**, long unsigned int*, const cl_engine*, cl_scan_options*)’ 875 | *scanned, const struct cl_engine *engine, struct cl_scan_options* scanoptions); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ clamlibscanner.cpp: In constructor ‘ClamLibScanner::ClamLibScanner()’: clamlibscanner.cpp:283:16: error: ‘CL_SCAN_STDOPT’ was not declared in this scope; did you mean ‘CL_DB_STDOPT’? 283 | scanopts = CL_SCAN_STDOPT; | ^~~~~~~~~~~~~~ | CL_DB_STDOPT clamlibscanner.cpp:287:31: error: ‘CL_SCAN_BLOCKMAX’ was not declared in this scope 287 | scanopts = scanopts | CL_SCAN_BLOCKMAX; | ^~~~~~~~~~~~~~~~ clamlibscanner.cpp:291:31: error: ‘CL_SCAN_BLOCKENCRYPTED’ was not declared in this scope 291 | scanopts = scanopts | CL_SCAN_BLOCKENCRYPTED; | ^~~~~~~~~~~~~~~~~~~~~~ clamlibscanner.cpp:295:31: error: ‘CL_SCAN_BLOCKBROKEN’ was not declared in this scope 295 | scanopts = scanopts | CL_SCAN_BLOCKBROKEN; | ^~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:18: clamlibscanner.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/net-proxy/havp-0.92a-r2/work/havp-0.92a/havp/scanners' make[1]: *** [Makefile:20: havp] Error 2 make[1]: Leaving directory '/var/tmp/portage/net-proxy/havp-0.92a-r2/work/havp-0.92a/havp' make: *** [Makefile:2: all] Error 2 * ERROR: net-proxy/havp-0.92a-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-proxy/havp-0.92a-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-proxy/havp-0.92a-r2::gentoo'`. * The complete build log is located at '/var/log/portage/net-proxy:havp-0.92a-r2:20190719-212144.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-proxy/havp-0.92a-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-proxy/havp-0.92a-r2/temp/environment'. * Working directory: '/var/tmp/portage/net-proxy/havp-0.92a-r2/work/havp-0.92a' * S: '/var/tmp/portage/net-proxy/havp-0.92a-r2/work/havp-0.92a'