=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for clamav-0.98.7nb2 /usr/pkg/bin/bmake all-recursive Making all in libltdl cp ./argz_.h argz.h-t mv argz.h-t argz.h /usr/pkg/bin/bmake all-am CC dlopen.lo CCLD dlopen.la CC libltdlc_la-preopen.lo CC libltdlc_la-lt__alloc.lo CC libltdlc_la-lt_dlloader.lo CC libltdlc_la-lt_error.lo CC libltdlc_la-ltdl.lo CC libltdlc_la-slist.lo CC argz.lo CCLD libltdlc.la Making all in libclamav /usr/pkg/bin/bmake all-recursive CC unrar15.lo CC unrar.lo CC unrar20.lo CC unrarppm.lo CC unrarvm.lo CC unrarcmd.lo CC unrarfilter.lo CC unrarhlp.lo ../libclamunrar/unrarhlp.c:39:79: warning: format specifies type 'unsigned long' but the argument has type 'size_t' (aka 'unsigned int') [-Wformat] fprintf(stderr, "UNRAR: rar_malloc(): Can't allocate memory (%lu bytes).\n", size); ~~~ ^~~~ %zu ../libclamunrar/unrarhlp.c:57:81: warning: format specifies type 'unsigned long' but the argument has type 'size_t' (aka 'unsigned int') [-Wformat] fprintf(stderr, "UNRAR: rar_realloc2(): Can't allocate memory (%lu bytes).\n", size); ~~~ ^~~~ %zu 2 warnings generated. CCLD libclamunrar.la CC unrar_iface.lo CCLD libclamunrar_iface.la CC libclamav_la-matcher-ac.lo matcher-ac.c:1362:95: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat] cli_errmsg("cli_ac_scanbuff: Can't allocate memory for newres %lu\n", sizeof(struct cli_ac_result)); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ %u matcher-ac.c:1415:95: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat] cli_errmsg("cli_ac_scanbuff: Can't allocate memory for newres %lu\n", sizeof(struct cli_ac_result)); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ %u 2 warnings generated. CC libclamav_la-matcher-bm.lo CC libclamav_la-matcher-hash.lo CC libclamav_la-matcher.lo matcher.c:1069:42: warning: format specifies type 'unsigned long' but the argument has type 'size_t' (aka 'unsigned int') [-Wformat] cli_ftname(ctx->container_type), fsizec, fname, fsizec, fsizer, encrypted, filepos, res1, res2); ^~~~~~ matcher.c:1069:57: warning: format specifies type 'unsigned long' but the argument has type 'size_t' (aka 'unsigned int') [-Wformat] cli_ftname(ctx->container_type), fsizec, fname, fsizec, fsizer, encrypted, filepos, res1, res2); ^~~~~~ matcher.c:1069:65: warning: format specifies type 'unsigned long' but the argument has type 'size_t' (aka 'unsigned int') [-Wformat] cli_ftname(ctx->container_type), fsizec, fname, fsizec, fsizer, encrypted, filepos, res1, res2); ^~~~~~ 3 warnings generated. CC libclamav_la-others.lo others.c:1164:84: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat] cli_errmsg("cli_rmdirs: Unable to allocate memory for path %lu\n", strlen(dirname) + strlen(dent->d_name) + 2); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %u 1 warning generated. CC libclamav_la-readdb.lo CC libclamav_la-cvd.lo CC libclamav_la-dsig.lo CC libclamav_la-scanners.lo scanners.c:3341:29: warning: format specifies type 'unsigned long' but the argument has type 'long long' [-Wformat] (unsigned long)length, old_len - offset); ^~~~~~~~~~~~~~~~ 1 warning generated. CC libclamav_la-textdet.lo CC libclamav_la-filetypes.lo CC libclamav_la-rtf.lo CC libclamav_la-blob.lo CC libclamav_la-mbox.lo mbox.c:2510:92: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat] cli_errmsg("parseMimeHeader: Unable to allocate memory for buf %lu\n", strlen(ptr) + 1); ~~~ ^~~~~~~~~~~~~~~ %u mbox.c:2619:88: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat] cli_errmsg("parseMimeHeader: Unable to allocate memory for buf %lu\n", strlen(ptr) + 1); ~~~ ^~~~~~~~~~~~~~~ %u mbox.c:2697:83: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat] cli_errmsg("rfc822comments: Unable to allocate memory for out %lu\n", strlen(in) + 1); ~~~ ^~~~~~~~~~~~~~ %u mbox.c:2765:72: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat] cli_errmsg("rfc2047: Unable to allocate memory for out %lu\n", strlen(in) + 1); ~~~ ^~~~~~~~~~~~~~ %u 4 warnings generated. CC libclamav_la-message.lo CC libclamav_la-table.lo CC libclamav_la-text.lo CC libclamav_la-ole2_extract.lo CC libclamav_la-vba_extract.lo CC libclamav_la-msexpand.lo CC libclamav_la-pe.lo pe.c:2114:77: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat] cli_errmsg("FSG: Unable to allocate memory for sections %lu\n", (sectcnt + 1) * sizeof(struct cli_exe_section)); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %u pe.c:2215:77: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat] cli_errmsg("FSG: Unable to allocate memory for sections %lu\n", (sectcnt + 1) * sizeof(struct cli_exe_section)); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %u 2 warnings generated. CC libclamav_la-pe_icons.lo pe_icons.c:1053:86: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat] cli_errmsg("getmetrics: Unable to allocate memory for edge detection %lu\n", (side * side * sizeof(double))); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %u 1 warning generated. CC libclamav_la-disasm.lo CC libclamav_la-upx.lo CC libclamav_la-htmlnorm.lo CC libclamav_la-chmunpack.lo CC libclamav_la-rebuildpe.lo CC libclamav_la-petite.lo CC libclamav_la-wwunpack.lo CC libclamav_la-unsp.lo CC libclamav_la-aspack.lo CC libclamav_la-packlibs.lo CC libclamav_la-fsg.lo CC libclamav_la-mew.lo CC libclamav_la-upack.lo CC libclamav_la-line.lo CC libclamav_la-untar.lo CC libclamav_la-unzip.lo CC libclamav_la-ooxml.lo CC libclamav_la-inflate64.lo CC libclamav_la-special.lo CC libclamav_la-binhex.lo CC libclamav_la-is_tar.lo CC libclamav_la-tnef.lo CC libclamav_la-autoit.lo CC libclamav_la-unarj.lo CC libclamav_la-bzlib.lo CC libclamav_la-nulsft.lo CC libclamav_la-infblock.lo CC libclamav_la-pdf.lo pdf.c:482:35: warning: expression result unused [-Wunused-value] noisy_warnmsg("cli_pdf: after writing %lu bytes, got error \"%s\" inflating PDF stream in %u %u obj\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf.c:483:28: warning: expression result unused [-Wunused-value] (unsigned long)nbytes, ^ ~~~~~~ pdf.c:484:35: warning: expression result unused [-Wunused-value] stream.msg, obj->id>>8, obj->id&0xff); ~~~~~~ ^~~ pdf.c:484:47: warning: expression result unused [-Wunused-value] stream.msg, obj->id>>8, obj->id&0xff); ~~~~~~~^ ~ pdf.c:486:35: warning: expression result unused [-Wunused-value] noisy_warnmsg("cli_pdf: after writing %lu bytes, got error %d inflating PDF stream in %u %u obj\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf.c:487:28: warning: expression result unused [-Wunused-value] (unsigned long)nbytes, zstat, obj->id>>8, obj->id&0xff); ^ ~~~~~~ pdf.c:487:51: warning: expression result unused [-Wunused-value] (unsigned long)nbytes, zstat, obj->id>>8, obj->id&0xff); ^~~~~ pdf.c:487:65: warning: expression result unused [-Wunused-value] (unsigned long)nbytes, zstat, obj->id>>8, obj->id&0xff); ~~~~~~~^ ~ pdf.c:690:23: warning: expression result unused [-Wunused-value] noisy_warnmsg("cli_pdf: aes_decrypt: len is <32: %d\n", len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf.c:725:27: warning: expression result unused [-Wunused-value] noisy_warnmsg("cli_pdf: aes_decrypt: bad pad: %x (extra len: %d)\n", pad, len-16); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf.c:725:82: warning: expression result unused [-Wunused-value] noisy_warnmsg("cli_pdf: aes_decrypt: bad pad: %x (extra len: %d)\n", pad, len-16); ^~~ pdf.c:734:31: warning: expression result unused [-Wunused-value] noisy_warnmsg("cli_pdf: aes_decrypt: bad pad: %x != %x\n",q[i],pad); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf.c:734:78: warning: expression result unused [-Wunused-value] noisy_warnmsg("cli_pdf: aes_decrypt: bad pad: %x != %x\n",q[i],pad); ~ ~^ pdf.c:757:23: warning: expression result unused [-Wunused-value] noisy_warnmsg("decrypt failed for obj %u %u\n", id>>8, id&0xff); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf.c:757:59: warning: expression result unused [-Wunused-value] noisy_warnmsg("decrypt failed for obj %u %u\n", id>>8, id&0xff); ~~^ ~ pdf.c:801:19: warning: expression result unused [-Wunused-value] noisy_msg(pdf, "decrypted ARC4 data\n"); ^~~ pdf.c:808:19: warning: expression result unused [-Wunused-value] noisy_msg(pdf, "decrypted AES(v2) data\n"); ^~~ pdf.c:820:19: warning: expression result unused [-Wunused-value] noisy_msg(pdf, "decrypted AES(v3) data\n"); ^~~ pdf.c:827:19: warning: expression result unused [-Wunused-value] noisy_msg(pdf, "identity encryption\n"); ^~~ pdf.c:833:19: warning: expression result unused [-Wunused-value] noisy_msg(pdf, "encryption is none\n"); ^~~ pdf.c:841:23: warning: expression result unused [-Wunused-value] noisy_warnmsg("decrypt_any: unknown encryption method for obj %u %u\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf.c:842:18: warning: expression result unused [-Wunused-value] id>>8,id&0xff); ~~^ ~ pdf.c:1024:28: warning: format specifies type 'long' but the argument has type '__off_t' (aka 'long long') [-Wformat] p_stream, length, pdf->size); ^~~~~~~~ pdf.c:1024:38: warning: format specifies type 'long' but the argument has type '__off_t' (aka 'long long') [-Wformat] p_stream, length, pdf->size); ^~~~~~ pdf.c:1024:46: warning: format specifies type 'long' but the argument has type '__off_t' (aka 'long long') [-Wformat] p_stream, length, pdf->size); ^~~~~~~~~ pdf.c:1025:35: warning: expression result unused [-Wunused-value] noisy_warnmsg("length out of file, truncated: %ld + %ld > %ld\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf.c:1026:28: warning: expression result unused [-Wunused-value] p_stream, length, pdf->size); ^~~~~~~~ pdf.c:1026:38: warning: expression result unused [-Wunused-value] p_stream, length, pdf->size); ^~~~~~ pdf.c:1048:68: warning: format specifies type 'long' but the argument has type '__off_t' (aka 'long long') [-Wformat] cli_dbgmsg("cli_pdf: calculated length %ld\n", length); ~~~ ^~~~~~ %lld pdf.c:1052:32: warning: format specifies type 'long' but the argument has type '__off_t' (aka 'long long') [-Wformat] length, size); ^~~~~~ pdf.c:1052:40: warning: format specifies type 'long' but the argument has type 'size_t' (aka 'unsigned int') [-Wformat] length, size); ^~~~ pdf.c:1058:87: warning: format specifies type 'long' but the argument has type '__off_t' (aka 'long long') [-Wformat] cli_dbgmsg("cli_pdf: orig length: %ld, length: %ld, size: %ld\n", orig_length, length, size); ~~~ ^~~~~~~~~~~ %lld pdf.c:1058:100: warning: format specifies type 'long' but the argument has type '__off_t' (aka 'long long') [-Wformat] cli_dbgmsg("cli_pdf: orig length: %ld, length: %ld, size: %ld\n", orig_length, length, size); ~~~ ^~~~~~ %lld pdf.c:1058:108: warning: format specifies type 'long' but the argument has type 'size_t' (aka 'unsigned int') [-Wformat] cli_dbgmsg("cli_pdf: orig length: %ld, length: %ld, size: %ld\n", orig_length, length, size); ~~~ ^~~~ %zu pdf.c:1162:31: warning: expression result unused [-Wunused-value] noisy_warnmsg("cannot find stream bounds for obj %u %u\n", obj->id>>8, obj->id&0xff); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf.c:1162:83: warning: expression result unused [-Wunused-value] noisy_warnmsg("cannot find stream bounds for obj %u %u\n", obj->id>>8, obj->id&0xff); ~~~~~~~^ ~ pdf.c:1198:39: warning: expression result unused [-Wunused-value] noisy_msg(pdf, "decrypted Javascript string from obj %u %u\n", obj->id>>8,obj->id&0xff); ^~~ pdf.c:1198:44: warning: expression result unused [-Wunused-value] noisy_msg(pdf, "decrypted Javascript string from obj %u %u\n", obj->id>>8,obj->id&0xff); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf.c:1198:99: warning: expression result unused [-Wunused-value] noisy_msg(pdf, "decrypted Javascript string from obj %u %u\n", obj->id>>8,obj->id&0xff); ~~~~~~~^ ~ pdf.c:1244:60: warning: format specifies type 'long' but the argument has type '__off_t' (aka 'long long') [-Wformat] cli_dbgmsg("cli_pdf: extracted %ld bytes %u %u obj\n", sum, obj->id>>8, obj->id&0xff); ~~~ ^~~ %lld pdf.c:1272:23: warning: expression result unused [-Wunused-value] noisy_msg(pdf, "extracted text from obj %u %u\n", obj->id>>8, obj->id&0xff); ^~~ pdf.c:1272:28: warning: expression result unused [-Wunused-value] noisy_msg(pdf, "extracted text from obj %u %u\n", obj->id>>8, obj->id&0xff); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf.c:1272:70: warning: expression result unused [-Wunused-value] noisy_msg(pdf, "extracted text from obj %u %u\n", obj->id>>8, obj->id&0xff); ~~~~~~~^ ~ pdf.c:2094:31: warning: expression result unused [-Wunused-value] noisy_warnmsg("cli_pdf: UE length is not 32: %d\n", n); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf.c:2191:27: warning: expression result unused [-Wunused-value] noisy_warnmsg("cli_pdf: invalid revision %d\n", R); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf.c:2203:19: warning: expression result unused [-Wunused-value] noisy_msg(pdf, "cli_pdf: encrypted PDF found, user password is empty, will attempt to decrypt\n"); ^~~ pdf.c:2266:23: warning: expression result unused [-Wunused-value] noisy_warnmsg("cli_pdf: can't find encrypted object %d %d\n", pdf->enc_objid>>8, pdf->enc_objid&0xff); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf.c:2266:85: warning: expression result unused [-Wunused-value] noisy_warnmsg("cli_pdf: can't find encrypted object %d %d\n", pdf->enc_objid>>8, pdf->enc_objid&0xff); ~~~~~~~~~~~~~~^ ~ pdf.c:2383:31: warning: expression result unused [-Wunused-value] noisy_warnmsg("too long O", O, n); ^~~~~~~~~~~~ pdf.c:2383:45: warning: expression result unused [-Wunused-value] noisy_warnmsg("too long O", O, n); ^ pdf.c:2392:27: warning: expression result unused [-Wunused-value] noisy_warnmsg("cli_pdf: invalid U: %d\n", n); ^~~~~~~~~~~~~~~~~~~~~~~~~~ pdf.c:2498:70: warning: format specifies type 'long' but the argument has type 'long long' [-Wformat] cli_dbgmsg("cli_pdf: PDF header is not at position 0: %ld\n",pdfver-start+offset); ~~~ ^~~~~~~~~~~~~~~~~~~ %lld pdf.c:2607:83: warning: format specifies type 'long' but the argument has type 'long long' [-Wformat] cli_dbgmsg("cli_pdf: found %d %d obj @%ld\n", obj->id >> 8, obj->id&0xff, obj->start + offset); ~~~ ^~~~~~~~~~~~~~~~~~~ %lld 53 warnings generated. CC libclamav_la-pdfng.lo pdfng.c:114:19: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] iconv(cd, (char **)(&p1), &inlen, &p2, &outlen); ^~~~~~~~~~~~~~ /usr/include/iconv.h:46:47: note: passing argument to parameter here size_t iconv(iconv_t, const char ** __restrict, ^ 1 warning generated. CC libclamav_la-spin.lo CC libclamav_la-yc.lo CC libclamav_la-elf.lo CC libclamav_la-sis.lo CC libclamav_la-uuencode.lo CC libclamav_la-phishcheck.lo CC libclamav_la-phish_domaincheck_db.lo CC libclamav_la-phish_whitelist.lo CC libclamav_la-regex_list.lo regex_list.c:87:72: warning: format specifies type 'unsigned long' but the argument has type 'size_t' (aka 'unsigned int') [-Wformat] cli_dbgmsg("calc_pos_with_skip: skip:%lu, %lu - %lu \"%s\",\"%s\"\n", pos, info->host_start, info->host_end, str, buffer); ~~~ ^~~ %zu regex_list.c:87:77: warning: format specifies type 'unsigned long' but the argument has type 'size_t' (aka 'unsigned int') [-Wformat] cli_dbgmsg("calc_pos_with_skip: skip:%lu, %lu - %lu \"%s\",\"%s\"\n", pos, info->host_start, info->host_end, str, buffer); ~~~ ^~~~~~~~~~~~~~~~ %zu regex_list.c:87:95: warning: format specifies type 'unsigned long' but the argument has type 'size_t' (aka 'unsigned int') [-Wformat] cli_dbgmsg("calc_pos_with_skip: skip:%lu, %lu - %lu \"%s\",\"%s\"\n", pos, info->host_start, info->host_end, str, buffer); ~~~ ^~~~~~~~~~~~~~ %zu 3 warnings generated. CC libclamav_la-regex_suffix.lo CC libclamav_la-mspack.lo mspack.c:1470:69: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] cli_dbgmsg("lzx_decompress: %ld avail bytes, new %d frame\n", lzx->o_end-lzx->o_ptr, frame_size); ~~~ ^~~~~~~~~~~~~~~~~~~~~ %d 1 warning generated. CC libclamav_la-cab.lo CC libclamav_la-entconv.lo CC libclamav_la-hashtab.lo hashtab.c:332:46: warning: format specifies type 'unsigned long' but the argument has type 'size_t' (aka 'unsigned int') [-Wformat] cli_dbgmsg("hashtab.c: new capacity: %lu\n",new_capacity); ~~~ ^~~~~~~~~~~~ %zu hashtab.c:334:64: warning: format specifies type 'unsigned long' but the argument has type 'size_t' (aka 'unsigned int') [-Wformat] cli_errmsg("hashtab.c: capacity problem growing from: %lu\n",s->capacity); ~~~ ^~~~~~~~~~~ %zu hashtab.c:375:55: warning: format specifies type 'long' but the argument has type 'size_t' (aka 'unsigned int') [-Wformat] cli_dbgmsg("Table %p size after grow:%ld\n",(void*)s,s->capacity); ~~~ ^~~~~~~~~~~ %zu hashtab.c:389:46: warning: format specifies type 'unsigned long' but the argument has type 'size_t' (aka 'unsigned int') [-Wformat] cli_dbgmsg("hashtab.c: new capacity: %lu\n",new_capacity); ~~~ ^~~~~~~~~~~~ %zu hashtab.c:425:55: warning: format specifies type 'long' but the argument has type 'size_t' (aka 'unsigned int') [-Wformat] cli_dbgmsg("Table %p size after grow:%ld\n",(void*)s,s->capacity); ~~~ ^~~~~~~~~~~ %zu hashtab.c:440:105: warning: format specifies type 'long' but the argument has type 'size_t' (aka 'unsigned int') [-Wformat] cli_dbgmsg("hashtab.c:Growing hashtable %p, because it has exceeded maxfill, old size:%ld\n",(void*)s,s->capacity); ~~~ ^~~~~~~~~~~ %zu hashtab.c:489:92: warning: format specifies type 'long' but the argument has type 'size_t' (aka 'unsigned int') [-Wformat] cli_dbgmsg("hashtab.c: Growing hashtable %p, because its full, old size:%ld.\n",(void*)s,s->capacity); ~~~ ^~~~~~~~~~~ %zu hashtab.c:507:105: warning: format specifies type 'long' but the argument has type 'size_t' (aka 'unsigned int') [-Wformat] cli_dbgmsg("hashtab.c:Growing hashtable %p, because it has exceeded maxfill, old size:%ld\n",(void*)s,s->capacity); ~~~ ^~~~~~~~~~~ %zu hashtab.c:546:92: warning: format specifies type 'long' but the argument has type 'size_t' (aka 'unsigned int') [-Wformat] cli_dbgmsg("hashtab.c: Growing hashtable %p, because its full, old size:%ld.\n",(void*)s,s->capacity); ~~~ ^~~~~~~~~~~ %zu hashtab.c:635:55: warning: format specifies type 'long' but the argument has type 'size_t' (aka 'unsigned int') [-Wformat] printf("\t{\"%s\", %ld, %ld},\n", e->key, e->data, e->len); ~~~ ^~~~~~ %zu hashtab.c:639:47: warning: format specifies type 'long' but the argument has type 'size_t' (aka 'unsigned int') [-Wformat] printf("\t%s_elements, %ld, %ld, %ld", name, s->capacity, s->used, s->maxfill); ~~~ ^~~~~~~~~~~ %zu hashtab.c:639:60: warning: format specifies type 'long' but the argument has type 'size_t' (aka 'unsigned int') [-Wformat] printf("\t%s_elements, %ld, %ld, %ld", name, s->capacity, s->used, s->maxfill); ~~~ ^~~~~~~ %zu hashtab.c:639:69: warning: format specifies type 'long' but the argument has type 'size_t' (aka 'unsigned int') [-Wformat] printf("\t%s_elements, %ld, %ld, %ld", name, s->capacity, s->used, s->maxfill); ~~~ ^~~~~~~~~~ %zu 13 warnings generated. CC libclamav_la-dconf.lo CC libclamav_la-lzma_iface.lo CC libclamav_la-7z_iface.lo CC libclamav_la-7zAlloc.lo CC libclamav_la-7zBuf.lo CC libclamav_la-7zBuf2.lo CC libclamav_la-7zCrc.lo CC libclamav_la-7zDec.lo CC libclamav_la-7zFile.lo CC libclamav_la-7zIn.lo CC libclamav_la-7zStream.lo CC libclamav_la-Bcj2.lo CC libclamav_la-Bra.lo CC libclamav_la-Bra86.lo CC libclamav_la-Lzma2Dec.lo CC libclamav_la-LzmaDec.lo CC libclamav_la-Ppmd7.lo CC libclamav_la-Ppmd7Dec.lo CC libclamav_la-Xz.lo CC libclamav_la-XzCrc64.lo CC libclamav_la-XzDec.lo 7z/XzDec.c:309:80: warning: implicit conversion from enumeration type 'ECoderFinishMode' to different enumeration type 'ELzmaFinishMode' [-Wenum-conversion] SRes res = Lzma2Dec_DecodeToBuf((CLzma2Dec *)pp, dest, destLen, src, srcLen, finishMode, &status); ~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~ 1 warning generated. CC libclamav_la-XzIn.lo CC libclamav_la-Delta.lo CC libclamav_la-BraIA64.lo CC libclamav_la-CpuArch.lo CC libclamav_la-7zCrcOpt.lo CC libclamav_la-explode.lo CC libclamav_la-textnorm.lo CC libclamav_la-dlp.lo CC libclamav_la-js-norm.lo CC libclamav_la-uniq.lo GEN version.h.tmp git: not found GEN version.h CC libclamav_la-version.lo CC libclamav_la-mpool.lo CC libclamav_la-filtering.lo CC libclamav_la-fmap.lo CC libclamav_la-perflogging.lo CC libclamav_la-bytecode.lo CC libclamav_la-bytecode_vm.lo bytecode_vm.c:1215:38: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (inst->u.three[0] < 0) { ~~~~~~~~~~~~~~~~ ^ ~ bytecode_vm.c:1252:20: warning: format specifies type 'unsigned long' but the argument has type 'long long' [-Wformat] tv1.tv_sec*1000000 + tv1.tv_usec, pc); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bytecode_vm.c:706:81: warning: implicit conversion from 'unsigned long long' to '__uint8_t' (aka 'unsigned char') changes value from 18446744073709551615 to 255 [-Wconstant-conversion] CHOOSE(READ1(sres, inst->u.cast.source); res = sres ? ~0ull : 0, ~ ^~~~~ bytecode_vm.c:454:17: note: expanded from macro 'CHOOSE' case 0: OP0; break;\ ^ bytecode_vm.c:411:21: note: expanded from macro 'DEFINE_SCASTOP' OP;\ ^ bytecode_vm.c:706:81: warning: implicit conversion from 'unsigned long long' to '__uint8_t' (aka 'unsigned char') changes value from 18446744073709551615 to 255 [-Wconstant-conversion] CHOOSE(READ1(sres, inst->u.cast.source); res = sres ? ~0ull : 0, ~ ^~~~~ bytecode_vm.c:454:17: note: expanded from macro 'CHOOSE' case 0: OP0; break;\ ^ bytecode_vm.c:418:21: note: expanded from macro 'DEFINE_SCASTOP' OP;\ ^ bytecode_vm.c:706:81: warning: implicit conversion from 'unsigned long long' to '__uint16_t' (aka 'unsigned short') changes value from 18446744073709551615 to 65535 [-Wconstant-conversion] CHOOSE(READ1(sres, inst->u.cast.source); res = sres ? ~0ull : 0, ~ ^~~~~ bytecode_vm.c:454:17: note: expanded from macro 'CHOOSE' case 0: OP0; break;\ ^ bytecode_vm.c:425:21: note: expanded from macro 'DEFINE_SCASTOP' OP;\ ^ bytecode_vm.c:706:81: warning: implicit conversion from 'unsigned long long' to '__uint32_t' (aka 'unsigned int') changes value from 18446744073709551615 to 4294967295 [-Wconstant-conversion] CHOOSE(READ1(sres, inst->u.cast.source); res = sres ? ~0ull : 0, ~ ^~~~~ bytecode_vm.c:454:17: note: expanded from macro 'CHOOSE' case 0: OP0; break;\ ^ bytecode_vm.c:432:21: note: expanded from macro 'DEFINE_SCASTOP' OP;\ ^ 6 warnings generated. CC libclamav_la-cpio.lo CC libclamav_la-macho.lo CC libclamav_la-ishield.lo CC libclamav_la-bytecode_api.lo bytecode_api.c:126:20: warning: format specifies type 'long' but the argument has type '__off_t' (aka 'long long') [-Wformat] off, ctx->file_size); ^~~ 1 warning generated. CC libclamav_la-bytecode_api_decl.lo CC libclamav_la-cache.lo CC libclamav_la-bytecode_detect.lo bytecode_detect.c:242:24: error: use of undeclared identifier 'os_generic'; did you mean 'os_interix'? env->os_category = os_generic; ^~~~~~~~~~ os_interix ./bytecode_detect.h:56:3: note: 'os_interix' declared here os_interix, ^ 1 error generated. *** Error code 1 Stop. bmake[4]: stopped in /usr/pkgsrc/work/security/clamav/work/clamav-0.98.7/libclamav *** Error code 1 Stop. bmake[3]: stopped in /usr/pkgsrc/work/security/clamav/work/clamav-0.98.7/libclamav *** Error code 1 Stop. bmake[2]: stopped in /usr/pkgsrc/work/security/clamav/work/clamav-0.98.7/libclamav *** Error code 1 Stop. bmake[1]: stopped in /usr/pkgsrc/work/security/clamav/work/clamav-0.98.7 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/security/clamav/work/clamav-0.98.7 *** Error code 1 Stop. bmake[1]: stopped in /usr/pkgsrc/security/clamav *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/security/clamav