Ticket #67021: main.log

File main.log, 31.3 KB (added by avstoddard (Control), 21 months ago)

main.log

Line 
1version:1
2:debug:main Starting logging for moria @5.5.2_5
3:debug:sysinfo macOS 13.2.1 (darwin/22.3.0) arch arm
4:debug:sysinfo MacPorts 2.8.1
5:debug:sysinfo Xcode 14.2, CLT 14.2.0.0.1.1668646533
6:debug:sysinfo SDK 13
7:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 13.0
8:debug:main Fetching moria-5.5.2_5.darwin_22.arm64.tbz2 archive size
9:debug:main epoch: in tree: 0 installed: 0
10:debug:main ncurses 6.4_0 exists in the ports tree
11:debug:main ncurses 6.4_0  is the latest installed
12:debug:main ncurses 6.4_0  is active
13:debug:main Merging existing requested variants '' into variants
14:debug:main new fully merged portvariants:
15:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/ncurses
16:debug:main OS darwin/22.3.0 (macOS 13.2.1) arch arm
17: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
18:debug:main adding the default universal variant
19:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
20:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
21:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
22:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
23:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
24:debug:main Running callback portstartupitem::add_notes
25:debug:main Finished running callback portstartupitem::add_notes
26:debug:main No need to upgrade! ncurses 6.4_0 >= ncurses 6.4_0
27:msg:main --->  Computing dependencies for moria:info:main .:debug:main moria has no conflicts
28:debug:main Searching for dependency: ncurses
29:debug:main Found Dependency: receipt exists for ncurses
30:debug:main Executing org.macports.main (moria)
31:debug:main dropping privileges: euid changed to 502, egid changed to 501.
32:debug:archivefetch archivefetch phase started at Wed Mar  1 12:42:13 JST 2023
33:msg:archivefetch --->  Fetching archive for moria
34:debug:archivefetch Executing org.macports.archivefetch (moria)
35:debug:archivefetch euid/egid changed to: 0/0
36:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
37:debug:archivefetch euid/egid changed to: 502/501
38:info:archivefetch --->  moria-5.5.2_5.darwin_22.arm64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
39:msg:archivefetch --->  Attempting to fetch moria-5.5.2_5.darwin_22.arm64.tbz2 from https://kmq.jp.packages.macports.org/moria
40:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
41:msg:archivefetch --->  Attempting to fetch moria-5.5.2_5.darwin_22.arm64.tbz2 from https://pek.cn.packages.macports.org/macports/packages/moria
42:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
43:msg:archivefetch --->  Attempting to fetch moria-5.5.2_5.darwin_22.arm64.tbz2 from https://packages.macports.org/moria
44:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
45:debug:archivefetch Privilege de-escalation not attempted as not running as root.
46:debug:fetch fetch phase started at Wed Mar  1 12:42:14 JST 2023
47:notice:fetch --->  Fetching distfiles for moria
48:debug:fetch Executing org.macports.fetch (moria)
49:debug:fetch Privilege de-escalation not attempted as not running as root.
50:debug:checksum checksum phase started at Wed Mar  1 12:42:14 JST 2023
51:notice:checksum --->  Verifying checksums for moria
52:debug:checksum Executing org.macports.checksum (moria)
53:info:checksum --->  Checksumming um5.5.2.tar.Z
54:debug:checksum Calculated (rmd160) is 1556c76f151d7ea29da79071a57398f63d0b138b
55:debug:checksum Correct (rmd160) checksum for um5.5.2.tar.Z
56:debug:checksum Calculated (sha256) is fffab65703c77058a1aadd8647cc1f44bd4349065af0b334702986f36007b2ed
57:debug:checksum Correct (sha256) checksum for um5.5.2.tar.Z
58:debug:checksum Privilege de-escalation not attempted as not running as root.
59:debug:extract extract phase started at Wed Mar  1 12:42:15 JST 2023
60:notice:extract --->  Extracting moria
61:debug:extract Executing org.macports.extract (moria)
62:info:extract --->  Extracting um5.5.2.tar.Z
63:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/moria/um5.5.2.tar.Z'
64:debug:extract Environment:
65:debug:extract CC_PRINT_OPTIONS='YES'
66: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'
67:debug:extract CPATH='/opt/local/include'
68:debug:extract DEVELOPER_DIR='/Library/Developer/CommandLineTools'
69:debug:extract LIBRARY_PATH='/opt/local/lib'
70:debug:extract MACOSX_DEPLOYMENT_TARGET='13.0'
71:debug:extract SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk'
72: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 -
73: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 -
74:debug:extract euid/egid changed to: 0/0
75: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
76:debug:extract euid/egid changed to: 502/501
77:debug:extract Privilege de-escalation not attempted as not running as root.
78:debug:patch patch phase started at Wed Mar  1 12:42:15 JST 2023
79:debug:patch Executing org.macports.patch (moria)
80:notice:patch --->  Applying patches to moria
81:info:patch --->  Applying patch-files.c.diff
82:debug:patch Environment:
83:debug:patch CC_PRINT_OPTIONS='YES'
84: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'
85:debug:patch CPATH='/opt/local/include'
86:debug:patch DEVELOPER_DIR='/Library/Developer/CommandLineTools'
87:debug:patch LIBRARY_PATH='/opt/local/lib'
88:debug:patch MACOSX_DEPLOYMENT_TARGET='13.0'
89:debug:patch SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk'
90: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'
91: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'
92:info:patch patching file 'source/files.c'
93:info:patch --->  Applying patch-source_config.h.diff
94:debug:patch Environment:
95:debug:patch CC_PRINT_OPTIONS='YES'
96: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'
97:debug:patch CPATH='/opt/local/include'
98:debug:patch DEVELOPER_DIR='/Library/Developer/CommandLineTools'
99:debug:patch LIBRARY_PATH='/opt/local/lib'
100:debug:patch MACOSX_DEPLOYMENT_TARGET='13.0'
101:debug:patch SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk'
102: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'
103: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'
104:info:patch patching file 'source/config.h'
105:info:patch --->  Applying patch-signals.c.diff
106:debug:patch Environment:
107:debug:patch CC_PRINT_OPTIONS='YES'
108: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'
109:debug:patch CPATH='/opt/local/include'
110:debug:patch DEVELOPER_DIR='/Library/Developer/CommandLineTools'
111:debug:patch LIBRARY_PATH='/opt/local/lib'
112:debug:patch MACOSX_DEPLOYMENT_TARGET='13.0'
113:debug:patch SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk'
114: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'
115: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'
116:info:patch patching file 'source/signals.c'
117:info:patch --->  Applying patch-types.h.diff
118:debug:patch Environment:
119:debug:patch CC_PRINT_OPTIONS='YES'
120: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'
121:debug:patch CPATH='/opt/local/include'
122:debug:patch DEVELOPER_DIR='/Library/Developer/CommandLineTools'
123:debug:patch LIBRARY_PATH='/opt/local/lib'
124:debug:patch MACOSX_DEPLOYMENT_TARGET='13.0'
125:debug:patch SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk'
126: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'
127: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'
128:info:patch patching file 'source/types.h'
129:debug:patch Privilege de-escalation not attempted as not running as root.
130:debug:configure configure phase started at Wed Mar  1 12:42:15 JST 2023
131:notice:configure --->  Configuring moria
132:debug:configure Preferred compilers: clang macports-clang-14 macports-clang-13 macports-clang-12 macports-clang-11
133:debug:configure Using compiler 'Xcode Clang'
134:debug:configure Executing org.macports.configure (moria)
135:debug:configure Executing portconfigure::configure_finish
136:debug:configure Privilege de-escalation not attempted as not running as root.
137:debug:build build phase started at Wed Mar  1 12:42:15 JST 2023
138:notice:build --->  Building moria
139:debug:build Executing proc-pre-org.macports.build-build-0
140: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)
141: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
142: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
143:info:build --->  Patching Makefile: s|^CC = cc|CC = /usr/bin/clang|
144: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 >@file14
145:debug:build euid/egid changed to: 0/0
146: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
147:debug:build euid/egid changed to: 502/501
148:debug:build euid/egid changed to: 0/0
149: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
150:debug:build euid/egid changed to: 502/501
151:info:build --->  Patching Makefile: s|CFLAGS = -O|CFLAGS = -O -I/opt/local/include -I/opt/local/include/ncurses|
152: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 >@file14
153:debug:build euid/egid changed to: 0/0
154: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
155:debug:build euid/egid changed to: 502/501
156:debug:build euid/egid changed to: 0/0
157: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
158:debug:build euid/egid changed to: 502/501
159:info:build --->  Patching Makefile: s|LFLAGS =|LFLAGS = -L/opt/local/lib|
160: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 >@file14
161:debug:build euid/egid changed to: 0/0
162: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
163:debug:build euid/egid changed to: 502/501
164:debug:build euid/egid changed to: 0/0
165: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
166:debug:build euid/egid changed to: 502/501
167:info:build --->  Patching Makefile: s|CURSES = -lcurses -ltermcap|CURSES = -lncurses|
168: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 >@file14
169:debug:build euid/egid changed to: 0/0
170: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
171:debug:build euid/egid changed to: 502/501
172:debug:build euid/egid changed to: 0/0
173: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
174:debug:build euid/egid changed to: 502/501
175:info:build --->  Patching config.h: s|/home/math/grabiner/moria/files|/opt/local/var/games/moria|
176: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 >@file14
177:debug:build euid/egid changed to: 0/0
178: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
179:debug:build euid/egid changed to: 502/501
180:debug:build euid/egid changed to: 0/0
181: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
182:debug:build euid/egid changed to: 502/501
183:debug:build Executing org.macports.build (moria)
184:debug:build Environment:
185:debug:build CC_PRINT_OPTIONS='YES'
186: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'
187:debug:build CPATH='/opt/local/include'
188:debug:build DEVELOPER_DIR='/Library/Developer/CommandLineTools'
189:debug:build LIBRARY_PATH='/opt/local/lib'
190:debug:build MACOSX_DEPLOYMENT_TARGET='13.0'
191:debug:build SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk'
192: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 -j10 -w
193: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 -j10 -w
194: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'
195:info:build /usr/bin/clang -O -I/opt/local/include -I/opt/local/include/ncurses   -c -o main.o main.c
196:info:build /usr/bin/clang -O -I/opt/local/include -I/opt/local/include/ncurses   -c -o misc1.o misc1.c
197:info:build /usr/bin/clang -O -I/opt/local/include -I/opt/local/include/ncurses   -c -o misc2.o misc2.c
198:info:build /usr/bin/clang -O -I/opt/local/include -I/opt/local/include/ncurses   -c -o misc3.o misc3.c
199:info:build /usr/bin/clang -O -I/opt/local/include -I/opt/local/include/ncurses   -c -o misc4.o misc4.c
200:info:build /usr/bin/clang -O -I/opt/local/include -I/opt/local/include/ncurses   -c -o store1.o store1.c
201:info:build /usr/bin/clang -O -I/opt/local/include -I/opt/local/include/ncurses   -c -o files.o files.c
202:info:build /usr/bin/clang -O -I/opt/local/include -I/opt/local/include/ncurses   -c -o io.o io.c
203:info:build /usr/bin/clang -O -I/opt/local/include -I/opt/local/include/ncurses   -c -o create.o create.c
204:info:build /usr/bin/clang -O -I/opt/local/include -I/opt/local/include/ncurses   -c -o desc.o desc.c
205:info:build store1.c:450:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
206:info:build     else
207:info:build     ^
208:info:build misc1.c:443:14: error: implicitly declaring library function 'abs' with type 'int (int)' [-Werror,-Wimplicit-function-declaration]
209:info:build     scale2 = abs(deltaX * deltaY);
210:info:build              ^
211:info:build misc1.c:443:14: note: include the header <stdlib.h> or explicitly provide a declaration for 'abs'
212:info:build misc1.c:794:2: error: implicitly declaring library function 'abort' with type 'void (void) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
213:info:build         abort();
214:info:build         ^
215:info:build misc1.c:794:2: note: include the header <stdlib.h> or explicitly provide a declaration for 'abort'
216:info:build desc.c:353:14: error: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Werror,-Wimplicit-function-declaration]
217:info:build       (void) sprintf(damstr, " (%dd%d)", i_ptr->damage[0], i_ptr->damage[1]);
218:info:build              ^
219:info:build desc.c:353:14: note: include the header <stdio.h> or explicitly provide a declaration for 'sprintf'
220:info:build 2 errors generated.
221:info:build desc.c:560:39: error: implicitly declaring library function 'abs' with type 'int (int)' [-Werror,-Wimplicit-function-declaration]
222:info:build                            (i_ptr->tohit < 0) ? '-' : '+', abs(i_ptr->tohit),
223:info:build misc4.c:43:11: error: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Werror,-Wimplicit-function-declaration]
224:info:build           (void) sprintf(out_val, "Inscribing %s", tmp_str);
225:info:build                  ^
226:info:build misc4.c:43:11: note: include the header <stdio.h> or explicitly provide a declaration for 'sprintf'
227:info:build                                                            ^
228:info:build desc.c:560:39: note: include the header <stdlib.h> or explicitly provide a declaration for 'abs'
229:info:build 1 error generated.
230:info:build desc.c:659:21: warning: multiple unsequenced modifications to 'indexx' [-Wunsequenced]
231:info:build           indexx = (indexx <<= 6) +
232:info:build                  ~         ^
233:info:build 1 warning and 2 errors generated.
234:info:build create.c:161:14: error: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Werror,-Wimplicit-function-declaration]
235:info:build       (void) sprintf(tmp_str, "%c) %s", k+'a', race[j].trace);
236:info:build              ^
237:info:build create.c:161:14: note: include the header <stdio.h> or explicitly provide a declaration for 'sprintf'
238:info:build files.c:101:7: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
239:info:build       exit(1);
240:info:build       ^
241:info:build files.c:101:7: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
242:info:build make: *** [misc1.o] Error 1
243:info:build make: *** Waiting for unfinished jobs....
244:info:build 1 error generated.
245:info:build make: *** [desc.o] Error 1
246:info:build files.c:260:11: error: implicit declaration of function 'atoi' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
247:info:build   level = atoi(tmp_str);
248:info:build           ^
249:info:build make: *** [misc4.o] Error 1
250:info:build make: *** [create.o] Error 1
251:info:build files.c:448:60: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat]
252:info:build       (void) fprintf(file1, "%7sExperience : %7ld", blank, py.misc.exp);
253:info:build                                              ~~~~          ^~~~~~~~~~~
254:info:build                                              %7d
255:info:build files.c:451:60: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat]
256:info:build       (void) fprintf(file1, "%7sMax Exp    : %7ld", blank, py.misc.max_exp);
257:info:build                                              ~~~~          ^~~~~~~~~~~~~~~
258:info:build                                              %7d
259:info:build files.c:458:10: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat]
260:info:build                        (int32)(player_exp[py.misc.lev-1]
261:info:build                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
262:info:build files.c:462:8: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat]
263:info:build                      py.misc.au);
264:info:build                      ^~~~~~~~~~
265:info:build misc3.c:249:9: error: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Werror,-Wimplicit-function-declaration]
266:info:build         (void) sprintf(out_val, " %2d/%02d", part1, part2);
267:info:build                ^
268:info:build misc3.c:249:9: note: include the header <stdio.h> or explicitly provide a declaration for 'sprintf'
269:info:build 4 warnings and 2 errors generated.
270:info:build misc3.c:286:47: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat]
271:info:build   (void) sprintf(out_val, "%s: %6ld", header, num);
272:info:build                                ~~~~           ^~~
273:info:build                                %6d
274:info:build misc3.c:298:47: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat]
275:info:build   (void) sprintf(out_val, "%s: %7ld", header, num);
276:info:build                                ~~~~           ^~~
277:info:build                                %7d
278:info:build misc3.c:320:35: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat]
279:info:build   (void) sprintf(out_val, "%6ld", num);
280:info:build                            ~~~~   ^~~
281:info:build                            %6d
282:info:build io.c:319:17: warning: comparison between pointer and integer ('WINDOW *' (aka 'struct _win_st *') and 'int') [-Wpointer-integer-compare]
283:info:build   if (initscr() == ERR)
284:info:build       ~~~~~~~~~ ^  ~~~
285:info:build io.c:323:7: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
286:info:build       exit(1);
287:info:build       ^
288:info:build io.c:323:7: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
289:info:build io.c:337:27: warning: incompatible function pointer types passing 'int ()' to parameter of type 'void (*)(int)' [-Wincompatible-function-pointer-types]
290:info:build   (void) signal (SIGTSTP, suspend);
291:info:build                           ^~~~~~~
292:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/sys/signal.h:390:30: note: passing argument to parameter here
293:info:build     void(*signal(int, void (*)(int)))(int);
294:info:build                              ^
295:info:build io.c:497:7: error: implicitly declaring library function 'abort' with type 'void (void) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
296:info:build       abort();
297:info:build       ^
298:info:build io.c:497:7: note: include the header <stdlib.h> or explicitly provide a declaration for 'abort'
299:info:build io.c:741:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
300:info:build       if (str = getenv("SHELL"))
301:info:build           ~~~~^~~~~~~~~~~~~~~~~
302:info:build io.c:741:15: note: place parentheses around the assignment to silence this warning
303:info:build       if (str = getenv("SHELL"))
304:info:build               ^
305:info:build           (                    )
306:info:build io.c:741:15: note: use '==' to turn this assignment into an equality comparison
307:info:build       if (str = getenv("SHELL"))
308:info:build               ^
309:info:build               ==
310:info:build io.c:763:15: warning: incompatible pointer types passing 'union wait *' to parameter of type 'int *' [-Wincompatible-pointer-types]
311:info:build   (void) wait((union wait *) 0);
312:info:build               ^~~~~~~~~~~~~~~~
313:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/sys/wait.h:248:19: note: passing argument to parameter here
314:info:build pid_t   wait(int *) __DARWIN_ALIAS_C(wait);
315:info:build                   ^
316:info:build make: *** [files.o] Error 1
317:info:build 4 warnings and 2 errors generated.
318:info:build misc2.c:1042:14: error: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Werror,-Wimplicit-function-declaration]
319:info:build       (void) sprintf(string, "%-38s: %s", options[max].o_prompt,
320:info:build              ^
321:info:build misc2.c:1042:14: note: include the header <stdio.h> or explicitly provide a declaration for 'sprintf'
322:info:build 1 error generated.
323:info:build misc3.c:2243:47: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat]
324:info:build         (void) sprintf(object_str, "%s+%ld%s", str1, number, str2);
325:info:build                                        ~~~           ^~~~~~
326:info:build                                        %d
327:info:build misc3.c:2245:46: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat]
328:info:build         (void) sprintf(object_str, "%s%ld%s", str1, number, str2);
329:info:build                                       ~~~           ^~~~~~
330:info:build                                       %d
331:info:build main.c:226:7: error: implicit declaration of function 'perror' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
332:info:build       perror("Can't set permissions correctly!  Setuid call failed.\n");
333:info:build       ^
334:info:build 5 warnings and 1 error generated.
335:info:build make: *** [io.o] Error 1
336:info:build make: *** [misc2.o] Error 1
337:info:build main.c:226:7: note: did you mean '__error'?
338:info:build ./externs.h:40:12: note: '__error' declared here
339:info:build extern int errno;
340:info:build            ^
341:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/sys/errno.h:81:17: note: expanded from macro 'errno'
342:info:build #define errno (*__error())
343:info:build                 ^
344:info:build main.c:227:7: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
345:info:build       exit(0);
346:info:build       ^
347:info:build main.c:227:7: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
348:info:build main.c:231:7: error: implicit declaration of function 'perror' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
349:info:build       perror("Can't set permissions correctly!  Setgid call failed.\n");
350:info:build       ^
351:info:build main.c:279:11: error: implicit declaration of function 'atoi' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
352:info:build           seed = atoi(&argv[0][2]);
353:info:build                  ^
354:info:build main.c:281:23: error: implicitly declaring library function 'printf' with type 'int (const char *, ...)' [-Werror,-Wimplicit-function-declaration]
355:info:build       default: (void) printf("Usage: moria [-norsw] [savefile]\n");
356:info:build                       ^
357:info:build main.c:281:23: note: include the header <stdio.h> or explicitly provide a declaration for 'printf'
358:info:build main.c:326:12: error: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Werror,-Wimplicit-function-declaration]
359:info:build     (void) sprintf(savefile, "%s/%s", p, MORIA_SAV);
360:info:build            ^
361:info:build main.c:326:12: note: include the header <stdio.h> or explicitly provide a declaration for 'sprintf'
362:info:build 6 errors generated.
363:info:build make: *** [misc3.o] Error 1
364:info:build make: *** [main.o] Error 1
365:info:build 1 warning generated.
366: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'
367: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 -j10 -w
368:info:build Exit code: 2
369:error:build Failed to build moria: command execution failed
370:debug:build Error code: CHILDSTATUS 8915 2
371:debug:build Backtrace: command execution failed
372:debug:build     while executing
373:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
374:debug:build     invoked from within
375:debug:build "command_exec -callback portprogress::target_progress_callback build"
376:debug:build     (procedure "portbuild::build_main" line 8)
377:debug:build     invoked from within
378:debug:build "$procedure $targetname"
379: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.