------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/libmilter-8.15.2_1.txz pkg: Cannot runscript POST-INSTALL:Bad file descriptor SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> raysfilter-1.14_2 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> raysfilter-1.14_2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by raysfilter-1.14_2 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> raysfilter-1.14_2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by raysfilter-1.14_2 for building => SHA256 Checksum OK for rays-filter-1.14.tar.gz. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> raysfilter-1.14_2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by raysfilter-1.14_2 for building ===> Extracting for raysfilter-1.14_2 => SHA256 Checksum OK for rays-filter-1.14.tar.gz. Extracted Memory Use: 0.18M SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for raysfilter-1.14_2 ===> Applying ports patches for raysfilter-1.14_2 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- ===> raysfilter-1.14_2 depends on shared library: libmilter.so.7 - found (/usr/local/lib/libmilter.so.7) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> raysfilter-1.14_2 depends on shared library: libmilter.so.7 - found (/usr/local/lib/libmilter.so.7) ===> Configuring for raysfilter-1.14_2 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for raysfilter-1.14_2 cd /construction/mail/raysfilter/rays-filter-1.14 && cc -pipe -Wall -I/usr/local/include -O2 -fno-strict-aliasing -Wl,-rpath,/usr/local/lib -L/usr/local/lib -o rays-filter rays-filter.c -lpthread -lmilter rays-filter.c: In function 'open_log_file': rays-filter.c:341:21: warning: assignment to 'FILE *' {aka 'struct __FILE *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] priv->mlfi_fp = mkstemp(priv->mlfi_fname); ^ rays-filter.c: In function 'mlfi_envfrom': rays-filter.c:369:15: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(priv->buffer, ""); ~~~~^~~~~~~~ In file included from rays-filter.c:61: /usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ rays-filter.c:370:15: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(priv->overlap, ""); ~~~~^~~~~~~~~ In file included from rays-filter.c:61: /usr/include/string.h:95:7: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ rays-filter.c: In function 'mlfi_header': rays-filter.c:500:10: warning: unused variable 'i' [-Wunused-variable] int i = 0; ^ rays-filter.c: In function 'scan_header_block': rays-filter.c:706:26: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(header, start_of_header, header_length); ^~~~~~~~~~~~~~~ In file included from rays-filter.c:61: /usr/include/string.h:118:7: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} char *strncpy(char * __restrict, const char * __restrict, size_t); ^~~~~~~ rays-filter.c:715:37: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(header_name, start_of_header, copy_length); ^~~~~~~~~~~~~~~ In file included from rays-filter.c:61: /usr/include/string.h:118:7: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} char *strncpy(char * __restrict, const char * __restrict, size_t); ^~~~~~~ rays-filter.c:694:23: warning: unused variable 'end_of_header' [-Wunused-variable] char *header, *end_of_header, *header_body; ^~~~~~~~~~~~~ rays-filter.c: In function 'scan_buffer': rays-filter.c:753:43: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] while (header_block = (u_char *)strstr(header_block, boundary)) ^~~~~~~~~~~~ In file included from rays-filter.c:61: /usr/include/string.h:143:7: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} char *strstr(const char *, const char *) __pure; ^~~~~~ rays-filter.c:753:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (header_block = (u_char *)strstr(header_block, boundary)) ^~~~~~~~~~~~ rays-filter.c:744:12: warning: unused variable 'used_buffer_length' [-Wunused-variable] size_t used_buffer_length; ^~~~~~~~~~~~~~~~~~ rays-filter.c:743:12: warning: unused variable 'i' [-Wunused-variable] size_t i = 0; ^ rays-filter.c: In function 'overlap_chunk': rays-filter.c:771:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strlen(MLFIPRIV->overlap) == 0) ^ In file included from rays-filter.c:61: /usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} size_t strlen(const char *) __pure; ^~~~~~ rays-filter.c:775:23: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(MLFIPRIV->buffer, bodyp, copy_length); ^ In file included from rays-filter.c:61: /usr/include/string.h:118:7: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} char *strncpy(char * __restrict, const char * __restrict, size_t); ^~~~~~~ rays-filter.c:775:33: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(MLFIPRIV->buffer, bodyp, copy_length); ^~~~~ In file included from rays-filter.c:61: /usr/include/string.h:118:7: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} char *strncpy(char * __restrict, const char * __restrict, size_t); ^~~~~~~ rays-filter.c:779:23: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(MLFIPRIV->buffer, MLFIPRIV->overlap, BUFFER_SIZE); ^ In file included from rays-filter.c:61: /usr/include/string.h:118:7: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} char *strncpy(char * __restrict, const char * __restrict, size_t); ^~~~~~~ rays-filter.c:779:41: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(MLFIPRIV->buffer, MLFIPRIV->overlap, BUFFER_SIZE); ^ In file included from rays-filter.c:61: /usr/include/string.h:118:7: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} char *strncpy(char * __restrict, const char * __restrict, size_t); ^~~~~~~ rays-filter.c:780:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] overlap_size = strlen(MLFIPRIV->buffer); ^ In file included from rays-filter.c:61: /usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} size_t strlen(const char *) __pure; ^~~~~~ rays-filter.c:783:23: warning: pointer targets in passing argument 1 of 'strncat' differ in signedness [-Wpointer-sign] strncat(MLFIPRIV->buffer, bodyp, copy_length); ^ In file included from rays-filter.c:61: /usr/include/string.h:116:7: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} char *strncat(char * __restrict, const char * __restrict, size_t); ^~~~~~~ rays-filter.c:783:33: warning: pointer targets in passing argument 2 of 'strncat' differ in signedness [-Wpointer-sign] strncat(MLFIPRIV->buffer, bodyp, copy_length); ^~~~~ In file included from rays-filter.c:61: /usr/include/string.h:116:7: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} char *strncat(char * __restrict, const char * __restrict, size_t); ^~~~~~~ rays-filter.c:787:60: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] fprintf(MLFIPRIV->mlfi_fp, "Overlap from previous: %7d\n", ~~^ %7ld overlap_size); ~~~~~~~~~~~~ rays-filter.c:790:30: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strlen(MLFIPRIV->buffer)); ^ In file included from rays-filter.c:61: /usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} size_t strlen(const char *) __pure; ^~~~~~ rays-filter.c:789:60: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] fprintf(MLFIPRIV->mlfi_fp, "Buffer contains: %7d\n", ~~^ %7ld strlen(MLFIPRIV->buffer)); ~~~~~~~~~~~~~~~~~~~~~~~~ rays-filter.c: In function 'store_overlap': rays-filter.c:809:20: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(MLFIPRIV->overlap, overlap_ptr, MAX_OVERLAP_SIZE); ^ In file included from rays-filter.c:61: /usr/include/string.h:118:7: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} char *strncpy(char * __restrict, const char * __restrict, size_t); ^~~~~~~ rays-filter.c:809:31: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(MLFIPRIV->overlap, overlap_ptr, MAX_OVERLAP_SIZE); ^~~~~~~~~~~ In file included from rays-filter.c:61: /usr/include/string.h:118:7: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} char *strncpy(char * __restrict, const char * __restrict, size_t); ^~~~~~~ rays-filter.c:815:30: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strlen(MLFIPRIV->overlap)); ^ In file included from rays-filter.c:61: /usr/include/string.h:110:9: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} size_t strlen(const char *) __pure; ^~~~~~ rays-filter.c:813:41: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] "Overlap to next chunk: %7d\n" ~~^ %7ld rays-filter.c:815:15: strlen(MLFIPRIV->overlap)); ~~~~~~~~~~~~~~~~~~~~~~~~~ rays-filter.c: In function 'mlfi_body': rays-filter.c:839:18: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] "\n=====================================================\n" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rays-filter.c:842:50: "This chunk (bodylen): %7d\n", bodylen); ~~~~~~~ rays-filter.c:842:44: note: format string is defined here "This chunk (bodylen): %7d\n", bodylen); ~~^ %7ld In function 'make_filename', inlined from 'mlfi_cleanup' at rays-filter.c:1044:17: rays-filter.c:1009:7: warning: 'strncpy' output may be truncated copying between 1 and 16 bytes from a string of length 16 [-Wstringop-truncation] strncpy(new_filename, username, username_length); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rays-filter.c:1005:7: warning: 'strncat' output may be truncated copying between 1 and 16 bytes from a string of length 16 [-Wstringop-truncation] strncat(new_filename, username, username_length); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp//ccMu6UXR.o:rays-filter.c:function mlfi_cleanup: warning: warning: mktemp() possibly used unsafely; consider using mkstemp() SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for raysfilter-1.14_2 ===> Generating temporary packing list install -s -m 555 /construction/mail/raysfilter/rays-filter-1.14/rays-filter /construction/mail/raysfilter/stage/usr/local/libexec/rays-filter install -m 555 /construction/mail/raysfilter/rays-filter-1.14/mail-filter /construction/mail/raysfilter/stage/usr/local/etc/rc.d/raysfilter.sh.sample install -m 555 /construction/mail/raysfilter/rays-filter-1.14/mf-reset /construction/mail/raysfilter/stage/usr/local/bin/ install -m 555 /construction/mail/raysfilter/rays-filter-1.14/mf-start /construction/mail/raysfilter/stage/usr/local/bin/ install -m 555 /construction/mail/raysfilter/rays-filter-1.14/mf-stop /construction/mail/raysfilter/stage/usr/local/bin/ install -m 555 /construction/mail/raysfilter/rays-filter-1.14/mf-archive /construction/mail/raysfilter/stage/usr/local/bin/ install -m 555 /construction/mail/raysfilter/rays-filter-1.14/mf-analyze /construction/mail/raysfilter/stage/usr/local/bin/ install -m 555 /construction/mail/raysfilter/rays-filter-1.14/mf-memory /construction/mail/raysfilter/stage/usr/local/bin/ /bin/mkdir -p /construction/mail/raysfilter/stage/usr/local/etc/mail-filter install -m 0644 /construction/mail/raysfilter/rays-filter-1.14/header-list.conf /construction/mail/raysfilter/stage/usr/local/etc/mail-filter/header-list.conf-dist install -m 0644 /construction/mail/raysfilter/rays-filter-1.14/mail-filter.conf /construction/mail/raysfilter/stage/usr/local/etc/mail-filter/mail-filter.conf-dist install -m 0644 /construction/mail/raysfilter/rays-filter-1.14/string-list.conf /construction/mail/raysfilter/stage/usr/local/etc/mail-filter/string-list.conf-dist /bin/mkdir -p /construction/mail/raysfilter/stage/usr/local/share/doc/raysfilter install -m 0644 /construction/mail/raysfilter/rays-filter-1.14/rays-filter.html /construction/mail/raysfilter/stage/usr/local/share/doc/raysfilter/ install -m 0644 /construction/mail/raysfilter/rays-filter-1.14/install.html /construction/mail/raysfilter/stage/usr/local/share/doc/raysfilter/ install -m 0644 /construction/mail/raysfilter/rays-filter-1.14/configure.html /construction/mail/raysfilter/stage/usr/local/share/doc/raysfilter/ install -m 0644 /construction/mail/raysfilter/rays-filter-1.14/operate.html /construction/mail/raysfilter/stage/usr/local/share/doc/raysfilter/ install -m 0644 /construction/mail/raysfilter/rays-filter-1.14/utilities.html /construction/mail/raysfilter/stage/usr/local/share/doc/raysfilter/ install -m 0644 /construction/mail/raysfilter/rays-filter-1.14/GNU-public-licence.txt /construction/mail/raysfilter/stage/usr/local/share/doc/raysfilter/ install -m 0644 /construction/mail/raysfilter/rays-filter-1.14/copyright.txt /construction/mail/raysfilter/stage/usr/local/share/doc/raysfilter/ install -m 0644 /construction/mail/raysfilter/rays-filter-1.14/README /construction/mail/raysfilter/stage/usr/local/share/doc/raysfilter/ ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for raysfilter-1.14_2 file sizes/checksums [19]: 0% file sizes/checksums [19]: 100% packing files [19]: 0% packing files [19]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:00 TOTAL TIME 00:00:03