version:1 :debug:main Executing org.macports.main (mpack) :debug:archivefetch archivefetch phase started at Fri Mar 9 09:19:37 MST 2012 :msg:archivefetch ---> Fetching archive for mpack :debug:archivefetch Executing org.macports.archivefetch (mpack) :info:archivefetch ---> mpack-1.6_1.darwin_11.x86_64.tgz doesn't seem to exist in /opt/local/var/macports/software/mpack :msg:archivefetch ---> Attempting to fetch mpack-1.6_1.darwin_11.x86_64.tgz from http://packages.macports.org/mpack :debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 :debug:fetch fetch phase started at Fri Mar 9 09:19:38 MST 2012 :notice:fetch ---> Fetching mpack :debug:fetch Executing org.macports.fetch (mpack) :info:fetch ---> mpack-1.6.tar.gz doesn't seem to exist in /opt/local/var/macports/distfiles/mpack :debug:fetch Pinging ftp.andrew.cmu.edu... :debug:fetch Pinging distfiles.macports.org... :debug:fetch Pinging aarnet.au.distfiles.macports.org... :debug:fetch Pinging her.gr.distfiles.macports.org... :debug:fetch Pinging jog.id.distfiles.macports.org... :debug:fetch Pinging lil.fr.distfiles.macports.org... :debug:fetch Pinging sea.us.distfiles.macports.org... :debug:fetch Pinging ykf.ca.distfiles.macports.org... :debug:fetch ftp.andrew.cmu.edu ping time is 94.815 :debug:fetch distfiles.macports.org ping time is 49.400 :debug:fetch aarnet.au.distfiles.macports.org ping time is 216.030 :debug:fetch her.gr.distfiles.macports.org ping time is 244.829 :debug:fetch jog.id.distfiles.macports.org ping time is 247.118 :debug:fetch lil.fr.distfiles.macports.org ping time is 168.241 :debug:fetch sea.us.distfiles.macports.org ping time is 10000 :debug:fetch ykf.ca.distfiles.macports.org ping time is 119.663 :notice:fetch ---> Attempting to fetch mpack-1.6.tar.gz from http://distfiles.macports.org/mpack :debug:checksum checksum phase started at Fri Mar 9 09:19:42 MST 2012 :notice:checksum ---> Verifying checksum(s) for mpack :debug:checksum Executing org.macports.checksum (mpack) :info:checksum ---> Checksumming mpack-1.6.tar.gz :debug:checksum Correct (md5) checksum for mpack-1.6.tar.gz :debug:extract extract phase started at Fri Mar 9 09:19:42 MST 2012 :notice:extract ---> Extracting mpack :debug:extract Executing org.macports.extract (mpack) :info:extract ---> Extracting mpack-1.6.tar.gz :debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/mpack/mpack-1.6.tar.gz' :debug:extract Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_mail_mpack/mpack/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7' GI_SCANNER_DISABLE_CACHE='1' :debug:extract Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_mail_mpack/mpack/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/mpack/mpack-1.6.tar.gz' | /usr/bin/gnutar --no-same-owner -xf -' :debug:extract Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_mail_mpack/mpack/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/mpack/mpack-1.6.tar.gz' | /usr/bin/gnutar --no-same-owner -xf - :debug:patch patch phase started at Fri Mar 9 09:19:42 MST 2012 :debug:patch Executing org.macports.patch (mpack) :notice:patch ---> Applying patches to mpack :info:patch ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/mail/mpack/files/patch-TMPDIR.diff :debug:patch Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_mail_mpack/mpack/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7' GI_SCANNER_DISABLE_CACHE='1' :debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_mail_mpack/mpack/work/mpack-1.6" && /usr/bin/patch -p0' :debug:patch Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_mail_mpack/mpack/work/mpack-1.6" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/ports/mail/mpack/files/patch-TMPDIR.diff' :info:patch patching file README.unix :info:patch patching file mkreadme.pl :info:patch patching file unixos.c :info:patch patching file unixpk.c :info:patch patching file unixpk.man :debug:configure configure phase started at Fri Mar 9 09:19:42 MST 2012 :notice:configure ---> Configuring mpack :debug:configure Using compiler 'Mac OS X clang' :debug:configure Executing org.macports.configure (mpack) :debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-O2 -arch x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2 -arch x86_64' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.7' CXX='/usr/bin/clang++' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_mail_mpack/mpack/work/.CC_PRINT_OPTIONS' F90FLAGS='-O2 -m64' LDFLAGS='-L/opt/local/lib -arch x86_64' OBJC='/usr/bin/clang' FCFLAGS='-O2 -m64' GI_SCANNER_DISABLE_CACHE='1' INSTALL='/usr/bin/install -c' OBJCFLAGS='-O2 -arch x86_64' FFLAGS='-O2 -m64' CC_PRINT_OPTIONS='YES' CC='/usr/bin/clang' :debug:configure Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_mail_mpack/mpack/work/mpack-1.6" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man' :debug:configure Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_mail_mpack/mpack/work/mpack-1.6" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man :info:configure creating cache ./config.cache :info:configure checking for a BSD compatible install... /usr/bin/install -c :info:configure checking whether build environment is sane... yes :info:configure checking whether make sets ${MAKE}... yes :info:configure checking for working aclocal... found :info:configure checking for working autoconf... found :info:configure checking for working automake... found :info:configure checking for working autoheader... found :info:configure checking for working makeinfo... found :info:configure checking for gcc... /usr/bin/clang :info:configure checking whether the C compiler (/usr/bin/clang -O2 -arch x86_64 -L/opt/local/lib -arch x86_64) works... yes :info:configure checking whether the C compiler (/usr/bin/clang -O2 -arch x86_64 -L/opt/local/lib -arch x86_64) is a cross-compiler... no :info:configure checking whether we are using GNU C... yes :info:configure checking whether /usr/bin/clang accepts -g... yes :info:configure checking for connect... yes :info:configure checking for res_search... yes :info:configure checking for dn_expand... yes :info:configure checking for dns_lookup... no :info:configure checking for strchr... yes :info:configure checking for strcasecmp... yes :info:configure checking for getopt... yes :info:configure updating cache ./config.cache :info:configure creating ./config.status :info:configure creating Makefile :debug:build build phase started at Fri Mar 9 09:19:45 MST 2012 :notice:build ---> Building mpack :debug:build Executing org.macports.build (mpack) :debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_mail_mpack/mpack/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7' GI_SCANNER_DISABLE_CACHE='1' :debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_mail_mpack/mpack/work/mpack-1.6" && /usr/bin/make -j4 -w all' :debug:build Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_mail_mpack/mpack/work/mpack-1.6" && /usr/bin/make -j4 -w all :info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_mail_mpack/mpack/work/mpack-1.6' :info:build /usr/bin/clang -DPACKAGE=\"mpack\" -DVERSION=\"1.6\" -DHAVE_DN_EXPAND=1 -DHAVE_STRCHR=1 -DHAVE_STRCASECMP=1 -DHAVE_GETOPT=1 -I. -I. -I/opt/local/include -O2 -arch x86_64 -c unixpk.c :info:build /usr/bin/clang -DPACKAGE=\"mpack\" -DVERSION=\"1.6\" -DHAVE_DN_EXPAND=1 -DHAVE_STRCHR=1 -DHAVE_STRCASECMP=1 -DHAVE_GETOPT=1 -I. -I. -I/opt/local/include -O2 -arch x86_64 -c encode.c :info:build /usr/bin/clang -DPACKAGE=\"mpack\" -DVERSION=\"1.6\" -DHAVE_DN_EXPAND=1 -DHAVE_STRCHR=1 -DHAVE_STRCASECMP=1 -DHAVE_GETOPT=1 -I. -I. -I/opt/local/include -O2 -arch x86_64 -c codes.c :info:build /usr/bin/clang -DPACKAGE=\"mpack\" -DVERSION=\"1.6\" -DHAVE_DN_EXPAND=1 -DHAVE_STRCHR=1 -DHAVE_STRCASECMP=1 -DHAVE_GETOPT=1 -I. -I. -I/opt/local/include -O2 -arch x86_64 -c magic.c :info:build magic.c:59:44: warning: implicitly declaring C library function 'strlen' with type 'unsigned long (const char *)' :info:build if (magic[i].len == 0) magic[i].len = strlen(magic[i].num); :info:build ^ :info:build magic.c:59:44: note: please include the header or explicitly provide a declaration for 'strlen' :info:build encode.c:62:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] :info:build if (p = strrchr(cleanfname, '/')) cleanfname = p+1; :info:build ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build encode.c:62:11: note: place parentheses around the assignment to silence this warning :info:build if (p = strrchr(cleanfname, '/')) cleanfname = p+1; :info:build ^ :info:build ( ) :info:build encode.c:62:11: note: use '==' to turn this assignment into an equality comparison :info:build if (p = strrchr(cleanfname, '/')) cleanfname = p+1; :info:build ^ :info:build == :info:build encode.c:63:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] :info:build if (p = strrchr(cleanfname, '\\')) cleanfname = p+1; :info:build ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build encode.c:63:11: note: place parentheses around the assignment to silence this warning :info:build if (p = strrchr(cleanfname, '\\')) cleanfname = p+1; :info:build ^ :info:build ( ) :info:build encode.c:63:11: note: use '==' to turn this assignment into an equality comparison :info:build if (p = strrchr(cleanfname, '\\')) cleanfname = p+1; :info:build ^ :info:build == :info:build encode.c:65:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] :info:build if (p = strrchr(cleanfname, ':')) cleanfname = p+1; :info:build ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build encode.c:65:11: note: place parentheses around the assignment to silence this warning :info:build if (p = strrchr(cleanfname, ':')) cleanfname = p+1; :info:build ^ :info:build ( ) :info:build encode.c:65:11: note: use '==' to turn this assignment into an equality comparison :info:build if (p = strrchr(cleanfname, ':')) cleanfname = p+1; :info:build ^ :info:build == :info:build codes.c:131:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] :info:build while (nbytes = fread(buf, 1, sizeof(buf), infile)) { :info:build ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build codes.c:131:19: note: place parentheses around the assignment to silence this warning :info:build while (nbytes = fread(buf, 1, sizeof(buf), infile)) { :info:build ^ :info:build ( ) :info:build codes.c:131:19: note: use '==' to turn this assignment into an equality comparison :info:build while (nbytes = fread(buf, 1, sizeof(buf), infile)) { :info:build ^ :info:build == :info:build 1 warning generated. :info:build /usr/bin/clang -DPACKAGE=\"mpack\" -DVERSION=\"1.6\" -DHAVE_DN_EXPAND=1 -DHAVE_STRCHR=1 -DHAVE_STRCASECMP=1 -DHAVE_GETOPT=1 -I. -I. -I/opt/local/include -O2 -arch x86_64 -c unixos.c :info:build encode.c:88:6: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] :info:build free(md5digest(descfile, &l)); /* XXX */ :info:build ^ :info:build unixpk.c:64:12: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] :info:build maxsize = atoi(p); :info:build ^ :info:build unixpk.c:67:19: warning: implicit declaration of function 'getopt' is invalid in C99 [-Wimplicit-function-declaration] :info:build while ((opt = getopt(argc, argv, "s:d:m:c:o:n:")) != EOF) { :info:build ^ :info:build 1 warning generated. :info:build /usr/bin/clang -DPACKAGE=\"mpack\" -DVERSION=\"1.6\" -DHAVE_DN_EXPAND=1 -DHAVE_STRCHR=1 -DHAVE_STRCASECMP=1 -DHAVE_GETOPT=1 -I. -I. -I/opt/local/include -O2 -arch x86_64 -c xmalloc.c :info:build unixpk.c:102:6: warning: implicitly declaring C library function 'exit' with type 'void (int) __attribute__((noreturn))' :info:build exit(1); :info:build ^ :info:build encode.c:118:6: unixpk.c:102:6warning: implicit declaration of function 'os_perror' is invalid in C99 [-Wimplicit-function-declaration] :info:build os_perror(buf); :info:build ^ :info:build : note: please include the header or explicitly provide a declaration for 'exit' :info:build encode.c:206:17: warning: implicit declaration of function 'to64' is invalid in C99 [-Wimplicit-function-declaration] :info:build written += to64(applefile, outfile, :info:build ^ :info:build unixpk.c:158:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] :info:build if (p = strchr(sbuf, '\n')) *p = '\0'; :info:build ~~^~~~~~~~~~~~~~~~~~~~ :info:build unixpk.c:158:8: note: place parentheses around the assignment to silence this warning :info:build if (p = strchr(sbuf, '\n')) *p = '\0'; :info:build ^ :info:build ( ) :info:build unixpk.c:158:8: note: use '==' to turn this assignment into an equality comparison :info:build if (p = strchr(sbuf, '\n')) *p = '\0'; :info:build ^ :info:build == :info:build unixpk.c:170:2: warning: implicit declaration of function 'mktemp' is invalid in C99 [-Wimplicit-function-declaration] :info:build mktemp(fnamebuf); :info:build ^ :info:build unixpk.c:176:2: warning: implicit declaration of function 'os_perror' is invalid in C99 [-Wimplicit-function-declaration] :info:build os_perror(fname); :info:build ^ :info:build unixpk.c:188:9: warning: implicit declaration of function 'encode' is invalid in C99 [-Wimplicit-function-declaration] :info:build if (encode(infile, (FILE *)0, fname, descfile, subject, headers, :info:build ^ :info:build unixpk.c:230:20: warning: implicitly declaring C library function 'abort' with type 'void (void) __attribute__((noreturn))' :info:build if (start < 2) abort(); :info:build ^ :info:build unixpk.c:230:20: note: please include the header or explicitly provide a declaration for 'abort' :info:build unixpk.c:240:8: warning: implicit declaration of function 'fork' is invalid in C99 [-Wimplicit-function-declaration] :info:build pid = fork(); :info:build ^ :info:build unixpk.c:248:16: warning: implicit declaration of function 'wait' is invalid in C99 [-Wimplicit-function-declaration] :info:build while (pid != wait(&status)); :info:build ^ :info:build unixpk.c:252:5: warning: implicit declaration of function 'dup2' is invalid in C99 [-Wimplicit-function-declaration] :info:build dup2(fileno(infile), 0); :info:build ^ :info:build unixpk.c:257:5: warning: implicit declaration of function 'execv' is invalid in C99 [-Wimplicit-function-declaration] :info:build execv("/usr/lib/sendmail", addr+start); :info:build ^ :info:build unixpk.c:261:5: warning: implicitly declaring C library function '_exit' with type 'void (int) __attribute__((noreturn))' :info:build _exit(1); :info:build ^ :info:build unixpk.c:261:5: note: please include the header or explicitly provide a declaration for '_exit' :info:build unixpk.c:284:5: warning: implicit declaration of function 'execlp' is invalid in C99 [-Wimplicit-function-declaration] :info:build execlp("inews", "inews", "-h", "-S", (char *)0); :info:build ^ :info:build unixpk.c:285:5: warning: implicit declaration of function 'execl' is invalid in C99 [-Wimplicit-function-declaration] :info:build execl("/usr/local/news/inews", "inews", "-h", "-S", (char *)0); :info:build ^ :info:build xmalloc.c:27:14: warning: incompatible redeclaration of library function 'malloc' :info:build extern char *malloc(), *realloc(); :info:build ^ :info:build xmalloc.c:27:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' :info:build xmalloc.c:27:25: warning: incompatible redeclaration of library function 'realloc' :info:build extern char *malloc(), *realloc(); :info:build ^ :info:build xmalloc.c:27:25: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' :info:build xmalloc.c:33:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] :info:build if (ret = malloc((unsigned) size)) :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ :info:build xmalloc.c:33:13: note: place parentheses around the assignment to silence this warning :info:build if (ret = malloc((unsigned) size)) :info:build ^ :info:build ( ) :info:build xmalloc.c:33:13: note: use '==' to turn this assignment into an equality comparison :info:build if (ret = malloc((unsigned) size)) :info:build ^ :info:build == :info:build xmalloc.c:37:5: warning: implicitly declaring C library function 'exit' with type 'void (int) __attribute__((noreturn))' :info:build exit(1); :info:build ^ :info:build xmalloc.c:37:5: note: please include the header or explicitly provide a declaration for 'exit' :info:build xmalloc.c:46:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] :info:build if (ret = !ptr ? malloc ((unsigned) size) : realloc (ptr, (unsigned) size)) :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build xmalloc.c:46:13: note: place parentheses around the assignment to silence this warning :info:build if (ret = !ptr ? malloc ((unsigned) size) : realloc (ptr, (unsigned) size)) :info:build ^ :info:build ( ) :info:build xmalloc.c:46:13: note: use '==' to turn this assignment into an equality comparison :info:build if (ret = !ptr ? malloc ((unsigned) size) : realloc (ptr, (unsigned) size)) :info:build ^ :info:build == :info:build 5 warnings generated. :info:build 6 warnings generated. :info:build 15 warnings generated. :info:build /usr/bin/clang -DPACKAGE=\"mpack\" -DVERSION=\"1.6\" -DHAVE_DN_EXPAND=1 -DHAVE_STRCHR=1 -DHAVE_STRCASECMP=1 -DHAVE_GETOPT=1 -I. -I. -I/opt/local/include -O2 -arch x86_64 -c md5c.c :info:build /usr/bin/clang -DPACKAGE=\"mpack\" -DVERSION=\"1.6\" -DHAVE_DN_EXPAND=1 -DHAVE_STRCHR=1 -DHAVE_STRCASECMP=1 -DHAVE_GETOPT=1 -I. -I. -I/opt/local/include -O2 -arch x86_64 -c unixunpk.c :info:build /usr/bin/clang -DPACKAGE=\"mpack\" -DVERSION=\"1.6\" -DHAVE_DN_EXPAND=1 -DHAVE_STRCHR=1 -DHAVE_STRCASECMP=1 -DHAVE_GETOPT=1 -I. -I. -I/opt/local/include -O2 -arch x86_64 -c decode.c :info:build decode.c:74:6: warning: implicit declaration of function 'warn' is invalid in C99 [-Wimplicit-function-declaration] :info:build warn("ignoring invalid content encoding on message/rfc822"); :info:build ^ :info:build decode.c:84:9: warning: implicit declaration of function 'handlePartial' is invalid in C99 [-Wimplicit-function-declaration] :info:build return handlePartial(inpart, headers, contentParams, extractText); :info:build ^ :info:build decode.c:88:9: warning: implicit declaration of function 'ignoreMessage' is invalid in C99 [-Wimplicit-function-declaration] :info:build return ignoreMessage(inpart); :info:build ^ :info:build decode.c:94:9: warning: implicit declaration of function 'handleMultipart' is invalid in C99 [-Wimplicit-function-declaration] :info:build return handleMultipart(inpart, contentType, contentParams, :info:build ^ :info:build decode.c:97:14: warning: implicit declaration of function 'part_depth' is invalid in C99 [-Wimplicit-function-declaration] :info:build else if (part_depth(inpart) == 0 && :info:build ^ :info:build decode.c:103:9: warning: implicit declaration of function 'handleUuencode' is invalid in C99 [-Wimplicit-function-declaration] :info:build return handleUuencode(inpart, subject, extractText); :info:build ^ :info:build decode.c:109:9: warning: implicit declaration of function 'handleText' is invalid in C99 [-Wimplicit-function-declaration] :info:build return handleText(inpart, contentEncoding); :info:build ^ :info:build decode.c:113:9: warning: implicit declaration of function 'saveToFile' is invalid in C99 [-Wimplicit-function-declaration] :info:build return saveToFile(inpart, inAppleDouble, contentType, contentParams, :info:build ^ :info:build decode.c:213:7: warning: implicit declaration of function 'part_ungets' is invalid in C99 [-Wimplicit-function-declaration] :info:build part_ungets(next, inpart); :info:build ^ :info:build decode.c:625:16: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] :info:build thispart = atoi(p); :info:build ^ :info:build decode.c:627:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] :info:build if (p = getParam(contentParams, "total")) { :info:build ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build decode.c:627:11: note: place parentheses around the assignment to silence this warning :info:build if (p = getParam(contentParams, "total")) { :info:build ^ :info:build ( ) :info:build decode.c:627:11: note: use '==' to turn this assignment into an equality comparison :info:build if (p = getParam(contentParams, "total")) { :info:build ^ :info:build == :info:build decode.c:637:6: warning: implicit declaration of function 'os_perror' is invalid in C99 [-Wimplicit-function-declaration] :info:build os_perror(buf); :info:build ^ :info:build decode.c:646:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] :info:build if (partfile = fopen(buf, "r")) { :info:build ~~~~~~~~~^~~~~~~~~~~~~~~~~ :info:build decode.c:646:15: note: place parentheses around the assignment to silence this warning :info:build if (partfile = fopen(buf, "r")) { :info:build ^ :info:build ( ) :info:build decode.c:646:15: note: use '==' to turn this assignment into an equality comparison :info:build if (partfile = fopen(buf, "r")) { :info:build ^ :info:build == :info:build decode.c:664:5: warning: implicit declaration of function 'chat' is invalid in C99 [-Wimplicit-function-declaration] :info:build chat(buf); :info:build ^ :info:build decode.c:774:5: warning: implicit declaration of function 'part_close' is invalid in C99 [-Wimplicit-function-declaration] :info:build part_close(outpart); :info:build ^ :info:build decode.c:781:5: warning: implicit declaration of function 'os_donewithdir' is invalid in C99 [-Wimplicit-function-declaration] :info:build os_donewithdir(dir); :info:build ^ :info:build decode.c:795:12: warning: implicit declaration of function 'part_fill' is invalid in C99 [-Wimplicit-function-declaration] :info:build while (part_getc(inpart) != EOF); :info:build ^ :info:build ./part.h:53:84: note: expanded from macro 'part_getc' :info:build #define part_getc(s) (((s)->cnt-- > 0 && (s)->ptr[0] != '\n') ? (int)*(s)->ptr++ : part_fill(s)) :info:build ^ :info:build decode.c:822:5: warning: implicit declaration of function 'part_addboundary' is invalid in C99 [-Wimplicit-function-declaration] :info:build part_addboundary(inpart, id); :info:build ^ :info:build decode.c:843:13: warning: implicit declaration of function 'part_readboundary' is invalid in C99 [-Wimplicit-function-declaration] :info:build while (!part_readboundary(inpart)) { :info:build ^ :info:build decode.c:930:16: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] :info:build if (fname) free(fname); :info:build ^ :info:build decode.c:955:6: warning: implicit declaration of function 'os_warnMD5mismatch' is invalid in C99 [-Wimplicit-function-declaration] :info:build os_warnMD5mismatch(); :info:build ^ :info:build decode.c:960:5: warning: implicit declaration of function 'os_closetypedfile' is invalid in C99 [-Wimplicit-function-declaration] :info:build os_closetypedfile(outfile); :info:build ^ :info:build unixos.c:42:14: warning: incompatible redeclaration of library function 'malloc' :info:build extern char *malloc(); :info:build ^ :info:build unixos.c:42:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' :info:build unixos.c:65:8: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration] :info:build pid = getpid(); :info:build ^ :info:build unixos.c:66:2: warning: implicit declaration of function 'time' is invalid in C99 [-Wimplicit-function-declaration] :info:build time(&curtime); :info:build ^ :info:build unixos.c:67:2: warning: implicit declaration of function 'gethostname' is invalid in C99 [-Wimplicit-function-declaration] :info:build gethostname(hostname, sizeof(hostname)); :info:build ^ :info:build unixos.c:79:26: warning: conversion specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] :info:build sprintf(result, "%d.%d@%s", pid, curtime++, hostname); :info:build ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' :info:build __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) :info:build ^ :info:build unixos.c:101:11: warning: implicit declaration of function 'mkdir' is invalid in C99 [-Wimplicit-function-declaration] :info:build (void)mkdir(buf, 0700); :info:build ^ :info:build unixos.c:131:5: warning: implicit declaration of function 'rmdir' is invalid in C99 [-Wimplicit-function-declaration] :info:build rmdir(dir); :info:build ^ :info:build unixos.c:197:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] :info:build } while (outfile = fopen(buf, "r")); :info:build ~~~~~~~~^~~~~~~~~~~~~~~~~ :info:build unixos.c:197:19: note: place parentheses around the assignment to silence this warning :info:build } while (outfile = fopen(buf, "r")); :info:build ^ :info:build ( ) :info:build unixos.c:197:19: note: use '==' to turn this assignment into an equality comparison :info:build } while (outfile = fopen(buf, "r")); :info:build ^ :info:build == :info:build unixos.c:205:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] :info:build } while (outfile = fopen(buf, "r")); :info:build ~~~~~~~~^~~~~~~~~~~~~~~~~ :info:build unixos.c:205:19: note: place parentheses around the assignment to silence this warning :info:build } while (outfile = fopen(buf, "r")); :info:build ^ :info:build ( ) :info:build unixos.c:205:19: note: use '==' to turn this assignment into an equality comparison :info:build } while (outfile = fopen(buf, "r")); :info:build ^ :info:build == :info:build unixos.c:218:23: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] :info:build if (output_fname) free(output_fname); :info:build ^ :info:build unixunpk.c:44:19: warning: implicit declaration of function 'getopt' is invalid in C99 [-Wimplicit-function-declaration] :info:build while ((opt = getopt(argc, argv, "qftC:")) != EOF) { :info:build ^ :info:build unixos.c:231:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] :info:build if (p = strrchr(p, '.')) *p = '\0'; :info:build ~~^~~~~~~~~~~~~~~~~ :info:build unixos.c:231:11: note: place parentheses around the assignment to silence this warning :info:build if (p = strrchr(p, '.')) *p = '\0'; :info:build ^ :info:build ( ) :info:build unixos.c:231:11: note: use '==' to turn this assignment into an equality comparison :info:build if (p = strrchr(p, '.')) *p = '\0'; :info:build ^ :info:build == :info:build unixunpk.c:59:10: warning: implicit declaration of function 'chdir' is invalid in C99 [-Wimplicit-function-declaration] :info:build if (chdir(optarg)) { :info:build ^ :info:build unixunpk.c:61:3: warning: implicitly declaring C library function 'exit' with type 'void (int) __attribute__((noreturn))' :info:build exit(1); :info:build ^ :info:build unixunpk.c:61:3: note: please include the header or explicitly provide a declaration for 'exit' :info:build unixunpk.c:73:2: warning: implicit declaration of function 'handleMessage' is invalid in C99 [-Wimplicit-function-declaration] :info:build handleMessage(part_init(stdin), "text/plain", 0, extractText); :info:build ^ :info:build unixos.c:271:5: warning: implicit declaration of function 'warn' is invalid in C99 [-Wimplicit-function-declaration] :info:build warn(warning); :info:build ^ :info:build 4 warnings generated. :info:build /usr/bin/clang -DPACKAGE=\"mpack\" -DVERSION=\"1.6\" -DHAVE_DN_EXPAND=1 -DHAVE_STRCHR=1 -DHAVE_STRCASECMP=1 -DHAVE_GETOPT=1 -I. -I. -I/opt/local/include -O2 -arch x86_64 -c uudecode.c :info:build 12 warnings generated. :info:build uudecode.c:86:9: warning: implicit declaration of function 'parseSubject' is invalid in C99 [-Wimplicit-function-declaration] :info:build if (parseSubject(subject, &fname, &part, &nparts) != 0) { :info:build ^ :info:build uudecode.c:90:9: warning: implicit declaration of function 'saveUuFile' is invalid in C99 [-Wimplicit-function-declaration] :info:build return saveUuFile(inpart, fname, part, nparts, (char *)0); :info:build ^ :info:build uudecode.c:258:16: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] :info:build tmppart = atoi(buf+8); :info:build ^ :info:build uudecode.c:269:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] :info:build if (descfile = startDescFile(fname)) { :info:build ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ :info:build uudecode.c:269:19: note: place parentheses around the assignment to silence this warning :info:build if (descfile = startDescFile(fname)) { :info:build ^ :info:build ( ) :info:build uudecode.c:269:19: note: use '==' to turn this assignment into an equality comparison :info:build if (descfile = startDescFile(fname)) { :info:build ^ :info:build == :info:build uudecode.c:279:13: warning: implicit declaration of function 'os_binhex' is invalid in C99 [-Wimplicit-function-declaration] :info:build return os_binhex(inpart, 1, 1); :info:build ^ :info:build uudecode.c:293:3: warning: implicit declaration of function 'part_ungets' is invalid in C99 [-Wimplicit-function-declaration] :info:build part_ungets(buf, inpart); :info:build ^ :info:build uudecode.c:295:10: warning: implicit declaration of function 'handleMessage' is invalid in C99 [-Wimplicit-function-declaration] :info:build return handleMessage(inpart, "text/plain", 0, extractText); :info:build ^ :info:build uudecode.c:383:8: warning: implicit declaration of function 'descEnd' is invalid in C99 [-Wimplicit-function-declaration] :info:build if (!descEnd(buf) && (descfile = startDescFile(fname))) { :info:build ^ :info:build uudecode.c:421:2: warning: implicit declaration of function 'chat' is invalid in C99 [-Wimplicit-function-declaration] :info:build chat(buf); :info:build ^ :info:build uudecode.c:431:2: warning: implicit declaration of function 'os_perror' is invalid in C99 [-Wimplicit-function-declaration] :info:build os_perror(buf); :info:build ^ :info:build uudecode.c:457:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] :info:build if (partfile = fopen(buf, "r")) { :info:build ~~~~~~~~~^~~~~~~~~~~~~~~~~ :info:build uudecode.c:457:15: note: place parentheses around the assignment to silence this warning :info:build if (partfile = fopen(buf, "r")) { :info:build ^ :info:build ( ) :info:build uudecode.c:457:15: note: use '==' to turn this assignment into an equality comparison :info:build if (partfile = fopen(buf, "r")) { :info:build ^ :info:build == :info:build uudecode.c:482:12: warning: implicit declaration of function 'uudecodefiles' is invalid in C99 [-Wimplicit-function-declaration] :info:build return uudecodefiles(dir, nparts); :info:build ^ :info:build uudecode.c:711:7: warning: implicit declaration of function 'part_close' is invalid in C99 [-Wimplicit-function-declaration] :info:build part_close(inpart); :info:build ^ :info:build uudecode.c:725:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] :info:build if (p = strrchr(fname, '.')) { :info:build ~~^~~~~~~~~~~~~~~~~~~~~ :info:build uudecode.c:725:9: note: place parentheses around the assignment to silence this warning :info:build if (p = strrchr(fname, '.')) { :info:build ^ :info:build ( ) :info:build uudecode.c:725:9: note: use '==' to turn this assignment into an equality comparison :info:build if (p = strrchr(fname, '.')) { :info:build ^ :info:build == :info:build uudecode.c:755:7: warning: implicit declaration of function 'uudecodeline' is invalid in C99 [-Wimplicit-function-declaration] :info:build uudecodeline(buf, outfile); :info:build ^ :info:build uudecode.c:789:7: warning: implicit declaration of function 'os_closetypedfile' is invalid in C99 [-Wimplicit-function-declaration] :info:build os_closetypedfile(outfile); :info:build ^ :info:build uudecode.c:796:7: warning: implicit declaration of function 'os_donewithdir' is invalid in C99 [-Wimplicit-function-declaration] :info:build os_donewithdir(dir); :info:build ^ :info:build uudecode.c:848:5: error: non-void function 'uudecodeline' should return a value [-Wreturn-type] :info:build return; :info:build ^ :info:build 17 warnings and 1 error generated. :info:build make: *** [uudecode.o] Error 1 :info:build make: *** Waiting for unfinished jobs.... :info:build 22 warnings generated. :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_mail_mpack/mpack/work/mpack-1.6' :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_mail_mpack/mpack/work/mpack-1.6" && /usr/bin/make -j4 -w all " returned error 2 :error:build Target org.macports.build returned: shell command failed (see log for details) :debug:build Backtrace: shell command failed (see log for details) while executing "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: the following items did not execute (for mpack): org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Log for mpack is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_mail_mpack/mpack/main.log