Ticket #61632: mpack_build_fail.log

File mpack_build_fail.log, 86.5 KB (added by arrigo (Arrigo), 4 years ago)

Build log for mpack

Line 
1version:1
2:debug:sysinfo macOS 11.0 (darwin/20.1.0) arch i386
3:debug:sysinfo MacPorts 2.6.4
4:debug:sysinfo Xcode none
5:debug:sysinfo SDK 11.0
6:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 11.0
7:debug:main mpack has no conflicts
8:debug:main Executing org.macports.main (mpack)
9:debug:main dropping privileges: euid changed to 502, egid changed to 501.
10:debug:archivefetch archivefetch phase started at Mon Nov 23 15:50:56 CET 2020
11:msg:archivefetch --->  Fetching archive for mpack
12:debug:archivefetch Executing org.macports.archivefetch (mpack)
13:debug:archivefetch euid/egid changed to: 0/0
14:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
15:debug:archivefetch euid/egid changed to: 502/501
16:info:archivefetch --->  mpack-1.6_1.darwin_20.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
17:msg:archivefetch --->  Attempting to fetch mpack-1.6_1.darwin_20.x86_64.tbz2 from https://packages.macports.org/mpack
18:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
19:msg:archivefetch --->  Attempting to fetch mpack-1.6_1.darwin_20.x86_64.tbz2 from https://nue.de.packages.macports.org/mpack
20:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
21:msg:archivefetch --->  Attempting to fetch mpack-1.6_1.darwin_20.x86_64.tbz2 from https://lil.fr.packages.macports.org/mpack
22:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
23:debug:archivefetch Privilege de-escalation not attempted as not running as root.
24:debug:fetch fetch phase started at Mon Nov 23 15:51:00 CET 2020
25:notice:fetch --->  Fetching distfiles for mpack
26:debug:fetch Executing org.macports.fetch (mpack)
27:debug:fetch Privilege de-escalation not attempted as not running as root.
28:debug:checksum checksum phase started at Mon Nov 23 15:51:00 CET 2020
29:notice:checksum --->  Verifying checksums for mpack
30:debug:checksum Executing org.macports.checksum (mpack)
31:info:checksum --->  Checksumming mpack-1.6.tar.gz
32:debug:checksum Calculated (md5) is a70fa5afa76539a9afb70b9d81568fe8
33:debug:checksum Correct (md5) checksum for mpack-1.6.tar.gz
34:debug:checksum Privilege de-escalation not attempted as not running as root.
35:debug:extract extract phase started at Mon Nov 23 15:51:00 CET 2020
36:notice:extract --->  Extracting mpack
37:debug:extract Executing org.macports.extract (mpack)
38:info:extract --->  Extracting mpack-1.6.tar.gz
39:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/mpack/mpack-1.6.tar.gz'
40:debug:extract Environment:
41:debug:extract CC_PRINT_OPTIONS='YES'
42:debug:extract CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_mpack/mpack/work/.CC_PRINT_OPTIONS'
43:debug:extract CPATH='/opt/local/include'
44:debug:extract DEVELOPER_DIR='/Library/Developer/CommandLineTools'
45:debug:extract LIBRARY_PATH='/opt/local/lib'
46:debug:extract MACOSX_DEPLOYMENT_TARGET='11.0'
47:debug:extract SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk'
48:info:extract Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_mpack/mpack/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/mpack/mpack-1.6.tar.gz' | /usr/bin/tar -xf -
49:debug:extract system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_mpack/mpack/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/mpack/mpack-1.6.tar.gz' | /usr/bin/tar -xf -
50:debug:extract euid/egid changed to: 0/0
51:debug:extract chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_mpack/mpack/work to macports
52:debug:extract euid/egid changed to: 502/501
53:debug:extract Privilege de-escalation not attempted as not running as root.
54:debug:patch patch phase started at Mon Nov 23 15:51:00 CET 2020
55:debug:patch Executing org.macports.patch (mpack)
56:notice:patch --->  Applying patches to mpack
57:info:patch --->  Applying patch-TMPDIR.diff
58:debug:patch Environment:
59:debug:patch CC_PRINT_OPTIONS='YES'
60:debug:patch CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_mpack/mpack/work/.CC_PRINT_OPTIONS'
61:debug:patch CPATH='/opt/local/include'
62:debug:patch DEVELOPER_DIR='/Library/Developer/CommandLineTools'
63:debug:patch LIBRARY_PATH='/opt/local/lib'
64:debug:patch MACOSX_DEPLOYMENT_TARGET='11.0'
65:debug:patch SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk'
66:info:patch Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_mpack/mpack/work/mpack-1.6" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/mail/mpack/files/patch-TMPDIR.diff'
67:debug:patch system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_mpack/mpack/work/mpack-1.6" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/mail/mpack/files/patch-TMPDIR.diff'
68:info:patch patching file README.unix
69:info:patch patching file mkreadme.pl
70:info:patch patching file unixos.c
71:info:patch patching file unixpk.c
72:info:patch patching file unixpk.man
73:info:patch --->  Applying uudecode.c.patch
74:debug:patch Environment:
75:debug:patch CC_PRINT_OPTIONS='YES'
76:debug:patch CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_mpack/mpack/work/.CC_PRINT_OPTIONS'
77:debug:patch CPATH='/opt/local/include'
78:debug:patch DEVELOPER_DIR='/Library/Developer/CommandLineTools'
79:debug:patch LIBRARY_PATH='/opt/local/lib'
80:debug:patch MACOSX_DEPLOYMENT_TARGET='11.0'
81:debug:patch SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk'
82:info:patch Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_mpack/mpack/work/mpack-1.6" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/mail/mpack/files/uudecode.c.patch'
83:debug:patch system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_mpack/mpack/work/mpack-1.6" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/mail/mpack/files/uudecode.c.patch'
84:info:patch patching file uudecode.c
85:debug:patch Privilege de-escalation not attempted as not running as root.
86:debug:configure configure phase started at Mon Nov 23 15:51:00 CET 2020
87:notice:configure --->  Configuring mpack
88:debug:configure Preferred compilers: clang macports-clang-9.0 macports-clang-8.0 macports-clang-7.0 macports-clang-6.0 macports-clang-5.0
89:debug:configure Using compiler 'Xcode Clang'
90:debug:configure Executing org.macports.configure (mpack)
91:debug:configure Environment:
92:debug:configure CC='/usr/bin/clang'
93:debug:configure CC_PRINT_OPTIONS='YES'
94:debug:configure CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_mpack/mpack/work/.CC_PRINT_OPTIONS'
95:debug:configure CFLAGS='-pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64'
96:debug:configure CPATH='/opt/local/include'
97:debug:configure CPPFLAGS='-I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk'
98:debug:configure CXX='/usr/bin/clang++'
99:debug:configure CXXFLAGS='-pipe -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64'
100:debug:configure DEVELOPER_DIR='/Library/Developer/CommandLineTools'
101:debug:configure F90FLAGS='-pipe -Os -m64'
102:debug:configure FCFLAGS='-pipe -Os -m64'
103:debug:configure FFLAGS='-pipe -Os -m64'
104:debug:configure INSTALL='/usr/bin/install -c'
105:debug:configure LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64'
106:debug:configure LIBRARY_PATH='/opt/local/lib'
107:debug:configure MACOSX_DEPLOYMENT_TARGET='11.0'
108:debug:configure OBJC='/usr/bin/clang'
109:debug:configure OBJCFLAGS='-pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64'
110:debug:configure OBJCXX='/usr/bin/clang++'
111:debug:configure OBJCXXFLAGS='-pipe -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64'
112:debug:configure SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk'
113:info:configure Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_mpack/mpack/work/mpack-1.6" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man
114:debug:configure system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_mpack/mpack/work/mpack-1.6" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man
115:info:configure creating cache ./config.cache
116:info:configure checking for a BSD compatible install... /usr/bin/install -c
117:info:configure checking whether build environment is sane... yes
118:info:configure checking whether make sets ${MAKE}... yes
119:info:configure checking for working aclocal... found
120:info:configure checking for working autoconf... found
121:info:configure checking for working automake... found
122:info:configure checking for working autoheader... found
123:info:configure checking for working makeinfo... found
124:info:configure checking for gcc... /usr/bin/clang
125:info:configure checking whether the C compiler (/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64) works... yes
126:info:configure checking whether the C compiler (/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64) is a cross-compiler... no
127:info:configure checking whether we are using GNU C... yes
128:info:configure checking whether /usr/bin/clang accepts -g... yes
129:info:configure checking for connect... yes
130:info:configure checking for res_search... yes
131:info:configure checking for dn_expand... yes
132:info:configure checking for dns_lookup... no
133:info:configure checking for strchr... yes
134:info:configure checking for strcasecmp... yes
135:info:configure checking for getopt... yes
136:info:configure updating cache ./config.cache
137:info:configure creating ./config.status
138:info:configure creating Makefile
139:debug:configure Privilege de-escalation not attempted as not running as root.
140:debug:build build phase started at Mon Nov 23 15:51:03 CET 2020
141:notice:build --->  Building mpack
142:debug:build Executing org.macports.build (mpack)
143:debug:build Environment:
144:debug:build CC_PRINT_OPTIONS='YES'
145:debug:build CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_mpack/mpack/work/.CC_PRINT_OPTIONS'
146:debug:build CPATH='/opt/local/include'
147:debug:build DEVELOPER_DIR='/Library/Developer/CommandLineTools'
148:debug:build LIBRARY_PATH='/opt/local/lib'
149:debug:build MACOSX_DEPLOYMENT_TARGET='11.0'
150:debug:build SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk'
151:info:build Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_mpack/mpack/work/mpack-1.6" && /usr/bin/make -j16 -w all
152:debug:build system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_mpack/mpack/work/mpack-1.6" && /usr/bin/make -j16 -w all
153:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_mpack/mpack/work/mpack-1.6'
154: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 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -c unixpk.c
155: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 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -c encode.c
156: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 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -c codes.c
157: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 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -c magic.c
158: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 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -c unixos.c
159: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 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -c xmalloc.c
160: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 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -c md5c.c
161: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 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -c unixunpk.c
162: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 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -c decode.c
163: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 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -c uudecode.c
164: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 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -c part.c
165:info:build cp unixpk.man mpack.1
166:info:build cp unixunpk.man munpack.1
167:info:build magic.c:59:44: error: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Werror,-Wimplicit-function-declaration]
168:info:build             if (magic[i].len == 0) magic[i].len = strlen(magic[i].num);
169:info:build                                                   ^
170:info:build magic.c:59:44: note: include the header <string.h> or explicitly provide a declaration for 'strlen'
171:info:build unixunpk.c:44:19: error: implicit declaration of function 'getopt' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
172:info:build 1    while ((opt = getopt(argc, argv, "qftC:")) != EOF) {
173:info:build                   ^
174:info:build  error generated.
175:info:build unixunpk.c:59:10: error: implicit declaration of function 'chdir' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
176:info:build             if (chdir(optarg)) {
177:info:build                 ^
178:info:build unixunpk.c:61:3: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
179:info:build                 exit(1);
180:info:build                 ^
181:info:build unixunpk.c:61:3: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
182:info:build unixunpk.cencode.c::7362:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
183:info:build :2: error: implicit declaration of function 'handleMessage' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
184:info:build     if (p = strrchr(cleanfname, '/')) cleanfname = p+1;
185:info:build         ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
186:info:build         handleMessage(part_init(stdin), "text/plain", 0, extractText);
187:info:build         ^
188:info:build part.c:64:20: error: implicit declaration of function 'free' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
189:info:build encode.c:62:11: note: place parentheses around the assignment to silence this warning
190:info:build     if (part->buf) free(part->buf);
191:info:build                    ^
192:info:build     if (p = strrchr(cleanfname, '/')) cleanfname = p+1;
193:info:build           ^
194:info:build         (                           )
195:info:build encode.c:62:11: note: use '==' to turn this assignment into an equality comparison
196:info:build     if (p = strrchr(cleanfname, '/')) cleanfname = p+1;
197:info:build           ^
198:info:build           ==
199:info:build encode.c:63:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
200:info:build     if (p = strrchr(cleanfname, '\\')) cleanfname = p+1;
201:info:build         ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
202:info:build encode.c:63:11: note: place parentheses around the assignment to silence this warning
203:info:build part.c:66:1: warning: non-void function does not return a value [-Wreturn-type]
204:info:build }
205:info:build ^
206:info:build     if (p = strrchr(cleanfname, '\\')) cleanfname = p+1;
207:info:build           ^
208:info:build         (                            )
209:info:build unixunpk.c:88:6: error: implicit declaration of function 'handleMessage' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
210:info:build encode.c:63:11: note: use '==' to turn this assignment into an equality comparison
211:info:build             handleMessage(part_init(file), "text/plain", 0, extractText);
212:info:build             ^
213:info:build     if (p = strrchr(cleanfname, '\\')) cleanfname = p+1;
214:info:build           ^
215:info:build           ==
216:info:build encode.c:65:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
217:info:build     if (p = strrchr(cleanfname, ':')) cleanfname = p+1;
218:info:build         ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
219:info:build encode.c:65:11: note: place parentheses around the assignment to silence this warning
220:info:build     if (p = strrchr(cleanfname, ':')) cleanfname = p+1;
221:info:build           ^
222:info:build         (                           )
223:info:build encode.c:65:11: note: use '==' to turn this assignment into an equality comparison
224:info:build     if (p = strrchr(cleanfname, ':')) cleanfname = p+1;
225:info:build           ^
226:info:build           ==
227:info:build encode.c:88:6xmalloc.c:27:: error: implicit declaration of function 'free' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
228:info:build 14part.c: warning: :incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration]
229:info:build             free(md5digest(descfile, &l));      /* XXX */
230:info:build 103            ^
231:info:build :1: 5 errors generated.
232:info:build warning: non-void function does not return a value [-Wreturn-type]extern char *malloc(), *realloc();
233:info:build              ^
234:info:build }
235:info:build ^
236:info:build xmalloc.c:27:14: note: 'malloc' is a builtin with type 'void *(unsigned long)'
237:info:build xmalloc.c:27:25: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration]
238:info:build extern char *malloc(), *realloc();
239:info:build                         ^
240:info:build xmalloc.c:27:25: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)'
241:info:build make: *** [magic.o] Error 1
242:info:build make: *** Waiting for unfinished jobs....
243:info:build xmalloc.c:33:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
244:info:build     if (ret = malloc((unsigned) size))
245:info:build         ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
246:info:build xmalloc.c:33:13: note: place parentheses around the assignment to silence this warning
247:info:build     if (ret = malloc((unsigned) size))
248:info:build             ^
249:info:build         (                            )
250:info:build decode.c:74:6: error: implicit declaration of function 'warn' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
251:info:build             warn("ignoring invalid content encoding on message/rfc822");
252:info:build             ^
253:info:build xmalloc.c:33:13: note: use '==' to turn this assignment into an equality comparison
254:info:build     if (ret = malloc((unsigned) size))
255:info:build             ^
256:info:build             ==unixpk.c:64:12: error: implicit declaration of function 'atoi' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
257:info:build         maxsize = atoi(p);
258:info:build                   ^
259:info:build encode.c:118:6: error: implicit declaration of function 'os_perror' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
260:info:build             os_perror(buf);
261:info:build             ^
262:info:build xmalloc.c:37:5: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
263:info:build     exit(1);
264:info:build     ^
265:info:build xmalloc.c:37:5: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
266:info:build part.c:197:1: warning: non-void function does not return a value [-Wreturn-type]
267:info:build }
268:info:build ^
269:info:build decode.c:82:6: error: implicit declaration of function 'warn' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
270:info:build xmalloc.c:46:13: warning:             warn("ignoring invalid content encoding on message/partial");
271:info:build             ^
272:info:build using the result of an assignment as a condition without parentheses [-Wparentheses]
273:info:build decode.c:84:9:    if (ret = !ptr ? malloc ((unsigned) size) : realloc (ptr, (unsigned) size))
274:info:build         ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
275:info:build  unixpk.c:error: implicit declaration of function 'handlePartial' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
276:info:build 67:19: error: implicit declaration of function 'getopt' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
277:info:build     while ((opt = getopt(argc, argv, "s:d:m:c:o:n:")) != EOF) {
278:info:build xmalloc.c:46:13        return handlePartial(inpart, headers, contentParams, extractText);
279:info:build                ^
280:info:build                   ^
281:info:build : note: place parentheses around the assignment to silence this warning
282:info:build     if (ret = !ptr ? malloc ((unsigned) size) : realloc (ptr, (unsigned) size))
283:info:build             ^
284:info:build         (                                                                     )
285:info:build xmalloc.c:46:13: note: use '==' to turn this assignment into an equality comparison
286:info:build     if (ret = !ptr ? malloc ((unsigned) size) : realloc (ptr, (unsigned) size))
287:info:build             ^
288:info:build             ==
289:info:build unixpk.c:78:16: error: implicit declaration of function 'atoi' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
290:info:build             maxsize = atoi(optarg);
291:info:build                       ^
292:info:build unixpk.c:102:6: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
293:info:build             exit(1);
294:info:build             ^decode.c:88:9:
295:info:build  unixpk.cerror:1024: warnings6 and :1 error generated.
296:info:build  note: : implicit declaration of function 'ignoreMessage' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
297:info:build include the header <stdlib.h> or explicitly provide a declaration for 'exit'
298:info:build         return ignoreMessage(inpart);
299:info:build                ^
300:info:build make: *** [unixunpk.o] Error 1
301:info:build encode.c:198:3: error: implicit declaration of function 'free' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
302:info:build                 free(appledigest);
303:info:build                 ^
304:info:build encode.c:206:17: error: implicit declaration of function 'to64' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
305:info:build             written += to64(applefile, outfile,
306:info:build                        ^
307:info:build 3 warnings and 1 error generated.
308:info:build decode.c:88:9: note: did you mean 'handleMessage'?
309:info:build uudecode.c:86:9: error: implicit declaration of function 'parseSubject' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
310:info:build decode.c:55:5: note: 'handleMessage' declared here    if (parseSubject(subject, &fname, &part, &nparts) != 0) {
311:info:build         ^
312:info:build int handleMessage(struct part *inpart, char *defaultContentType, int inAppleDouble, int extractText)
313:info:build     ^
314:info:build encode.c:225:6: error: implicit declaration of function 'free' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
315:info:build decode.c            free(digest);
316:info:build :92:6: error:             ^implicit declaration of function 'warn' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
317:info:build             warn("ignoring invalid content encoding on multipart");
318:info:build             ^
319:info:build decode.c:94:encode.c9: :error231:13: error: implicit declaration of function 'to64' is invalid in C99 [-Werror,-Wimplicit-function-declaration]:
320:info:build implicit declaration of function 'handleMultipart' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
321:info:build         return handleMultipart(inpart, contentType, contentParams,
322:info:build                ^
323:info:build         written += to64(infile, outfile,
324:info:build                    ^
325:info:build unixpk.c:158:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
326:info:build         if (p = strchr(sbuf, '\n')) *p = '\0';
327:info:build             ~~^~~~~~~~~~~~~~~~~~~~
328:info:build uudecode.c:90:9: error: implicit declaration of function 'saveUuFile' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
329:info:build         return saveUuFile(inpart, fname, part, nparts, (char *)0);
330:info:build                ^
331:info:build unixpk.c:158:8: note: place parentheses around the assignment to silence this warning
332:info:build         if (p = strchr(sbuf, '\n')) *p = '\0';
333:info:build               ^
334:info:build             (                     )
335:info:build unixpk.c:158:8: note: use '==' to turn this assignment into an equality comparison
336:info:build         if (p = strchr(sbuf, '\n')) *p = '\0';
337:info:build               ^
338:info:build               ==
339:info:build 3 warnings and 6 errordecode.cs generated.
340:info:build :97:14: error: implicit declaration of function 'part_depth' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
341:info:build unixpk.c:170:2: error: implicit declaration of function 'mktemp' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
342:info:build     else if (part_depth(inpart) == 0 &&
343:info:build              ^
344:info:build         mktemp(fnamebuf);
345:info:build         ^
346:info:build uudecode.c:107:10: error: implicit declaration of function 'saveUuFile' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
347:info:build                 return saveUuFile(inpart, (char *)0, 1, 0, buf);
348:info:build                        ^
349:info:build decode.c:97:uudecode.c:14: note111:: did you mean 'part_gets'?
350:info:build 10: error: implicit declaration of function 'saveUuFile' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
351:info:build unixpk.c                return saveUuFile(inpart, fname, part, nparts, buf);:
352:info:build 176                       ^codes.c::131:2: error
353:info:build 19: implicit declaration of function 'os_perror' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
354:info:build : warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
355:info:build         os_perror(fname);
356:info:build         ^
357:info:build ./part.h:58:14: note: 'part_gets' declared here
358:info:build extern char *part_gets(char *s, int n, struct part *part);
359:info:build              ^
360:info:build     while (nbytes = fread(buf, 1, sizeof(buf), infile)) {
361:info:build            ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
362:info:build decode.c:103:9: error: implicit declaration of function 'handleUuencode' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
363:info:build codes.c:131:19: note: place parentheses around the assignment to silence this warning
364:info:build         return handleUuencode(inpart, subject, extractText);
365:info:build                ^
366:info:build     while (nbytes = fread(buf, 1, sizeof(buf), infile)) {
367:info:build                   ^
368:info:build            (                                          )
369:info:build codes.c:131:19: note: use '==' to turn this assignment into an equality comparison
370:info:build     while (nbytes = fread(buf, 1, sizeof(buf), infile)) {
371:info:build                   ^
372:info:build                   ==
373:info:build unixpk.c:183:6: error: implicit declaration of function 'os_perror' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
374:info:build uudecode.c:130:10: error: implicit declaration of function 'saveUuFile' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
375:info:build             os_perror(descfname);
376:info:build             ^
377:info:build                 return saveUuFile(inpart, tmpfname, tmppart, 0, (char *)0);
378:info:build                        ^
379:info:build unixpk.c:188:9: error: implicit declaration of function 'encode' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
380:info:build     if (encode(infile, (FILE *)0, fname, descfile, subject, headers,
381:info:build         ^
382:info:build make: *** [xmalloc.o] Error 1
383:info:build decode.c:109:9: error: implicit declaration of function 'handleText' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
384:info:build         return handleText(inpart, contentEncoding);
385:info:build                ^
386:info:build uudecode.c:149:10: error: implicit declaration of function 'saveUuFile' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
387:info:build                 return saveUuFile(inpart, tmpfname, tmppart, tmpnparts,
388:info:build                        ^
389:info:build make: *** [part.o] Error 1
390:info:build decode.c:113:9: error: implicit declaration of function 'saveToFile' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
391:info:build         return saveToFile(inpart, inAppleDouble, contentType, contentParams,
392:info:build                ^
393:info:build uudecode.c:171:13: error: implicit declaration of function 'saveUuFile' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
394:info:build             return saveUuFile(inpart, tmpfname, tmppart, tmpnparts, (char *)0);
395:info:build                    ^
396:info:build uudecode.c:190:13: error: implicit declaration of function 'saveUuFile' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
397:info:build unixpk.c:230:20: error: implicitly declaring library function 'abort' with type 'void (void) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
398:info:build             return saveUuFile(inpart, tmpfname, tmppart, tmpnparts, (char *)0);
399:info:build     if (start < 2) abort();
400:info:build                    ^
401:info:build unixpk.c:230:20                   ^
402:info:build : note: include the header <stdlib.h> or explicitly provide a declaration for 'abort'
403:info:build make: unixpk.c:240:8: error: implicit declaration of function 'fork' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
404:info:build *** [encode.o] Error 1
405:info:build         pid = fork();
406:info:build               ^
407:info:build unixpk.c:248:16: uudecode.c:212:error13: implicit declaration of function 'wait' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
408:info:build : error: implicit declaration of function 'saveUuFile' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
409:info:build         while (pid != wait(&status));
410:info:build                       ^
411:info:build             return saveUuFile(inpart, tmpfname, tmppart, tmpnparts, (char *)0);
412:info:build                    ^
413:info:build unixpk.c:252:5: error: implicit declaration of function 'dup2' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
414:info:build     dup2(fileno(infile), 0);
415:info:build     ^
416:info:build decode.c:213:7: error: implicit declaration of function 'part_ungets' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
417:info:build                     part_ungets(next, inpart);
418:info:build                     ^
419:info:build unixpk.c:257:5:uudecode.c:236 error: implicit declaration of function 'execv' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
420:info:build :13: error:     execv("/usr/lib/sendmail", addr+start);
421:info:build implicit declaration of function 'saveUuFile' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
422:info:build     ^
423:info:build             return saveUuFile(inpart, tmpfname, tmppart, tmpnparts, (char *)0);
424:info:build                    ^
425:info:build decode.c:213:7: note: did you mean 'part_gets'?
426:info:build uudecode.c:247:13: error: implicit declaration of function 'saveUuFile' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
427:info:build unixpk.c:261:5: error: implicitly declaring library function '_exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
428:info:build             return saveUuFile(inpart, fname, part, nparts, buf);
429:info:build                    ^    _exit(1);
430:info:build     ^
431:info:build unixpk.c:261:5: note: include the header <unistd.h> or explicitly provide a declaration for '_exit'
432:info:build ./part.h:unixpk.c:270:8: error: implicit declaration of function 'fork' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
433:info:build 58:        pid = fork();
434:info:build               ^14
435:info:build : note: 'part_gets' declared here
436:info:build extern char *part_gets(char *s, int n, struct part *part);
437:info:build              ^
438:info:build unixpk.c:278:16: error: implicit declaration of function 'wait' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
439:info:build         while (pid != wait(&status));
440:info:build                       ^
441:info:build unixpk.c:282:5: error: implicit declaration of function 'dup2' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
442:info:build     dup2(fileno(infile), 0);
443:info:build     ^
444:info:build uudecode.c:258:16: error: implicit declaration of function 'atoi' is invalid in C99 [-Werror,-Wimplicit-function-declaration]unixpk.c:284:5:
445:info:build  error: implicit declaration of function 'execlp' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
446:info:build     execlp("inews", "inews", "-h", "-S", (char *)0);            tmppart = atoi(buf+8);
447:info:build                       ^
448:info:build     ^
449:info:build unixpk.c:285:5: error: implicit declaration of function 'execl' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
450:info:build uudecode.c:263:18: error: implicit declaration of function 'atoi' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
451:info:build             tmpnparts = atoi(buf+14);    execl("/usr/local/news/inews", "inews", "-h", "-S", (char *)0);
452:info:build     ^
453:info:build                         ^
454:info:build uudecode.c:269:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
455:info:build             if (descfile = startDescFile(fname)) {
456:info:build                 ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
457:info:build unixpk.c:285:5: note: did you mean 'execlp'?
458:info:build uudecode.c:269:19: decode.cnote: place parentheses around the assignment to silence this warning
459:info:build :310:2: error: implicit declaration of function 'warn' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
460:info:build         warn("ignoring unknown content transfer encoding\n");   
461:info:build         ^
462:info:build             if (descfile = startDescFile(fname)) {
463:info:build                          ^
464:info:build                 (                              )
465:info:build unixpk.c:284:5: note: 'execlp' declared here
466:info:build     execlp("inews", "inews", "-h", "-S", (char *)0);
467:info:build     ^
468:info:build uudecode.c:269:19: note: use '==' to turn this assignment into an equality comparison
469:info:build             if (descfile = startDescFile(fname)) {
470:info:build                          ^
471:info:build                          ==
472:info:build uudecode.c:279:13: error: implicit declaration of function 'os_binhex' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
473:info:build 1            return os_binhex(inpart, 1, 1); warning
474:info:build  and                    ^19
475:info:build  errors generated.
476:info:build uudecode.c:293:3: error: implicit declaration of function 'part_ungets' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
477:info:build                 part_ungets(buf, inpart);
478:info:build                 ^
479:info:build uudecode.c:293:3: note: did you mean 'part_gets'?
480:info:build ./part.h:58:14: note: 'part_gets' declared here
481:info:build extern char *part_gets(char *s, int n, struct part *part);
482:info:build              ^
483:info:build uudecode.c:295:10: error: implicit declaration of function 'handleMessage' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
484:info:build                 return handleMessage(inpart, "text/plain", 0, extractText);
485:info:build                        ^
486:info:build uudecode.c:345:3: error: implicit declaration of function 'part_ungets' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
487:info:build                 part_ungets(buf2, inpart);
488:info:build                 ^
489:info:build decode.c:612:uudecode.c:362:214::  error: implicit declaration of function 'warn' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
490:info:build error: implicit declaration of function 'handleMessage' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
491:info:build         warn("partial message has no id parameter");
492:info:build         ^
493:info:build                     return handleMessage(inpart, "text/plain", 0, extractText);
494:info:build                            ^
495:info:build decode.c:622:2: error: implicit declaration of function 'warn' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
496:info:build         warn("partial message doesn't have number parameter");
497:info:build         ^
498:info:build decode.c:625:16: error: implicit declaration of function 'atoi' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
499:info:build uudecode.c:383    thispart = atoi(p);:
500:info:build 8:               ^
501:info:build error: implicit declaration of function 'descEnd' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
502:info:build                 if (!descEnd(buf) && (descfile = startDescFile(fname))) {
503:info:build                      ^
504:info:build decode.c:627:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
505:info:build     if (p = getParam(contentParams, "total")) {
506:info:build         ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
507:info:build fatal error: too many errors emitted, stopping now [-ferror-limit=]
508:info:build decode.c:627:11: note: place parentheses around the assignment to silence this warning
509:info:build     if (p = getParam(contentParams, "total")) {
510:info:build           ^
511:info:build         (                                   )
512:info:build decode.c:627:11: note: use '==' to turn this assignment into an equality comparison
513:info:build     if (p = getParam(contentParams, "total")) {
514:info:build           ^
515:info:build           ==
516:info:build decode.c:630:6: error: implicit declaration of function 'warn' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
517:info:build             warn("partial message has invalid number of parts");
518:info:build             ^
519:info:build decode.c:637:6: error: implicit declaration of function 'os_perror' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
520:info:build             os_perror(buf);
521:info:build             ^
522:info:build make: *** [unixpk.o] Error 1
523:info:build decode.c:646:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
524:info:build         if (partfile = fopen(buf, "r")) {
525:info:build             ~~~~~~~~~^~~~~~~~~~~~~~~~~
526:info:build decode.c:646:15: note: place parentheses around the assignment to silence this warning
527:info:build         if (partfile = fopen(buf, "r")) {
528:info:build                      ^
529:info:build             (                         )
530:info:build decode.c:646:15: note: use '==' to turn this assignment into an equality comparison
531:info:build         if (partfile = fopen(buf, "r")) {
532:info:build                      ^
533:info:build                      ==
534:info:build decode.c:657:2: error: implicit declaration of function 'warn' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
535:info:build         warn("partial message has invalid number");
536:info:build         ^
537:info:build decode.c:664:5: error: implicit declaration of function 'chat' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
538:info:build     chat(buf);
539:info:build     ^
540:info:build fatal error: too many errors emitted, stopping now [-ferror-limit=]
541:info:build 1 warning and 20 errors generated.
542:info:build 2 warnings and 20 errors generated.
543:info:build make: *** [uudecode.o] Error 1
544:info:build make: *** [decode.o] Error 1
545:info:build unixos.c:42:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration]
546:info:build extern char *malloc();
547:info:build              ^
548:info:build unixos.c:42:14: note: 'malloc' is a builtin with type 'void *(unsigned long)'
549:info:build unixos.c:65:8: error: implicit declaration of function 'getpid' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
550:info:build         pid = getpid();
551:info:build               ^
552:info:build unixos.c:66:2: error: implicit declaration of function 'time' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
553:info:build         time(&curtime);
554:info:build         ^
555:info:build unixos.c:67:2: error: implicit declaration of function 'gethostname' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
556:info:build         gethostname(hostname, sizeof(hostname));
557:info:build         ^
558:info:build unixos.c:67:2: note: did you mean 'gethostbyname'?
559:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk/usr/include/netdb.h:275:17: note: 'gethostbyname' declared here
560:info:build struct hostent  *gethostbyname(const char *);
561:info:build                  ^
562:info:build unixos.c:79:38: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat]
563:info:build     sprintf(result, "%d.%d@%s", pid, curtime++, hostname);
564:info:build                         ~~           ^~~~~~~~~
565:info:build                         %ld
566:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
567:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
568:info:build                                                        ^~~~~~~~~~~
569:info:build unixos.c:101:11: error: implicit declaration of function 'mkdir' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
570:info:build     (void)mkdir(buf, 0700);
571:info:build           ^
572:info:build unixos.c:131:5: error: implicit declaration of function 'rmdir' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
573:info:build     rmdir(dir);
574:info:build     ^
575:info:build unixos.c:187:13: error: implicit declaration of function 'mkdir' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
576:info:build             (void) mkdir(fname, 0777);
577:info:build                    ^
578:info:build unixos.c:197:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
579:info:build         } while (outfile = fopen(buf, "r"));
580:info:build                  ~~~~~~~~^~~~~~~~~~~~~~~~~
581:info:build unixos.c:197:19: note: place parentheses around the assignment to silence this warning
582:info:build         } while (outfile = fopen(buf, "r"));
583:info:build                          ^
584:info:build                  (                        )
585:info:build unixos.c:197:19: note: use '==' to turn this assignment into an equality comparison
586:info:build         } while (outfile = fopen(buf, "r"));
587:info:build                          ^
588:info:build                          ==
589:info:build unixos.c:205:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
590:info:build         } while (outfile = fopen(buf, "r"));
591:info:build                  ~~~~~~~~^~~~~~~~~~~~~~~~~
592:info:build unixos.c:205:19: note: place parentheses around the assignment to silence this warning
593:info:build         } while (outfile = fopen(buf, "r"));
594:info:build                          ^
595:info:build                  (                        )
596:info:build unixos.c:205:19: note: use '==' to turn this assignment into an equality comparison
597:info:build         } while (outfile = fopen(buf, "r"));
598:info:build                          ^
599:info:build                          ==
600:info:build unixos.c:218:23: error: implicit declaration of function 'free' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
601:info:build     if (output_fname) free(output_fname);
602:info:build                       ^
603:info:build unixos.c:231:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
604:info:build     if (p = strrchr(p, '.')) *p = '\0';
605:info:build         ~~^~~~~~~~~~~~~~~~~
606:info:build unixos.c:231:11: note: place parentheses around the assignment to silence this warning
607:info:build     if (p = strrchr(p, '.')) *p = '\0';
608:info:build           ^
609:info:build         (                  )
610:info:build unixos.c:231:11: note: use '==' to turn this assignment into an equality comparison
611:info:build     if (p = strrchr(p, '.')) *p = '\0';
612:info:build           ^
613:info:build           ==
614:info:build unixos.c:271:5: error: implicit declaration of function 'warn' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
615:info:build     warn(warning);
616:info:build     ^
617:info:build unixos.c:272:5: error: implicit declaration of function 'free' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
618:info:build     free(warning);
619:info:build     ^
620:info:build 5 warnings and 9 errors generated.
621:info:build make: *** [unixos.o] Error 1
622:info:build 1 warning generated.
623:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_mpack/mpack/work/mpack-1.6'
624:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_mpack/mpack/work/mpack-1.6" && /usr/bin/make -j16 -w all
625:info:build Exit code: 2
626:error:build Failed to build mpack: command execution failed
627:debug:build Error code: CHILDSTATUS 1434 2
628:debug:build Backtrace: command execution failed
629:debug:build     while executing
630:debug:build "system {*}$notty {*}$nice $fullcmdstring"
631:debug:build     invoked from within
632:debug:build "command_exec build"
633:debug:build     (procedure "portbuild::build_main" line 8)
634:debug:build     invoked from within
635:debug:build "$procedure $targetname"
636:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_mpack/mpack/main.log for details.
637version:1
638:debug:sysinfo macOS 11.0 (darwin/20.1.0) arch i386
639:debug:sysinfo MacPorts 2.6.4
640:debug:sysinfo Xcode none
641:debug:sysinfo SDK 11.0
642:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 11.0
643:debug:main mpack has no conflicts
644:debug:main Executing org.macports.main (mpack)
645:debug:main dropping privileges: euid changed to 502, egid changed to 501.
646:debug:archivefetch archivefetch phase started at Mon Nov 23 17:46:11 CET 2020
647:msg:archivefetch --->  Fetching archive for mpack
648:debug:archivefetch Executing org.macports.archivefetch (mpack)
649:debug:archivefetch euid/egid changed to: 0/0
650:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
651:debug:archivefetch euid/egid changed to: 502/501
652:info:archivefetch --->  mpack-1.6_1.darwin_20.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
653:msg:archivefetch --->  Attempting to fetch mpack-1.6_1.darwin_20.x86_64.tbz2 from https://packages.macports.org/mpack
654:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
655:msg:archivefetch --->  Attempting to fetch mpack-1.6_1.darwin_20.x86_64.tbz2 from https://nue.de.packages.macports.org/mpack
656:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
657:msg:archivefetch --->  Attempting to fetch mpack-1.6_1.darwin_20.x86_64.tbz2 from https://lil.fr.packages.macports.org/mpack
658:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
659:debug:archivefetch Privilege de-escalation not attempted as not running as root.
660:debug:archivefetch Skipping completed org.macports.fetch (mpack)
661:debug:archivefetch Privilege de-escalation not attempted as not running as root.
662:debug:archivefetch Skipping completed org.macports.checksum (mpack)
663:debug:archivefetch Privilege de-escalation not attempted as not running as root.
664:debug:archivefetch Skipping completed org.macports.extract (mpack)
665:debug:archivefetch Privilege de-escalation not attempted as not running as root.
666:debug:archivefetch Skipping completed org.macports.patch (mpack)
667:debug:archivefetch Privilege de-escalation not attempted as not running as root.
668:debug:archivefetch Skipping completed org.macports.configure (mpack)
669:debug:archivefetch Privilege de-escalation not attempted as not running as root.
670:debug:build build phase started at Mon Nov 23 17:46:11 CET 2020
671:notice:build --->  Building mpack
672:debug:build Executing org.macports.build (mpack)
673:debug:build Environment:
674:debug:build CC_PRINT_OPTIONS='YES'
675:debug:build CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_mpack/mpack/work/.CC_PRINT_OPTIONS'
676:debug:build CPATH='/opt/local/include'
677:debug:build DEVELOPER_DIR='/Library/Developer/CommandLineTools'
678:debug:build LIBRARY_PATH='/opt/local/lib'
679:debug:build MACOSX_DEPLOYMENT_TARGET='11.0'
680:debug:build SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk'
681:info:build Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_mpack/mpack/work/mpack-1.6" && /usr/bin/make -j16 -w all
682:debug:build system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_mpack/mpack/work/mpack-1.6" && /usr/bin/make -j16 -w all
683:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_mpack/mpack/work/mpack-1.6'
684: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 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -c unixpk.c
685: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 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -c encode.c
686: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 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -c magic.c
687: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 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -c unixos.c
688: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 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -c xmalloc.c
689: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 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -c unixunpk.c
690: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 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -c decode.c
691: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 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -c uudecode.c
692: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 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -c part.c
693:info:build unixunpk.c:44:19: error: implicit declaration of function 'getopt' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
694:info:build     while ((opt = getopt(argc, argv, "qftC:")) != EOF) {
695:info:build                   ^
696:info:build xmalloc.c:27:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration]
697:info:build extern char *malloc(), *realloc();
698:info:build              ^
699:info:build encode.c:62:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
700:info:build     if (p = strrchr(cleanfname, '/')) cleanfname = p+1;
701:info:build         ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
702:info:build unixpk.c:64:12: error: implicit declaration of function 'atoi' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
703:info:build         maxsize = atoi(p);
704:info:build                   ^
705:info:build xmalloc.c:27:14: noteencode.c: 'malloc' is a builtin with type 'void *(unsigned long)':62:11
706:info:build : note: place parentheses around the assignment to silence this warning
707:info:build     if (p = strrchr(cleanfname, '/')) cleanfname = p+1;
708:info:build           ^
709:info:build         (                           )
710:info:build xmalloc.c:27magic.c::2559:: 44warning::  incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration]
711:info:build unixunpk.cunixpk.c:59:error67:: 19extern char *malloc(), *realloc();:
712:info:build  implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Werror,-Wimplicit-function-declaration]error
713:info:build : implicit declaration of function 'getopt' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
714:info:build                         ^:10: error: implicit declaration of function 'chdir' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
715:info:build             if (chdir(optarg)) {
716:info:build                 ^
717:info:build     while ((opt = getopt(argc, argv, "s:d:m:c:o:n:")) != EOF) {
718:info:build xmalloc.c:27:25:                   ^
719:info:build note: 'realloc' is a builtin with type 'void *(void *, unsigned long)'
720:info:build encode.c:62:11: note: use '==' to turn this assignment into an equality comparison
721:info:build     if (p = strrchr(cleanfname, '/')) cleanfname = p+1;
722:info:build           ^
723:info:build           ==
724:info:build xmalloc.c:33:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
725:info:build             if (magic[i].len == 0) magic[i].len = strlen(magic[i].num);encode.c:63:11: warning    if (ret = malloc((unsigned) size)):
726:info:build using the result of an assignment as a condition without parentheses [-Wparentheses]        ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
727:info:build     if (p = strrchr(cleanfname, '\\')) cleanfname = p+1;
728:info:build         ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~                                                  ^
729:info:build magic.c:unixpk.c:78:16: error: implicit declaration of function 'atoi' is invalid in C99 [-Werror,-Wimplicit-function-declaration]59:44: note: include the header <string.h> or explicitly provide a declaration for 'strlen'
730:info:build encode.c:63:11: note: place parentheses around the assignment to silence this warning
731:info:build             maxsize = atoi(optarg);
732:info:build                       ^
733:info:build     if (p = strrchr(cleanfname, '\\')) cleanfname = p+1;
734:info:build           ^
735:info:build         (                            )
736:info:build unixunpk.c:61:3: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
737:info:build                 exit(1);
738:info:build                 ^
739:info:build unixunpk.c:61:3: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
740:info:build encode.c:63:11: note: use '==' to turn this assignment into an equality comparison
741:info:build     if (p = strrchr(cleanfname, '\\')) cleanfname = p+1;
742:info:build           ^
743:info:build           ==
744:info:build encode.c:65:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
745:info:build     if (p = strrchr(cleanfname, ':')) cleanfname = p+1;
746:info:build         ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
747:info:build xmalloc.c:33:13: note: place parentheses around the assignment to silence this warning
748:info:build encode.c:65:11: note: place parentheses around the assignment to silence this warning
749:info:build     if (ret = malloc((unsigned) size))
750:info:build             ^
751:info:build         (                            )
752:info:build     if (p = strrchr(cleanfname, ':')) cleanfname = p+1;
753:info:build           ^
754:info:build         (                           )
755:info:build encode.c:65:11: note: use '==' to turn this assignment into an equality comparison
756:info:build     if (p = strrchr(cleanfname, ':')) cleanfname = p+1;
757:info:build           ^
758:info:build           ==
759:info:build xmalloc.c:33:13: note: use '==' to turn this assignment into an equality comparison
760:info:build     if (ret = malloc((unsigned) size))
761:info:build             ^
762:info:build             ==
763:info:build encode.c:88:6: error: implicit declaration of function 'free' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
764:info:build             free(md5digest(descfile, &l));      /* XXX */
765:info:build             ^
766:info:build unixunpk.c:73:2: error: implicit declaration of function 'handleMessage' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
767:info:build xmalloc.c:37:5: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
768:info:build         handleMessage(part_init(stdin), "text/plain", 0, extractText);
769:info:build         ^
770:info:build     exit(1);
771:info:build     ^
772:info:build xmalloc.c:37:5: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
773:info:build unixpk.c:102:6: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
774:info:build             exit(1);
775:info:build             ^
776:info:build unixpk.c:102:6: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
777:info:build decode.c:74:6: error: implicit declaration of function 'warn' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
778:info:build xmalloc.c:46:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
779:info:build     if (ret = !ptr ? malloc ((unsigned) size) : realloc (ptr, (unsigned) size))
780:info:build         ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
781:info:build unixunpk.c:88:6: error: implicit declaration of function 'handleMessage' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
782:info:build             handleMessage(part_init(file), "text/plain", 0, extractText);
783:info:build             ^
784:info:build             warn("ignoring invalid content encoding on message/rfc822");
785:info:build             ^
786:info:build xmalloc.c:46:13: note: place parentheses around the assignment to silence this warning
787:info:build     if (ret = !ptr ? malloc ((unsigned) size) : realloc (ptr, (unsigned) size))
788:info:build             ^
789:info:build         (                                                                     )
790:info:build xmalloc.c:46:13: note: use '==' to turn this assignment into an equality comparison
791:info:build     if (ret = !ptr ? malloc ((unsigned) size) : realloc (ptr, (unsigned) size))
792:info:build             ^
793:info:build             ==
794:info:build uudecode.c:86:9: error: implicit declaration of function 'parseSubject' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
795:info:build decode.c:82:6: error: implicit declaration of function 'warn' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
796:info:build     if (parseSubject(subject, &fname, &part, &nparts) != 0) {
797:info:build         ^
798:info:build             warn("ignoring invalid content encoding on message/partial");
799:info:build             ^
800:info:build decode.c:84:9: error: implicit declaration of function 'handlePartial' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
801:info:build         return handlePartial(inpart, headers, contentParams, extractText);
802:info:build                ^
803:info:build encode.c:118:6: error: implicit declaration of function 'os_perror' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
804:info:build             os_perror(buf);
805:info:build decode.c:88:9: error: implicit declaration of function 'ignoreMessage' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
806:info:build             ^
807:info:build         return ignoreMessage(inpart);
808:info:build                ^
809:info:build uudecode.c:90:9: error: implicit declaration of function 'saveUuFile' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
810:info:build decode.c:88:9: note: did you mean 'handleMessage'?
811:info:build         return saveUuFile(inpart, fname, part, nparts, (char *)0);
812:info:build                ^
813:info:build decode.c:55:5: note: 'handleMessage' declared here
814:info:build int handleMessage(struct part *inpart, char *defaultContentType, int inAppleDouble, int extractText)
815:info:build     ^
816:info:build unixpk.c:158:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
817:info:build         if (p = strchr(sbuf, '\n')) *p = '\0';
818:info:build             ~~^~~~~~~~~~~~~~~~~~~~
819:info:build decode.c:92:6: error: implicit declaration of function 'warn' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
820:info:build             warn("ignoring invalid content encoding on multipart");
821:info:build             ^
822:info:build decode.c:94:9: error: implicit declaration of function 'handleMultipart' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
823:info:build         return handleMultipart(inpart, contentType, contentParams,
824:info:build                ^
825:info:build unixpk.c:158:8: note: place parentheses around the assignment to silence this warning
826:info:build         if (p = strchr(sbuf, '\n')) *p = '\0';
827:info:build               ^
828:info:build             (                     )
829:info:build unixpk.c:158:8: note: use '==' to turn this assignment into an equality comparison
830:info:build         if (p = strchr(sbuf, '\n')) *p = '\0';
831:info:build               ^
832:info:build               ==
833:info:build decode.c:97:14: error: implicit declaration of function 'part_depth' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
834:info:build     else if (part_depth(inpart) == 0 &&
835:info:build              ^
836:info:build unixpk.c:170:2: error: implicit declaration of function 'mktemp' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
837:info:build         mktemp(fnamebuf);
838:info:build         ^
839:info:build encode.c:198:3: error: implicit declaration of function 'free' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
840:info:build                 free(appledigest);
841:info:build                 ^
842:info:build decode.c:97:14: note: did you mean 'part_gets'?
843:info:build encode.c:206:17: error: implicit declaration of function 'to64' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
844:info:build             written += to64(applefile, outfile,
845:info:build                        ^
846:info:build ./part.h:58:14: note: 'part_gets' declared here
847:info:build unixpk.c:176:2: error: implicit declaration of function 'os_perror' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
848:info:build extern char *part_gets(char *s, int n, struct part *part);
849:info:build              ^
850:info:build         os_perror(fname);
851:info:build         ^
852:info:build uudecode.c:107:10: error: implicit declaration of function 'saveUuFile' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
853:info:build                 return saveUuFile(inpart, (char *)0, 1, 0, buf);
854:info:build                        ^
855:info:build uudecode.c:111:10: error: implicit declaration of function 'saveUuFile' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
856:info:build                 return saveUuFile(inpart, fname, part, nparts, buf);
857:info:build                        ^
858:info:build decode.c:103:9: error: implicit declaration of function 'handleUuencode' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
859:info:build         return handleUuencode(inpart, subject, extractText);
860:info:build                ^
861:info:build encode.c:225:6: error: implicit declaration of function 'free' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
862:info:build             free(digest);
863:info:build             ^
864:info:build unixpk.c:183:6: error: implicit declaration of function 'os_perror' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
865:info:build             os_perror(descfname);
866:info:build             ^
867:info:build encode.c:231:13: error: implicit declaration of function 'to64' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
868:info:build unixpk.c:188:9: error: implicit declaration of function 'encode' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
869:info:build         written += to64(infile, outfile,
870:info:build                    ^
871:info:build     if (encode(infile, (FILE *)0, fname, descfile, subject, headers,
872:info:build         ^
873:info:build decode.c:109:9: error: implicit declaration of function 'handleText' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
874:info:build         return handleText(inpart, contentEncoding);
875:info:build                ^
876:info:build 4 warnings and 1 error generated.
877:info:build 1 error generated.
878:info:build 5 errors generated.
879:info:build uudecode.c:130:10: error: implicit declaration of function 'saveUuFile' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
880:info:build                 return saveUuFile(inpart, tmpfname, tmppart, 0, (char *)0);
881:info:build                        ^
882:info:build decode.c:113:9: error: implicit declaration of function 'saveToFile' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
883:info:build         return saveToFile(inpart, inAppleDouble, contentType, contentParams,
884:info:build                ^
885:info:build uudecode.c:149:10: error: implicit declaration of function 'saveUuFile' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
886:info:build                 return saveUuFile(inpart, tmpfname, tmppart, tmpnparts,
887:info:build                        ^
888:info:build 3 warnings and 6 errors generated.
889:info:build unixpk.c:230:20: error: implicitly declaring library function 'abort' with type 'void (void) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
890:info:build     if (start < 2) abort();
891:info:build                    ^
892:info:build unixpk.c:230:20: note: include the header <stdlib.h> or explicitly provide a declaration for 'abort'
893:info:build unixpk.c:240:8: error: implicit declaration of function 'fork' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
894:info:build         pid = fork();
895:info:build               ^
896:info:build uudecode.c:171:13: error: implicit declaration of function 'saveUuFile' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
897:info:build             return saveUuFile(inpart, tmpfname, tmppart, tmpnparts, (char *)0);
898:info:build                    ^
899:info:build unixpk.c:248:16: error: implicit declaration of function 'wait' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
900:info:build         while (pid != wait(&status));
901:info:build                       ^
902:info:build uudecode.c:190:13: error: implicit declaration of function 'saveUuFile' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
903:info:build             return saveUuFile(inpart, tmpfname, tmppart, tmpnparts, (char *)0);
904:info:build                    ^
905:info:build unixpk.c:252:5: error: implicit declaration of function 'dup2' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
906:info:build     dup2(fileno(infile), 0);
907:info:build     ^
908:info:build uudecode.c:212:13: error: implicit declaration of function 'saveUuFile' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
909:info:build             return saveUuFile(inpart, tmpfname, tmppart, tmpnparts, (char *)0);
910:info:build                    ^
911:info:build unixpk.c:257:5: error: implicit declaration of function 'execv' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
912:info:build     execv("/usr/lib/sendmail", addr+start);
913:info:build     ^
914:info:build unixpk.c:261:5: error: implicitly declaring library function '_exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
915:info:build     _exit(1);
916:info:build     ^
917:info:build unixpk.c:261:5: note: include the header <unistd.h> or explicitly provide a declaration for '_exit'
918:info:build unixpk.c:270:8: error: implicit declaration of function 'fork' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
919:info:build         pid = fork();
920:info:build               ^
921:info:build unixpk.c:278:16: error: implicit declaration of function 'wait' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
922:info:build         while (pid != wait(&status));
923:info:build                       ^
924:info:build uudecode.c:236:13: errorunixpk.c:282:5: : implicit declaration of function 'saveUuFile' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
925:info:build error: implicit declaration of function 'dup2' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
926:info:build     dup2(fileno(infile), 0);
927:info:build     ^
928:info:build             return saveUuFile(inpart, tmpfname, tmppart, tmpnparts, (char *)0);
929:info:build                    ^
930:info:build unixpk.c:284:5: error: implicit declaration of function 'execlp' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
931:info:build     execlp("inews", "inews", "-h", "-S", (char *)0);
932:info:build     ^
933:info:build uudecode.c:247:13: error: implicit declaration of function 'saveUuFile' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
934:info:build decode.c:213:7: error: implicit declaration of function 'part_ungets' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
935:info:build             return saveUuFile(inpart, fname, part, nparts, buf);
936:info:build                    ^
937:info:build                     part_ungets(next, inpart);
938:info:build                     ^
939:info:build unixpk.c:285:5: error: implicit declaration of function 'execl' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
940:info:build     execl("/usr/local/news/inews", "inews", "-h", "-S", (char *)0);
941:info:build     ^
942:info:build unixpk.c:285:5: note: did you mean 'execlp'?
943:info:build decode.c:213:7: note: did you mean 'part_gets'?
944:info:build unixpk.c:284:5: note: 'execlp' declared here
945:info:build     execlp("inews", "inews", "-h", "-S", (char *)0);
946:info:build     ^
947:info:build ./part.h:58:14: note: 'part_gets' declared here
948:info:build extern char *part_gets(char *s, int n, struct part *part);
949:info:build              ^
950:info:build uudecode.c:258:16: error: implicit declaration of function 'atoi' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
951:info:build             tmppart = atoi(buf+8);
952:info:build                       ^
953:info:build 1 warning and 19 errors generated.
954:info:build uudecode.c:263:18: error: implicit declaration of function 'atoi' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
955:info:build             tmpnparts = atoi(buf+14);
956:info:build                         ^
957:info:build make: *** [xmalloc.o] Error 1
958:info:build make: *** Waiting for unfinished jobs....
959:info:build make: *** [unixunpk.o] Error 1
960:info:build make: *** [magic.o] Error 1
961:info:build make: *** [encode.o] Error 1
962:info:build decode.c:310:2: error: implicit declaration of function 'warn' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
963:info:build         warn("ignoring unknown content transfer encoding\n");   
964:info:build         ^
965:info:build uudecode.c:269:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
966:info:build             if (descfile = startDescFile(fname)) {
967:info:build                 ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
968:info:build uudecode.c:269:19: note: place parentheses around the assignment to silence this warning
969:info:build             if (descfile = startDescFile(fname)) {
970:info:build                          ^
971:info:build                 (                              )
972:info:build uudecode.c:269:19: note: use '==' to turn this assignment into an equality comparison
973:info:build             if (descfile = startDescFile(fname)) {
974:info:build                          ^
975:info:build                          ==
976:info:build uudecode.c:279:13: error: implicit declaration of function 'os_binhex' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
977:info:build             return os_binhex(inpart, 1, 1);
978:info:build                    ^
979:info:build make: *** [unixpk.o] Error 1
980:info:build uudecode.c:293:3: error: implicit declaration of function 'part_ungets' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
981:info:build                 part_ungets(buf, inpart);
982:info:build                 ^
983:info:build decode.c:612:2: error: implicit declaration of function 'warn' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
984:info:build         warn("partial message has no id parameter");
985:info:build         ^
986:info:build decode.c:622:2: error: implicit declaration of function 'warn' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
987:info:build         warn("partial message doesn't have number parameter");
988:info:build         ^
989:info:build decode.c:625:16: error: implicit declaration of function 'atoi' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
990:info:build     thispart = atoi(p);
991:info:build                ^
992:info:build uudecode.c:293:3: note: did you mean 'part_gets'?
993:info:build ./part.h:58:14: note: 'part_gets' declared here
994:info:build decode.c:extern char *part_gets(char *s, int n, struct part *part);627
995:info:build :11             ^:
996:info:build  warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
997:info:build     if (p = getParam(contentParams, "total")) {
998:info:build         ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
999:info:build uudecode.c:295:10: error: implicit declaration of function 'handleMessage' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
1000:info:build decode.c:627:11: note: place parentheses around the assignment to silence this warning
1001:info:build                 return handleMessage(inpart, "text/plain", 0, extractText);
1002:info:build                        ^
1003:info:build     if (p = getParam(contentParams, "total")) {
1004:info:build           ^
1005:info:build         (                                   )
1006:info:build decode.c:627:11: note: use '==' to turn this assignment into an equality comparison
1007:info:build     if (p = getParam(contentParams, "total")) {
1008:info:build           ^
1009:info:build           ==
1010:info:build decode.c:630:6: error: implicit declaration of function 'warn' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
1011:info:build             warn("partial message has invalid number of parts");
1012:info:build             ^
1013:info:build decode.c:637:6: error: implicit declaration of function 'os_perror' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
1014:info:build             os_perror(buf);
1015:info:build             ^
1016:info:build uudecode.c:345:3: error: implicit declaration of function 'part_ungets' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
1017:info:build                 part_ungets(buf2, inpart);
1018:info:build                 ^
1019:info:build decode.c:646:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
1020:info:build         if (partfile = fopen(buf, "r")) {
1021:info:build             ~~~~~~~~~^~~~~~~~~~~~~~~~~
1022:info:build decode.cuudecode.c:646::362:14:15: note:  place parentheses around the assignment to silence this warning
1023:info:build error: implicit declaration of function 'handleMessage' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
1024:info:build         if (partfile = fopen(buf, "r")) {
1025:info:build                      ^
1026:info:build             (                         )
1027:info:build                     return handleMessage(inpart, "text/plain", 0, extractText);
1028:info:build                            ^
1029:info:build decode.c:646:15: note: use '==' to turn this assignment into an equality comparison
1030:info:build         if (partfile = fopen(buf, "r")) {
1031:info:build                      ^
1032:info:build                      ==
1033:info:build decode.c:657:2: erroruudecode.c:383:8: error: implicit declaration of function 'descEnd' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
1034:info:build : implicit declaration of function 'warn' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
1035:info:build                 if (!descEnd(buf) && (descfile = startDescFile(fname))) {
1036:info:build                      ^
1037:info:build         warn("partial message has invalid number");
1038:info:build         ^
1039:info:build decode.c:664:5: error: implicit declaration of function 'chat' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
1040:info:build     chat(buf);
1041:info:build     ^
1042:info:build fatal error: too many errors emitted, stopping now [-ferror-limit=]
1043:info:build fatal error: too many errors emitted, stopping now [-ferror-limit=]
1044:info:build 2 warnings and 20 errors generated.
1045:info:build 1 warning and 20 errors generated.
1046:info:build part.c:64:20: error: implicit declaration of function 'free' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
1047:info:build     if (part->buf) free(part->buf);
1048:info:build                    ^
1049:info:build part.c:66:1: warning: non-void function does not return a value [-Wreturn-type]
1050:info:build }
1051:info:build ^
1052:info:build make: *** [uudecode.o] Error 1
1053:info:build make: *** [decode.o] Error 1
1054:info:build part.c:103:1: warning: non-void function does not return a value [-Wreturn-type]
1055:info:build }
1056:info:build ^
1057:info:build part.c:197:1: warning: non-void function does not return a value [-Wreturn-type]
1058:info:build }
1059:info:build ^
1060:info:build 3 warnings and 1 error generated.
1061:info:build make: *** [part.o] Error 1
1062:info:build unixos.c:42:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration]
1063:info:build extern char *malloc();
1064:info:build              ^
1065:info:build unixos.c:42:14: note: 'malloc' is a builtin with type 'void *(unsigned long)'
1066:info:build unixos.c:65:8: error: implicit declaration of function 'getpid' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
1067:info:build         pid = getpid();
1068:info:build               ^
1069:info:build unixos.c:66:2: error: implicit declaration of function 'time' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
1070:info:build         time(&curtime);
1071:info:build         ^
1072:info:build unixos.c:67:2: error: implicit declaration of function 'gethostname' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
1073:info:build         gethostname(hostname, sizeof(hostname));
1074:info:build         ^
1075:info:build unixos.c:67:2: note: did you mean 'gethostbyname'?
1076:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk/usr/include/netdb.h:275:17: note: 'gethostbyname' declared here
1077:info:build struct hostent  *gethostbyname(const char *);
1078:info:build                  ^
1079:info:build unixos.c:79:38: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat]
1080:info:build     sprintf(result, "%d.%d@%s", pid, curtime++, hostname);
1081:info:build                         ~~           ^~~~~~~~~
1082:info:build                         %ld
1083:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
1084:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
1085:info:build                                                        ^~~~~~~~~~~
1086:info:build unixos.c:101:11: error: implicit declaration of function 'mkdir' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
1087:info:build     (void)mkdir(buf, 0700);
1088:info:build           ^
1089:info:build unixos.c:131:5: error: implicit declaration of function 'rmdir' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
1090:info:build     rmdir(dir);
1091:info:build     ^
1092:info:build unixos.c:187:13: error: implicit declaration of function 'mkdir' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
1093:info:build             (void) mkdir(fname, 0777);
1094:info:build                    ^
1095:info:build unixos.c:197:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
1096:info:build         } while (outfile = fopen(buf, "r"));
1097:info:build                  ~~~~~~~~^~~~~~~~~~~~~~~~~
1098:info:build unixos.c:197:19: note: place parentheses around the assignment to silence this warning
1099:info:build         } while (outfile = fopen(buf, "r"));
1100:info:build                          ^
1101:info:build                  (                        )
1102:info:build unixos.c:197:19: note: use '==' to turn this assignment into an equality comparison
1103:info:build         } while (outfile = fopen(buf, "r"));
1104:info:build                          ^
1105:info:build                          ==
1106:info:build unixos.c:205:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
1107:info:build         } while (outfile = fopen(buf, "r"));
1108:info:build                  ~~~~~~~~^~~~~~~~~~~~~~~~~
1109:info:build unixos.c:205:19: note: place parentheses around the assignment to silence this warning
1110:info:build         } while (outfile = fopen(buf, "r"));
1111:info:build                          ^
1112:info:build                  (                        )
1113:info:build unixos.c:205:19: note: use '==' to turn this assignment into an equality comparison
1114:info:build         } while (outfile = fopen(buf, "r"));
1115:info:build                          ^
1116:info:build                          ==
1117:info:build unixos.c:218:23: error: implicit declaration of function 'free' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
1118:info:build     if (output_fname) free(output_fname);
1119:info:build                       ^
1120:info:build unixos.c:231:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
1121:info:build     if (p = strrchr(p, '.')) *p = '\0';
1122:info:build         ~~^~~~~~~~~~~~~~~~~
1123:info:build unixos.c:231:11: note: place parentheses around the assignment to silence this warning
1124:info:build     if (p = strrchr(p, '.')) *p = '\0';
1125:info:build           ^
1126:info:build         (                  )
1127:info:build unixos.c:231:11: note: use '==' to turn this assignment into an equality comparison
1128:info:build     if (p = strrchr(p, '.')) *p = '\0';
1129:info:build           ^
1130:info:build           ==
1131:info:build unixos.c:271:5: error: implicit declaration of function 'warn' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
1132:info:build     warn(warning);
1133:info:build     ^
1134:info:build unixos.c:272:5: error: implicit declaration of function 'free' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
1135:info:build     free(warning);
1136:info:build     ^
1137:info:build 5 warnings and 9 errors generated.
1138:info:build make: *** [unixos.o] Error 1
1139:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_mpack/mpack/work/mpack-1.6'
1140:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_mpack/mpack/work/mpack-1.6" && /usr/bin/make -j16 -w all
1141:info:build Exit code: 2
1142:error:build Failed to build mpack: command execution failed
1143:debug:build Error code: CHILDSTATUS 12506 2
1144:debug:build Backtrace: command execution failed
1145:debug:build     while executing
1146:debug:build "system {*}$notty {*}$nice $fullcmdstring"
1147:debug:build     invoked from within
1148:debug:build "command_exec build"
1149:debug:build     (procedure "portbuild::build_main" line 8)
1150:debug:build     invoked from within
1151:debug:build "$procedure $targetname"
1152:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_mpack/mpack/main.log for details.