Ticket #59627: main.log

File main.log, 57.5 KB (added by sierkb (Sierk Bornemann), 5 years ago)

yara main.log

Line 
1version:1
2:debug:sysinfo macOS 10.13 (darwin/17.7.0) arch i386
3:debug:sysinfo MacPorts 2.6.2
4:debug:sysinfo Xcode 10.1
5:debug:sysinfo SDK 10.13
6:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.13
7:msg:clean --->  Computing dependencies for yara:info:clean .:debug:clean yara has no conflicts
8:debug:clean Searching for dependency: autoconf
9:debug:clean Found Dependency: receipt exists for autoconf
10:debug:clean Searching for dependency: automake
11:debug:clean Found Dependency: receipt exists for automake
12:debug:clean Searching for dependency: libtool
13:debug:clean Found Dependency: receipt exists for libtool
14:debug:clean Searching for dependency: libmagic
15:debug:clean Found Dependency: receipt exists for libmagic
16:debug:clean Searching for dependency: jansson
17:debug:clean Found Dependency: receipt exists for jansson
18:debug:clean Searching for dependency: openssl
19:debug:clean Found Dependency: receipt exists for openssl
20:debug:clean Searching for dependency: pcre
21:debug:clean Found Dependency: receipt exists for pcre
22:debug:main Executing org.macports.main (yara)
23:debug:main dropping privileges: euid changed to 503, egid changed to 501.
24:debug:archivefetch archivefetch phase started at Thu Nov  7 11:03:00 CET 2019
25:msg:archivefetch --->  Fetching archive for yara
26:debug:archivefetch Executing org.macports.archivefetch (yara)
27:debug:archivefetch euid/egid changed to: 0/0
28:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
29:debug:archivefetch euid/egid changed to: 503/501
30:info:archivefetch --->  yara-3.11.0_0.darwin_17.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
31:msg:archivefetch --->  Attempting to fetch yara-3.11.0_0.darwin_17.x86_64.tbz2 from https://packages.macports.org/yara
32:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
33:msg:archivefetch --->  Attempting to fetch yara-3.11.0_0.darwin_17.x86_64.tbz2 from http://nue.de.packages.macports.org/yara
34:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
35:msg:archivefetch --->  Attempting to fetch yara-3.11.0_0.darwin_17.x86_64.tbz2 from http://lil.fr.packages.macports.org/yara
36:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
37:debug:archivefetch Privilege de-escalation not attempted as not running as root.
38:debug:fetch fetch phase started at Thu Nov  7 11:03:00 CET 2019
39:notice:fetch --->  Fetching distfiles for yara
40:debug:fetch Executing org.macports.fetch (yara)
41:info:fetch --->  yara-3.11.0.tar.gz does not exist in /opt/local/var/macports/distfiles/yara
42:notice:fetch --->  Attempting to fetch yara-3.11.0.tar.gz from https://distfiles.macports.org/yara
43:debug:fetch Privilege de-escalation not attempted as not running as root.
44:debug:checksum checksum phase started at Thu Nov  7 11:03:04 CET 2019
45:notice:checksum --->  Verifying checksums for yara
46:debug:checksum Executing org.macports.checksum (yara)
47:info:checksum --->  Checksumming yara-3.11.0.tar.gz
48:debug:checksum Calculated (rmd160) is ebdc9981ee08bf1866e7e2000cebc0c99e74cf0b
49:debug:checksum Correct (rmd160) checksum for yara-3.11.0.tar.gz
50:debug:checksum Calculated (sha256) is 2ee3b38a0df9a28aac82cd343dd4e6e20886dce6cc40d45d0b3bb689fd02168c
51:debug:checksum Correct (sha256) checksum for yara-3.11.0.tar.gz
52:debug:checksum Calculated (size) is 772323
53:debug:checksum Correct (size) checksum for yara-3.11.0.tar.gz
54:debug:checksum Privilege de-escalation not attempted as not running as root.
55:debug:extract extract phase started at Thu Nov  7 11:03:04 CET 2019
56:notice:extract --->  Extracting yara
57:debug:extract Executing org.macports.extract (yara)
58:info:extract --->  Extracting yara-3.11.0.tar.gz
59:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/yara/yara-3.11.0.tar.gz'
60:debug:extract Environment:
61:debug:extract CC_PRINT_OPTIONS='YES'
62:debug:extract CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/work/.CC_PRINT_OPTIONS'
63:debug:extract CPATH='/opt/local/include'
64:debug:extract DEVELOPER_DIR='/Library/Developer/CommandLineTools'
65:debug:extract LIBRARY_PATH='/opt/local/lib'
66:debug:extract MACOSX_DEPLOYMENT_TARGET='10.13'
67:info:extract Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/yara/yara-3.11.0.tar.gz' | /usr/bin/tar -xf -
68:debug:extract system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/yara/yara-3.11.0.tar.gz' | /usr/bin/tar -xf -
69:debug:extract euid/egid changed to: 0/0
70:debug:extract chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/work to macports
71:debug:extract euid/egid changed to: 503/501
72:debug:extract Symlink: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/work/yara-3.11.0 -> VirusTotal-yara-45d3964
73:debug:extract Executing proc-post-org.macports.extract-extract-0
74:debug:extract Privilege de-escalation not attempted as not running as root.
75:debug:patch patch phase started at Thu Nov  7 11:03:04 CET 2019
76:debug:patch Executing org.macports.patch (yara)
77:debug:patch Privilege de-escalation not attempted as not running as root.
78:debug:configure configure phase started at Thu Nov  7 11:03:04 CET 2019
79:notice:configure --->  Configuring yara
80: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
81:debug:configure Using compiler 'Xcode Clang'
82:debug:configure Executing proc-pre-org.macports.configure-configure-0
83:debug:configure system -W /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/work/yara-3.11.0: ./bootstrap.sh
84:info:configure glibtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
85:info:configure glibtoolize: copying file 'build-aux/ltmain.sh'
86:info:configure glibtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
87:info:configure glibtoolize: copying file 'm4/libtool.m4'
88:info:configure glibtoolize: copying file 'm4/ltoptions.m4'
89:info:configure glibtoolize: copying file 'm4/ltsugar.m4'
90:info:configure glibtoolize: copying file 'm4/ltversion.m4'
91:info:configure glibtoolize: copying file 'm4/lt~obsolete.m4'
92:info:configure configure.ac:20: installing 'build-aux/ar-lib'
93:info:configure configure.ac:20: installing 'build-aux/compile'
94:info:configure configure.ac:28: installing 'build-aux/config.guess'
95:info:configure configure.ac:28: installing 'build-aux/config.sub'
96:info:configure configure.ac:8: installing 'build-aux/install-sh'
97:info:configure configure.ac:8: installing 'build-aux/missing'
98:info:configure Makefile.am: installing 'build-aux/depcomp'
99:info:configure parallel-tests: installing 'build-aux/test-driver'
100:info:configure configure.ac: installing 'build-aux/ylwrap'
101:debug:configure Executing org.macports.configure (yara)
102:debug:configure Environment:
103:debug:configure CC='/usr/bin/clang'
104:debug:configure CC_PRINT_OPTIONS='YES'
105:debug:configure CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/work/.CC_PRINT_OPTIONS'
106:debug:configure CFLAGS='-pipe -Os -std=gnu89 -arch x86_64'
107:debug:configure CPATH='/opt/local/include'
108:debug:configure CPPFLAGS='-I/opt/local/include'
109:debug:configure CXX='/usr/bin/clang++'
110:debug:configure CXXFLAGS='-pipe -Os -stdlib=libc++ -arch x86_64'
111:debug:configure DEVELOPER_DIR='/Library/Developer/CommandLineTools'
112:debug:configure F90FLAGS='-pipe -Os -m64'
113:debug:configure FCFLAGS='-pipe -Os -m64'
114:debug:configure FFLAGS='-pipe -Os -m64'
115:debug:configure INSTALL='/usr/bin/install -c'
116:debug:configure LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64'
117:debug:configure LIBRARY_PATH='/opt/local/lib'
118:debug:configure MACOSX_DEPLOYMENT_TARGET='10.13'
119:debug:configure OBJC='/usr/bin/clang'
120:debug:configure OBJCFLAGS='-pipe -Os -arch x86_64'
121:debug:configure OBJCXX='/usr/bin/clang++'
122:debug:configure OBJCXXFLAGS='-pipe -Os -stdlib=libc++ -arch x86_64'
123:info:configure Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/work/yara-3.11.0" && ./configure --prefix=/opt/local --with-crypto --enable-cuckoo --enable-magic
124:debug:configure system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/work/yara-3.11.0" && ./configure --prefix=/opt/local --with-crypto --enable-cuckoo --enable-magic
125:info:configure checking whether make supports nested variables... yes
126:info:configure checking for a BSD-compatible install... /usr/bin/install -c
127:info:configure checking whether build environment is sane... yes
128:info:configure checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
129:info:configure checking for gawk... no
130:info:configure checking for mawk... no
131:info:configure checking for nawk... no
132:info:configure checking for awk... awk
133:info:configure checking whether make sets $(MAKE)... yes
134:info:configure checking whether make supports the include directive... yes (GNU style)
135:info:configure checking for gcc... /usr/bin/clang
136:info:configure checking whether the C compiler works... yes
137:info:configure checking for C compiler default output file name... a.out
138:info:configure checking for suffix of executables...
139:info:configure checking whether we are cross compiling... no
140:info:configure checking for suffix of object files... o
141:info:configure checking whether we are using the GNU C compiler... yes
142:info:configure checking whether /usr/bin/clang accepts -g... yes
143:info:configure checking for /usr/bin/clang option to accept ISO C89... none needed
144:info:configure checking whether /usr/bin/clang understands -c and -o together... yes
145:info:configure checking dependency style of /usr/bin/clang... gcc3
146:info:configure checking for ar... ar
147:info:configure checking the archiver (ar) interface... ar
148:info:configure checking for gcc... (cached) /usr/bin/clang
149:info:configure checking whether we are using the GNU C compiler... (cached) yes
150:info:configure checking whether /usr/bin/clang accepts -g... (cached) yes
151:info:configure checking for /usr/bin/clang option to accept ISO C89... (cached) none needed
152:info:configure checking whether /usr/bin/clang understands -c and -o together... (cached) yes
153:info:configure checking dependency style of /usr/bin/clang... (cached) gcc3
154:info:configure checking for flex... flex
155:info:configure checking lex output file root... lex.yy
156:info:configure checking lex library... -ll
157:info:configure checking whether yytext is a pointer... yes
158:info:configure checking for bison... bison -y
159:info:configure checking for special C compiler options needed for large files... no
160:info:configure checking for _FILE_OFFSET_BITS value needed for large files... no
161:info:configure checking build system type... x86_64-apple-darwin17.7.0
162:info:configure checking host system type... x86_64-apple-darwin17.7.0
163:info:configure checking how to print strings... printf
164:info:configure checking for a sed that does not truncate output... /usr/bin/sed
165:info:configure checking for grep that handles long lines and -e... /usr/bin/grep
166:info:configure checking for egrep... /usr/bin/grep -E
167:info:configure checking for fgrep... /usr/bin/grep -F
168:info:configure checking for ld used by /usr/bin/clang... /Library/Developer/CommandLineTools/usr/bin/ld
169:info:configure checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
170:info:configure checking for BSD- or MS-compatible name lister (nm)... /opt/local/bin/nm -B
171:info:configure checking the name lister (/opt/local/bin/nm -B) interface... BSD nm
172:info:configure checking whether ln -s works... yes
173:info:configure checking the maximum length of command line arguments... 196608
174:info:configure checking how to convert x86_64-apple-darwin17.7.0 file names to x86_64-apple-darwin17.7.0 format... func_convert_file_noop
175:info:configure checking how to convert x86_64-apple-darwin17.7.0 file names to toolchain format... func_convert_file_noop
176:info:configure checking for /Library/Developer/CommandLineTools/usr/bin/ld option to reload object files... -r
177:info:configure checking for objdump... objdump
178:info:configure checking how to recognize dependent libraries... pass_all
179:info:configure checking for dlltool... no
180:info:configure checking how to associate runtime and link libraries... printf %s\n
181:info:configure checking for archiver @FILE support... no
182:info:configure checking for strip... strip
183:info:configure checking for ranlib... ranlib
184:info:configure checking command to parse /opt/local/bin/nm -B output from /usr/bin/clang object... ok
185:info:configure checking for sysroot... no
186:info:configure checking for a working dd... /bin/dd
187:info:configure checking how to truncate binary pipes... /bin/dd bs=4096 count=1
188:info:configure checking for mt... no
189:info:configure checking if : is a manifest tool... no
190:info:configure checking for dsymutil... dsymutil
191:info:configure checking for nmedit... nmedit
192:info:configure checking for lipo... lipo
193:info:configure checking for otool... otool
194:info:configure checking for otool64... no
195:info:configure checking for -single_module linker flag... yes
196:info:configure checking for -exported_symbols_list linker flag... yes
197:info:configure checking for -force_load linker flag... yes
198:info:configure checking how to run the C preprocessor... /usr/bin/clang -E
199:info:configure checking for ANSI C header files... yes
200:info:configure checking for sys/types.h... yes
201:info:configure checking for sys/stat.h... yes
202:info:configure checking for stdlib.h... yes
203:info:configure checking for string.h... yes
204:info:configure checking for memory.h... yes
205:info:configure checking for strings.h... yes
206:info:configure checking for inttypes.h... yes
207:info:configure checking for stdint.h... yes
208:info:configure checking for unistd.h... yes
209:info:configure checking for dlfcn.h... yes
210:info:configure checking for objdir... .libs
211:info:configure checking if /usr/bin/clang supports -fno-rtti -fno-exceptions... yes
212:info:configure checking for /usr/bin/clang option to produce PIC... -fno-common -DPIC
213:info:configure checking if /usr/bin/clang PIC flag -fno-common -DPIC works... yes
214:info:configure checking if /usr/bin/clang static flag -static works... no
215:info:configure checking if /usr/bin/clang supports -c -o file.o... yes
216:info:configure checking if /usr/bin/clang supports -c -o file.o... (cached) yes
217:info:configure checking whether the /usr/bin/clang linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
218:info:configure checking dynamic linker characteristics... darwin17.7.0 dyld
219:info:configure checking how to hardcode library paths into programs... immediate
220:info:configure checking whether stripping libraries is possible... yes
221:info:configure checking if libtool supports shared libraries... yes
222:info:configure checking whether to build shared libraries... yes
223:info:configure checking whether to build static libraries... yes
224:info:configure checking whether byte ordering is bigendian... no
225:info:configure checking for the pthreads library -lpthreads... no
226:info:configure checking whether pthreads work without any flags... yes
227:info:configure checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
228:info:configure checking if more special flags are required for pthreads... -D_THREAD_SAFE
229:info:configure checking whether to check for GCC pthread/shared inconsistencies... no
230:info:configure checking for isnan in -lm... yes
231:info:configure checking for log2 in -lm... yes
232:info:configure checking for strlcpy... yes
233:info:configure checking for strlcat... yes
234:info:configure checking for memmem... yes
235:info:configure checking for timegm... yes
236:info:configure checking for _mkgmtime... no
237:info:configure checking jansson.h usability... yes
238:info:configure checking jansson.h presence... yes
239:info:configure checking for jansson.h... yes
240:info:configure checking for json_loadb in -ljansson... yes
241:info:configure checking magic.h usability... yes
242:info:configure checking magic.h presence... yes
243:info:configure checking for magic.h... yes
244:info:configure checking for magic_open in -lmagic... yes
245:info:configure checking openssl/md5.h usability... yes
246:info:configure checking openssl/md5.h presence... yes
247:info:configure checking for openssl/md5.h... yes
248:info:configure checking openssl/sha.h usability... yes
249:info:configure checking openssl/sha.h presence... yes
250:info:configure checking for openssl/sha.h... yes
251:info:configure checking openssl/asn1.h usability... yes
252:info:configure checking openssl/asn1.h presence... yes
253:info:configure checking for openssl/asn1.h... yes
254:info:configure checking openssl/crypto.h usability... yes
255:info:configure checking openssl/crypto.h presence... yes
256:info:configure checking for openssl/crypto.h... yes
257:info:configure checking openssl/bio.h usability... yes
258:info:configure checking openssl/bio.h presence... yes
259:info:configure checking for openssl/bio.h... yes
260:info:configure checking openssl/pkcs7.h usability... yes
261:info:configure checking openssl/pkcs7.h presence... yes
262:info:configure checking for openssl/pkcs7.h... yes
263:info:configure checking openssl/x509.h usability... yes
264:info:configure checking openssl/x509.h presence... yes
265:info:configure checking for openssl/x509.h... yes
266:info:configure checking openssl/safestack.h usability... yes
267:info:configure checking openssl/safestack.h presence... yes
268:info:configure checking for openssl/safestack.h... yes
269:info:configure checking for MD5_Init in -lcrypto... yes
270:info:configure checking for MD5_Update in -lcrypto... yes
271:info:configure checking for MD5_Final in -lcrypto... yes
272:info:configure checking for SHA256_Init in -lcrypto... yes
273:info:configure checking for SHA256_Update in -lcrypto... yes
274:info:configure checking for SHA256_Final in -lcrypto... yes
275:info:configure checking stdbool.h usability... yes
276:info:configure checking stdbool.h presence... yes
277:info:configure checking for stdbool.h... yes
278:info:configure checking for clock_gettime... yes
279:info:configure checking that generated files are newer than configure... done
280:info:configure configure: creating ./config.status
281:info:configure config.status: creating Makefile
282:info:configure config.status: creating libyara/Makefile
283:info:configure config.status: creating libyara/yara.pc
284:info:configure config.status: executing depfiles commands
285:info:configure config.status: executing libtool commands
286:debug:configure Executing proc-post-org.macports.configure-configure-0
287:info:configure --->  Patching Makefile: s|$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)|$(CFLAGS) $(AM_CFLAGS) $(CPPFLAGS)|
288:debug:configure Executing reinplace: /usr/bin/sed {s|$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)|$(CFLAGS) $(AM_CFLAGS) $(CPPFLAGS)|} </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/work/yara-3.11.0/Makefile >@file11
289:debug:configure euid/egid changed to: 0/0
290:debug:configure chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/work/yara-3.11.0/Makefile to macports
291:debug:configure euid/egid changed to: 503/501
292:debug:configure euid/egid changed to: 0/0
293:debug:configure setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/work/yara-3.11.0/Makefile
294:debug:configure euid/egid changed to: 503/501
295:info:configure --->  Patching Makefile: s|$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS)|$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CFLAGS)|
296:debug:configure Executing reinplace: /usr/bin/sed {s|$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS)|$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CFLAGS)|} </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/work/yara-3.11.0/Makefile >@file11
297:debug:configure euid/egid changed to: 0/0
298:debug:configure chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/work/yara-3.11.0/Makefile to macports
299:debug:configure euid/egid changed to: 503/501
300:debug:configure euid/egid changed to: 0/0
301:debug:configure setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/work/yara-3.11.0/Makefile
302:debug:configure euid/egid changed to: 503/501
303:info:configure --->  Patching Makefile: s|     $(AM_CFLAGS) $(CFLAGS)| $(AM_CFLAGS) $(CPPFLAGS)|
304:debug:configure Executing reinplace: /usr/bin/sed {s|  $(AM_CFLAGS) $(CFLAGS)| $(AM_CFLAGS) $(CPPFLAGS)|} </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/work/yara-3.11.0/Makefile >@file11
305:debug:configure euid/egid changed to: 0/0
306:debug:configure chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/work/yara-3.11.0/Makefile to macports
307:debug:configure euid/egid changed to: 503/501
308:debug:configure euid/egid changed to: 0/0
309:debug:configure setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/work/yara-3.11.0/Makefile
310:debug:configure euid/egid changed to: 503/501
311:debug:configure Privilege de-escalation not attempted as not running as root.
312:debug:build build phase started at Thu Nov  7 11:03:42 CET 2019
313:notice:build --->  Building yara
314:debug:build Executing org.macports.build (yara)
315:debug:build Environment:
316:debug:build CC_PRINT_OPTIONS='YES'
317:debug:build CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/work/.CC_PRINT_OPTIONS'
318:debug:build CPATH='/opt/local/include'
319:debug:build DEVELOPER_DIR='/Library/Developer/CommandLineTools'
320:debug:build LIBRARY_PATH='/opt/local/lib'
321:debug:build MACOSX_DEPLOYMENT_TARGET='10.13'
322:info:build Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/work/yara-3.11.0" && /usr/bin/make -j4 -w all
323:debug:build system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/work/yara-3.11.0" && /usr/bin/make -j4 -w all
324:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/work/VirusTotal-yara-45d3964'
325:info:build Making all in libyara
326:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/work/VirusTotal-yara-45d3964/libyara'
327:info:build /Library/Developer/CommandLineTools/usr/bin/make  all-am
328:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/work/VirusTotal-yara-45d3964/libyara'
329:info:build   CC       grammar.lo
330:info:build   CC       ahocorasick.lo
331:info:build   CC       arena.lo
332:info:build   CC       atoms.lo
333:info:build In file included from grammar.y:42:
334:info:build /opt/local/include/yara/strutils.h:38:10: fatal error: 'config.h' file not found
335:info:build #include "config.h"
336:info:build          ^~~~~~~~~~
337:info:build arena.c:185:25: error: use of undeclared identifier 'ARENA_FLAGS_RELOCATABLE'
338:info:build   assert(arena->flags & ARENA_FLAGS_RELOCATABLE);
339:info:build                         ^
340:info:build arena.c:202:14: error: use of undeclared identifier 'ERROR_INSUFFICIENT_MEMORY'
341:info:build       return ERROR_INSUFFICIENT_MEMORY;
342:info:build              ^
343:info:build arena.c:248:12: error: use of undeclared identifier 'ERROR_INSUFFICIENT_MEMORY'
344:info:build     return ERROR_INSUFFICIENT_MEMORY;
345:info:build            ^
346:info:build arena.c:255:12: error: use of undeclared identifier 'ERROR_INSUFFICIENT_MEMORY'
347:info:build     return ERROR_INSUFFICIENT_MEMORY;
348:info:build            ^
349:info:build arena.c:444:12: error: use of undeclared identifier 'ERROR_INSUFFICIENT_MEMORY'
350:info:build     return ERROR_INSUFFICIENT_MEMORY;
351:info:build            ^
352:info:build atoms.c:113:5: error: unknown type name 'YR_ATOMS_CONFIG'
353:info:build     YR_ATOMS_CONFIG* config,
354:info:build     ^
355:info:build atoms.c:114:5: error: unknown type name 'YR_ATOM'
356:info:build     YR_ATOM* atom)
357:info:build     ^
358:info:build arena.c:555:16: error: use of undeclared identifier 'ERROR_INSUFFICIENT_MEMORY'
359:info:build         return ERROR_INSUFFICIENT_MEMORY;
360:info:build                ^
361:info:build atoms.c:116:3: error: use of undeclared identifier 'YR_BITMASK'
362:info:build   YR_BITMASK seen_bytes[YR_BITMASK_SIZE(256)];
363:info:build   ^
364:info:build atoms.c:123:26: error: use of undeclared identifier 'YR_MAX_ATOM_LENGTH'
365:info:build   assert(atom->length <= YR_MAX_ATOM_LENGTH);
366:info:build                          ^
367:info:build atoms.c:125:3: warning: implicit declaration of function 'yr_bitmask_clear_all' [-Wimplicit-function-declaration]
368:info:build   yr_bitmask_clear_all(seen_bytes);
369:info:build   ^
370:info:build atoms.c:125:24: error: use of undeclared identifier 'seen_bytes'
371:info:build   yr_bitmask_clear_all(seen_bytes);
372:info:build                        ^
373:info:build atoms.c:175:8: warning: implicit declaration of function 'yr_bitmask_isset' [-Wimplicit-function-declaration]
374:info:build       (yr_bitmask_isset(seen_bytes, 0x00) ||
375:info:build        ^
376:info:build arena.c:565:16: error: use of undeclared identifier 'ERROR_INSUFFICIENT_MEMORY'
377:info:build         return ERROR_INSUFFICIENT_MEMORY;
378:info:build                ^
379:info:build atoms.c:175:25: error: use of undeclared identifier 'seen_bytes'
380:info:build       (yr_bitmask_isset(seen_bytes, 0x00) ||
381:info:build                         ^
382:info:build atoms.c:176:25: error: use of undeclared identifier 'seen_bytes'
383:info:build        yr_bitmask_isset(seen_bytes, 0x20) ||
384:info:build                         ^
385:info:build atoms.c:177:25: error: use of undeclared identifier 'seen_bytes'
386:info:build        yr_bitmask_isset(seen_bytes, 0xCC) ||
387:info:build                         ^
388:info:build atoms.c:178:25: error: use of undeclared identifier 'seen_bytes'
389:info:build        yr_bitmask_isset(seen_bytes, 0xFF)))
390:info:build                         ^
391:info:build arena.c:653:49: error: use of undeclared identifier 'ARENA_FLAGS_RELOCATABLE'
392:info:build   if (result == ERROR_SUCCESS && arena->flags & ARENA_FLAGS_RELOCATABLE)
393:info:build                                                 ^
394:info:build arena.c:714:5: error: conflicting types for 'yr_arena_write_data'
395:info:build int yr_arena_write_data(
396:info:build     ^
397:info:build /opt/local/include/yara/arena.h:129:5: note: previous declaration is here
398:info:build int yr_arena_write_data(
399:info:build     ^
400:info:build arena.c:846:25: error: use of undeclared identifier 'ARENA_FLAGS_RELOCATABLE'
401:info:build   assert(arena->flags & ARENA_FLAGS_RELOCATABLE);
402:info:build                         ^
403:info:build atoms.c:185:37: error: use of undeclared identifier 'YR_MAX_ATOM_LENGTH'
404:info:build   return YR_MAX_ATOM_QUALITY - 20 * YR_MAX_ATOM_LENGTH + quality;
405:info:build                                     ^ahocorasick.c:82:12: error: use of undeclared identifier 'ERROR_INSUFFICIENT_MEMORY'
406:info:build atoms.c:185:10:    return ERROR_INSUFFICIENT_MEMORY;
407:info:build            ^
408:info:build  error: use of undeclared identifier 'YR_MAX_ATOM_QUALITY'
409:info:build   return YR_MAX_ATOM_QUALITY - 20 * YR_MAX_ATOM_LENGTH + quality;
410:info:build          ^
411:info:build atoms.c:205:5: error: unknown type name 'YR_ATOM'
412:info:build     YR_ATOM* a2)
413:info:build     ^
414:info:build ahocorasick.c:367:8: error: unknown type name 'bool'
415:info:build static bool _yr_ac_transitions_subset(
416:info:build        ^
417:info:build arena.c:866:14: error: use of undeclared identifier 'ERROR_INSUFFICIENT_MEMORY'
418:info:build       return ERROR_INSUFFICIENT_MEMORY;
419:info:build              ^
420:info:build ahocorasick.c:388:14: error: use of undeclared identifier 'false'
421:info:build       return false;
422:info:build              ^
423:info:build ahocorasick.c:393:10: error: use of undeclared identifier 'true'
424:info:build   return true;
425:info:build          ^
426:info:build atoms.c:248:5: error: unknown type name 'YR_ATOMS_CONFIG'
427:info:build arena.c:952:15: warning: implicit declaration of function 'yr_hash' [-Wimplicit-function-declaration]
428:info:build   real_hash = yr_hash(0, &header, sizeof(header));
429:info:build               ^
430:info:build     YR_ATOMS_CONFIG* config,
431:info:build     ^
432:info:build atoms.c:249:5: error: unknown type name 'YR_ATOM'
433:info:build     YR_ATOM* atom)
434:info:build     ^
435:info:build ahocorasick.c:458:3: error: use of undeclared identifier 'YR_BITMASK'
436:info:build   YR_BITMASK state_bitmask[YR_BITMASK_SIZE(257)];
437:info:build   ^
438:info:build ahocorasick.c:463:3: warning: implicit declaration of function 'yr_bitmask_clear_all' [-Wimplicit-function-declaration]
439:info:build   yr_bitmask_clear_all(state_bitmask);
440:info:build   ^
441:info:build ahocorasick.c:463:24: error: use of undeclared identifier 'state_bitmask'
442:info:build   yr_bitmask_clear_all(state_bitmask);
443:info:build                        ^
444:info:build ahocorasick.c:467:3: warning: implicit declaration of function 'yr_bitmask_set' [-Wimplicit-function-declaration]
445:info:build   yr_bitmask_set(state_bitmask, 0);
446:info:build   ^
447:info:build ahocorasick.c:467:18: error: use of undeclared identifier 'state_bitmask'
448:info:build   yr_bitmask_set(state_bitmask, 0);
449:info:build                  ^
450:info:build ahocorasick.c:471:20: error: use of undeclared identifier 'state_bitmask'
451:info:build     yr_bitmask_set(state_bitmask, child_state->input + 1);
452:info:build                    ^
453:info:build ahocorasick.c:475:11: warning: implicit declaration of function 'yr_bitmask_find_non_colliding_offset' [-Wimplicit-function-declaration]
454:info:build   *slot = yr_bitmask_find_non_colliding_offset(
455:info:build           ^
456:info:build arena.c:1060:25: error: use of undeclared identifier 'ARENA_FLAGS_RELOCATABLE'
457:info:build   assert(arena->flags & ARENA_FLAGS_RELOCATABLE);
458:info:build                         ^
459:info:build ahocorasick.c:476:18: error: no member named 'bitmask' in 'struct _YR_AC_AUTOMATON'
460:info:build       automaton->bitmask,
461:info:build       ~~~~~~~~~  ^
462:info:build ahocorasick.c:477:7: error: use of undeclared identifier 'state_bitmask'
463:info:build       state_bitmask,
464:info:build       ^
465:info:build arena.c:1095:12: error: use of undeclared identifier 'ERROR_WRITING_FILE'
466:info:build     return ERROR_WRITING_FILE;
467:info:build            ^
468:info:build atoms.c:251:3: error: unknown type name 'YR_ATOM_QUALITY_TABLE_ENTRY'; did you mean 'YR_AC_MATCH_TABLE_ENTRY'?arena.c:1098:12: error: use of undeclared identifier 'ERROR_WRITING_FILE'
469:info:build     return ERROR_WRITING_FILE;
470:info:build            ^
471:info:build   YR_ATOM_QUALITY_TABLE_ENTRY* table = config->quality_table;
472:info:build arena.c  ^~~~~~~~~~~~~~~~~~~~~~~~~~~:1100:15: warning:
473:info:build implicit declaration of function 'yr_hash' [-Wimplicit-function-declaration]  YR_AC_MATCH_TABLE_ENTRY
474:info:build /opt/local/include/yara/types.h:284
475:info:build :3: note: 'YR_AC_MATCH_TABLE_ENTRY' declared here
476:info:build } YR_AC_MATCH_TABLE_ENTRY;
477:info:build   ^
478:info:build   file_hash = yr_hash(0, &header, sizeof(header));
479:info:build               ^
480:info:build ahocorasick.c:485:24: error: use of undeclared identifier 'YR_AC_MAX_TRANSITION_TABLE_SIZE'
481:info:build   assert(*slot + 257 < YR_AC_MAX_TRANSITION_TABLE_SIZE);
482:info:build                        ^
483:info:build ahocorasick.c:495:29: warning: implicit declaration of function 'YR_BITMASK_SIZE' [-Wimplicit-function-declaration]
484:info:build       size_t b_bytes_size = YR_BITMASK_SIZE(automaton->tables_size) *
485:info:build                             ^
486:info:build arena.c:1109:ahocorasick.c:496:19: error: use of undeclared identifier 'YR_BITMASK'
487:info:build            sizeof(YR_BITMASK);
488:info:build                   ^
489:info:build 14: error: use of undeclared identifier 'ERROR_WRITING_FILE'
490:info:build ahocorasick.c:504:18: error: no member named 'bitmask' in 'struct _YR_AC_AUTOMATON'
491:info:build       automaton->bitmask = (YR_BITMASK*) yr_realloc(
492:info:build       ~~~~~~~~~  ^
493:info:build atoms.c:256:26: error: use of undeclared identifier 'YR_MAX_ATOM_LENGTH'
494:info:build       return ERROR_WRITING_FILE;  assert(atom->length <= YR_MAX_ATOM_LENGTH);
495:info:build                          ^
496:info:build              ^
497:info:build ahocorasick.c:504:40: error: expected expression
498:info:build       automaton->bitmask = (YR_BITMASK*) yr_realloc(
499:info:build                                        ^
500:info:build ahocorasick.c:504:29: error: use of undeclared identifier 'YR_BITMASK'
501:info:build       automaton->bitmask = (YR_BITMASK*) yr_realloc(
502:info:build                             ^
503:info:build ahocorasick.c:509:atoms.c22:261:41: error: no member named 'atom' in 'struct _YR_AC_MATCH_TABLE_ENTRY'
504:info:build :    int c = _yr_atoms_cmp(table[middle].atom, atom);
505:info:build                           ~~~~~~~~~~~~~ ^
506:info:build  error: no member named 'bitmask' in 'struct _YR_AC_AUTOMATON'atoms.c:
507:info:build           automaton->bitmask == NULL)
508:info:build           ~~~~~~~~~  ^
509:info:build 274:35: error: no member named 'quality' in 'struct _YR_AC_MATCH_TABLE_ENTRY'
510:info:build       int quality = table[middle].quality;
511:info:build                     ~~~~~~~~~~~~~ ^
512:info:build atoms.c:277:48: error: no member named 'atom' in 'struct _YR_AC_MATCH_TABLE_ENTRY'
513:info:build       while (i < end && _yr_atoms_cmp(table[i].atom, atom) == 0)
514:info:build                                       ~~~~~~~~ ^
515:info:build fatal error: too many errors emitted, stopping now [-ferror-limit=]
516:info:build arena.c:1123:12: error: use of undeclared identifier 'ERROR_WRITING_FILE'
517:info:build     return ERROR_WRITING_FILE;
518:info:build            ^
519:info:build ahocorasick.c:511:16: error: use of undeclared identifier 'ERROR_INSUFFICIENT_MEMORY'
520:info:build         return ERROR_INSUFFICIENT_MEMORY;
521:info:build                ^
522:info:build ahocorasick.c:516:36: error: no member named 'bitmask' in 'struct _YR_AC_AUTOMATON'
523:info:build arena.c      memset((uint8_t*) automaton->bitmask + b_bytes_size, 0, b_bytes_size);
524:info:build                         ~~~~~~~~~  ^
525:info:build /usr/include/secure/_string.h:76:27: note: expanded from macro 'memset'
526:info:build                 __builtin___memset_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
527:info:build                                         ^~~~
528:info:build ahocorasick.c:516:36: error: no member named 'bitmask' in 'struct _YR_AC_AUTOMATON'
529:info:build       memset((uint8_t*) automaton->bitmask + b_bytes_size, 0, b_bytes_size);
530:info:build                         ~~~~~~~~~  ^
531:info:build /usr/include/secure/_string.h:76:62: note: expanded from macro 'memset'
532:info:build                 __builtin___memset_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
533:info:build                                                                            ^~~~
534:info:build /usr/include/secure/_common.h:38:55: note: expanded from macro '__darwin_obsz0'
535:info:build #define __darwin_obsz0(object) __builtin_object_size (object, 0)
536:info:build                                                       ^~~~~~
537:info:build fatal error: too many errors emitted, stopping now [-ferror-limit=]
538:info:build :1126:12: error: use of undeclared identifier 'ERROR_WRITING_FILE'
539:info:build     return ERROR_WRITING_FILE;
540:info:build            ^
541:info:build 2 warnings and 17 errors generated.
542:info:build 2 warnings and 20 errors generated.
543:info:build 1 error generated.
544:info:build 4 warnings and 20 errors generated.
545:info:build make[2]: *** [arena.lo] Error 1
546:info:build make[2]: *** Waiting for unfinished jobs....
547:info:build make[2]: *** [atoms.lo] Error 1
548:info:build make[2]: *** [grammar.lo] Error 1
549:info:build make[2]: *** [ahocorasick.lo] Error 1
550:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/work/VirusTotal-yara-45d3964/libyara'
551:info:build make[1]: *** [all] Error 2
552:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/work/VirusTotal-yara-45d3964/libyara'
553:info:build make: *** [all-recursive] Error 1
554:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/work/VirusTotal-yara-45d3964'
555:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/work/yara-3.11.0" && /usr/bin/make -j4 -w all
556:info:build Exit code: 2
557:error:build Failed to build yara: command execution failed
558:debug:build Error code: CHILDSTATUS 6542 2
559:debug:build Backtrace: command execution failed
560:debug:build     while executing
561:debug:build "system {*}$notty {*}$nice $fullcmdstring"
562:debug:build     invoked from within
563:debug:build "command_exec build"
564:debug:build     (procedure "portbuild::build_main" line 8)
565:debug:build     invoked from within
566:debug:build "$procedure $targetname"
567:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/main.log for details.
568version:1
569:debug:sysinfo macOS 10.13 (darwin/17.7.0) arch i386
570:debug:sysinfo MacPorts 2.6.2
571:debug:sysinfo Xcode 10.1
572:debug:sysinfo SDK 10.13
573:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.13
574:msg:main --->  Computing dependencies for yara:info:main .:debug:main yara has no conflicts
575:debug:main Searching for dependency: autoconf
576:debug:main Found Dependency: receipt exists for autoconf
577:debug:main Searching for dependency: automake
578:debug:main Found Dependency: receipt exists for automake
579:debug:main Searching for dependency: libtool
580:debug:main Found Dependency: receipt exists for libtool
581:debug:main Searching for dependency: libmagic
582:debug:main Found Dependency: receipt exists for libmagic
583:debug:main Searching for dependency: jansson
584:debug:main Found Dependency: receipt exists for jansson
585:debug:main Searching for dependency: openssl
586:debug:main Found Dependency: receipt exists for openssl
587:debug:main Searching for dependency: pcre
588:debug:main Found Dependency: receipt exists for pcre
589:debug:main Executing org.macports.main (yara)
590:debug:main dropping privileges: euid changed to 503, egid changed to 501.
591:debug:archivefetch archivefetch phase started at Thu Nov  7 11:06:13 CET 2019
592:msg:archivefetch --->  Fetching archive for yara
593:debug:archivefetch Executing org.macports.archivefetch (yara)
594:debug:archivefetch euid/egid changed to: 0/0
595:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
596:debug:archivefetch euid/egid changed to: 503/501
597:info:archivefetch --->  yara-3.11.0_0.darwin_17.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
598:msg:archivefetch --->  Attempting to fetch yara-3.11.0_0.darwin_17.x86_64.tbz2 from https://packages.macports.org/yara
599:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
600:msg:archivefetch --->  Attempting to fetch yara-3.11.0_0.darwin_17.x86_64.tbz2 from http://nue.de.packages.macports.org/yara
601:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
602:msg:archivefetch --->  Attempting to fetch yara-3.11.0_0.darwin_17.x86_64.tbz2 from http://lil.fr.packages.macports.org/yara
603:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
604:debug:archivefetch Privilege de-escalation not attempted as not running as root.
605:debug:archivefetch Skipping completed org.macports.fetch (yara)
606:debug:archivefetch Privilege de-escalation not attempted as not running as root.
607:debug:archivefetch Skipping completed org.macports.checksum (yara)
608:debug:archivefetch Privilege de-escalation not attempted as not running as root.
609:debug:archivefetch Skipping completed org.macports.extract (yara)
610:debug:archivefetch Privilege de-escalation not attempted as not running as root.
611:debug:archivefetch Skipping completed org.macports.patch (yara)
612:debug:archivefetch Privilege de-escalation not attempted as not running as root.
613:debug:archivefetch Skipping completed org.macports.configure (yara)
614:debug:archivefetch Privilege de-escalation not attempted as not running as root.
615:debug:build build phase started at Thu Nov  7 11:06:14 CET 2019
616:notice:build --->  Building yara
617:debug:build Executing org.macports.build (yara)
618:debug:build Environment:
619:debug:build CC_PRINT_OPTIONS='YES'
620:debug:build CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/work/.CC_PRINT_OPTIONS'
621:debug:build CPATH='/opt/local/include'
622:debug:build DEVELOPER_DIR='/Library/Developer/CommandLineTools'
623:debug:build LIBRARY_PATH='/opt/local/lib'
624:debug:build MACOSX_DEPLOYMENT_TARGET='10.13'
625:info:build Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/work/yara-3.11.0" && /usr/bin/make -j4 -w all
626:debug:build system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/work/yara-3.11.0" && /usr/bin/make -j4 -w all
627:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/work/VirusTotal-yara-45d3964'
628:info:build Making all in libyara
629:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/work/VirusTotal-yara-45d3964/libyara'
630:info:build /Library/Developer/CommandLineTools/usr/bin/make  all-am
631:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/work/VirusTotal-yara-45d3964/libyara'
632:info:build   CC       modules/tests.lo
633:info:build   CC       modules/pe.lo
634:info:build   CC       modules/elf.lo
635:info:build   CC       modules/math.lo
636:info:build modules/elf.c:65:8: error: unknown type name 'bool'
637:info:build static bool is_valid_ptr(
638:info:build        ^
639:info:build modules/tests.c:91:11: error: too many arguments to function call, expected 2, have 3
640:info:build           string_argument(2)));
641:info:build           ^~~~~~~~~~~~~~~~~~~~
642:info:build /opt/local/include/yara/modules.h:278:5: note: expanded from macro 'string_argument'
643:info:build     (sized_string_argument(n)->c_string)
644:info:build     ^
645:info:build /opt/local/include/yara/modules.h:346:12: note: expanded from macro 'return_integer'
646:info:build           (integer), \
647:info:build            ^~~~~~~
648:info:build /opt/local/include/yara/re.h:239:1: note: 'yr_re_match' declared here
649:info:build int yr_re_match(
650:info:build ^
651:info:build modules/math.c:84:3: error: use of undeclared identifier 'bool'
652:info:build   bool past_first_block = false;
653:info:build   ^
654:info:build modules/tests.c:216:12: error: use of undeclared identifier 'false'
655:info:build     assert(false);
656:info:build            ^
657:info:build 2 errors generated.
658:info:build modules/math.c:134:7: error: use of undeclared identifier 'past_first_block'
659:info:build       past_first_block = true;
660:info:build       ^
661:info:build modules/math.c:134:26: error: use of undeclared identifier 'true'
662:info:build       past_first_block = true;
663:info:build                          ^
664:info:build modules/math.c:136:14: error: use of undeclared identifier 'past_first_block'
665:info:build     else if (past_first_block)
666:info:build              ^
667:info:build make[2]: *** [modules/tests.lo] Error 1
668:info:build make[2]: *** Waiting for unfinished jobs....
669:info:build modules/math.c:152:8: error: use of undeclared identifier 'past_first_block'
670:info:build   if (!past_first_block)
671:info:build        ^
672:info:build modules/math.c:190:26: error: use of undeclared identifier 'false'
673:info:build   int past_first_block = false;
674:info:build                          ^
675:info:build modules/math.c:232:26: error: use of undeclared identifier 'true'
676:info:build       past_first_block = true;
677:info:build                          ^
678:info:build modules/math.c:271:26: error: use of undeclared identifier 'false'
679:info:build   int past_first_block = false;
680:info:build                          ^
681:info:build modules/math.c:308:26: error: use of undeclared identifier 'true'
682:info:build       past_first_block = true;
683:info:build                          ^
684:info:build modules/math.c:333:26: error: use of undeclared identifier 'false'
685:info:build   int past_first_block = false;
686:info:build                          ^
687:info:build 1 error generated.
688:info:build modules/math.c:382:26: error: use of undeclared identifier 'true'
689:info:build       past_first_block = true;
690:info:build                          ^
691:info:build modules/math.c:453:26: error: use of undeclared identifier 'false'
692:info:build   int past_first_block = false;
693:info:build                          ^
694:info:build modules/math.c:514:26: error: use of undeclared identifier 'true'
695:info:build       past_first_block = true;
696:info:build                          ^
697:info:build make[2]: *** [modules/elf.lo] Error 1
698:info:build 13 errors generated.
699:info:build make[2]: *** [modules/math.lo] Error 1
700:info:build In file included from modules/pe.c:52:
701:info:build /opt/local/include/yara/strutils.h:38:10: fatal error: 'config.h' file not found
702:info:build #include "config.h"
703:info:build          ^~~~~~~~~~
704:info:build 1 error generated.
705:info:build make[2]: *** [modules/pe.lo] Error 1
706:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/work/VirusTotal-yara-45d3964/libyara'
707:info:build make[1]: *** [all] Error 2
708:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/work/VirusTotal-yara-45d3964/libyara'
709:info:build make: *** [all-recursive] Error 1
710:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/work/VirusTotal-yara-45d3964'
711:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/work/yara-3.11.0" && /usr/bin/make -j4 -w all
712:info:build Exit code: 2
713:error:build Failed to build yara: command execution failed
714:debug:build Error code: CHILDSTATUS 8154 2
715:debug:build Backtrace: command execution failed
716:debug:build     while executing
717:debug:build "system {*}$notty {*}$nice $fullcmdstring"
718:debug:build     invoked from within
719:debug:build "command_exec build"
720:debug:build     (procedure "portbuild::build_main" line 8)
721:debug:build     invoked from within
722:debug:build "$procedure $targetname"
723:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/main.log for details.
724version:1
725:debug:sysinfo macOS 10.13 (darwin/17.7.0) arch i386
726:debug:sysinfo MacPorts 2.6.2
727:debug:sysinfo Xcode 10.1
728:debug:sysinfo SDK 10.13
729:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.13
730:msg:main --->  Computing dependencies for yara:info:main .:debug:main yara has no conflicts
731:debug:main Searching for dependency: autoconf
732:debug:main Found Dependency: receipt exists for autoconf
733:debug:main Searching for dependency: automake
734:debug:main Found Dependency: receipt exists for automake
735:debug:main Searching for dependency: libtool
736:debug:main Found Dependency: receipt exists for libtool
737:debug:main Searching for dependency: libmagic
738:debug:main Found Dependency: receipt exists for libmagic
739:debug:main Searching for dependency: jansson
740:debug:main Found Dependency: receipt exists for jansson
741:debug:main Searching for dependency: openssl
742:debug:main Found Dependency: receipt exists for openssl
743:debug:main Searching for dependency: pcre
744:debug:main Found Dependency: receipt exists for pcre
745:debug:main Executing org.macports.main (yara)
746:debug:main dropping privileges: euid changed to 503, egid changed to 501.
747:debug:archivefetch archivefetch phase started at Thu Nov  7 11:10:08 CET 2019
748:msg:archivefetch --->  Fetching archive for yara
749:debug:archivefetch Executing org.macports.archivefetch (yara)
750:debug:archivefetch euid/egid changed to: 0/0
751:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
752:debug:archivefetch euid/egid changed to: 503/501
753:info:archivefetch --->  yara-3.11.0_0.darwin_17.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
754:msg:archivefetch --->  Attempting to fetch yara-3.11.0_0.darwin_17.x86_64.tbz2 from https://packages.macports.org/yara
755:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
756:msg:archivefetch --->  Attempting to fetch yara-3.11.0_0.darwin_17.x86_64.tbz2 from http://nue.de.packages.macports.org/yara
757:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
758:msg:archivefetch --->  Attempting to fetch yara-3.11.0_0.darwin_17.x86_64.tbz2 from http://lil.fr.packages.macports.org/yara
759:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
760:debug:archivefetch Privilege de-escalation not attempted as not running as root.
761:debug:archivefetch Skipping completed org.macports.fetch (yara)
762:debug:archivefetch Privilege de-escalation not attempted as not running as root.
763:debug:archivefetch Skipping completed org.macports.checksum (yara)
764:debug:archivefetch Privilege de-escalation not attempted as not running as root.
765:debug:archivefetch Skipping completed org.macports.extract (yara)
766:debug:archivefetch Privilege de-escalation not attempted as not running as root.
767:debug:archivefetch Skipping completed org.macports.patch (yara)
768:debug:archivefetch Privilege de-escalation not attempted as not running as root.
769:debug:archivefetch Skipping completed org.macports.configure (yara)
770:debug:archivefetch Privilege de-escalation not attempted as not running as root.
771:debug:build build phase started at Thu Nov  7 11:10:08 CET 2019
772:notice:build --->  Building yara
773:debug:build Executing org.macports.build (yara)
774:debug:build Environment:
775:debug:build CC_PRINT_OPTIONS='YES'
776:debug:build CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/work/.CC_PRINT_OPTIONS'
777:debug:build CPATH='/opt/local/include'
778:debug:build DEVELOPER_DIR='/Library/Developer/CommandLineTools'
779:debug:build LIBRARY_PATH='/opt/local/lib'
780:debug:build MACOSX_DEPLOYMENT_TARGET='10.13'
781:info:build Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/work/yara-3.11.0" && /usr/bin/make -j4 -w all
782:debug:build system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/work/yara-3.11.0" && /usr/bin/make -j4 -w all
783:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/work/VirusTotal-yara-45d3964'
784:info:build Making all in libyara
785:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/work/VirusTotal-yara-45d3964/libyara'
786:info:build /Library/Developer/CommandLineTools/usr/bin/make  all-am
787:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/work/VirusTotal-yara-45d3964/libyara'
788:info:build   CC       modules/tests.lo
789:info:build   CC       modules/pe.lo
790:info:build   CC       modules/elf.lo
791:info:build   CC       modules/math.lo
792:info:build modules/tests.c:91:11: error: too many arguments to function call, expected 2, have 3
793:info:build           string_argument(2)));
794:info:build           ^~~~~~~~~~~~~~~~~~~~
795:info:build /opt/local/include/yara/modules.h:278:5: note: expanded from macro 'string_argument'
796:info:build     (sized_string_argument(n)->c_string)
797:info:build     ^
798:info:build /opt/local/include/yara/modules.h:346:12: note: expanded from macro 'return_integer'
799:info:build           (integer), \
800:info:build            ^~~~~~~
801:info:build /opt/local/include/yara/re.h:239:1: note: 'yr_re_match' declared here
802:info:build int yr_re_match(
803:info:build ^
804:info:build modules/elf.c:65:8: error: unknown type name 'bool'
805:info:build static bool is_valid_ptr(
806:info:build        ^
807:info:build modules/tests.c:216:12: error: use of undeclared identifier 'false'
808:info:build     assert(false);
809:info:build            ^
810:info:build 2 errors generated.
811:info:build modules/math.c:84:3: error: use of undeclared identifier 'bool'
812:info:build   bool past_first_block = false;
813:info:build   ^
814:info:build make[2]: *** [modules/tests.lo] Error 1
815:info:build make[2]: *** Waiting for unfinished jobs....
816:info:build modules/math.c:134:7: error: use of undeclared identifier 'past_first_block'
817:info:build       past_first_block = true;
818:info:build       ^
819:info:build modules/math.c:134:26: error: use of undeclared identifier 'true'
820:info:build       past_first_block = true;
821:info:build                          ^
822:info:build modules/math.c:136:14: error: use of undeclared identifier 'past_first_block'
823:info:build     else if (past_first_block)
824:info:build              ^
825:info:build modules/math.c:152:8: error: use of undeclared identifier 'past_first_block'
826:info:build   if (!past_first_block)
827:info:build        ^
828:info:build modules/math.c:190:26: error: use of undeclared identifier 'false'
829:info:build   int past_first_block = false;
830:info:build                          ^
831:info:build modules/math.c:232:26: error: use of undeclared identifier 'true'
832:info:build       past_first_block = true;
833:info:build                          ^
834:info:build modules/math.c:271:26: error: use of undeclared identifier 'false'
835:info:build   int past_first_block = false;
836:info:build                          ^
837:info:build modules/math.c:308:26: error: use of undeclared identifier 'true'
838:info:build       past_first_block = true;
839:info:build                          ^
840:info:build modules/math.c:333:26: error: use of undeclared identifier 'false'
841:info:build   int past_first_block = false;
842:info:build                          ^
843:info:build modules/math.c:382:26: error: use of undeclared identifier 'true'
844:info:build       past_first_block = true;
845:info:build                          ^
846:info:build modules/math.c:453:26: error: use of undeclared identifier 'false'
847:info:build   int past_first_block = false;
848:info:build                          ^
849:info:build 1 error generated.
850:info:build modules/math.c:514:26: error: use of undeclared identifier 'true'
851:info:build       past_first_block = true;
852:info:build                          ^
853:info:build 13 errors generated.
854:info:build make[2]: *** [modules/elf.lo] Error 1
855:info:build make[2]: *** [modules/math.lo] Error 1
856:info:build In file included from modules/pe.c:52:
857:info:build /opt/local/include/yara/strutils.h:38:10: fatal error: 'config.h' file not found
858:info:build #include "config.h"
859:info:build          ^~~~~~~~~~
860:info:build 1 error generated.
861:info:build make[2]: *** [modules/pe.lo] Error 1
862:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/work/VirusTotal-yara-45d3964/libyara'
863:info:build make[1]: *** [all] Error 2
864:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/work/VirusTotal-yara-45d3964/libyara'
865:info:build make: *** [all-recursive] Error 1
866:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/work/VirusTotal-yara-45d3964'
867:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/work/yara-3.11.0" && /usr/bin/make -j4 -w all
868:info:build Exit code: 2
869:error:build Failed to build yara: command execution failed
870:debug:build Error code: CHILDSTATUS 9807 2
871:debug:build Backtrace: command execution failed
872:debug:build     while executing
873:debug:build "system {*}$notty {*}$nice $fullcmdstring"
874:debug:build     invoked from within
875:debug:build "command_exec build"
876:debug:build     (procedure "portbuild::build_main" line 8)
877:debug:build     invoked from within
878:debug:build "$procedure $targetname"
879:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_yara/yara/main.log for details.