=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for clamav-0.99.2nb1 /usr/pkg/bin/bmake all-recursive Making all in libltdl GEN libltdl/lt__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 lt__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 CCLD libclamunrar.la CC unrar_iface.lo CCLD libclamunrar_iface.la CC libclamav_la-matcher-ac.lo matcher-ac.c:2359:41: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] (special->alt).f_str[i] = c; ^ ~ 1 warning generated. CC libclamav_la-matcher-bm.lo CC libclamav_la-matcher-hash.lo CC libclamav_la-matcher.lo CC libclamav_la-others.lo CC libclamav_la-readdb.lo readdb.c:4166:29: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] new->passwd = cli_mpool_strdup(engine->mempool, tokens[3]); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. CC libclamav_la-cvd.lo CC libclamav_la-dsig.lo CC libclamav_la-scanners.lo scanners.c:3476: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 CC libclamav_la-message.lo CC libclamav_la-table.lo CC libclamav_la-text.lo CC libclamav_la-ole2_extract.lo ole2_extract.c:981:44: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if ((prop->start_block < 0) && (prop->size <= 0)) ~~~~~~~~~~~~~~~~~ ^ ~ 1 warning generated. CC libclamav_la-vba_extract.lo CC libclamav_la-msexpand.lo CC libclamav_la-pe.lo CC libclamav_la-pe_icons.lo 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 special.c:271:9: warning: incompatible pointer types assigning to 'char *' from 'const __uint32_t *' (aka 'const unsigned int *') [-Wincompatible-pointer-types] buffer = buf; ^ ~~~ 1 warning generated. 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:729: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:729: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:738:31: warning: expression result unused [-Wunused-value] noisy_warnmsg("cli_pdf: aes_decrypt: bad pad: %x != %x\n",q[i],pad); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf.c:738:78: warning: expression result unused [-Wunused-value] noisy_warnmsg("cli_pdf: aes_decrypt: bad pad: %x != %x\n",q[i],pad); ~ ~^ pdf.c:761:23: warning: expression result unused [-Wunused-value] noisy_warnmsg("decrypt failed for obj %u %u\n", id>>8, id&0xff); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf.c:761:59: warning: expression result unused [-Wunused-value] noisy_warnmsg("decrypt failed for obj %u %u\n", id>>8, id&0xff); ~~^ ~ pdf.c:805:19: warning: expression result unused [-Wunused-value] noisy_msg(pdf, "decrypted ARC4 data\n"); ^~~ pdf.c:812:19: warning: expression result unused [-Wunused-value] noisy_msg(pdf, "decrypted AES(v2) data\n"); ^~~ pdf.c:824:19: warning: expression result unused [-Wunused-value] noisy_msg(pdf, "decrypted AES(v3) data\n"); ^~~ pdf.c:831:19: warning: expression result unused [-Wunused-value] noisy_msg(pdf, "identity encryption\n"); ^~~ pdf.c:837:19: warning: expression result unused [-Wunused-value] noisy_msg(pdf, "encryption is none\n"); ^~~ pdf.c:845:23: warning: expression result unused [-Wunused-value] noisy_warnmsg("decrypt_any: unknown encryption method for obj %u %u\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf.c:846:18: warning: expression result unused [-Wunused-value] id>>8,id&0xff); ~~^ ~ pdf.c:1028:28: warning: format specifies type 'long' but the argument has type '__off_t' (aka 'long long') [-Wformat] p_stream, length, pdf->size); ^~~~~~~~ pdf.c:1028:38: warning: format specifies type 'long' but the argument has type '__off_t' (aka 'long long') [-Wformat] p_stream, length, pdf->size); ^~~~~~ pdf.c:1028:46: warning: format specifies type 'long' but the argument has type '__off_t' (aka 'long long') [-Wformat] p_stream, length, pdf->size); ^~~~~~~~~ pdf.c:1029:35: warning: expression result unused [-Wunused-value] noisy_warnmsg("length out of file, truncated: %ld + %ld > %ld\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf.c:1030:28: warning: expression result unused [-Wunused-value] p_stream, length, pdf->size); ^~~~~~~~ pdf.c:1030:38: warning: expression result unused [-Wunused-value] p_stream, length, pdf->size); ^~~~~~ pdf.c:1052: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:1062:88: 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: %llu\n", orig_length, length, ~~~ ^~~~~~~~~~~ %lld pdf.c:1062:101: 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: %llu\n", orig_length, length, ~~~ ^~~~~~ %lld pdf.c:1167: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:1167: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:1203: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:1203: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:1203: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:1249: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:1277: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:1277: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:1277: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:2099:31: warning: expression result unused [-Wunused-value] noisy_warnmsg("cli_pdf: UE length is not 32: %d\n", n); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf.c:2196:27: warning: expression result unused [-Wunused-value] noisy_warnmsg("cli_pdf: invalid revision %d\n", R); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf.c:2208: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:2271: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:2271: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:2388:31: warning: expression result unused [-Wunused-value] noisy_warnmsg("too long O", O, n); ^~~~~~~~~~~~ pdf.c:2388:45: warning: expression result unused [-Wunused-value] noisy_warnmsg("too long O", O, n); ^ pdf.c:2397:27: warning: expression result unused [-Wunused-value] noisy_warnmsg("cli_pdf: invalid U: %d\n", n); ^~~~~~~~~~~~~~~~~~~~~~~~~~ pdf.c:2503: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:2612: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 50 warnings generated. CC libclamav_la-pdfng.lo pdfng.c:116: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 CC libclamav_la-regex_suffix.lo CC libclamav_la-mspack.lo CC libclamav_la-cab.lo CC libclamav_la-entconv.lo CC libclamav_la-hashtab.lo 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:1216:38: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (inst->u.three[0] < 0) { ~~~~~~~~~~~~~~~~ ^ ~ bytecode_vm.c:1253: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:707: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:455:17: note: expanded from macro 'CHOOSE' case 0: OP0; break;\ ^ bytecode_vm.c:412:21: note: expanded from macro 'DEFINE_SCASTOP' OP;\ ^ bytecode_vm.c:707: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:455:17: note: expanded from macro 'CHOOSE' case 0: OP0; break;\ ^ bytecode_vm.c:419:21: note: expanded from macro 'DEFINE_SCASTOP' OP;\ ^ bytecode_vm.c:707: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:455:17: note: expanded from macro 'CHOOSE' case 0: OP0; break;\ ^ bytecode_vm.c:426:21: note: expanded from macro 'DEFINE_SCASTOP' OP;\ ^ bytecode_vm.c:707: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:455:17: note: expanded from macro 'CHOOSE' case 0: OP0; break;\ ^ bytecode_vm.c:433: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:127: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:243:24: error: use of undeclared identifier 'os_generic'; did you mean 'os_interix'? env->os_category = os_generic; ^~~~~~~~~~ os_interix ./bytecode_detect.h:57: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.99.2/libclamav *** Error code 1 Stop. bmake[3]: stopped in /usr/pkgsrc/work/security/clamav/work/clamav-0.99.2/libclamav *** Error code 1 Stop. bmake[2]: stopped in /usr/pkgsrc/work/security/clamav/work/clamav-0.99.2/libclamav *** Error code 1 Stop. bmake[1]: stopped in /usr/pkgsrc/work/security/clamav/work/clamav-0.99.2 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/security/clamav/work/clamav-0.99.2 *** Error code 1 Stop. bmake[1]: stopped in /usr/pkgsrc/security/clamav *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/security/clamav