>>> Building on exopi-3 under converters/mpack DIST = [converters/mpack:mpack-1.6.tar.gz] FULLPKGNAME = mpack-1.6p3 distfiles size=179850 >>> Running build in converters/mpack at 1764443057.13 ===> converters/mpack ===> Building from scratch mpack-1.6p3 ===> Verifying specs: c ===> found c.102.2 ===> 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 C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 36 | extern char *getenv(); | ^ /usr/include/stdlib.h:110:7: note: conflicting prototype is here 110 | char *getenv(const char *); | ^ unixpk.c:160:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 160 | if (p = strchr(sbuf, '\n')) *p = '\0'; | ~~^~~~~~~~~~~~~~~~~~~~ unixpk.c:160:8: note: place parentheses around the assignment to silence this warning 160 | if (p = strchr(sbuf, '\n')) *p = '\0'; | ^ | ( ) unixpk.c:160:8: note: use '==' to turn this assignment into an equality comparison 160 | 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] 178 | 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] 185 | 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] 190 | 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] 63 | if (p = strrchr(cleanfname, '/')) cleanfname = p+1; | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ encode.c:63:11: note: place parentheses around the assignment to silence this warning 63 | if (p = strrchr(cleanfname, '/')) cleanfname = p+1; | ^ | ( ) encode.c:63:11: note: use '==' to turn this assignment into an equality comparison 63 | if (p = strrchr(cleanfname, '/')) cleanfname = p+1; | ^ | == encode.c:64:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 64 | if (p = strrchr(cleanfname, '\\')) cleanfname = p+1; | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ encode.c:64:11: note: place parentheses around the assignment to silence this warning 64 | if (p = strrchr(cleanfname, '\\')) cleanfname = p+1; | ^ | ( ) encode.c:64:11: note: use '==' to turn this assignment into an equality comparison 64 | if (p = strrchr(cleanfname, '\\')) cleanfname = p+1; | ^ | == encode.c:66:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 66 | if (p = strrchr(cleanfname, ':')) cleanfname = p+1; | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ encode.c:66:11: note: place parentheses around the assignment to silence this warning 66 | if (p = strrchr(cleanfname, ':')) cleanfname = p+1; | ^ | ( ) encode.c:66:11: note: use '==' to turn this assignment into an equality comparison 66 | 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] 119 | 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] 207 | 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] 232 | 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 C23 [-Wdeprecated-non-prototype] 107 | 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 C23 [-Wdeprecated-non-prototype] 130 | MD5Init(&context); | ^ codes.c:131:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 131 | while (nbytes = fread(buf, 1, sizeof(buf), infile)) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ codes.c:131:19: note: place parentheses around the assignment to silence this warning 131 | while (nbytes = fread(buf, 1, sizeof(buf), infile)) { | ^ | ( ) codes.c:131:19: note: use '==' to turn this assignment into an equality comparison 131 | 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 C23 [-Wdeprecated-non-prototype] 133 | 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] 204 | } while (outfile = fopen(buf, "r")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ unixos.c:204:19: note: place parentheses around the assignment to silence this warning 204 | } while (outfile = fopen(buf, "r")); | ^ | ( ) unixos.c:204:19: note: use '==' to turn this assignment into an equality comparison 204 | } while (outfile = fopen(buf, "r")); | ^ | == unixos.c:212:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 212 | } while (outfile = fopen(buf, "r")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ unixos.c:212:19: note: place parentheses around the assignment to silence this warning 212 | } while (outfile = fopen(buf, "r")); | ^ | ( ) unixos.c:212:19: note: use '==' to turn this assignment into an equality comparison 212 | } while (outfile = fopen(buf, "r")); | ^ | == unixos.c:238:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 238 | if (p = strrchr(p, '.')) *p = '\0'; | ~~^~~~~~~~~~~~~~~~~ unixos.c:238:11: note: place parentheses around the assignment to silence this warning 238 | if (p = strrchr(p, '.')) *p = '\0'; | ^ | ( ) unixos.c:238:11: note: use '==' to turn this assignment into an equality comparison 238 | if (p = strrchr(p, '.')) *p = '\0'; | ^ | == unixos.c:278:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 278 | warn(warning); | ^~~~~~~ unixos.c:278:10: note: treat the string as an argument to avoid this 278 | 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] 33 | if (ret = malloc((unsigned) size)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ xmalloc.c:33:13: note: place parentheses around the assignment to silence this warning 33 | if (ret = malloc((unsigned) size)) | ^ | ( ) xmalloc.c:33:13: note: use '==' to turn this assignment into an equality comparison 33 | if (ret = malloc((unsigned) size)) | ^ | == xmalloc.c:46:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 46 | if (ret = !ptr ? malloc ((unsigned) size) : realloc (ptr, (unsigned) size)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xmalloc.c:46:13: note: place parentheses around the assignment to silence this warning 46 | if (ret = !ptr ? malloc ((unsigned) size) : realloc (ptr, (unsigned) size)) | ^ | ( ) xmalloc.c:46:13: note: use '==' to turn this assignment into an equality comparison 46 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 63 | void MD5Init PROTO_LIST ((MD5_CTX *)); | ^ md5c.c:99:6: note: conflicting prototype is here 99 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 64 | void MD5Update PROTO_LIST | ^ md5c.c:115:6: note: conflicting prototype is here 115 | 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 C23 [-Wdeprecated-non-prototype] 137 | ((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 C23 [-Wdeprecated-non-prototype] 138 | 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 C23 [-Wdeprecated-non-prototype] 141 | 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 C23 [-Wdeprecated-non-prototype] 150 | ((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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 66 | void MD5Final PROTO_LIST ((unsigned char [16], MD5_CTX *)); | ^ md5c.c:157:6: note: conflicting prototype is here 157 | 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 C23 [-Wdeprecated-non-prototype] 165 | 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 C23 [-Wdeprecated-non-prototype] 177 | 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 C23 [-Wdeprecated-non-prototype] 181 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | static void MD5Transform PROTO_LIST ((UINT4 [4], unsigned char [64])); | ^ md5c.c:186:13: note: conflicting prototype is here 186 | 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 C23 [-Wdeprecated-non-prototype] 190 | 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 C23 [-Wdeprecated-non-prototype] 271 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 49 | static void Encode PROTO_LIST | ^ md5c.c:277:13: note: conflicting prototype is here 277 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | static void Decode PROTO_LIST | ^ md5c.c:292:13: note: conflicting prototype is here 292 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 53 | static void MD5_memcpy PROTO_LIST ((POINTER, POINTER, unsigned int)); | ^ md5c.c:304:13: note: conflicting prototype is here 304 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 54 | static void MD5_memset PROTO_LIST ((POINTER, int, unsigned int)); | ^ md5c.c:314:13: note: conflicting prototype is here 314 | 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: unixpk.c(unixpk.o:(main)): warning: sprintf() is often misused, please use snprintf() ld: warning: unixpk.c(unixpk.o:(main)): warning: strcat() is almost always misused, please use strlcat() ld: warning: unixpk.c(unixpk.o:(main)): warning: strcpy() is almost always misused, please use strlcpy() 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] 75 | 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] 90 | 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] 87 | 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] 91 | 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] 97 | 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] 100 | 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] 106 | 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] 112 | 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] 116 | 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] 216 | part_ungets(next, inpart); | ^ decode.c:630:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 630 | if (p = getParam(contentParams, "total")) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ decode.c:630:11: note: place parentheses around the assignment to silence this warning 630 | if (p = getParam(contentParams, "total")) { | ^ | ( ) decode.c:630:11: note: use '==' to turn this assignment into an equality comparison 630 | 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] 640 | os_perror(buf); | ^ decode.c:649:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 649 | if (partfile = fopen(buf, "r")) { | ~~~~~~~~~^~~~~~~~~~~~~~~~~ decode.c:649:15: note: place parentheses around the assignment to silence this warning 649 | if (partfile = fopen(buf, "r")) { | ^ | ( ) decode.c:649:15: note: use '==' to turn this assignment into an equality comparison 649 | 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] 667 | 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] 673 | 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] 747 | 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] 754 | 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] 772 | 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] 777 | 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] 784 | 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] 789 | 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] 798 | while (part_getc(inpart) != EOF); | ^ ./part.h:53:84: note: expanded from macro 'part_getc' 53 | #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] 825 | 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] 846 | 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] 873 | 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] 958 | 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] 963 | 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 C23 [-Wdeprecated-non-prototype] 1021 | 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] 1022 | while ((c1 = part_getc(inpart)) != EOF) { | ^ ./part.h:53:84: note: expanded from macro 'part_getc' 53 | #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 C23 [-Wdeprecated-non-prototype] 1049 | 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 C23 [-Wdeprecated-non-prototype] 1056 | 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 C23 [-Wdeprecated-non-prototype] 1062 | 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 C23 [-Wdeprecated-non-prototype] 1075 | 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] 1077 | while ((c1 = part_getc(inpart)) != EOF) { | ^ ./part.h:53:84: note: expanded from macro 'part_getc' 53 | #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 C23 [-Wdeprecated-non-prototype] 1086 | 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 C23 [-Wdeprecated-non-prototype] 1091 | 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 C23 [-Wdeprecated-non-prototype] 1094 | 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 C23 [-Wdeprecated-non-prototype] 1106 | 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] 1108 | while ((c = part_getc(inpart)) != EOF) { | ^ ./part.h:53:84: note: expanded from macro 'part_getc' 53 | #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 C23 [-Wdeprecated-non-prototype] 1111 | 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 C23 [-Wdeprecated-non-prototype] 1114 | 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] 89 | 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] 93 | 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] 110 | 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] 114 | 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] 133 | 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] 152 | 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] 174 | 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] 193 | 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] 215 | 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] 239 | 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] 250 | return saveUuFile(inpart, fname, part, nparts, buf); | ^ uudecode.c:272:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 272 | if (descfile = startDescFile(fname)) { | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ uudecode.c:272:19: note: place parentheses around the assignment to silence this warning 272 | if (descfile = startDescFile(fname)) { | ^ | ( ) uudecode.c:272:19: note: use '==' to turn this assignment into an equality comparison 272 | 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] 282 | 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] 296 | 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] 298 | 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] 348 | 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] 365 | 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] 386 | 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] 393 | 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] 424 | 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] 434 | 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] 447 | os_perror(buf); | ^ uudecode.c:460:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 460 | if (partfile = fopen(buf, "r")) { | ~~~~~~~~~^~~~~~~~~~~~~~~~~ uudecode.c:460:15: note: place parentheses around the assignment to silence this warning 460 | if (partfile = fopen(buf, "r")) { | ^ | ( ) uudecode.c:460:15: note: use '==' to turn this assignment into an equality comparison 460 | 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] 485 | 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] 651 | 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] 699 | 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] 713 | 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] 714 | part_close(inpart); | ^ uudecode.c:728:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 728 | if (p = strrchr(fname, '.')) { | ~~^~~~~~~~~~~~~~~~~~~~~ uudecode.c:728:9: note: place parentheses around the assignment to silence this warning 728 | if (p = strrchr(fname, '.')) { | ^ | ( ) uudecode.c:728:9: note: use '==' to turn this assignment into an equality comparison 728 | 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] 792 | 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] 799 | 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] 808 | 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] 809 | 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] 819 | 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] 820 | 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] 823 | 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] 67 | } | ^ part.c:104:1: warning: non-void function does not return a value [-Wreturn-type] 104 | } | ^ part.c:198:1: warning: non-void function does not return a value [-Wreturn-type] 198 | } | ^ 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: decode.c(decode.o:(handlePartial)): warning: sprintf() is often misused, please use snprintf() ld: warning: decode.c(decode.o:(handlePartial)): warning: strcat() is almost always misused, please use strlcat() ld: warning: unixos.c(unixos.o:(os_genid)): warning: strcpy() is almost always misused, please use strlcpy() cp unixpk.man mpack.1 cp unixunpk.man munpack.1 >>> Running package in converters/mpack at 1764443067.50 ===> 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|************************************************************ | 93% archiving|************************************************************* | 96% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/mpack-1.6p3.tgz >>> Running clean in converters/mpack at 1764443070.62 ===> converters/mpack ===> Cleaning for mpack-1.6p3 >>> Ended at 1764443070.95 max_stuck=0.49/build=10.20/package=3.26/clean=0.38