version:1 :debug:sysinfo macOS 11.2 (darwin/20.3.0) arch i386 :debug:sysinfo MacPorts 2.6.4 :debug:sysinfo Xcode none :debug:sysinfo SDK 11.2 :debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 11.2 :debug:main Executing org.macports.main (fuzz) :debug:main dropping privileges: euid changed to 503, egid changed to 501. :debug:archivefetch archivefetch phase started at Sun Apr 4 11:23:13 BST 2021 :debug:archivefetch Executing org.macports.archivefetch (fuzz) version:1 :debug:sysinfo macOS 11.2 (darwin/20.3.0) arch i386 :debug:sysinfo MacPorts 2.6.4 :debug:sysinfo Xcode none :debug:sysinfo SDK 11.2 :debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 11.2 :debug:main Executing org.macports.main (fuzz) :debug:main dropping privileges: euid changed to 503, egid changed to 501. :debug:fetch fetch phase started at Sun Apr 4 11:23:14 BST 2021 :notice:fetch ---> Fetching distfiles for fuzz :debug:fetch Executing org.macports.fetch (fuzz) :info:fetch ---> fuzz-0.6.tar.gz does not exist in /opt/local/var/macports/distfiles/fuzz :notice:fetch ---> Attempting to fetch fuzz-0.6.tar.gz from https://mse.uk.distfiles.macports.org/fuzz :debug:fetch Privilege de-escalation not attempted as not running as root. :debug:checksum checksum phase started at Sun Apr 4 11:23:15 BST 2021 :notice:checksum ---> Verifying checksums for fuzz :debug:checksum Executing org.macports.checksum (fuzz) :info:checksum ---> Checksumming fuzz-0.6.tar.gz :debug:checksum Calculated (md5) is 8c8e7c49729e0a98c0414faac7778ec7 :debug:checksum Correct (md5) checksum for fuzz-0.6.tar.gz :debug:checksum Privilege de-escalation not attempted as not running as root. :debug:extract extract phase started at Sun Apr 4 11:23:15 BST 2021 :notice:extract ---> Extracting fuzz :debug:extract Executing org.macports.extract (fuzz) :info:extract ---> Extracting fuzz-0.6.tar.gz :debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/fuzz/fuzz-0.6.tar.gz' :debug:extract Environment: :debug:extract CC_PRINT_OPTIONS='YES' :debug:extract CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_devel_fuzz/fuzz/work/.CC_PRINT_OPTIONS' :debug:extract CPATH='/opt/local/include' :debug:extract DEVELOPER_DIR='/Library/Developer/CommandLineTools' :debug:extract LIBRARY_PATH='/opt/local/lib' :debug:extract MACOSX_DEPLOYMENT_TARGET='11.2' :debug:extract SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk' :info:extract Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_devel_fuzz/fuzz/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/fuzz/fuzz-0.6.tar.gz' | /usr/bin/tar -xf - :debug:extract system: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_devel_fuzz/fuzz/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/fuzz/fuzz-0.6.tar.gz' | /usr/bin/tar -xf - :debug:extract euid/egid changed to: 0/0 :debug:extract chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_devel_fuzz/fuzz/work to macports :debug:extract euid/egid changed to: 503/501 :debug:extract Privilege de-escalation not attempted as not running as root. :debug:patch patch phase started at Sun Apr 4 11:23:15 BST 2021 :debug:patch Executing org.macports.patch (fuzz) :debug:patch Privilege de-escalation not attempted as not running as root. :debug:configure configure phase started at Sun Apr 4 11:23:15 BST 2021 :notice:configure ---> Configuring fuzz :debug:configure Preferred compilers: clang macports-clang-9.0 macports-clang-11 macports-clang-10 :debug:configure Using compiler 'Xcode Clang' :debug:configure Executing org.macports.configure (fuzz) :debug:configure Environment: :debug:configure CC='/usr/bin/clang' :debug:configure CC_PRINT_OPTIONS='YES' :debug:configure CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_devel_fuzz/fuzz/work/.CC_PRINT_OPTIONS' :debug:configure CFLAGS='-pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64' :debug:configure CPATH='/opt/local/include' :debug:configure CPPFLAGS='-I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk' :debug:configure CXX='/usr/bin/clang++' :debug:configure CXXFLAGS='-pipe -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64' :debug:configure DEVELOPER_DIR='/Library/Developer/CommandLineTools' :debug:configure F90FLAGS='-pipe -Os -m64' :debug:configure FCFLAGS='-pipe -Os -m64' :debug:configure FFLAGS='-pipe -Os -m64' :debug:configure INSTALL='/usr/bin/install -c' :debug:configure LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64' :debug:configure LIBRARY_PATH='/opt/local/lib' :debug:configure MACOSX_DEPLOYMENT_TARGET='11.2' :debug:configure OBJC='/usr/bin/clang' :debug:configure OBJCFLAGS='-pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64' :debug:configure OBJCXX='/usr/bin/clang++' :debug:configure OBJCXXFLAGS='-pipe -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64' :debug:configure SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk' :info:configure Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_devel_fuzz/fuzz/work/fuzz-0.6" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man :debug:configure system: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_devel_fuzz/fuzz/work/fuzz-0.6" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man :info:configure creating cache ./config.cache :info:configure checking for a BSD compatible install... /usr/bin/install -c :info:configure checking whether build environment is sane... yes :info:configure checking whether make sets ${MAKE}... yes :info:configure checking for working aclocal... found :info:configure checking for working autoconf... found :info:configure checking for working automake... found :info:configure checking for working autoheader... found :info:configure checking for working makeinfo... found :info:configure checking for gcc... /usr/bin/clang :info:configure checking whether the C compiler (/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64) works... yes :info:configure checking whether the C compiler (/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64) is a cross-compiler... no :info:configure checking whether we are using GNU C... yes :info:configure checking whether /usr/bin/clang accepts -g... yes :info:configure checking for mawk... no :info:configure checking for gawk... gawk :info:configure checking for a BSD compatible install... /usr/bin/install -c :info:configure checking whether ln -s works... yes :info:configure checking for readline in -lreadline... yes :info:configure checking how to run the C preprocessor... /usr/bin/clang -E :info:configure checking for ANSI C header files... no :info:configure checking for sys/wait.h that is POSIX.1 compatible... yes :info:configure checking for fcntl.h... yes :info:configure checking for unistd.h... yes :info:configure checking for working const... yes :info:configure checking for size_t... yes :info:configure checking whether struct tm is in sys/time.h or time.h... time.h :info:configure checking return type of signal handlers... void :info:configure checking for getcwd... yes :info:configure checking for strdup... yes :info:configure checking for strerror... yes :info:configure checking for snprintf... yes :info:configure checking for getopt_long... yes :info:configure using libc's getopt_long :info:configure updating cache ./config.cache :info:configure creating ./config.status :info:configure creating Makefile :debug:configure Privilege de-escalation not attempted as not running as root. :debug:build build phase started at Sun Apr 4 11:23:19 BST 2021 :notice:build ---> Building fuzz :debug:build Executing org.macports.build (fuzz) :debug:build Environment: :debug:build CC_PRINT_OPTIONS='YES' :debug:build CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_devel_fuzz/fuzz/work/.CC_PRINT_OPTIONS' :debug:build CPATH='/opt/local/include' :debug:build DEVELOPER_DIR='/Library/Developer/CommandLineTools' :debug:build LIBRARY_PATH='/opt/local/lib' :debug:build MACOSX_DEPLOYMENT_TARGET='11.2' :debug:build SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk' :info:build Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_devel_fuzz/fuzz/work/fuzz-0.6" && /usr/bin/make -j8 -w all :debug:build system: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_devel_fuzz/fuzz/work/fuzz-0.6" && /usr/bin/make -j8 -w all :info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_devel_fuzz/fuzz/work/fuzz-0.6' :info:build /usr/bin/clang -DPACKAGE=\"fuzz\" -DVERSION=\"0.6\" -DHAVE_LIBREADLINE=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_UNISTD_H=1 -DRETSIGTYPE=void -DHAVE_GETCWD=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_SNPRINTF=1 -I. -I. -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -c fuzz.c :info:build /usr/bin/clang -DPACKAGE=\"fuzz\" -DVERSION=\"0.6\" -DHAVE_LIBREADLINE=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_UNISTD_H=1 -DRETSIGTYPE=void -DHAVE_GETCWD=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_SNPRINTF=1 -I. -I. -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -c getopt.c :info:build /usr/bin/clang -DPACKAGE=\"fuzz\" -DVERSION=\"0.6\" -DHAVE_LIBREADLINE=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_UNISTD_H=1 -DRETSIGTYPE=void -DHAVE_GETCWD=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_SNPRINTF=1 -I. -I. -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -c getopt1.c :info:build getopt.c:580:30: error: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Werror,-Wimplicit-function-declaration] :info:build if (optind != argc && !strcmp (argv[optind], "--")) :info:build ^ :info:build getopt.c:580:30: note: include the header or explicitly provide a declaration for 'strcmp' :info:build getopt.c:656:7: error: implicitly declaring library function 'strncmp' with type 'int (const char *, const char *, unsigned long)' [-Werror,-Wimplicit-function-declaration] :info:build if (!strncmp (p->name, nextchar, nameend - nextchar)) :info:build ^ :info:build getopt.c:656:7: note: include the header or explicitly provide a declaration for 'strncmp' :info:build getopt.c:659:21: error: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Werror,-Wimplicit-function-declaration] :info:build == (unsigned int) strlen (p->name)) :info:build ^ :info:build getopt.c:659:21: note: include the header or explicitly provide a declaration for 'strlen' :info:build getopt.c:707:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] :info:build else :info:build ^ :info:build 1 warning and 3 errors generated. :info:build make: *** [getopt.o] Error 1 :info:build make: *** Waiting for unfinished jobs.... :info:build fuzz.c:182:30: warning: format specifies type 'unsigned int *' but the argument has type 'unsigned long *' [-Wformat] :info:build if(sscanf(optarg,"%ul",&runs)!=1){ :info:build ~~ ^~~~~ :info:build %lu :info:build fuzz.c:188:30: warning: format specifies type 'unsigned int *' but the argument has type 'unsigned long *' [-Wformat] :info:build if(sscanf(optarg,"%ul",&len)!=1){ :info:build ~~ ^~~~ :info:build %lu :info:build fuzz.c:197:30: warning: format specifies type 'unsigned int *' but the argument has type 'unsigned long *' [-Wformat] :info:build if(sscanf(optarg,"%ul",&linemod)!=1){ :info:build ~~ ^~~~~~~~ :info:build %lu :info:build fuzz.c:203:30: warning: format specifies type 'unsigned int *' but the argument has type 'unsigned long *' [-Wformat] :info:build if(sscanf(optarg,"%ul",&maxline)!=1){ :info:build ~~ ^~~~~~~~ :info:build %lu :info:build fuzz.c:209:30: warning: format specifies type 'unsigned int *' but the argument has type 'unsigned long *' [-Wformat] :info:build if(sscanf(optarg,"%ul",&timeout)!=1){ :info:build ~~ ^~~~~~~~ :info:build %lu :info:build fuzz.c:234:30: warning: format specifies type 'unsigned int *' but the argument has type 'unsigned long *' [-Wformat] :info:build if(sscanf(optarg,"%ul",&max_args)!=1){ :info:build ~~ ^~~~~~~~~ :info:build %lu :info:build fuzz.c:240:30: warning: format specifies type 'unsigned int *' but the argument has type 'unsigned long *' [-Wformat] :info:build if(sscanf(optarg,"%ul",&max_arglen)!=1){ :info:build ~~ ^~~~~~~~~~~ :info:build %lu :info:build fuzz.c:410:33: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] :info:build printf("Run: %u %c",runs,print_bytes?'\n':'\r'); :info:build ~~ ^~~~ :info:build %lu :info:build fuzz.c:522:30: warning: format specifies type 'unsigned int' but the argument has type 'char **' [-Wformat] :info:build fprintf(errs,"argv=0x%x\n",argv); :info:build ~~ ^~~~ :info:build fuzz.c:524:40: warning: format specifies type 'unsigned int' but the argument has type 'char *' [-Wformat] :info:build fprintf(errs,"\targv[%u]=0x%x\n",i,argv[i]); :info:build ~~ ^~~~~~~ :info:build %s :info:build fuzz.c:644:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] :info:build if(execute_filename=realloc(execute_filename, :info:build ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build fuzz.c:644:26: note: place parentheses around the assignment to silence this warning :info:build if(execute_filename=realloc(execute_filename, :info:build ^ :info:build ( :info:build fuzz.c:644:26: note: use '==' to turn this assignment into an equality comparison :info:build if(execute_filename=realloc(execute_filename, :info:build ^ :info:build == :info:build fuzz.c:939:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] :info:build if(distribution[0]='K' && strncmp(distribution+1,tmpbuf,MAXPATH)) :info:build ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build fuzz.c:939:22: note: place parentheses around the assignment to silence this warning :info:build if(distribution[0]='K' && strncmp(distribution+1,tmpbuf,MAXPATH)) :info:build ^ :info:build ( ) :info:build fuzz.c:939:22: note: use '==' to turn this assignment into an equality comparison :info:build if(distribution[0]='K' && strncmp(distribution+1,tmpbuf,MAXPATH)) :info:build ^ :info:build == :info:build fuzz.c:941:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] :info:build if(distribution[0]='D' && strncmp(distribution+1,tmpbuf,MAXPATH)) :info:build ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build fuzz.c:941:22: note: place parentheses around the assignment to silence this warning :info:build if(distribution[0]='D' && strncmp(distribution+1,tmpbuf,MAXPATH)) :info:build ^ :info:build ( ) :info:build fuzz.c:941:22: note: use '==' to turn this assignment into an equality comparison :info:build if(distribution[0]='D' && strncmp(distribution+1,tmpbuf,MAXPATH)) :info:build ^ :info:build == :info:build 13 warnings generated. :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_devel_fuzz/fuzz/work/fuzz-0.6' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_devel_fuzz/fuzz/work/fuzz-0.6" && /usr/bin/make -j8 -w all :info:build Exit code: 2 :error:build Failed to build fuzz: command execution failed :debug:build Error code: CHILDSTATUS 23201 2 :debug:build Backtrace: command execution failed :debug:build while executing :debug:build "system {*}$notty {*}$nice $fullcmdstring" :debug:build invoked from within :debug:build "command_exec build" :debug:build (procedure "portbuild::build_main" line 8) :debug:build invoked from within :debug:build "$procedure $targetname" :error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_github.com_macports_macports-ports_devel_fuzz/fuzz/main.log for details.