=> Building www/jesred Started : Thursday, 30 AUG 2018 at 21:11:03 UTC Platform: 5.3-DEVELOPMENT DragonFly 5.3-DEVELOPMENT #141: Thu Aug 30 12:52:40 PDT 2018 root@test.backplane.com:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.3-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.3-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/www/jesred XDG_CONFIG_HOME=/construction/www/jesred HOME=/construction/www/jesred TMPDIR="/tmp" PATH=/construction/www/jesred/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/www/jesred XDG_CONFIG_HOME=/construction/www/jesred HOME=/construction/www/jesred TMPDIR="/tmp" PATH=/construction/www/jesred/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/www/jesred/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" PORTEXAMPLES="" OSREL=5.3 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/jesred" EXAMPLESDIR="share/examples/jesred" DATADIR="share/jesred" WWWDIR="www/jesred" ETCDIR="etc/jesred" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/jesred DOCSDIR=/usr/local/share/doc/jesred EXAMPLESDIR=/usr/local/share/examples/jesred WWWDIR=/usr/local/www/jesred ETCDIR=/usr/local/etc/jesred -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=LiveSystem USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=12 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=32 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500316 OSVERSION=9999999 OSREL=5.3 _OSRELEASE=5.3-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> NOTICE: The jesred port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> jesred-1.2.1_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_1.txz Installing pkg-1.10.5_1... Extracting pkg-1.10.5_1: .......... done ===> jesred-1.2.1_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of jesred-1.2.1_1 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> NOTICE: The jesred port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by jesred-1.2.1_1 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> NOTICE: The jesred port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by jesred-1.2.1_1 for building => SHA256 Checksum OK for jesred-1.2pl1.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> NOTICE: The jesred port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by jesred-1.2.1_1 for building ===> Extracting for jesred-1.2.1_1 => SHA256 Checksum OK for jesred-1.2pl1.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for jesred-1.2.1_1 ===> Applying ports patches for jesred-1.2.1_1 ===> Applying dragonfly patches for jesred-1.2.1_1 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for jesred-1.2.1_1 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for jesred-1.2.1_1 --- main.o --- --- ip_list.o --- --- util.o --- --- log.o --- --- config.o --- --- rewrite.o --- --- pattern_list.o --- --- main.o --- cc -pipe -O2 -fno-strict-aliasing -DUSE_ACCEL -DDEFAULT_PATH=\"/usr/local/etc/jesred\" -c main.c --- ip_list.o --- cc -pipe -O2 -fno-strict-aliasing -DUSE_ACCEL -DDEFAULT_PATH=\"/usr/local/etc/jesred\" -c ip_list.c --- util.o --- cc -pipe -O2 -fno-strict-aliasing -DUSE_ACCEL -DDEFAULT_PATH=\"/usr/local/etc/jesred\" -c util.c --- log.o --- cc -pipe -O2 -fno-strict-aliasing -DUSE_ACCEL -DDEFAULT_PATH=\"/usr/local/etc/jesred\" -c log.c --- config.o --- cc -pipe -O2 -fno-strict-aliasing -DUSE_ACCEL -DDEFAULT_PATH=\"/usr/local/etc/jesred\" -c config.c --- rewrite.o --- cc -pipe -O2 -fno-strict-aliasing -DUSE_ACCEL -DDEFAULT_PATH=\"/usr/local/etc/jesred\" -c rewrite.c --- pattern_list.o --- cc -pipe -O2 -fno-strict-aliasing -DUSE_ACCEL -DDEFAULT_PATH=\"/usr/local/etc/jesred\" -c pattern_list.c --- util.o --- In file included from util.c:105: log.h:33:13: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] extern void log(log_code c, char *format, ...); ^~~ util.c: In function 'savestr': util.c:150:31: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] save = (char *)malloc(strlen(str) + 1); ^~~~~~ util.c:150:31: warning: incompatible implicit declaration of built-in function 'strlen' util.c:150:31: note: include '' or provide a declaration of 'strlen' util.c:107:1: +#include util.c:150:31: save = (char *)malloc(strlen(str) + 1); ^~~~~~ util.c:156:13: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(save, str); ^~~~~~ util.c:156:13: warning: incompatible implicit declaration of built-in function 'strcpy' util.c:156:13: note: include '' or provide a declaration of 'strcpy' --- config.o --- In file included from config.c:38: log.h:33:13: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] extern void log(log_code c, char *format, ...); ^~~ In file included from config.c:44: config.c: In function 'read_allow': util.h:102:34: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] #define safe_free(x) if (x) { free(x); x = NULL; } ^~~~ config.c:74:5: note: in expansion of macro 'safe_free' safe_free(*file); ^~~~~~~~~ util.h:102:34: warning: incompatible implicit declaration of built-in function 'free' #define safe_free(x) if (x) { free(x); x = NULL; } ^~~~ config.c:74:5: note: in expansion of macro 'safe_free' safe_free(*file); ^~~~~~~~~ util.h:102:34: note: include '' or provide a declaration of 'free' #define safe_free(x) if (x) { free(x); x = NULL; } ^~~~ config.c:74:5: note: in expansion of macro 'safe_free' safe_free(*file); ^~~~~~~~~ config.c: In function 'read_config': util.h:102:34: warning: incompatible implicit declaration of built-in function 'free' #define safe_free(x) if (x) { free(x); x = NULL; } ^~~~ config.c:98:5: note: in expansion of macro 'safe_free' safe_free(*allow); ^~~~~~~~~ util.h:102:34: note: include '' or provide a declaration of 'free' #define safe_free(x) if (x) { free(x); x = NULL; } ^~~~ config.c:98:5: note: in expansion of macro 'safe_free' safe_free(*allow); ^~~~~~~~~ util.h:102:34: warning: incompatible implicit declaration of built-in function 'free' #define safe_free(x) if (x) { free(x); x = NULL; } ^~~~ config.c:99:5: note: in expansion of macro 'safe_free' safe_free(*rules); ^~~~~~~~~ util.h:102:34: note: include '' or provide a declaration of 'free' #define safe_free(x) if (x) { free(x); x = NULL; } ^~~~ config.c:99:5: note: in expansion of macro 'safe_free' safe_free(*rules); ^~~~~~~~~ util.h:102:34: warning: incompatible implicit declaration of built-in function 'free' #define safe_free(x) if (x) { free(x); x = NULL; } ^~~~ config.c:100:5: note: in expansion of macro 'safe_free' safe_free(*redirect); ^~~~~~~~~ util.h:102:34: note: include '' or provide a declaration of 'free' #define safe_free(x) if (x) { free(x); x = NULL; } ^~~~ config.c:100:5: note: in expansion of macro 'safe_free' safe_free(*redirect); ^~~~~~~~~ util.h:102:34: warning: incompatible implicit declaration of built-in function 'free' #define safe_free(x) if (x) { free(x); x = NULL; } ^~~~ config.c:101:5: note: in expansion of macro 'safe_free' safe_free(*rewrite); ^~~~~~~~~ util.h:102:34: note: include '' or provide a declaration of 'free' #define safe_free(x) if (x) { free(x); x = NULL; } ^~~~ config.c:101:5: note: in expansion of macro 'safe_free' safe_free(*rewrite); ^~~~~~~~~ --- ip_list.o --- In file included from ip_list.c:109: log.h:33:13: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] extern void log(log_code c, char *format, ...); ^~~ --- config.o --- config.c: In function 'read_rules': util.h:102:34: warning: incompatible implicit declaration of built-in function 'free' #define safe_free(x) if (x) { free(x); x = NULL; } ^~~~ config.c:194:5: note: in expansion of macro 'safe_free' safe_free(*file); ^~~~~~~~~ util.h:102:34: note: include '' or provide a declaration of 'free' #define safe_free(x) if (x) { free(x); x = NULL; } ^~~~ config.c:194:5: note: in expansion of macro 'safe_free' safe_free(*file); ^~~~~~~~~ --- ip_list.o --- ip_list.c: In function 'addToIPACL': ip_list.c:190:9: warning: implicit declaration of function 'sscanf' [-Wimplicit-function-declaration] c = sscanf(ip_str, "%d.%d.%d.%d/%d", &a1, &a2, &a3, &a4, &m1); ^~~~~~ ip_list.c:190:9: warning: incompatible implicit declaration of built-in function 'sscanf' ip_list.c:190:9: note: include '' or provide a declaration of 'sscanf' ip_list.c:110:1: +#include ip_list.c:190:9: c = sscanf(ip_str, "%d.%d.%d.%d/%d", &a1, &a2, &a3, &a4, &m1); ^~~~~~ In file included from ip_list.c:108: ip_list.c: In function 'ip_acl_destroy': --- pattern_list.o --- In file included from pattern_list.c:36: log.h:33:13: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] extern void log(log_code c, char *format, ...); ^~~ --- ip_list.o --- util.h:102:34: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] #define safe_free(x) if (x) { free(x); x = NULL; } ^~~~ ip_list.c:209:2: note: in expansion of macro 'safe_free' safe_free(b); ^~~~~~~~~ util.h:102:34: warning: incompatible implicit declaration of built-in function 'free' #define safe_free(x) if (x) { free(x); x = NULL; } ^~~~ ip_list.c:209:2: note: in expansion of macro 'safe_free' safe_free(b); ^~~~~~~~~ util.h:102:34: note: include '' or provide a declaration of 'free' #define safe_free(x) if (x) { free(x); x = NULL; } ^~~~ ip_list.c:209:2: note: in expansion of macro 'safe_free' safe_free(b); ^~~~~~~~~ --- pattern_list.o --- pattern_list.c: In function 'add_to_patterns': pattern_list.c:82:2: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(second, ""); ^~~~~~ pattern_list.c:82:2: warning: incompatible implicit declaration of built-in function 'strcpy' pattern_list.c:82:2: note: include '' or provide a declaration of 'strcpy' pattern_list.c:39:1: +#include pattern_list.c:82:2: strcpy(second, ""); ^~~~~~ pattern_list.c:84:8: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if(strcmp(type, "abort") == 0) { ^~~~~~ pattern_list.c:95:16: warning: implicit declaration of function 'count_parenthesis' [-Wimplicit-function-declaration] parenthesis = count_parenthesis (first); ^~~~~~~~~~~~~~~~~ pattern_list.c:118:32: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] rpattern.pattern = (char *)malloc(sizeof(char) * (strlen(first) +1)); ^~~~~~ pattern_list.c:118:32: warning: incompatible implicit declaration of built-in function 'malloc' pattern_list.c:118:32: note: include '' or provide a declaration of 'malloc' pattern_list.c:39:1: +#include pattern_list.c:118:32: rpattern.pattern = (char *)malloc(sizeof(char) * (strlen(first) +1)); ^~~~~~ pattern_list.c:118:55: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] rpattern.pattern = (char *)malloc(sizeof(char) * (strlen(first) +1)); ^~~~~~ pattern_list.c:118:55: warning: incompatible implicit declaration of built-in function 'strlen' pattern_list.c:118:55: note: include '' or provide a declaration of 'strlen' pattern_list.c:124:5: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(rpattern.pattern, first); ^~~~~~ pattern_list.c:124:5: note: include '' or provide a declaration of 'strcpy' pattern_list.c: In function 'get_accel': pattern_list.c:169:11: warning: incompatible implicit declaration of built-in function 'strlen' len = strlen(accel); ^~~~~~ pattern_list.c:169:11: note: include '' or provide a declaration of 'strlen' --- log.o --- In file included from log.c:31: log.h:33:13: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] extern void log(log_code c, char *format, ...); ^~~ --- pattern_list.o --- pattern_list.c:178:25: warning: incompatible implicit declaration of built-in function 'malloc' new_accel = (char *)malloc(sizeof(char) * strlen(accel)); ^~~~~~ pattern_list.c:178:25: note: include '' or provide a declaration of 'malloc' pattern_list.c:179:5: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(new_accel,accel); ^~~~~~ pattern_list.c:179:5: note: include '' or provide a declaration of 'strcpy' --- rewrite.o --- In file included from rewrite.c:42: log.h:33:13: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] extern void log(log_code c, char *format, ...); ^~~ rewrite.c: In function 'parse_buff': rewrite.c:66:13: warning: implicit declaration of function 'strchr' [-Wimplicit-function-declaration] token = strchr(buff,' '); ^~~~~~ rewrite.c:66:13: warning: incompatible implicit declaration of built-in function 'strchr' rewrite.c:66:13: note: include '' or provide a declaration of 'strchr' rewrite.c:47:1: +#include rewrite.c:66:13: token = strchr(buff,' '); ^~~~~~ rewrite.c:114:30: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (allow_siblings && (! strcmp(*method, "ICP_QUERY")) ) ^~~~~~ rewrite.c:130:8: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] if(strlen(*url) <= 7) { ^~~~~~ rewrite.c:130:8: warning: incompatible implicit declaration of built-in function 'strlen' rewrite.c:130:8: note: include '' or provide a declaration of 'strlen' rewrite.c: In function 'pattern_compare': rewrite.c:182:12: warning: incompatible implicit declaration of built-in function 'strlen' len = strlen(curr->pattern); ^~~~~~ rewrite.c:182:12: note: include '' or provide a declaration of 'strlen' --- pattern_list.o --- pattern_list.c: In function 'count_parenthesis': pattern_list.c:260:21: warning: incompatible implicit declaration of built-in function 'strlen' for (i = 0; i < strlen (pattern); i++) { ^~~~~~ pattern_list.c:260:21: note: include '' or provide a declaration of 'strlen' In file included from pattern_list.c:37: pattern_list.c: In function 'plist_destroy': --- rewrite.o --- rewrite.c:219:8: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(newurl,curr->replacement); ^~~~~~ rewrite.c:219:8: warning: incompatible implicit declaration of built-in function 'strcpy' rewrite.c:219:8: note: include '' or provide a declaration of 'strcpy' --- pattern_list.o --- util.h:102:34: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] #define safe_free(x) if (x) { free(x); x = NULL; } ^~~~ pattern_list.c:289:2: note: in expansion of macro 'safe_free' safe_free(b->pattern); ^~~~~~~~~ util.h:102:34: warning: incompatible implicit declaration of built-in function 'free' #define safe_free(x) if (x) { free(x); x = NULL; } ^~~~ pattern_list.c:289:2: note: in expansion of macro 'safe_free' safe_free(b->pattern); ^~~~~~~~~ util.h:102:34: note: include '' or provide a declaration of 'free' #define safe_free(x) if (x) { free(x); x = NULL; } ^~~~ pattern_list.c:289:2: note: in expansion of macro 'safe_free' safe_free(b->pattern); ^~~~~~~~~ --- rewrite.o --- rewrite.c:236:4: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(newurl,curr->replacement); ^~~~~~ rewrite.c:236:4: note: include '' or provide a declaration of 'strcpy' --- pattern_list.o --- util.h:102:34: warning: incompatible implicit declaration of built-in function 'free' #define safe_free(x) if (x) { free(x); x = NULL; } ^~~~ pattern_list.c:290:2: note: in expansion of macro 'safe_free' safe_free(b->replacement); ^~~~~~~~~ util.h:102:34: note: include '' or provide a declaration of 'free' #define safe_free(x) if (x) { free(x); x = NULL; } ^~~~ pattern_list.c:290:2: note: in expansion of macro 'safe_free' safe_free(b->replacement); ^~~~~~~~~ util.h:102:34: warning: incompatible implicit declaration of built-in function 'free' #define safe_free(x) if (x) { free(x); x = NULL; } ^~~~ pattern_list.c:293:6: note: in expansion of macro 'safe_free' safe_free(b->accel); ^~~~~~~~~ util.h:102:34: note: include '' or provide a declaration of 'free' #define safe_free(x) if (x) { free(x); x = NULL; } ^~~~ pattern_list.c:293:6: note: in expansion of macro 'safe_free' safe_free(b->accel); ^~~~~~~~~ util.h:102:34: warning: incompatible implicit declaration of built-in function 'free' #define safe_free(x) if (x) { free(x); x = NULL; } ^~~~ pattern_list.c:296:2: note: in expansion of macro 'safe_free' safe_free(b); ^~~~~~~~~ util.h:102:34: note: include '' or provide a declaration of 'free' #define safe_free(x) if (x) { free(x); x = NULL; } ^~~~ pattern_list.c:296:2: note: in expansion of macro 'safe_free' safe_free(b); ^~~~~~~~~ --- rewrite.o --- rewrite.c: In function 'replace_string': rewrite.c:268:19: warning: implicit declaration of function 'count_parenthesis' [-Wimplicit-function-declaration] parenthesis = count_parenthesis (curr->pattern); ^~~~~~~~~~~~~~~~~ rewrite.c: In function 'match_accel': rewrite.c:360:9: warning: implicit declaration of function 'strstr' [-Wimplicit-function-declaration] if(strstr(url, accel)) ^~~~~~ rewrite.c:360:9: warning: incompatible implicit declaration of built-in function 'strstr' rewrite.c:360:9: note: include '' or provide a declaration of 'strstr' rewrite.c:370:9: warning: incompatible implicit declaration of built-in function 'strstr' if(strstr(l_accel, accel)) ^~~~~~ rewrite.c:370:9: note: include '' or provide a declaration of 'strstr' rewrite.c:377:14: warning: incompatible implicit declaration of built-in function 'strlen' accel_len = strlen(accel); ^~~~~~ rewrite.c:377:14: note: include '' or provide a declaration of 'strlen' rewrite.c:396:14: warning: incompatible implicit declaration of built-in function 'strlen' accel_len = strlen(accel); ^~~~~~ rewrite.c:396:14: note: include '' or provide a declaration of 'strlen' --- main.o --- In file included from main.c:43: log.h:33:13: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] extern void log(log_code c, char *format, ...); ^~~ main.c: In function 'main': main.c:79:13: warning: implicit declaration of function 'getuid'; did you mean 'getwc'? [-Wimplicit-function-declaration] if((int)getuid() == 0) { ^~~~~~ getwc main.c:105:51: warning: implicit declaration of function 'getpid'; did you mean 'getwc'? [-Wimplicit-function-declaration] log(INFO, "%s (PID %d) started\n", APPNAME, (int)getpid()); ^~~~~~ getwc main.c:130:12: warning: implicit declaration of function 'pattern_compare' [-Wimplicit-function-declaration] val = pattern_compare(url, redirect_url, pattern_list); ^~~~~~~~~~~~~~~ main.c: In function 'GetOptions': main.c:171:17: warning: implicit declaration of function 'getopt'; did you mean 'getwc'? [-Wimplicit-function-declaration] while ((c = getopt(argc, argv, "hv")) != -1) { ^~~~~~ getwc --- jesred --- cc -o jesred main.o ip_list.o util.o log.o config.o rewrite.o pattern_list.o -L. -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for jesred-1.2.1_1 ===> Generating temporary packing list install -s -m 555 /construction/www/jesred/jesred-1.2pl1/jesred /construction/www/jesred/stage/usr/local/libexec /bin/mkdir -p /construction/www/jesred/stage/usr/local/etc/jesred install -m 0644 /construction/www/jesred/jesred-1.2pl1/etc/jesred.conf /construction/www/jesred/stage/usr/local/etc/jesred/jesred.conf.sample install -m 0644 /construction/www/jesred/jesred-1.2pl1/etc/redirect.acl /construction/www/jesred/stage/usr/local/etc/jesred/redirect.acl.sample install -m 0644 /construction/www/jesred/jesred-1.2pl1/etc/redirect.rules /construction/www/jesred/stage/usr/local/etc/jesred/redirect.rules.sample ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for jesred-1.2.1_1 file sizes/checksums [4]: . done packing files [4]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Thursday, 30 AUG 2018 at 21:11:09 UTC Duration: 00:00:05