* Package: mail-filter/p3scan-2.3.2 * Repository: gentoo * Maintainer: net-mail@gentoo.org * USE: elibc_glibc kernel_linux test userland_GNU x86 * FEATURES: sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking p3scan-2.3.2.tar.gz to /var/tmp/portage/mail-filter/p3scan-2.3.2/work >>> Source unpacked in /var/tmp/portage/mail-filter/p3scan-2.3.2/work >>> Preparing source in /var/tmp/portage/mail-filter/p3scan-2.3.2/work/p3scan-2.3.2 ... * Applying p3scan-ocreat.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/mail-filter/p3scan-2.3.2/work/p3scan-2.3.2 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/mail-filter/p3scan-2.3.2/work/p3scan-2.3.2 ... make -j14 cd ripmime && make libripmime || exit 1 gcc -Wall -O2 -DLOGOPT="LOG_PID|LOG_CONS" -DLOGFAC="LOG_DAEMON" -c getlinep3.c gcc -Wall -O2 -DLOGOPT="LOG_PID|LOG_CONS" -DLOGFAC="LOG_DAEMON" -c getline_ssl.c gcc -Wall -O2 -DLOGOPT="LOG_PID|LOG_CONS" -DLOGFAC="LOG_DAEMON" -c parsefile.c gcc -Wall -O2 -DLOGOPT="LOG_PID|LOG_CONS" -DLOGFAC="LOG_DAEMON" -c p3scan.c gcc -Wall -O2 -DLOGOPT="LOG_PID|LOG_CONS" -DLOGFAC="LOG_DAEMON" -c scanner_basic.c gcc -Wall -O2 -DLOGOPT="LOG_PID|LOG_CONS" -DLOGFAC="LOG_DAEMON" -c scanner_avpd.c gcc -Wall -O2 -DLOGOPT="LOG_PID|LOG_CONS" -DLOGFAC="LOG_DAEMON" -c scanner_avpd_new.c gcc -Wall -O2 -DLOGOPT="LOG_PID|LOG_CONS" -DLOGFAC="LOG_DAEMON" -c scanner_trophie.c gcc -Wall -O2 -DLOGOPT="LOG_PID|LOG_CONS" -DLOGFAC="LOG_DAEMON" -c scanner_clamd.c make[1]: Entering directory `/var/tmp/portage/mail-filter/p3scan-2.3.2/work/p3scan-2.3.2/ripmime-1.4.0.6' cc -Wall -g -O2 -I. -DRIPOLE -c strstack.c gcc -Wall -O2 -DLOGOPT="LOG_PID|LOG_CONS" -DLOGFAC="LOG_DAEMON" -c scanner_bash.c cc -Wall -g -O2 -I. -DRIPOLE -c mime.c cc -Wall -g -O2 -I. -DRIPOLE -c ffget.c cc -Wall -g -O2 -I. -DRIPOLE -c MIME_headers.c mime.c: In function 'MIME_decode_raw': mime.c:1347:2: warning: pointer targets in passing argument 2 of 'FFGET_raw' differ in signedness ffget.h:46:5: note: expected 'unsigned char *' but argument is of type 'char *' MIME_headers.c: In function 'MIMEH_are_headers_RFC822': MIME_headers.c:709:2: warning: pointer targets in passing argument 1 of 'PLD_strlower' differ in signedness pldstr.h:34:5: note: expected 'unsigned char *' but argument is of type 'char *' MIME_headers.c: In function 'MIMEH_parse_header_parameter': MIME_headers.c:1433:2: warning: pointer targets in passing argument 1 of 'PLD_strlower' differ in signedness pldstr.h:34:5: note: expected 'unsigned char *' but argument is of type 'char *' MIME_headers.c: In function 'MIMEH_parse_contenttype': MIME_headers.c:1828:3: warning: pointer targets in passing argument 1 of 'PLD_strlower' differ in signedness pldstr.h:34:5: note: expected 'unsigned char *' but argument is of type 'char *' MIME_headers.c: In function 'MIMEH_parse_contentlocation': MIME_headers.c:2066:2: warning: pointer targets in passing argument 1 of 'PLD_strlower' differ in signedness pldstr.h:34:5: note: expected 'unsigned char *' but argument is of type 'char *' MIME_headers.c: In function 'MIMEH_parse_contenttransferencoding': MIME_headers.c:2153:3: warning: pointer targets in passing argument 1 of 'PLD_strlower' differ in signedness pldstr.h:34:5: note: expected 'unsigned char *' but argument is of type 'char *' MIME_headers.c: In function 'MIMEH_parse_contentdisposition': MIME_headers.c:2259:3: warning: pointer targets in passing argument 1 of 'PLD_strlower' differ in signedness pldstr.h:34:5: note: expected 'unsigned char *' but argument is of type 'char *' MIME_headers.c: In function 'MIMEH_headers_process': MIME_headers.c:2685:5: warning: pointer targets in passing argument 1 of 'PLD_strlower' differ in signedness pldstr.h:34:5: note: expected 'unsigned char *' but argument is of type 'char *' mime.c: In function 'MIME_decode_64': mime.c:1854:11: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result mime.c:1941:11: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result mime.c:1972:11: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result ./build_tnef mime.c: In function 'MIME_decode_text': mime.c:1508:12: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result mime.c: In function 'MIME_decode_raw': mime.c:1370:10: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result make[2]: Entering directory `/var/tmp/portage/mail-filter/p3scan-2.3.2/work/p3scan-2.3.2/ripmime-1.4.0.6/tnef' make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. cc -Wall -g -O2 -I. -D___TNEF_BYTE_ORDER=4321 -c tnef.c cc -Wall -g -O2 -I. -DRIPOLE -c rawget.c getline_ssl.c: In function 'initialize_ctx': getline_ssl.c:78:8: warning: assignment discards qualifiers from pointer target type cc -Wall -g -O2 -I. -DRIPOLE -c pldstr.c scanner_clamd.c: In function 'check': scanner_clamd.c:245:43: warning: value computed is not used cc -Wall -g -O2 -I. -DRIPOLE -c logger.c cc -Wall -g -O2 -I. -DRIPOLE -c libmime-decoders.c tnef.c: In function 'save_attach_data': tnef.c:338:8: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result cc -Wall -g -O2 -I. -DRIPOLE -c boundary-stack.c pldstr.c: In function 'PLD_strstr': pldstr.c:41:3: warning: pointer targets in passing argument 1 of 'PLD_strlower' differ in signedness pldstr.h:34:5: note: expected 'unsigned char *' but argument is of type 'char *' pldstr.c:43:3: warning: pointer targets in passing argument 1 of 'PLD_strlower' differ in signedness pldstr.h:34:5: note: expected 'unsigned char *' but argument is of type 'char *' logger.c: In function 'LOGGER_log': logger.c:323:4: warning: format not a string literal and no format arguments cc -Wall -g -O2 -I. -DRIPOLE -c uuencode.c cc -Wall -g -O2 -I. -DRIPOLE -c filename-filters.c ./build_ripOLE cc -Wall -g -O2 -I. -DRIPOLE -c ripOLE/olestream-unwrap.c make[2]: Entering directory `/var/tmp/portage/mail-filter/p3scan-2.3.2/work/p3scan-2.3.2/ripmime-1.4.0.6/ripOLE' make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. rm -f *.o ripole cc -Wall -g -O2 -I. -DRIPOLE -c ripOLE/bytedecoders.c uuencode.c: In function 'UUENCODE_decode_uu': uuencode.c:617:13: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result uuencode.c:643:11: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result make[2]: Leaving directory `/var/tmp/portage/mail-filter/p3scan-2.3.2/work/p3scan-2.3.2/ripmime-1.4.0.6/ripOLE' make[2]: Entering directory `/var/tmp/portage/mail-filter/p3scan-2.3.2/work/p3scan-2.3.2/ripmime-1.4.0.6/ripOLE' make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. cc -Wall -g -O2 -I. -c ole.c cc -Wall -g -O2 -I. -DRIPOLE -c ripOLE/bt-int.c cc -Wall -g -O2 -I. -DRIPOLE -c ripmime-api.c make[2]: Leaving directory `/var/tmp/portage/mail-filter/p3scan-2.3.2/work/p3scan-2.3.2/ripmime-1.4.0.6/tnef' ole.c: In function 'OLE_convert_header': ole.c:611:2: warning: pointer targets in passing argument 1 of 'get_2byte_value' differ in signedness bytedecoders.h:2:5: note: expected 'char *' but argument is of type 'unsigned char *' ole.c:612:2: warning: pointer targets in passing argument 1 of 'get_2byte_value' differ in signedness bytedecoders.h:2:5: note: expected 'char *' but argument is of type 'unsigned char *' ole.c:613:2: warning: pointer targets in passing argument 1 of 'get_2byte_value' differ in signedness bytedecoders.h:2:5: note: expected 'char *' but argument is of type 'unsigned char *' ole.c:614:2: warning: pointer targets in passing argument 1 of 'get_2byte_value' differ in signedness bytedecoders.h:2:5: note: expected 'char *' but argument is of type 'unsigned char *' ole.c:617:2: warning: pointer targets in passing argument 1 of 'get_2byte_value' differ in signedness bytedecoders.h:2:5: note: expected 'char *' but argument is of type 'unsigned char *' ole.c:620:2: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness bytedecoders.h:3:5: note: expected 'char *' but argument is of type 'unsigned char *' ole.c:621:2: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness bytedecoders.h:3:5: note: expected 'char *' but argument is of type 'unsigned char *' ole.c:622:2: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness bytedecoders.h:3:5: note: expected 'char *' but argument is of type 'unsigned char *' ole.c:623:2: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness bytedecoders.h:3:5: note: expected 'char *' but argument is of type 'unsigned char *' ole.c:624:2: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness bytedecoders.h:3:5: note: expected 'char *' but argument is of type 'unsigned char *' ole.c:625:2: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness bytedecoders.h:3:5: note: expected 'char *' but argument is of type 'unsigned char *' ole.c:626:2: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness bytedecoders.h:3:5: note: expected 'char *' but argument is of type 'unsigned char *' ole.c:639:3: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness bytedecoders.h:3:5: note: expected 'char *' but argument is of type 'unsigned char *' ole.c: In function 'OLE_convert_directory': ole.c:790:2: warning: pointer targets in passing argument 1 of 'get_2byte_value' differ in signedness bytedecoders.h:2:5: note: expected 'char *' but argument is of type 'unsigned char *' ole.c:800:2: warning: pointer targets in passing argument 1 of 'get_1byte_value' differ in signedness bytedecoders.h:1:5: note: expected 'char *' but argument is of type 'unsigned char *' ole.c:806:2: warning: pointer targets in passing argument 1 of 'get_1byte_value' differ in signedness bytedecoders.h:1:5: note: expected 'char *' but argument is of type 'unsigned char *' ole.c:809:2: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness bytedecoders.h:3:5: note: expected 'char *' but argument is of type 'unsigned char *' ole.c:812:2: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness bytedecoders.h:3:5: note: expected 'char *' but argument is of type 'unsigned char *' ole.c:818:2: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness bytedecoders.h:3:5: note: expected 'char *' but argument is of type 'unsigned char *' ole.c:821:2: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness bytedecoders.h:3:5: note: expected 'char *' but argument is of type 'unsigned char *' ole.c:825:2: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness bytedecoders.h:3:5: note: expected 'char *' but argument is of type 'unsigned char *' ole.c:835:2: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness bytedecoders.h:3:5: note: expected 'char *' but argument is of type 'unsigned char *' ole.c: In function 'OLE_load_FAT': ole.c:1005:5: warning: pointer targets in passing argument 2 of 'OLE_print_sector' differ in signedness ole.c:502:5: note: expected 'char *' but argument is of type 'unsigned char *' ole.c:1014:6: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness bytedecoders.h:3:5: note: expected 'char *' but argument is of type 'unsigned char *' ole.c:1067:6: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness bytedecoders.h:3:5: note: expected 'char *' but argument is of type 'unsigned char *' ole.c: In function 'OLE_follow_chain': ole.c:1124:3: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness bytedecoders.h:3:5: note: expected 'char *' but argument is of type 'unsigned char *' ole.c: In function 'OLE_follow_minichain': ole.c:1202:3: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness bytedecoders.h:3:5: note: expected 'char *' but argument is of type 'unsigned char *' ole.c: In function 'OLE_load_minichain': ole.c:1283:4: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness bytedecoders.h:3:5: note: expected 'char *' but argument is of type 'unsigned char *' ole.c: In function 'OLE_load_chain': ole.c:1369:5: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness bytedecoders.h:3:5: note: expected 'char *' but argument is of type 'unsigned char *' ole.c: In function 'OLE_decode_stream': ole.c:1673:15: warning: pointer targets in assignment differ in signedness ole.c:1693:15: warning: pointer targets in assignment differ in signedness ole.c: In function 'OLE_decode_file': ole.c:1805:3: warning: pointer targets in passing argument 1 of 'get_1byte_value' differ in signedness bytedecoders.h:1:5: note: expected 'char *' but argument is of type 'unsigned char *' p3scan.c: In function 'set_defaultparams': p3scan.c:1201:21: warning: array subscript is above array bounds In file included from /usr/include/stdio.h:930:0, from MIME_headers.c:21: In function 'snprintf', inlined from 'MIMEH_parse_contentlocation' at MIME_headers.c:2087:12: /usr/include/bits/stdio2.h:65:3: warning: call to __builtin___snprintf_chk will always overflow destination buffer cc -Wall -g -O2 -I. -c olestream-unwrap.c cc -Wall -g -O2 -I. -c bytedecoders.c cc -Wall -g -O2 -I. -c logger.c logger.c: In function 'LOGGER_log': logger.c:323:4: warning: format not a string literal and no format arguments cc -Wall -g -O2 -I. -c pldstr.c pldstr.c: In function 'PLD_strstr': pldstr.c:41:3: warning: pointer targets in passing argument 1 of 'PLD_strlower' differ in signedness pldstr.h:34:5: note: expected 'unsigned char *' but argument is of type 'char *' pldstr.c:43:3: warning: pointer targets in passing argument 1 of 'PLD_strlower' differ in signedness pldstr.h:34:5: note: expected 'unsigned char *' but argument is of type 'char *' pldstr.c: In function 'PLD_strlower': pldstr.c:367:12: warning: pointer targets in initialization differ in signedness cc -Wall -g -O2 -I. -c bt-int.c cc -Wall -g -O2 -I. ole.o olestream-unwrap.o bytedecoders.o logger.o pldstr.o bt-int.o ripole.c -o ripole make[2]: Leaving directory `/var/tmp/portage/mail-filter/p3scan-2.3.2/work/p3scan-2.3.2/ripmime-1.4.0.6/ripOLE' ar ruvs libripmime.a strstack.o mime.o ffget.o MIME_headers.o tnef/tnef.o rawget.o pldstr.o logger.o libmime-decoders.o boundary-stack.o uuencode.o filename-filters.o ripOLE/ole.o ripOLE/olestream-unwrap.o ripOLE/bytedecoders.o ripOLE/bt-int.o ripmime-api.o ar: creating libripmime.a a - strstack.o a - mime.o a - ffget.o a - MIME_headers.o a - tnef/tnef.o a - rawget.o a - pldstr.o a - logger.o a - libmime-decoders.o a - boundary-stack.o a - uuencode.o a - filename-filters.o a - ripOLE/ole.o a - ripOLE/olestream-unwrap.o a - ripOLE/bytedecoders.o a - ripOLE/bt-int.o a - ripmime-api.o make[1]: Leaving directory `/var/tmp/portage/mail-filter/p3scan-2.3.2/work/p3scan-2.3.2/ripmime-1.4.0.6' ln -sf ripmime/libripmime.a libripmime.a gcc -o p3scan getlinep3.o getline_ssl.o parsefile.o p3scan.o scanner_basic.o scanner_avpd.o scanner_avpd_new.o scanner_trophie.o scanner_clamd.o scanner_bash.o -L. -lripmime -lpcre -lssl -lcrypto >>> Source compiled. >>> Test phase [none]: mail-filter/p3scan-2.3.2 >>> Install p3scan-2.3.2 into /var/tmp/portage/mail-filter/p3scan-2.3.2/image/ category mail-filter >>> Completed installing p3scan-2.3.2 into /var/tmp/portage/mail-filter/p3scan-2.3.2/image/ * Tinderbox QA Warning! Invalid directories in image /var/run/p3scan /var/run/p3scan/.keep_mail-filter_p3scan-0 * Tinderbox QA Warning (end)! Invalid directories in image * QA Notice: make jobserver unavailable: * * make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. * make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. * make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. strip: i686-pc-linux-gnu-strip --strip-unneeded -R .comment usr/sbin/p3scan * QA Notice: Files built without respecting LDFLAGS have been detected * Please include the following list of files in your report: * /usr/sbin/p3scan * QA Notice: Package has poor programming practices which may compile * fine but exhibit random runtime failures. * p3scan.c:1201:21: warning: array subscript is above array bounds * QA Notice: Package has poor programming practices which may compile * fine but exhibit random runtime failures. * /usr/include/bits/stdio2.h:65:3: warning: call to __builtin___snprintf_chk will always overflow destination buffer * Please do not file a Gentoo bug and instead report the above QA * issues directly to the upstream developers of this software. * Homepage: http://p3scan.sf.net/ * Default infected notification template language is set to english, change the * symbolic link /etc/p3scan/p3scan.mail if you want it in another language. * * To start p3scan, you can use /etc/init.d/p3scan start * * You need port-redirecting, a rule like: * iptables -t nat -A PREROUTING -p tcp -i eth0 --dport pop3 -j REDIRECT --to 8110 * to forward pop3 connections incoming from eth0 interface. * * You will need to configure at least following in /etc/p3scan/p3scan.conf: * scannertype, scanner, virusregexp * * An example scanner script has been installed to: * /usr/share/doc/p3scan-2.3.2/