>>> Building on exopi-4 under www/jesred BDEPENDS = [devel/gmake] DIST = [www/jesred:jesred-1.2pl1.tar.gz] FULLPKGNAME = jesred-1.2.1p1 Avoided depends for gmake-4.4.1 distfiles size=26212 >>> Running build in www/jesred at 1731966034.08 ===> www/jesred ===> Building from scratch jesred-1.2.1p1 ===> jesred-1.2.1p1 depends on: gmake-* -> gmake-4.4.1 ===> Verifying specs: c ===> found c.100.3 ===> Checking files for jesred-1.2.1p1 `/exopi-cvs/ports/distfiles/jesred-1.2pl1.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for jesred-1.2.1p1 ===> Patching for jesred-1.2.1p1 ===> Applying OpenBSD patch patch-Makefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- Makefile.orig Fri Jul 24 21:19:50 1998 |+++ Makefile Wed Aug 22 11:09:56 2001 -------------------------- Patching file Makefile using Plan A... Hunk #1 succeeded at 2. Hunk #2 succeeded at 66. done ===> Applying OpenBSD patch patch-etc_jesred_conf Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- etc/jesred.conf.orig Fri Aug 14 22:17:54 1998 |+++ etc/jesred.conf Wed Aug 22 10:47:21 2001 -------------------------- Patching file etc/jesred.conf using Plan A... Hunk #1 succeeded at 1. done ===> Applying OpenBSD patch patch-ip_list_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- ip_list.c.orig Wed Apr 11 14:14:45 2001 |+++ ip_list.c Wed Apr 11 14:15:11 2001 -------------------------- Patching file ip_list.c using Plan A... Hunk #1 succeeded at 96. done ===> Applying OpenBSD patch patch-path_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- path.h.orig Fri Jul 24 17:03:13 1998 |+++ path.h Wed Aug 22 11:32:59 2001 -------------------------- Patching file path.h using Plan A... Hunk #1 succeeded at 7. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for jesred-1.2.1p1 ===> Configuring for jesred-1.2.1p1 ===> Building for jesred-1.2.1p1 cc -O2 -pipe -c main.c In file included from main.c:43: ./log.h:33:13: warning: incompatible redeclaration of library function 'log' [-Wincompatible-library-redeclaration] extern void log(log_code c, char *format, ...); ^ ./log.h:33:13: note: 'log' is a builtin with type 'double (double)' main.c:79:13: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if((int)getuid() == 0) { ^ main.c:105:51: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] log(INFO, "%s (PID %d) started\n", APPNAME, (int)getpid()); ^ main.c:130:12: warning: call to undeclared function 'pattern_compare'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] val = pattern_compare(url, redirect_url, pattern_list); ^ main.c:171:17: warning: call to undeclared function 'getopt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] while ((c = getopt(argc, argv, "hv")) != -1) { ^ 5 warnings generated. cc -O2 -pipe -c ip_list.c In file included from ip_list.c:109: ./log.h:33:13: warning: incompatible redeclaration of library function 'log' [-Wincompatible-library-redeclaration] extern void log(log_code c, char *format, ...); ^ ./log.h:33:13: note: 'log' is a builtin with type 'double (double)' ip_list.c:190:9: warning: call to undeclared library function 'sscanf' with type 'int (const char *restrict, const char *restrict, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] c = sscanf(ip_str, "%d.%d.%d.%d/%d", &a1, &a2, &a3, &a4, &m1); ^ ip_list.c:190:9: note: include the header or explicitly provide a declaration for 'sscanf' ip_list.c:209:2: warning: call to undeclared function 'free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] safe_free(b); ^ ./util.h:102:34: note: expanded from macro 'safe_free' #define safe_free(x) if (x) { free(x); x = NULL; } ^ 3 warnings generated. cc -O2 -pipe -c util.c In file included from util.c:105: ./log.h:33:13: warning: incompatible redeclaration of library function 'log' [-Wincompatible-library-redeclaration] extern void log(log_code c, char *format, ...); ^ ./log.h:33:13: note: 'log' is a builtin with type 'double (double)' util.c:150:31: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] save = (char *)malloc(strlen(str) + 1); ^ util.c:150:31: note: include the header or explicitly provide a declaration for 'strlen' util.c:156:13: warning: call to undeclared library function 'strcpy' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] strcpy(save, str); ^ util.c:156:13: note: include the header or explicitly provide a declaration for 'strcpy' 3 warnings generated. cc -O2 -pipe -c log.c In file included from log.c:31: ./log.h:33:13: warning: incompatible redeclaration of library function 'log' [-Wincompatible-library-redeclaration] extern void log(log_code c, char *format, ...); ^ ./log.h:33:13: note: 'log' is a builtin with type 'double (double)' 1 warning generated. cc -O2 -pipe -c config.c In file included from config.c:38: ./log.h:33:13: warning: incompatible redeclaration of library function 'log' [-Wincompatible-library-redeclaration] extern void log(log_code c, char *format, ...); ^ ./log.h:33:13: note: 'log' is a builtin with type 'double (double)' config.c:74:5: warning: call to undeclared function 'free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] safe_free(*file); ^ ./util.h:102:34: note: expanded from macro 'safe_free' #define safe_free(x) if (x) { free(x); x = NULL; } ^ config.c:98:5: warning: call to undeclared function 'free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] safe_free(*allow); ^ ./util.h:102:34: note: expanded from macro 'safe_free' #define safe_free(x) if (x) { free(x); x = NULL; } ^ config.c:99:5: warning: call to undeclared function 'free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] safe_free(*rules); ^ ./util.h:102:34: note: expanded from macro 'safe_free' #define safe_free(x) if (x) { free(x); x = NULL; } ^ config.c:100:5: warning: call to undeclared function 'free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] safe_free(*redirect); ^ ./util.h:102:34: note: expanded from macro 'safe_free' #define safe_free(x) if (x) { free(x); x = NULL; } ^ config.c:101:5: warning: call to undeclared function 'free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] safe_free(*rewrite); ^ ./util.h:102:34: note: expanded from macro 'safe_free' #define safe_free(x) if (x) { free(x); x = NULL; } ^ config.c:194:5: warning: call to undeclared function 'free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] safe_free(*file); ^ ./util.h:102:34: note: expanded from macro 'safe_free' #define safe_free(x) if (x) { free(x); x = NULL; } ^ 7 warnings generated. cc -O2 -pipe -c rewrite.c In file included from rewrite.c:42: ./log.h:33:13: warning: incompatible redeclaration of library function 'log' [-Wincompatible-library-redeclaration] extern void log(log_code c, char *format, ...); ^ ./log.h:33:13: note: 'log' is a builtin with type 'double (double)' rewrite.c:66:13: warning: call to undeclared library function 'strchr' with type 'char *(const char *, int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] token = strchr(buff,' '); ^ rewrite.c:66:13: note: include the header or explicitly provide a declaration for 'strchr' rewrite.c:108:30: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (allow_siblings && (! strcmp(*method, "ICP_QUERY")) ) ^ rewrite.c:108:30: note: include the header or explicitly provide a declaration for 'strcmp' rewrite.c:124:8: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if(strlen(*url) <= 7) { ^ rewrite.c:124:8: note: include the header or explicitly provide a declaration for 'strlen' rewrite.c:230:4: warning: call to undeclared library function 'strcpy' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] strcpy(newurl,curr->replacement); ^ rewrite.c:230:4: note: include the header or explicitly provide a declaration for 'strcpy' rewrite.c:262:19: warning: call to undeclared function 'count_parenthesis'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] parenthesis = count_parenthesis (curr->pattern); ^ 6 warnings generated. cc -O2 -pipe -c pattern_list.c In file included from pattern_list.c:36: ./log.h:33:13: warning: incompatible redeclaration of library function 'log' [-Wincompatible-library-redeclaration] extern void log(log_code c, char *format, ...); ^ ./log.h:33:13: note: 'log' is a builtin with type 'double (double)' pattern_list.c:82:2: warning: call to undeclared library function 'strcpy' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] strcpy(second, ""); ^ pattern_list.c:82:2: note: include the header or explicitly provide a declaration for 'strcpy' pattern_list.c:84:8: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if(strcmp(type, "abort") == 0) { ^ pattern_list.c:84:8: note: include the header or explicitly provide a declaration for 'strcmp' pattern_list.c:95:16: warning: call to undeclared function 'count_parenthesis'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] parenthesis = count_parenthesis (first); ^ pattern_list.c:118:32: warning: call to undeclared function 'malloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] rpattern.pattern = (char *)malloc(sizeof(char) * (strlen(first) +1)); ^ pattern_list.c:118:55: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] rpattern.pattern = (char *)malloc(sizeof(char) * (strlen(first) +1)); ^ pattern_list.c:118:55: note: include the header or explicitly provide a declaration for 'strlen' pattern_list.c:118:24: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] rpattern.pattern = (char *)malloc(sizeof(char) * (strlen(first) +1)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pattern_list.c:125:28: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] rpattern.replacement = (char *)malloc(sizeof(char) * (strlen(second) +1)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pattern_list.c:289:2: warning: call to undeclared function 'free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] safe_free(b->pattern); ^ ./util.h:102:34: note: expanded from macro 'safe_free' #define safe_free(x) if (x) { free(x); x = NULL; } ^ pattern_list.c:290:2: warning: call to undeclared function 'free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] safe_free(b->replacement); ^ ./util.h:102:34: note: expanded from macro 'safe_free' #define safe_free(x) if (x) { free(x); x = NULL; } ^ pattern_list.c:296:2: warning: call to undeclared function 'free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] safe_free(b); ^ ./util.h:102:34: note: expanded from macro 'safe_free' #define safe_free(x) if (x) { free(x); x = NULL; } ^ 11 warnings generated. cc -o jesred main.o ip_list.o util.o log.o config.o rewrite.o pattern_list.o -L. ld: warning: pattern_list.c(pattern_list.o:(add_to_patterns)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: log.c(log.o:(log)): warning: vsprintf() is often misused, please use vsnprintf() >>> Running package in www/jesred at 1731966040.52 ===> www/jesred ===> Faking installation for jesred-1.2.1p1 /exopi-obj/pobj/jesred-1.2.1/bin/install -c -s -m 755 /exopi-obj/pobj/jesred-1.2.1/jesred-1.2pl1/jesred /exopi-obj/pobj/jesred-1.2.1/fake-amd64/usr/local/libexec /exopi-obj/pobj/jesred-1.2.1/bin/install -d -m 755 /exopi-obj/pobj/jesred-1.2.1/fake-amd64/usr/local/share/examples/jesred /exopi-obj/pobj/jesred-1.2.1/bin/install -c -m 644 /exopi-obj/pobj/jesred-1.2.1/jesred-1.2pl1/etc/jesred.conf /exopi-obj/pobj/jesred-1.2.1/fake-amd64/usr/local/share/examples/jesred/jesred.conf.sample /exopi-obj/pobj/jesred-1.2.1/bin/install -c -m 644 /exopi-obj/pobj/jesred-1.2.1/jesred-1.2pl1/etc/redirect.acl /exopi-obj/pobj/jesred-1.2.1/fake-amd64/usr/local/share/examples/jesred/redirect.acl.sample /exopi-obj/pobj/jesred-1.2.1/bin/install -c -m 644 /exopi-obj/pobj/jesred-1.2.1/jesred-1.2pl1/etc/redirect.rules /exopi-obj/pobj/jesred-1.2.1/fake-amd64/usr/local/share/examples/jesred/redirect.rules.sample /exopi-obj/pobj/jesred-1.2.1/bin/install -d -m 755 /exopi-obj/pobj/jesred-1.2.1/fake-amd64/usr/local/share/doc/jesred /exopi-obj/pobj/jesred-1.2.1/bin/install -c -m 644 /exopi-obj/pobj/jesred-1.2.1/jesred-1.2pl1/README /exopi-obj/pobj/jesred-1.2.1/fake-amd64/usr/local/share/doc/jesred ===> Building package for jesred-1.2.1p1 Create /exopi-cvs/ports/packages/amd64/all/jesred-1.2.1p1.tgz Creating package jesred-1.2.1p1 reading plist| checking dependencies| checksumming| checksumming| | 0% checksumming|*** | 5% checksumming|****** | 11% checksumming|********** | 16% checksumming|************* | 21% checksumming|**************** | 26% checksumming|******************* | 32% checksumming|********************** | 37% checksumming|************************** | 42% checksumming|***************************** | 47% checksumming|******************************** | 53% checksumming|*********************************** | 58% checksumming|*************************************** | 63% checksumming|****************************************** | 68% checksumming|********************************************* | 74% checksumming|************************************************ | 79% checksumming|*************************************************** | 84% checksumming|******************************************************* | 89% checksumming|********************************************************** | 95% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|* | 1% archiving|******************************************* | 67% archiving|************************************************* | 77% archiving|*************************************************** | 80% archiving|****************************************************** | 84% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/jesred-1.2.1p1.tgz >>> Running clean in www/jesred at 1731966044.13 ===> www/jesred ===> Cleaning for jesred-1.2.1p1 >>> Ended at 1731966044.90 max_stuck=0.00/build=6.40/package=3.65/clean=0.80