Ticket #61529: main.log

File main.log, 58.9 KB (added by mtetcs, 4 years ago)

main.log

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 12.2
5:debug:sysinfo SDK 11.0
6:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 11.0
7:debug:clean epoch: in tree: 0 installed: 0
8:debug:clean ncurses 6.2_0 exists in the ports tree
9:debug:clean ncurses 6.2_0  is the latest installed
10:debug:clean ncurses 6.2_0  is active
11:debug:clean Merging existing variants '' into variants
12:debug:clean new fully merged portvariants:
13:debug:clean Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/ncurses
14:debug:clean OS darwin/20.1.0 (macOS 11.0) arch i386
15:debug:clean Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
16:debug:clean adding the default universal variant
17:debug:clean Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
18:debug:clean Running callback portconfigure::add_automatic_compiler_dependencies
19:debug:clean Finished running callback portconfigure::add_automatic_compiler_dependencies
20:debug:clean Running callback portbuild::add_automatic_buildsystem_dependencies
21:debug:clean Finished running callback portbuild::add_automatic_buildsystem_dependencies
22:debug:clean Running callback portstartupitem::add_notes
23:debug:clean Finished running callback portstartupitem::add_notes
24:debug:clean No need to upgrade! ncurses 6.2_0 >= ncurses 6.2_0
25:msg:clean --->  Computing dependencies for moria:info:clean .:debug:clean moria has no conflicts
26:debug:clean Searching for dependency: ncurses
27:debug:clean Found Dependency: receipt exists for ncurses
28:debug:main Executing org.macports.main (moria)
29:debug:main dropping privileges: euid changed to 502, egid changed to 501.
30:debug:archivefetch archivefetch phase started at Mon Nov 16 22:03:32 GMT 2020
31:msg:archivefetch --->  Fetching archive for moria
32:debug:archivefetch Executing org.macports.archivefetch (moria)
33:debug:archivefetch euid/egid changed to: 0/0
34:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
35:debug:archivefetch euid/egid changed to: 502/501
36:info:archivefetch --->  moria-5.5.2_5.darwin_20.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
37:msg:archivefetch --->  Attempting to fetch moria-5.5.2_5.darwin_20.x86_64.tbz2 from https://lil.fr.packages.macports.org/moria
38:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
39:msg:archivefetch --->  Attempting to fetch moria-5.5.2_5.darwin_20.x86_64.tbz2 from https://nue.de.packages.macports.org/moria
40:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
41:msg:archivefetch --->  Attempting to fetch moria-5.5.2_5.darwin_20.x86_64.tbz2 from https://packages.macports.org/moria
42:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
43:debug:archivefetch Privilege de-escalation not attempted as not running as root.
44:debug:fetch fetch phase started at Mon Nov 16 22:03:33 GMT 2020
45:notice:fetch --->  Fetching distfiles for moria
46:debug:fetch elevating privileges for fetch: euid changed to 0, egid changed to 0.
47:debug:fetch dropping privileges: euid changed to 502, egid changed to 501.
48:debug:fetch Executing org.macports.fetch (moria)
49:info:fetch --->  um5.5.2.tar.Z does not exist in /opt/local/var/macports/distfiles/moria
50:notice:fetch --->  Attempting to fetch um5.5.2.tar.Z from https://distfiles.macports.org/moria
51:debug:fetch Privilege de-escalation not attempted as not running as root.
52:debug:checksum checksum phase started at Mon Nov 16 22:03:35 GMT 2020
53:notice:checksum --->  Verifying checksums for moria
54:debug:checksum Executing org.macports.checksum (moria)
55:info:checksum --->  Checksumming um5.5.2.tar.Z
56:debug:checksum Calculated (rmd160) is 1556c76f151d7ea29da79071a57398f63d0b138b
57:debug:checksum Correct (rmd160) checksum for um5.5.2.tar.Z
58:debug:checksum Calculated (sha256) is fffab65703c77058a1aadd8647cc1f44bd4349065af0b334702986f36007b2ed
59:debug:checksum Correct (sha256) checksum for um5.5.2.tar.Z
60:debug:checksum Privilege de-escalation not attempted as not running as root.
61:debug:extract extract phase started at Mon Nov 16 22:03:35 GMT 2020
62:notice:extract --->  Extracting moria
63:debug:extract Executing org.macports.extract (moria)
64:info:extract --->  Extracting um5.5.2.tar.Z
65:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/moria/um5.5.2.tar.Z'
66:debug:extract Environment:
67:debug:extract CC_PRINT_OPTIONS='YES'
68:debug:extract CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/.CC_PRINT_OPTIONS'
69:debug:extract CPATH='/opt/local/include'
70:debug:extract DEVELOPER_DIR='/Library/Developer/CommandLineTools'
71:debug:extract LIBRARY_PATH='/opt/local/lib'
72:debug:extract MACOSX_DEPLOYMENT_TARGET='11.0'
73:debug:extract SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk'
74:info:extract Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/moria/um5.5.2.tar.Z' | /usr/bin/tar -xf -
75:debug:extract system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/moria/um5.5.2.tar.Z' | /usr/bin/tar -xf -
76:debug:extract euid/egid changed to: 0/0
77:debug:extract chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work to macports
78:debug:extract euid/egid changed to: 502/501
79:debug:extract Privilege de-escalation not attempted as not running as root.
80:debug:patch patch phase started at Mon Nov 16 22:03:35 GMT 2020
81:debug:patch Executing org.macports.patch (moria)
82:notice:patch --->  Applying patches to moria
83:info:patch --->  Applying patch-files.c.diff
84:debug:patch Environment:
85:debug:patch CC_PRINT_OPTIONS='YES'
86:debug:patch CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/.CC_PRINT_OPTIONS'
87:debug:patch CPATH='/opt/local/include'
88:debug:patch DEVELOPER_DIR='/Library/Developer/CommandLineTools'
89:debug:patch LIBRARY_PATH='/opt/local/lib'
90:debug:patch MACOSX_DEPLOYMENT_TARGET='11.0'
91:debug:patch SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk'
92:info:patch Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/games/moria/files/patch-files.c.diff'
93:debug:patch system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/games/moria/files/patch-files.c.diff'
94:info:patch patching file source/files.c
95:info:patch Hunk #1 succeeded at 129 (offset 4 lines).
96:info:patch --->  Applying patch-source_config.h.diff
97:debug:patch Environment:
98:debug:patch CC_PRINT_OPTIONS='YES'
99:debug:patch CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/.CC_PRINT_OPTIONS'
100:debug:patch CPATH='/opt/local/include'
101:debug:patch DEVELOPER_DIR='/Library/Developer/CommandLineTools'
102:debug:patch LIBRARY_PATH='/opt/local/lib'
103:debug:patch MACOSX_DEPLOYMENT_TARGET='11.0'
104:debug:patch SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk'
105:info:patch Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/games/moria/files/patch-source_config.h.diff'
106:debug:patch system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/games/moria/files/patch-source_config.h.diff'
107:info:patch patching file source/config.h
108:info:patch --->  Applying patch-signals.c.diff
109:debug:patch Environment:
110:debug:patch CC_PRINT_OPTIONS='YES'
111:debug:patch CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/.CC_PRINT_OPTIONS'
112:debug:patch CPATH='/opt/local/include'
113:debug:patch DEVELOPER_DIR='/Library/Developer/CommandLineTools'
114:debug:patch LIBRARY_PATH='/opt/local/lib'
115:debug:patch MACOSX_DEPLOYMENT_TARGET='11.0'
116:debug:patch SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk'
117:info:patch Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/games/moria/files/patch-signals.c.diff'
118:debug:patch system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/games/moria/files/patch-signals.c.diff'
119:info:patch patching file source/signals.c
120:info:patch --->  Applying patch-types.h.diff
121:debug:patch Environment:
122:debug:patch CC_PRINT_OPTIONS='YES'
123:debug:patch CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/.CC_PRINT_OPTIONS'
124:debug:patch CPATH='/opt/local/include'
125:debug:patch DEVELOPER_DIR='/Library/Developer/CommandLineTools'
126:debug:patch LIBRARY_PATH='/opt/local/lib'
127:debug:patch MACOSX_DEPLOYMENT_TARGET='11.0'
128:debug:patch SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk'
129:info:patch Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/games/moria/files/patch-types.h.diff'
130:debug:patch system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/games/moria/files/patch-types.h.diff'
131:info:patch patching file source/types.h
132:debug:patch Privilege de-escalation not attempted as not running as root.
133:debug:configure configure phase started at Mon Nov 16 22:03:35 GMT 2020
134:notice:configure --->  Configuring moria
135: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
136:debug:configure Using compiler 'Xcode Clang'
137:debug:configure Executing org.macports.configure (moria)
138:debug:configure Privilege de-escalation not attempted as not running as root.
139:debug:build build phase started at Mon Nov 16 22:03:35 GMT 2020
140:notice:build --->  Building moria
141:debug:build Executing proc-pre-org.macports.build-build-0
142:info:build xinstall: chdir(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/unix)
143:info:build xinstall: Makefile -> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/Makefile
144:info:build xinstall: unix.c -> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/unix.c
145:info:build --->  Patching Makefile: s|^CC = cc|CC = /usr/bin/clang|
146:debug:build Executing reinplace: /usr/bin/sed {s|^CC = cc|CC = /usr/bin/clang|} </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/Makefile >@file12
147:debug:build euid/egid changed to: 0/0
148:debug:build chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/Makefile to macports
149:debug:build euid/egid changed to: 502/501
150:debug:build euid/egid changed to: 0/0
151:debug:build setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/Makefile
152:debug:build euid/egid changed to: 502/501
153:info:build --->  Patching Makefile: s|CFLAGS = -O|CFLAGS = -O -I/opt/local/include -I/opt/local/include/ncurses|
154:debug:build Executing reinplace: /usr/bin/sed {s|CFLAGS = -O|CFLAGS = -O -I/opt/local/include -I/opt/local/include/ncurses|} </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/Makefile >@file12
155:debug:build euid/egid changed to: 0/0
156:debug:build chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/Makefile to macports
157:debug:build euid/egid changed to: 502/501
158:debug:build euid/egid changed to: 0/0
159:debug:build setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/Makefile
160:debug:build euid/egid changed to: 502/501
161:info:build --->  Patching Makefile: s|LFLAGS =|LFLAGS = -L/opt/local/lib|
162:debug:build Executing reinplace: /usr/bin/sed {s|LFLAGS =|LFLAGS = -L/opt/local/lib|} </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/Makefile >@file12
163:debug:build euid/egid changed to: 0/0
164:debug:build chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/Makefile to macports
165:debug:build euid/egid changed to: 502/501
166:debug:build euid/egid changed to: 0/0
167:debug:build setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/Makefile
168:debug:build euid/egid changed to: 502/501
169:info:build --->  Patching Makefile: s|CURSES = -lcurses -ltermcap|CURSES = -lncurses|
170:debug:build Executing reinplace: /usr/bin/sed {s|CURSES = -lcurses -ltermcap|CURSES = -lncurses|} </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/Makefile >@file12
171:debug:build euid/egid changed to: 0/0
172:debug:build chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/Makefile to macports
173:debug:build euid/egid changed to: 502/501
174:debug:build euid/egid changed to: 0/0
175:debug:build setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/Makefile
176:debug:build euid/egid changed to: 502/501
177:info:build --->  Patching config.h: s|/home/math/grabiner/moria/files|/opt/local/var/games/moria|
178:debug:build Executing reinplace: /usr/bin/sed s|/home/math/grabiner/moria/files|/opt/local/var/games/moria| </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/config.h >@file12
179:debug:build euid/egid changed to: 0/0
180:debug:build chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/config.h to macports
181:debug:build euid/egid changed to: 502/501
182:debug:build euid/egid changed to: 0/0
183:debug:build setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/config.h
184:debug:build euid/egid changed to: 502/501
185:debug:build Executing org.macports.build (moria)
186:debug:build Environment:
187:debug:build CC_PRINT_OPTIONS='YES'
188:debug:build CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/.CC_PRINT_OPTIONS'
189:debug:build CPATH='/opt/local/include'
190:debug:build DEVELOPER_DIR='/Library/Developer/CommandLineTools'
191:debug:build LIBRARY_PATH='/opt/local/lib'
192:debug:build MACOSX_DEPLOYMENT_TARGET='11.0'
193:debug:build SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk'
194:info:build Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source" && /usr/bin/make -j4 -w
195:debug:build system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source" && /usr/bin/make -j4 -w
196:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source'
197:info:build /usr/bin/clang -O -I/opt/local/include -I/opt/local/include/ncurses   -c -o main.o main.c
198:info:build /usr/bin/clang -O -I/opt/local/include -I/opt/local/include/ncurses   -c -o misc1.o misc1.c
199:info:build /usr/bin/clang -O -I/opt/local/include -I/opt/local/include/ncurses   -c -o misc2.o misc2.c
200:info:build /usr/bin/clang -O -I/opt/local/include -I/opt/local/include/ncurses   -c -o misc3.o misc3.c
201:info:build misc2.c:1042:14: error: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Werror,-Wimplicit-function-declaration]
202:info:build       (void) sprintf(string, "%-38s: %s", options[max].o_prompt,
203:info:build              ^
204:info:build misc2.c:1042:14: note: include the header <stdio.h> or explicitly provide a declaration for 'sprintf'
205:info:build 1 error generated.
206:info:build misc1.c:443:14: error: implicitly declaring library function 'abs' with type 'int (int)' [-Werror,-Wimplicit-function-declaration]
207:info:build     scale2 = abs(deltaX * deltaY);
208:info:build              ^
209:info:build misc1.c:443:14: note: include the header <stdlib.h> or explicitly provide a declaration for 'abs'
210:info:build main.c:226:7: error: implicit declaration of function 'perror' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
211:info:build       perror("Can't set permissions correctly!  Setuid call failed.\n");
212:info:build       ^
213:info:build main.c:226:7: note: did you mean '__error'?
214:info:build ./externs.h:40:12: note: '__error' declared here
215:info:build extern int errno;
216:info:build            ^
217:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk/usr/include/sys/errno.h:81:17: note: expanded from macro 'errno'
218:info:build #define errno (*__error())
219:info:build                 ^
220:info:build main.c:227:7: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
221:info:build       exit(0);
222:info:build       ^
223:info:build main.c:227:7: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
224:info:build main.c:231:7: error: implicit declaration of function 'perror' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
225:info:build       perror("Can't set permissions correctly!  Setgid call failed.\n");misc1.c:794:2: error: implicitly declaring library function 'abort' with type 'void (void) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
226:info:build         abort();
227:info:build         ^
228:info:build misc1.c:794:2: note: include the header <stdlib.h> or explicitly provide a declaration for 'abort'
229:info:build       ^
230:info:build make: *** [misc2.o] Error 1
231:info:build make: *** Waiting for unfinished jobs....
232:info:build main.c:279:11: error: implicit declaration of function 'atoi' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
233:info:build           seed = atoi(&argv[0][2]);
234:info:build                  ^
235:info:build main.c:281:23: error: implicitly declaring library function 'printf' with type 'int (const char *, ...)' [-Werror,-Wimplicit-function-declaration]
236:info:build       default: (void) printf("Usage: moria [-norsw] [savefile]\n");
237:info:build                       ^
238:info:build main.c:281:23: note: include the header <stdio.h> or explicitly provide a declaration for 'printf'
239:info:build main.c:326:12: error: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Werror,-Wimplicit-function-declaration]
240:info:build     (void) sprintf(savefile, "%s/%s", p, MORIA_SAV);
241:info:build            ^
242:info:build main.c:326:12: note: include the header <stdio.h> or explicitly provide a declaration for 'sprintf'
243:info:build misc3.c2: errors249:9 generated.
244:info:build : error: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Werror,-Wimplicit-function-declaration]
245:info:build         (void) sprintf(out_val, " %2d/%02d", part1, part2);
246:info:build                ^
247:info:build misc3.c:249:9: note: include the header <stdio.h> or explicitly provide a declaration for 'sprintf'
248:info:build 6 errors generated.
249:info:build misc3.c:286:47: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat]
250:info:build   (void) sprintf(out_val, "%s: %6ld", header, num);
251:info:build                                ~~~~           ^~~
252:info:build                                %6d
253:info:build misc3.c:298:47: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat]
254:info:build   (void) sprintf(out_val, "%s: %7ld", header, num);
255:info:build                                ~~~~           ^~~
256:info:build                                %7d
257:info:build misc3.c:320:35: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat]
258:info:build   (void) sprintf(out_val, "%6ld", num);
259:info:build                            ~~~~   ^~~
260:info:build                            %6d
261:info:build make: *** [misc1.o] Error 1
262:info:build make: *** [main.o] Error 1
263:info:build misc3.c:2243:47: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat]
264:info:build         (void) sprintf(object_str, "%s+%ld%s", str1, number, str2);
265:info:build                                        ~~~           ^~~~~~
266:info:build                                        %d
267:info:build misc3.c:2245:46: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat]
268:info:build         (void) sprintf(object_str, "%s%ld%s", str1, number, str2);
269:info:build                                       ~~~           ^~~~~~
270:info:build                                       %d
271:info:build 5 warnings and 1 error generated.
272:info:build make: *** [misc3.o] Error 1
273:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source'
274:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source" && /usr/bin/make -j4 -w
275:info:build Exit code: 2
276:error:build Failed to build moria: command execution failed
277:debug:build Error code: CHILDSTATUS 98935 2
278:debug:build Backtrace: command execution failed
279:debug:build     while executing
280:debug:build "system {*}$notty {*}$nice $fullcmdstring"
281:debug:build     invoked from within
282:debug:build "command_exec build"
283:debug:build     (procedure "portbuild::build_main" line 8)
284:debug:build     invoked from within
285:debug:build "$procedure $targetname"
286:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/main.log for details.
287version:1
288:debug:sysinfo macOS 11.0 (darwin/20.1.0) arch i386
289:debug:sysinfo MacPorts 2.6.4
290:debug:sysinfo Xcode 12.2
291:debug:sysinfo SDK 11.0
292:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 11.0
293:debug:main epoch: in tree: 0 installed: 0
294:debug:main ncurses 6.2_0 exists in the ports tree
295:debug:main ncurses 6.2_0  is the latest installed
296:debug:main ncurses 6.2_0  is active
297:debug:main Merging existing variants '' into variants
298:debug:main new fully merged portvariants:
299:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/ncurses
300:debug:main OS darwin/20.1.0 (macOS 11.0) arch i386
301:debug:main Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
302:debug:main adding the default universal variant
303:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
304:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
305:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
306:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
307:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
308:debug:main Running callback portstartupitem::add_notes
309:debug:main Finished running callback portstartupitem::add_notes
310:debug:main No need to upgrade! ncurses 6.2_0 >= ncurses 6.2_0
311:msg:main --->  Computing dependencies for moria:info:main .:debug:main moria has no conflicts
312:debug:main Searching for dependency: ncurses
313:debug:main Found Dependency: receipt exists for ncurses
314:debug:main Executing org.macports.main (moria)
315:debug:main dropping privileges: euid changed to 502, egid changed to 501.
316:debug:archivefetch archivefetch phase started at Tue Nov 17 08:16:47 GMT 2020
317:msg:archivefetch --->  Fetching archive for moria
318:warn:archivefetch Your DNS servers incorrectly claim to know the address of nonexistent hosts. This may cause checksum mismatches for some ports. See this page for more information: <https://trac.macports.org/wiki/MisbehavingServers>
319:debug:archivefetch Executing org.macports.archivefetch (moria)
320:debug:archivefetch euid/egid changed to: 0/0
321:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
322:debug:archivefetch euid/egid changed to: 502/501
323:info:archivefetch --->  moria-5.5.2_5.darwin_20.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
324:msg:archivefetch --->  Attempting to fetch moria-5.5.2_5.darwin_20.x86_64.tbz2 from https://packages.macports.org/moria
325:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
326:msg:archivefetch --->  Attempting to fetch moria-5.5.2_5.darwin_20.x86_64.tbz2 from https://lil.fr.packages.macports.org/moria
327:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
328:msg:archivefetch --->  Attempting to fetch moria-5.5.2_5.darwin_20.x86_64.tbz2 from https://mse.uk.packages.macports.org/moria
329:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
330:debug:archivefetch Privilege de-escalation not attempted as not running as root.
331:debug:archivefetch Skipping completed org.macports.fetch (moria)
332:debug:archivefetch Privilege de-escalation not attempted as not running as root.
333:debug:archivefetch Skipping completed org.macports.checksum (moria)
334:debug:archivefetch Privilege de-escalation not attempted as not running as root.
335:debug:archivefetch Skipping completed org.macports.extract (moria)
336:debug:archivefetch Privilege de-escalation not attempted as not running as root.
337:debug:archivefetch Skipping completed org.macports.patch (moria)
338:debug:archivefetch Privilege de-escalation not attempted as not running as root.
339:debug:archivefetch Skipping completed org.macports.configure (moria)
340:debug:archivefetch Privilege de-escalation not attempted as not running as root.
341:debug:build build phase started at Tue Nov 17 08:16:53 GMT 2020
342:notice:build --->  Building moria
343:debug:build Executing proc-pre-org.macports.build-build-0
344:info:build xinstall: chdir(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/unix)
345:info:build xinstall: Makefile -> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/Makefile
346:info:build xinstall: unix.c -> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/unix.c
347:info:build --->  Patching Makefile: s|^CC = cc|CC = /usr/bin/clang|
348:debug:build Executing reinplace: /usr/bin/sed {s|^CC = cc|CC = /usr/bin/clang|} </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/Makefile >@file13
349:debug:build euid/egid changed to: 0/0
350:debug:build chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/Makefile to macports
351:debug:build euid/egid changed to: 502/501
352:debug:build euid/egid changed to: 0/0
353:debug:build setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/Makefile
354:debug:build euid/egid changed to: 502/501
355:info:build --->  Patching Makefile: s|CFLAGS = -O|CFLAGS = -O -I/opt/local/include -I/opt/local/include/ncurses|
356:debug:build Executing reinplace: /usr/bin/sed {s|CFLAGS = -O|CFLAGS = -O -I/opt/local/include -I/opt/local/include/ncurses|} </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/Makefile >@file13
357:debug:build euid/egid changed to: 0/0
358:debug:build chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/Makefile to macports
359:debug:build euid/egid changed to: 502/501
360:debug:build euid/egid changed to: 0/0
361:debug:build setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/Makefile
362:debug:build euid/egid changed to: 502/501
363:info:build --->  Patching Makefile: s|LFLAGS =|LFLAGS = -L/opt/local/lib|
364:debug:build Executing reinplace: /usr/bin/sed {s|LFLAGS =|LFLAGS = -L/opt/local/lib|} </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/Makefile >@file13
365:debug:build euid/egid changed to: 0/0
366:debug:build chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/Makefile to macports
367:debug:build euid/egid changed to: 502/501
368:debug:build euid/egid changed to: 0/0
369:debug:build setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/Makefile
370:debug:build euid/egid changed to: 502/501
371:info:build --->  Patching Makefile: s|CURSES = -lcurses -ltermcap|CURSES = -lncurses|
372:debug:build Executing reinplace: /usr/bin/sed {s|CURSES = -lcurses -ltermcap|CURSES = -lncurses|} </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/Makefile >@file13
373:debug:build euid/egid changed to: 0/0
374:debug:build chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/Makefile to macports
375:debug:build euid/egid changed to: 502/501
376:debug:build euid/egid changed to: 0/0
377:debug:build setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/Makefile
378:debug:build euid/egid changed to: 502/501
379:info:build --->  Patching config.h: s|/home/math/grabiner/moria/files|/opt/local/var/games/moria|
380:debug:build Executing reinplace: /usr/bin/sed s|/home/math/grabiner/moria/files|/opt/local/var/games/moria| </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/config.h >@file13
381:warn:build reinplace s|/home/math/grabiner/moria/files|/opt/local/var/games/moria| didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/config.h
382:debug:build euid/egid changed to: 0/0
383:debug:build chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/config.h to macports
384:debug:build euid/egid changed to: 502/501
385:debug:build euid/egid changed to: 0/0
386:debug:build setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/config.h
387:debug:build euid/egid changed to: 502/501
388:debug:build Executing org.macports.build (moria)
389:debug:build Environment:
390:debug:build CC_PRINT_OPTIONS='YES'
391:debug:build CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/.CC_PRINT_OPTIONS'
392:debug:build CPATH='/opt/local/include'
393:debug:build DEVELOPER_DIR='/Library/Developer/CommandLineTools'
394:debug:build LIBRARY_PATH='/opt/local/lib'
395:debug:build MACOSX_DEPLOYMENT_TARGET='11.0'
396:debug:build SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk'
397:info:build Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source" && /usr/bin/make -j4 -w
398:debug:build system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source" && /usr/bin/make -j4 -w
399:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source'
400:info:build /usr/bin/clang -O -I/opt/local/include -I/opt/local/include/ncurses   -c -o main.o main.c
401:info:build /usr/bin/clang -O -I/opt/local/include -I/opt/local/include/ncurses   -c -o misc1.o misc1.c
402:info:build /usr/bin/clang -O -I/opt/local/include -I/opt/local/include/ncurses   -c -o misc2.o misc2.c
403:info:build /usr/bin/clang -O -I/opt/local/include -I/opt/local/include/ncurses   -c -o misc3.o misc3.c
404:info:build misc2.c:1042:14: error: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Werror,-Wimplicit-function-declaration]
405:info:build       (void) sprintf(string, "%-38s: %s", options[max].o_prompt,
406:info:build              ^
407:info:build misc2.c:1042:14: note: include the header <stdio.h> or explicitly provide a declaration for 'sprintf'
408:info:build 1 error generated.
409:info:build make: *** [misc2.o] Error 1
410:info:build make: *** Waiting for unfinished jobs....
411:info:build main.c:226:7: error: implicit declaration of function 'perror' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
412:info:build       perror("Can't set permissions correctly!  Setuid call failed.\n");
413:info:build       ^
414:info:build main.c:226:7: note: did you mean '__error'?
415:info:build ./externs.h:40:12: note: '__error' declared here
416:info:build extern int errno;
417:info:build            ^
418:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk/usr/include/sys/errno.h:81:17: note: expanded from macro 'errno'
419:info:build #define errno (*__error())
420:info:build                 ^
421:info:build main.c:227:7: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
422:info:build       exit(0);
423:info:build       ^
424:info:build main.c:227:7: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
425:info:build misc3.cmain.c:231::7: error: implicit declaration of function 'perror' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
426:info:build 249:9: error: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Werror,-Wimplicit-function-declaration]
427:info:build       perror("Can't set permissions correctly!  Setgid call failed.\n");
428:info:build       ^
429:info:build         (void) sprintf(out_val, " %2d/%02d", part1, part2);
430:info:build                ^
431:info:build misc3.c:249:9: note: include the header <stdio.h> or explicitly provide a declaration for 'sprintf'
432:info:build main.c:279:11: error: implicit declaration of function 'atoi' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
433:info:build           seed = atoi(&argv[0][2]);
434:info:build                  ^
435:info:build misc3.c:286:47: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat]
436:info:build   (void) sprintf(out_val, "%s: %6ld", header, num);
437:info:build                                ~~~~           ^~~
438:info:build                                %6d
439:info:build main.c:281:23: error: implicitly declaring library function 'printf' with type 'int (const char *, ...)' [-Werror,-Wimplicit-function-declaration]
440:info:build       default: (void) printf("Usage: moria [-norsw] [savefile]\n");
441:info:build                       ^
442:info:build main.c:281:23: note: include the header <stdio.h> or explicitly provide a declaration for 'printf'
443:info:build misc3.c:298:47: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat]
444:info:build   (void) sprintf(out_val, "%s: %7ld", header, num);
445:info:build                                ~~~~           ^~~
446:info:build                                %7d
447:info:build misc3.c:320:35: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat]
448:info:build   (void) sprintf(out_val, "%6ld", num);
449:info:build                            ~~~~   ^~~
450:info:build                            %6d
451:info:build main.c:326:12: error: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Werror,-Wimplicit-function-declaration]
452:info:build     (void) sprintf(savefile, "%s/%s", p, MORIA_SAV);
453:info:build            ^
454:info:build main.c:326:12: note: include the header <stdio.h> or explicitly provide a declaration for 'sprintf'
455:info:build 6 errors generated.
456:info:build make: *** [main.o] Error 1
457:info:build misc1.c:443:14: error: implicitly declaring library function 'abs' with type 'int (int)' [-Werror,-Wimplicit-function-declaration]
458:info:build     scale2 = abs(deltaX * deltaY);
459:info:build              ^
460:info:build misc1.c:443:14: note: include the header <stdlib.h> or explicitly provide a declaration for 'abs'
461:info:build misc1.c:794:2: error: implicitly declaring library function 'abort' with type 'void (void) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
462:info:build         abort();
463:info:build         ^
464:info:build misc1.c:794:2: note: include the header <stdlib.h> or explicitly provide a declaration for 'abort'
465:info:build misc3.c:2243:47: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat]
466:info:build         (void) sprintf(object_str, "%s+%ld%s", str1, number, str2);
467:info:build                                        ~~~           ^~~~~~
468:info:build                                        %d
469:info:build misc3.c:2245:46: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat]
470:info:build         (void) sprintf(object_str, "%s%ld%s", str1, number, str2);
471:info:build                                       ~~~           ^~~~~~
472:info:build                                       %d
473:info:build 2 errors generated.
474:info:build 5 warnings and 1 error generated.
475:info:build make: *** [misc1.o] Error 1
476:info:build make: *** [misc3.o] Error 1
477:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source'
478:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source" && /usr/bin/make -j4 -w
479:info:build Exit code: 2
480:error:build Failed to build moria: command execution failed
481:debug:build Error code: CHILDSTATUS 5903 2
482:debug:build Backtrace: command execution failed
483:debug:build     while executing
484:debug:build "system {*}$notty {*}$nice $fullcmdstring"
485:debug:build     invoked from within
486:debug:build "command_exec build"
487:debug:build     (procedure "portbuild::build_main" line 8)
488:debug:build     invoked from within
489:debug:build "$procedure $targetname"
490:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/main.log for details.
491version:1
492:debug:sysinfo macOS 11.0 (darwin/20.1.0) arch i386
493:debug:sysinfo MacPorts 2.6.4
494:debug:sysinfo Xcode 12.2
495:debug:sysinfo SDK 11.0
496:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 11.0
497:debug:main epoch: in tree: 0 installed: 0
498:debug:main ncurses 6.2_0 exists in the ports tree
499:debug:main ncurses 6.2_0  is the latest installed
500:debug:main ncurses 6.2_0  is active
501:debug:main Merging existing variants '' into variants
502:debug:main new fully merged portvariants:
503:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/ncurses
504:debug:main OS darwin/20.1.0 (macOS 11.0) arch i386
505:debug:main Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
506:debug:main adding the default universal variant
507:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
508:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
509:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
510:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
511:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
512:debug:main Running callback portstartupitem::add_notes
513:debug:main Finished running callback portstartupitem::add_notes
514:debug:main No need to upgrade! ncurses 6.2_0 >= ncurses 6.2_0
515:msg:main --->  Computing dependencies for moria:info:main .:debug:main moria has no conflicts
516:debug:main Searching for dependency: ncurses
517:debug:main Found Dependency: receipt exists for ncurses
518:debug:main Executing org.macports.main (moria)
519:debug:main dropping privileges: euid changed to 502, egid changed to 501.
520:debug:archivefetch archivefetch phase started at Tue Nov 17 08:17:13 GMT 2020
521:msg:archivefetch --->  Fetching archive for moria
522:debug:archivefetch Executing org.macports.archivefetch (moria)
523:debug:archivefetch euid/egid changed to: 0/0
524:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
525:debug:archivefetch euid/egid changed to: 502/501
526:info:archivefetch --->  moria-5.5.2_5.darwin_20.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
527:msg:archivefetch --->  Attempting to fetch moria-5.5.2_5.darwin_20.x86_64.tbz2 from https://packages.macports.org/moria
528:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
529:msg:archivefetch --->  Attempting to fetch moria-5.5.2_5.darwin_20.x86_64.tbz2 from https://lil.fr.packages.macports.org/moria
530:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
531:msg:archivefetch --->  Attempting to fetch moria-5.5.2_5.darwin_20.x86_64.tbz2 from https://mse.uk.packages.macports.org/moria
532:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
533:debug:archivefetch Privilege de-escalation not attempted as not running as root.
534:debug:archivefetch Skipping completed org.macports.fetch (moria)
535:debug:archivefetch Privilege de-escalation not attempted as not running as root.
536:debug:archivefetch Skipping completed org.macports.checksum (moria)
537:debug:archivefetch Privilege de-escalation not attempted as not running as root.
538:debug:archivefetch Skipping completed org.macports.extract (moria)
539:debug:archivefetch Privilege de-escalation not attempted as not running as root.
540:debug:archivefetch Skipping completed org.macports.patch (moria)
541:debug:archivefetch Privilege de-escalation not attempted as not running as root.
542:debug:archivefetch Skipping completed org.macports.configure (moria)
543:debug:archivefetch Privilege de-escalation not attempted as not running as root.
544:debug:build build phase started at Tue Nov 17 08:17:16 GMT 2020
545:notice:build --->  Building moria
546:debug:build Executing proc-pre-org.macports.build-build-0
547:info:build xinstall: chdir(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/unix)
548:info:build xinstall: Makefile -> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/Makefile
549:info:build xinstall: unix.c -> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/unix.c
550:info:build --->  Patching Makefile: s|^CC = cc|CC = /usr/bin/clang|
551:debug:build Executing reinplace: /usr/bin/sed {s|^CC = cc|CC = /usr/bin/clang|} </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/Makefile >@file12
552:debug:build euid/egid changed to: 0/0
553:debug:build chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/Makefile to macports
554:debug:build euid/egid changed to: 502/501
555:debug:build euid/egid changed to: 0/0
556:debug:build setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/Makefile
557:debug:build euid/egid changed to: 502/501
558:info:build --->  Patching Makefile: s|CFLAGS = -O|CFLAGS = -O -I/opt/local/include -I/opt/local/include/ncurses|
559:debug:build Executing reinplace: /usr/bin/sed {s|CFLAGS = -O|CFLAGS = -O -I/opt/local/include -I/opt/local/include/ncurses|} </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/Makefile >@file12
560:debug:build euid/egid changed to: 0/0
561:debug:build chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/Makefile to macports
562:debug:build euid/egid changed to: 502/501
563:debug:build euid/egid changed to: 0/0
564:debug:build setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/Makefile
565:debug:build euid/egid changed to: 502/501
566:info:build --->  Patching Makefile: s|LFLAGS =|LFLAGS = -L/opt/local/lib|
567:debug:build Executing reinplace: /usr/bin/sed {s|LFLAGS =|LFLAGS = -L/opt/local/lib|} </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/Makefile >@file12
568:debug:build euid/egid changed to: 0/0
569:debug:build chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/Makefile to macports
570:debug:build euid/egid changed to: 502/501
571:debug:build euid/egid changed to: 0/0
572:debug:build setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/Makefile
573:debug:build euid/egid changed to: 502/501
574:info:build --->  Patching Makefile: s|CURSES = -lcurses -ltermcap|CURSES = -lncurses|
575:debug:build Executing reinplace: /usr/bin/sed {s|CURSES = -lcurses -ltermcap|CURSES = -lncurses|} </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/Makefile >@file12
576:debug:build euid/egid changed to: 0/0
577:debug:build chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/Makefile to macports
578:debug:build euid/egid changed to: 502/501
579:debug:build euid/egid changed to: 0/0
580:debug:build setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/Makefile
581:debug:build euid/egid changed to: 502/501
582:info:build --->  Patching config.h: s|/home/math/grabiner/moria/files|/opt/local/var/games/moria|
583:debug:build Executing reinplace: /usr/bin/sed s|/home/math/grabiner/moria/files|/opt/local/var/games/moria| </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/config.h >@file12
584:warn:build reinplace s|/home/math/grabiner/moria/files|/opt/local/var/games/moria| didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/config.h
585:debug:build euid/egid changed to: 0/0
586:debug:build chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/config.h to macports
587:debug:build euid/egid changed to: 502/501
588:debug:build euid/egid changed to: 0/0
589:debug:build setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source/config.h
590:debug:build euid/egid changed to: 502/501
591:debug:build Executing org.macports.build (moria)
592:debug:build Environment:
593:debug:build CC_PRINT_OPTIONS='YES'
594:debug:build CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/.CC_PRINT_OPTIONS'
595:debug:build CPATH='/opt/local/include'
596:debug:build DEVELOPER_DIR='/Library/Developer/CommandLineTools'
597:debug:build LIBRARY_PATH='/opt/local/lib'
598:debug:build MACOSX_DEPLOYMENT_TARGET='11.0'
599:debug:build SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk'
600:info:build Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source" && /usr/bin/make -j4 -w
601:debug:build system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source" && /usr/bin/make -j4 -w
602:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source'
603:info:build /usr/bin/clang -O -I/opt/local/include -I/opt/local/include/ncurses   -c -o main.o main.c
604:info:build /usr/bin/clang -O -I/opt/local/include -I/opt/local/include/ncurses   -c -o misc1.o misc1.c
605:info:build /usr/bin/clang -O -I/opt/local/include -I/opt/local/include/ncurses   -c -o misc2.o misc2.c
606:info:build /usr/bin/clang -O -I/opt/local/include -I/opt/local/include/ncurses   -c -o misc3.o misc3.c
607:info:build misc2.c:1042:14: error: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Werror,-Wimplicit-function-declaration]
608:info:build       (void) sprintf(string, "%-38s: %s", options[max].o_prompt,
609:info:build              ^
610:info:build misc2.c:1042:14: note: include the header <stdio.h> or explicitly provide a declaration for 'sprintf'
611:info:build 1 error generated.
612:info:build misc1.c:443:14: error: implicitly declaring library function 'abs' with type 'int (int)' [-Werror,-Wimplicit-function-declaration]
613:info:build     scale2 = abs(deltaX * deltaY);
614:info:build              ^
615:info:build misc1.c:443:14: note: include the header <stdlib.h> or explicitly provide a declaration for 'abs'
616:info:build misc1.cmake: *** [misc2.o] Error 1
617:info:build make: *** Waiting for unfinished jobs....
618:info:build :794:2: error: implicitly declaring library function 'abort' with type 'void (void) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
619:info:build         abort();
620:info:build         ^
621:info:build main.c:226:misc1.c7::794 :error2: :implicit declaration of function 'perror' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
622:info:build  note: include the header <stdlib.h> or explicitly provide a declaration for 'abort'
623:info:build       perror("Can't set permissions correctly!  Setuid call failed.\n");
624:info:build       ^
625:info:build main.c:226:7: note: did you mean '__error'?
626:info:build ./externs.h:40:12: note: '__error' declared here
627:info:build extern int errno;
628:info:build            ^
629:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk/usr/include/sys/errno.h:81:17: note: expanded from macro 'errno'
630:info:build #define errno (*__error())
631:info:build                 ^
632:info:build misc3.c:249:9: error: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Werror,-Wimplicit-function-declaration]
633:info:build main.c:        (void) sprintf(out_val, " %2d/%02d", part1, part2);227
634:info:build :               ^
635:info:build 7: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
636:info:build misc3.c:249:9: note      exit(0);:
637:info:build include the header <stdio.h> or explicitly provide a declaration for 'sprintf'      ^
638:info:build main.c:227:7: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
639:info:build main.c:231:7: error: implicit declaration of function 'perror' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
640:info:build       perror("Can't set permissions correctly!  Setgid call failed.\n");
641:info:build       ^
642:info:build main.c:279:11: error: implicit declaration of function 'atoi' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
643:info:build           seed = atoi(&argv[0][2]);
644:info:build                  ^
645:info:build misc3.c:286:47: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat]
646:info:build   (void) sprintf(out_val, "%s: %6ld", header, num);
647:info:build                                ~~~~           ^~~
648:info:build                                %6d
649:info:build misc3.c:298:47: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat]
650:info:build   (void) sprintf(out_val, "%s: %7ld", header, num);
651:info:build                                ~~~~           ^~~
652:info:build                                %7d
653:info:build main.c:281:23: error: implicitly declaring library function 'printf' with type 'int (const char *, ...)' [-Werror,-Wimplicit-function-declaration]
654:info:build       default: (void) printf("Usage: moria [-norsw] [savefile]\n");
655:info:build                       ^
656:info:build main.c:281:23: note: include the header <stdio.h> or explicitly provide a declaration for 'printf'
657:info:build misc3.c:320:35: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat]
658:info:build   (void) sprintf(out_val, "%6ld", num);
659:info:build                            ~~~~   ^~~
660:info:build                            %6d
661:info:build main.c:326:12: error: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Werror,-Wimplicit-function-declaration]
662:info:build     (void) sprintf(savefile, "%s/%s", p, MORIA_SAV);
663:info:build            ^
664:info:build main.c:326:12: note: include the header <stdio.h> or explicitly provide a declaration for 'sprintf'
665:info:build 2 errors generated.
666:info:build 6 errors generated.
667:info:build make: *** [misc1.o] Error 1
668:info:build make: *** [main.o] Error 1
669:info:build misc3.c:2243:47: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat]
670:info:build         (void) sprintf(object_str, "%s+%ld%s", str1, number, str2);
671:info:build                                        ~~~           ^~~~~~
672:info:build                                        %d
673:info:build misc3.c:2245:46: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat]
674:info:build         (void) sprintf(object_str, "%s%ld%s", str1, number, str2);
675:info:build                                       ~~~           ^~~~~~
676:info:build                                       %d
677:info:build 5 warnings and 1 error generated.
678:info:build make: *** [misc3.o] Error 1
679:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source'
680:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/work/umoria/source" && /usr/bin/make -j4 -w
681:info:build Exit code: 2
682:error:build Failed to build moria: command execution failed
683:debug:build Error code: CHILDSTATUS 6171 2
684:debug:build Backtrace: command execution failed
685:debug:build     while executing
686:debug:build "system {*}$notty {*}$nice $fullcmdstring"
687:debug:build     invoked from within
688:debug:build "command_exec build"
689:debug:build     (procedure "portbuild::build_main" line 8)
690:debug:build     invoked from within
691:debug:build "$procedure $targetname"
692:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_moria/moria/main.log for details.