>>> Building on exopi-2 under converters/mpack DIST = [converters/mpack:mpack-1.6.tar.gz] FULLPKGNAME = mpack-1.6p3 distfiles size=179850 >>> Running build in converters/mpack at 1731867641.54 ===> converters/mpack ===> Building from scratch mpack-1.6p3 ===> Verifying specs: c ===> found c.100.3 ===> Checking files for mpack-1.6p3 `/exopi-cvs/ports/distfiles/mpack-1.6.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for mpack-1.6p3 chmod -R u+w /exopi-obj/pobj/mpack-1.6/mpack-1.6/ ===> Patching for mpack-1.6p3 ===> Applying OpenBSD patch patch-codes_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- codes.c.orig Mon Jul 21 21:51:08 2003 |+++ codes.c Sun Jan 8 00:00:40 2012 -------------------------- Patching file codes.c using Plan A... Hunk #1 succeeded at 38. done ===> Applying OpenBSD patch patch-common_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: common.h |--- common.h.orig |+++ common.h -------------------------- Patching file common.h using Plan A... Hunk #1 succeeded at 29. done ===> Applying OpenBSD patch patch-decode_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: decode.c |--- decode.c.orig |+++ decode.c -------------------------- Patching file decode.c using Plan A... Hunk #1 succeeded at 25. Hunk #2 succeeded at 548. Hunk #3 succeeded at 635. done ===> Applying OpenBSD patch patch-encode_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- encode.c.orig Mon Jul 21 21:35:31 2003 |+++ encode.c Tue Dec 11 10:01:54 2012 -------------------------- Patching file encode.c using Plan A... Hunk #1 succeeded at 24. Hunk #2 succeeded at 44. done ===> Applying OpenBSD patch patch-magic_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- magic.c.orig Mon Jul 21 21:35:31 2003 |+++ magic.c Tue Dec 11 10:10:23 2012 -------------------------- Patching file magic.c using Plan A... Hunk #1 succeeded at 23. Hunk #2 succeeded at 36. done ===> Applying OpenBSD patch patch-part_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- part.c.orig Sun Jan 8 00:03:35 2012 |+++ part.c Sun Jan 8 00:03:42 2012 -------------------------- Patching file part.c using Plan A... Hunk #1 succeeded at 28. done ===> Applying OpenBSD patch patch-unixos_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Fixes from Sebastian Pipping/gentoo. | |Index: unixos.c |--- unixos.c.orig |+++ unixos.c -------------------------- Patching file unixos.c using Plan A... Hunk #1 succeeded at 26. Hunk #2 succeeded at 41. Hunk #3 succeeded at 75. Hunk #4 succeeded at 89. Hunk #5 succeeded at 135. Hunk #6 succeeded at 144. done ===> Applying OpenBSD patch patch-unixpk_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: unixpk.c |--- unixpk.c.orig |+++ unixpk.c -------------------------- Patching file unixpk.c using Plan A... Hunk #1 succeeded at 22. Hunk #2 succeeded at 166. done ===> Applying OpenBSD patch patch-unixpk_man Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- unixpk.man.orig Thu Feb 16 21:39:50 1995 |+++ unixpk.man Sun Jan 8 00:00:40 2012 -------------------------- Patching file unixpk.man using Plan A... Hunk #1 succeeded at 136. done ===> Applying OpenBSD patch patch-unixunpk_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: unixunpk.c |--- unixunpk.c.orig |+++ unixunpk.c -------------------------- Patching file unixunpk.c using Plan A... Hunk #1 succeeded at 23. Hunk #2 succeeded at 102. done ===> Applying OpenBSD patch patch-unixunpk_man Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- unixunpk.man.orig Thu Feb 16 22:39:50 1995 |+++ unixunpk.man Mon Aug 5 12:30:30 2002 -------------------------- Patching file unixunpk.man using Plan A... Hunk #1 succeeded at 107. done ===> Applying OpenBSD patch patch-uudecode_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Allow building with CLang's scan-build. | |Index: uudecode.c |--- uudecode.c.orig |+++ uudecode.c -------------------------- Patching file uudecode.c using Plan A... Hunk #1 succeeded at 23. Hunk #2 succeeded at 37. Hunk #3 succeeded at 829. Hunk #4 succeeded at 848. done ===> Applying OpenBSD patch patch-xmalloc_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- xmalloc.c.orig Sun Jan 8 00:04:35 2012 |+++ xmalloc.c Sun Jan 8 00:04:44 2012 -------------------------- Patching file xmalloc.c using Plan A... Hunk #1 succeeded at 24. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for mpack-1.6p3 ===> Configuring for mpack-1.6p3 Using /exopi-obj/pobj/mpack-1.6/config.site (generated) loading site script /exopi-obj/pobj/mpack-1.6/config.site creating cache ./config.cache checking for a BSD compatible install... /exopi-obj/pobj/mpack-1.6/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... found checking for gcc... cc checking whether the C compiler (cc -O2 -pipe ) works... yes checking whether the C compiler (cc -O2 -pipe ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether cc accepts -g... (cached) yes checking for connect... (cached) yes checking for res_search... (cached) yes checking for dn_expand... yes checking for dns_lookup... no checking for strchr... (cached) yes checking for strcasecmp... (cached) yes checking for getopt... (cached) yes updating cache ./config.cache creating ./config.status creating Makefile ===> Building for mpack-1.6p3 cc -DPACKAGE=\"mpack\" -DVERSION=\"1.6\" -DHAVE_DN_EXPAND=1 -DHAVE_STRCHR=1 -DHAVE_STRCASECMP=1 -DHAVE_GETOPT=1 -I. -I. -O2 -pipe -c unixpk.c unixpk.c:36:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *getenv(); ^ /usr/include/stdlib.h:110:7: note: conflicting prototype is here char *getenv(const char *); ^ unixpk.c:160:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = strchr(sbuf, '\n')) *p = '\0'; ~~^~~~~~~~~~~~~~~~~~~~ unixpk.c:160:8: note: place parentheses around the assignment to silence this warning if (p = strchr(sbuf, '\n')) *p = '\0'; ^ ( ) unixpk.c:160:8: note: use '==' to turn this assignment into an equality comparison if (p = strchr(sbuf, '\n')) *p = '\0'; ^ == unixpk.c:178:2: warning: call to undeclared function 'os_perror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] os_perror(fname); ^ unixpk.c:185:6: warning: call to undeclared function 'os_perror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] os_perror(descfname); ^ unixpk.c:190:9: warning: call to undeclared function 'encode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (encode(infile, (FILE *)0, fname, descfile, subject, headers, ^ 5 warnings generated. cc -DPACKAGE=\"mpack\" -DVERSION=\"1.6\" -DHAVE_DN_EXPAND=1 -DHAVE_STRCHR=1 -DHAVE_STRCASECMP=1 -DHAVE_GETOPT=1 -I. -I. -O2 -pipe -c encode.c encode.c:63:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = strrchr(cleanfname, '/')) cleanfname = p+1; ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ encode.c:63:11: note: place parentheses around the assignment to silence this warning if (p = strrchr(cleanfname, '/')) cleanfname = p+1; ^ ( ) encode.c:63:11: note: use '==' to turn this assignment into an equality comparison if (p = strrchr(cleanfname, '/')) cleanfname = p+1; ^ == encode.c:64:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = strrchr(cleanfname, '\\')) cleanfname = p+1; ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ encode.c:64:11: note: place parentheses around the assignment to silence this warning if (p = strrchr(cleanfname, '\\')) cleanfname = p+1; ^ ( ) encode.c:64:11: note: use '==' to turn this assignment into an equality comparison if (p = strrchr(cleanfname, '\\')) cleanfname = p+1; ^ == encode.c:66:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = strrchr(cleanfname, ':')) cleanfname = p+1; ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ encode.c:66:11: note: place parentheses around the assignment to silence this warning if (p = strrchr(cleanfname, ':')) cleanfname = p+1; ^ ( ) encode.c:66:11: note: use '==' to turn this assignment into an equality comparison if (p = strrchr(cleanfname, ':')) cleanfname = p+1; ^ == encode.c:119:6: warning: call to undeclared function 'os_perror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] os_perror(buf); ^ encode.c:207:17: warning: call to undeclared function 'to64'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] written += to64(applefile, outfile, ^ encode.c:232:13: warning: call to undeclared function 'to64'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] written += to64(infile, outfile, ^ 6 warnings generated. cc -DPACKAGE=\"mpack\" -DVERSION=\"1.6\" -DHAVE_DN_EXPAND=1 -DHAVE_STRCHR=1 -DHAVE_STRCASECMP=1 -DHAVE_GETOPT=1 -I. -I. -O2 -pipe -c codes.c codes.c:107:13: warning: passing arguments to 'MD5Final' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MD5Final(digest, context); ^ codes.c:130:12: warning: passing arguments to 'MD5Init' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MD5Init(&context); ^ codes.c:131:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (nbytes = fread(buf, 1, sizeof(buf), infile)) { ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ codes.c:131:19: note: place parentheses around the assignment to silence this warning while (nbytes = fread(buf, 1, sizeof(buf), infile)) { ^ ( ) codes.c:131:19: note: use '==' to turn this assignment into an equality comparison while (nbytes = fread(buf, 1, sizeof(buf), infile)) { ^ == codes.c:133:11: warning: passing arguments to 'MD5Update' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MD5Update(&context, buf, nbytes); ^ 4 warnings generated. cc -DPACKAGE=\"mpack\" -DVERSION=\"1.6\" -DHAVE_DN_EXPAND=1 -DHAVE_STRCHR=1 -DHAVE_STRCASECMP=1 -DHAVE_GETOPT=1 -I. -I. -O2 -pipe -c magic.c cc -DPACKAGE=\"mpack\" -DVERSION=\"1.6\" -DHAVE_DN_EXPAND=1 -DHAVE_STRCHR=1 -DHAVE_STRCASECMP=1 -DHAVE_GETOPT=1 -I. -I. -O2 -pipe -c unixos.c unixos.c:204:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (outfile = fopen(buf, "r")); ~~~~~~~~^~~~~~~~~~~~~~~~~ unixos.c:204:19: note: place parentheses around the assignment to silence this warning } while (outfile = fopen(buf, "r")); ^ ( ) unixos.c:204:19: note: use '==' to turn this assignment into an equality comparison } while (outfile = fopen(buf, "r")); ^ == unixos.c:212:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (outfile = fopen(buf, "r")); ~~~~~~~~^~~~~~~~~~~~~~~~~ unixos.c:212:19: note: place parentheses around the assignment to silence this warning } while (outfile = fopen(buf, "r")); ^ ( ) unixos.c:212:19: note: use '==' to turn this assignment into an equality comparison } while (outfile = fopen(buf, "r")); ^ == unixos.c:238:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = strrchr(p, '.')) *p = '\0'; ~~^~~~~~~~~~~~~~~~~ unixos.c:238:11: note: place parentheses around the assignment to silence this warning if (p = strrchr(p, '.')) *p = '\0'; ^ ( ) unixos.c:238:11: note: use '==' to turn this assignment into an equality comparison if (p = strrchr(p, '.')) *p = '\0'; ^ == unixos.c:278:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] warn(warning); ^~~~~~~ unixos.c:278:10: note: treat the string as an argument to avoid this warn(warning); ^ "%s", 4 warnings generated. cc -DPACKAGE=\"mpack\" -DVERSION=\"1.6\" -DHAVE_DN_EXPAND=1 -DHAVE_STRCHR=1 -DHAVE_STRCASECMP=1 -DHAVE_GETOPT=1 -I. -I. -O2 -pipe -c xmalloc.c xmalloc.c:33:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ret = malloc((unsigned) size)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ xmalloc.c:33:13: note: place parentheses around the assignment to silence this warning if (ret = malloc((unsigned) size)) ^ ( ) xmalloc.c:33:13: note: use '==' to turn this assignment into an equality comparison if (ret = malloc((unsigned) size)) ^ == xmalloc.c:46:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ret = !ptr ? malloc ((unsigned) size) : realloc (ptr, (unsigned) size)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xmalloc.c:46:13: note: place parentheses around the assignment to silence this warning if (ret = !ptr ? malloc ((unsigned) size) : realloc (ptr, (unsigned) size)) ^ ( ) xmalloc.c:46:13: note: use '==' to turn this assignment into an equality comparison if (ret = !ptr ? malloc ((unsigned) size) : realloc (ptr, (unsigned) size)) ^ == 2 warnings generated. cc -DPACKAGE=\"mpack\" -DVERSION=\"1.6\" -DHAVE_DN_EXPAND=1 -DHAVE_STRCHR=1 -DHAVE_STRCASECMP=1 -DHAVE_GETOPT=1 -I. -I. -O2 -pipe -c md5c.c In file included from md5c.c:26: ./md5.h:63:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void MD5Init PROTO_LIST ((MD5_CTX *)); ^ md5c.c:99:6: note: conflicting prototype is here void MD5Init (MD5_CTX *context) ^ In file included from md5c.c:26: ./md5.h:64:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void MD5Update PROTO_LIST ^ md5c.c:115:6: note: conflicting prototype is here void MD5Update (MD5_CTX *context, unsigned char *input, unsigned int inputLen) ^ md5c.c:137:4: warning: passing arguments to 'MD5_memcpy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ((POINTER)&context->buffer[index], (POINTER)input, partLen); ^ md5c.c:138:15: warning: passing arguments to 'MD5Transform' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MD5Transform (context->state, context->buffer); ^ md5c.c:141:17: warning: passing arguments to 'MD5Transform' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MD5Transform (context->state, &input[i]); ^ md5c.c:150:2: warning: passing arguments to 'MD5_memcpy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ((POINTER)&context->buffer[index], (POINTER)&input[i], ^ In file included from md5c.c:26: ./md5.h:66:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void MD5Final PROTO_LIST ((unsigned char [16], MD5_CTX *)); ^ md5c.c:157:6: note: conflicting prototype is here void MD5Final (unsigned char *digest, MD5_CTX *context) ^ md5c.c:165:10: warning: passing arguments to 'Encode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Encode (bits, context->count, 8); ^ md5c.c:177:10: warning: passing arguments to 'Encode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Encode (digest, context->state, 16); ^ md5c.c:181:14: warning: passing arguments to 'MD5_memset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MD5_memset ((POINTER)context, 0, sizeof (*context)); ^ md5c.c:48:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void MD5Transform PROTO_LIST ((UINT4 [4], unsigned char [64])); ^ md5c.c:186:13: note: conflicting prototype is here static void MD5Transform (UINT4 *state, unsigned char *block) ^ md5c.c:190:10: warning: passing arguments to 'Decode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Decode (x, block, 64); ^ md5c.c:271:14: warning: passing arguments to 'MD5_memset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MD5_memset ((POINTER)x, 0, sizeof (x)); ^ md5c.c:49:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Encode PROTO_LIST ^ md5c.c:277:13: note: conflicting prototype is here static void Encode (unsigned char *output, UINT4 *input, unsigned int len) ^ md5c.c:51:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Decode PROTO_LIST ^ md5c.c:292:13: note: conflicting prototype is here static void Decode (UINT4 *output, unsigned char *input, unsigned int len) ^ md5c.c:53:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void MD5_memcpy PROTO_LIST ((POINTER, POINTER, unsigned int)); ^ md5c.c:304:13: note: conflicting prototype is here static void MD5_memcpy (POINTER output, POINTER input, unsigned int len) ^ md5c.c:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void MD5_memset PROTO_LIST ((POINTER, int, unsigned int)); ^ md5c.c:314:13: note: conflicting prototype is here static void MD5_memset (POINTER output, int value, unsigned int len) ^ 17 warnings generated. cc -O2 -pipe -o mpack unixpk.o encode.o codes.o magic.o unixos.o xmalloc.o md5c.o ld: warning: encode.c(encode.o:(encode)): warning: sprintf() is often misused, please use snprintf() ld: warning: xmalloc.c(xmalloc.o:(strsave)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: unixpk.c(unixpk.o:(main)): warning: strcat() is almost always misused, please use strlcat() ld: warning: unixpk.c(unixpk.o:(main)): warning: mktemp() possibly used unsafely; consider using mkstemp() cc -DPACKAGE=\"mpack\" -DVERSION=\"1.6\" -DHAVE_DN_EXPAND=1 -DHAVE_STRCHR=1 -DHAVE_STRCASECMP=1 -DHAVE_GETOPT=1 -I. -I. -O2 -pipe -c unixunpk.c unixunpk.c:75:2: warning: call to undeclared function 'handleMessage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] handleMessage(part_init(stdin), "text/plain", 0, extractText); ^ unixunpk.c:90:6: warning: call to undeclared function 'handleMessage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] handleMessage(part_init(file), "text/plain", 0, extractText); ^ 2 warnings generated. cc -DPACKAGE=\"mpack\" -DVERSION=\"1.6\" -DHAVE_DN_EXPAND=1 -DHAVE_STRCHR=1 -DHAVE_STRCASECMP=1 -DHAVE_GETOPT=1 -I. -I. -O2 -pipe -c decode.c decode.c:87:9: warning: call to undeclared function 'handlePartial'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return handlePartial(inpart, headers, contentParams, extractText); ^ decode.c:91:9: warning: call to undeclared function 'ignoreMessage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return ignoreMessage(inpart); ^ decode.c:97:9: warning: call to undeclared function 'handleMultipart'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return handleMultipart(inpart, contentType, contentParams, ^ decode.c:100:14: warning: call to undeclared function 'part_depth'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] else if (part_depth(inpart) == 0 && ^ decode.c:106:9: warning: call to undeclared function 'handleUuencode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return handleUuencode(inpart, subject, extractText); ^ decode.c:112:9: warning: call to undeclared function 'handleText'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return handleText(inpart, contentEncoding); ^ decode.c:116:9: warning: call to undeclared function 'saveToFile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return saveToFile(inpart, inAppleDouble, contentType, contentParams, ^ decode.c:216:7: warning: call to undeclared function 'part_ungets'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] part_ungets(next, inpart); ^ decode.c:630:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = getParam(contentParams, "total")) { ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ decode.c:630:11: note: place parentheses around the assignment to silence this warning if (p = getParam(contentParams, "total")) { ^ ( ) decode.c:630:11: note: use '==' to turn this assignment into an equality comparison if (p = getParam(contentParams, "total")) { ^ == decode.c:640:6: warning: call to undeclared function 'os_perror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] os_perror(buf); ^ decode.c:649:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (partfile = fopen(buf, "r")) { ~~~~~~~~~^~~~~~~~~~~~~~~~~ decode.c:649:15: note: place parentheses around the assignment to silence this warning if (partfile = fopen(buf, "r")) { ^ ( ) decode.c:649:15: note: use '==' to turn this assignment into an equality comparison if (partfile = fopen(buf, "r")) { ^ == decode.c:667:5: warning: call to undeclared function 'chat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] chat(buf); ^ decode.c:673:2: warning: call to undeclared function 'os_perror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] os_perror(buf); ^ decode.c:747:2: warning: call to undeclared function 'os_perror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] os_perror(buf); ^ decode.c:754:6: warning: call to undeclared function 'os_perror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] os_perror(buf); ^ decode.c:772:2: warning: call to undeclared function 'os_perror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] os_perror(buf); ^ decode.c:777:5: warning: call to undeclared function 'part_close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] part_close(outpart); ^ decode.c:784:5: warning: call to undeclared function 'os_donewithdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] os_donewithdir(dir); ^ decode.c:789:5: warning: call to undeclared function 'ignoreMessage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ignoreMessage(inpart); ^ decode.c:798:12: warning: call to undeclared function 'part_fill'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] while (part_getc(inpart) != EOF); ^ ./part.h:53:84: note: expanded from macro 'part_getc' #define part_getc(s) (((s)->cnt-- > 0 && (s)->ptr[0] != '\n') ? (int)*(s)->ptr++ : part_fill(s)) ^ decode.c:825:5: warning: call to undeclared function 'part_addboundary'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] part_addboundary(inpart, id); ^ decode.c:846:13: warning: call to undeclared function 'part_readboundary'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] while (!part_readboundary(inpart)) { ^ decode.c:873:2: warning: call to undeclared function 'os_perror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] os_perror(TEMPFILENAME); ^ decode.c:958:6: warning: call to undeclared function 'os_warnMD5mismatch'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] os_warnMD5mismatch(); ^ decode.c:963:5: warning: call to undeclared function 'os_closetypedfile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] os_closetypedfile(outfile); ^ decode.c:1021:25: warning: passing arguments to 'MD5Init' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (digestp) MD5Init(&context); ^ decode.c:1022:18: warning: call to undeclared function 'part_fill'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] while ((c1 = part_getc(inpart)) != EOF) { ^ ./part.h:53:84: note: expanded from macro 'part_getc' #define part_getc(s) (((s)->cnt-- > 0 && (s)->ptr[0] != '\n') ? (int)*(s)->ptr++ : part_fill(s)) ^ decode.c:1049:28: warning: passing arguments to 'MD5Update' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (digestp) MD5Update(&context, buf, 1); ^ decode.c:1056:25: warning: passing arguments to 'MD5Update' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (digestp) MD5Update(&context, buf, 2); ^ decode.c:1062:25: warning: passing arguments to 'MD5Update' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (digestp) MD5Update(&context, buf, 3); ^ decode.c:1075:25: warning: passing arguments to 'MD5Init' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (digestp) MD5Init(&context); ^ decode.c:1077:18: warning: call to undeclared function 'part_fill'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] while ((c1 = part_getc(inpart)) != EOF) { ^ ./part.h:53:84: note: expanded from macro 'part_getc' #define part_getc(s) (((s)->cnt-- > 0 && (s)->ptr[0] != '\n') ? (int)*(s)->ptr++ : part_fill(s)) ^ decode.c:1086:25: warning: passing arguments to 'MD5Update' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (digestp) MD5Update(&context, &c, 1); ^ decode.c:1091:25: warning: passing arguments to 'MD5Update' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (digestp) MD5Update(&context, "\r", 1); ^ decode.c:1094:28: warning: passing arguments to 'MD5Update' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (digestp) MD5Update(&context, &c, 1); ^ decode.c:1106:25: warning: passing arguments to 'MD5Init' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (digestp) MD5Init(&context); ^ decode.c:1108:17: warning: call to undeclared function 'part_fill'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] while ((c = part_getc(inpart)) != EOF) { ^ ./part.h:53:84: note: expanded from macro 'part_getc' #define part_getc(s) (((s)->cnt-- > 0 && (s)->ptr[0] != '\n') ? (int)*(s)->ptr++ : part_fill(s)) ^ decode.c:1111:28: warning: passing arguments to 'MD5Update' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (digestp) MD5Update(&context, "\r", 1); ^ decode.c:1114:24: warning: passing arguments to 'MD5Update' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (digestp) MD5Update(&context, &ch, 1); ^ 39 warnings generated. cc -DPACKAGE=\"mpack\" -DVERSION=\"1.6\" -DHAVE_DN_EXPAND=1 -DHAVE_STRCHR=1 -DHAVE_STRCASECMP=1 -DHAVE_GETOPT=1 -I. -I. -O2 -pipe -c uudecode.c uudecode.c:89:9: warning: call to undeclared function 'parseSubject'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (parseSubject(subject, &fname, &part, &nparts) != 0) { ^ uudecode.c:93:9: warning: call to undeclared function 'saveUuFile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return saveUuFile(inpart, fname, part, nparts, (char *)0); ^ uudecode.c:110:10: warning: call to undeclared function 'saveUuFile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return saveUuFile(inpart, (char *)0, 1, 0, buf); ^ uudecode.c:114:10: warning: call to undeclared function 'saveUuFile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return saveUuFile(inpart, fname, part, nparts, buf); ^ uudecode.c:133:10: warning: call to undeclared function 'saveUuFile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return saveUuFile(inpart, tmpfname, tmppart, 0, (char *)0); ^ uudecode.c:152:10: warning: call to undeclared function 'saveUuFile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return saveUuFile(inpart, tmpfname, tmppart, tmpnparts, ^ uudecode.c:174:13: warning: call to undeclared function 'saveUuFile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return saveUuFile(inpart, tmpfname, tmppart, tmpnparts, (char *)0); ^ uudecode.c:193:13: warning: call to undeclared function 'saveUuFile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return saveUuFile(inpart, tmpfname, tmppart, tmpnparts, (char *)0); ^ uudecode.c:215:13: warning: call to undeclared function 'saveUuFile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return saveUuFile(inpart, tmpfname, tmppart, tmpnparts, (char *)0); ^ uudecode.c:239:13: warning: call to undeclared function 'saveUuFile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return saveUuFile(inpart, tmpfname, tmppart, tmpnparts, (char *)0); ^ uudecode.c:250:13: warning: call to undeclared function 'saveUuFile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return saveUuFile(inpart, fname, part, nparts, buf); ^ uudecode.c:272:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (descfile = startDescFile(fname)) { ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ uudecode.c:272:19: note: place parentheses around the assignment to silence this warning if (descfile = startDescFile(fname)) { ^ ( ) uudecode.c:272:19: note: use '==' to turn this assignment into an equality comparison if (descfile = startDescFile(fname)) { ^ == uudecode.c:282:13: warning: call to undeclared function 'os_binhex'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return os_binhex(inpart, 1, 1); ^ uudecode.c:296:3: warning: call to undeclared function 'part_ungets'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] part_ungets(buf, inpart); ^ uudecode.c:298:10: warning: call to undeclared function 'handleMessage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return handleMessage(inpart, "text/plain", 0, extractText); ^ uudecode.c:348:3: warning: call to undeclared function 'part_ungets'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] part_ungets(buf2, inpart); ^ uudecode.c:365:14: warning: call to undeclared function 'handleMessage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return handleMessage(inpart, "text/plain", 0, extractText); ^ uudecode.c:386:8: warning: call to undeclared function 'descEnd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!descEnd(buf) && (descfile = startDescFile(fname))) { ^ uudecode.c:393:10: warning: call to undeclared function 'descEnd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (descEnd(buf)) { ^ uudecode.c:424:2: warning: call to undeclared function 'chat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] chat(buf); ^ uudecode.c:434:2: warning: call to undeclared function 'os_perror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] os_perror(buf); ^ uudecode.c:447:3: warning: call to undeclared function 'os_perror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] os_perror(buf); ^ uudecode.c:460:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (partfile = fopen(buf, "r")) { ~~~~~~~~~^~~~~~~~~~~~~~~~~ uudecode.c:460:15: note: place parentheses around the assignment to silence this warning if (partfile = fopen(buf, "r")) { ^ ( ) uudecode.c:460:15: note: use '==' to turn this assignment into an equality comparison if (partfile = fopen(buf, "r")) { ^ == uudecode.c:485:12: warning: call to undeclared function 'uudecodefiles'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] return uudecodefiles(dir, nparts); ^ uudecode.c:651:2: warning: call to undeclared function 'os_perror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] os_perror(buf); ^ uudecode.c:699:6: warning: call to undeclared function 'os_perror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] os_perror(buf); ^ uudecode.c:713:7: warning: call to undeclared function 'os_binhex'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] os_binhex(inpart, part, nparts); ^ uudecode.c:714:7: warning: call to undeclared function 'part_close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] part_close(inpart); ^ uudecode.c:728:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = strrchr(fname, '.')) { ~~^~~~~~~~~~~~~~~~~~~~~ uudecode.c:728:9: note: place parentheses around the assignment to silence this warning if (p = strrchr(fname, '.')) { ^ ( ) uudecode.c:728:9: note: use '==' to turn this assignment into an equality comparison if (p = strrchr(fname, '.')) { ^ == uudecode.c:792:7: warning: call to undeclared function 'os_closetypedfile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] os_closetypedfile(outfile); ^ uudecode.c:799:7: warning: call to undeclared function 'os_donewithdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] os_donewithdir(dir); ^ uudecode.c:808:3: warning: call to undeclared function 'os_binhex'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] os_binhex(inpart, part, nparts); ^ uudecode.c:809:3: warning: call to undeclared function 'part_close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] part_close(inpart); ^ uudecode.c:819:18: warning: call to undeclared function 'os_closetypedfile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (outfile) os_closetypedfile(outfile); ^ uudecode.c:820:29: warning: call to undeclared function 'os_binhex'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (state == st_binhex) os_binhex(0, 0, 0); ^ uudecode.c:823:5: warning: call to undeclared function 'os_donewithdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] os_donewithdir(dir); ^ 36 warnings generated. cc -DPACKAGE=\"mpack\" -DVERSION=\"1.6\" -DHAVE_DN_EXPAND=1 -DHAVE_STRCHR=1 -DHAVE_STRCASECMP=1 -DHAVE_GETOPT=1 -I. -I. -O2 -pipe -c part.c part.c:67:1: warning: non-void function does not return a value [-Wreturn-type] } ^ part.c:104:1: warning: non-void function does not return a value [-Wreturn-type] } ^ part.c:198:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 3 warnings generated. cc -O2 -pipe -o munpack unixunpk.o decode.o uudecode.o codes.o unixos.o part.o xmalloc.o md5c.o ld: warning: xmalloc.c(xmalloc.o:(strsave)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: unixos.c(unixos.o:(os_genid)): warning: sprintf() is often misused, please use snprintf() ld: warning: unixos.c(unixos.o:(os_idtodir)): warning: strcat() is almost always misused, please use strlcat() cp unixpk.man mpack.1 cp unixunpk.man munpack.1 >>> Running package in converters/mpack at 1731867649.13 ===> converters/mpack ===> Faking installation for mpack-1.6p3 /bin/sh ./mkinstalldirs /exopi-obj/pobj/mpack-1.6/fake-amd64/usr/local/bin /exopi-obj/pobj/mpack-1.6/bin/install -c -s -m 755 mpack /exopi-obj/pobj/mpack-1.6/fake-amd64/usr/local/bin/mpack /exopi-obj/pobj/mpack-1.6/bin/install -c -s -m 755 munpack /exopi-obj/pobj/mpack-1.6/fake-amd64/usr/local/bin/munpack /usr/bin/make install-man1 /bin/sh ./mkinstalldirs /exopi-obj/pobj/mpack-1.6/fake-amd64/usr/local/man/man1 /exopi-obj/pobj/mpack-1.6/bin/install -c -m 644 ./mpack.1 /exopi-obj/pobj/mpack-1.6/fake-amd64/usr/local/man/man1/mpack.1 /exopi-obj/pobj/mpack-1.6/bin/install -c -m 644 ./munpack.1 /exopi-obj/pobj/mpack-1.6/fake-amd64/usr/local/man/man1/munpack.1 ===> Building package for mpack-1.6p3 Create /exopi-cvs/ports/packages/amd64/all/mpack-1.6p3.tgz Creating package mpack-1.6p3 reading plist| checking dependencies| checksumming| checksumming| | 0% checksumming|***** | 8% checksumming|********** | 17% checksumming|*************** | 25% checksumming|******************** | 33% checksumming|************************* | 42% checksumming|******************************* | 50% checksumming|************************************ | 58% checksumming|***************************************** | 67% checksumming|********************************************** | 75% checksumming|*************************************************** | 83% checksumming|******************************************************** | 92% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|*********************** | 36% archiving|************************************************************ | 94% archiving|************************************************************** | 96% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/mpack-1.6p3.tgz >>> Running clean in converters/mpack at 1731867651.71 ===> converters/mpack ===> Cleaning for mpack-1.6p3 >>> Ended at 1731867652.38 max_stuck=0.26/build=7.57/package=2.55/clean=0.75