=>> Building sysutils/chgrep build started at Fri Dec 12 14:48:10 EST 2025 port directory: /usr/ports/sysutils/chgrep package name: chgrep-1.2.4_1 building for: FreeBSD pkg.DaveG.ca 13.5-RELEASE-p7 FreeBSD 13.5-RELEASE-p7 1305000 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 548 Aug 27 2024 /usr/ports/sysutils/chgrep/Makefile Ports top last git commit: 62d8b1999233 Ports top unclean checkout: no Port dir last git commit: 5c97fbea8cb6 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1305000 Job Id: 02 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1305000 UNAME_v=FreeBSD 13.5-RELEASE-p7 1305000 UNAME_r=13.5-RELEASE-p7 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/02/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_13_5_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=/usr/local/bin/gmake XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/chgrep/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/chgrep/work XDG_CACHE_HOME=/wrkdirs/usr/ports/sysutils/chgrep/work/.cache HOME=/wrkdirs/usr/ports/sysutils/chgrep/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/sysutils/chgrep/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/sysutils/chgrep/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/chgrep/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/chgrep/work XDG_CACHE_HOME=/wrkdirs/usr/ports/sysutils/chgrep/work/.cache HOME=/wrkdirs/usr/ports/sysutils/chgrep/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/sysutils/chgrep/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/sysutils/chgrep/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " 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" --End MAKE_ENV-- --PLIST_SUB-- OSREL=13.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/chgrep" EXAMPLESDIR="share/examples/chgrep" DATADIR="share/chgrep" WWWDIR="www/chgrep" ETCDIR="etc/chgrep" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/chgrep DOCSDIR=/usr/local/share/doc/chgrep EXAMPLESDIR=/usr/local/share/examples/chgrep WWWDIR=/usr/local/www/chgrep ETCDIR=/usr/local/etc/chgrep --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The chgrep 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://docs.freebsd.org/en/articles/contributing/#ports-contributing =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> chgrep-1.2.4_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.4.2_1.pkg [pkg.DaveG.ca] Installing pkg-2.4.2_1... [pkg.DaveG.ca] Extracting pkg-2.4.2_1: .......... done ===> chgrep-1.2.4_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of chgrep-1.2.4_1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The chgrep 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://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by chgrep-1.2.4_1 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The chgrep 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://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by chgrep-1.2.4_1 for building => SHA256 Checksum OK for chgrep-1.2.4.tgz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The chgrep 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://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by chgrep-1.2.4_1 for building ===> Extracting for chgrep-1.2.4_1 => SHA256 Checksum OK for chgrep-1.2.4.tgz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for chgrep-1.2.4_1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> chgrep-1.2.4_1 depends on package: gmake>=4.4.1 - not found ===> Installing existing package /packages/All/gmake-4.4.1.pkg [pkg.DaveG.ca] Installing gmake-4.4.1... [pkg.DaveG.ca] `-- Installing gettext-runtime-0.23.1... [pkg.DaveG.ca] | `-- Installing indexinfo-0.3.1_1... [pkg.DaveG.ca] | `-- Extracting indexinfo-0.3.1_1: . done [pkg.DaveG.ca] `-- Extracting gettext-runtime-0.23.1: .......... done [pkg.DaveG.ca] Extracting gmake-4.4.1: .......... done ===> chgrep-1.2.4_1 depends on package: gmake>=4.4.1 - found ===> Returning to build of chgrep-1.2.4_1 ===> chgrep-1.2.4_1 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> chgrep-1.2.4_1 depends on file: /usr/local/bin/ccache - found ===> Returning to build of chgrep-1.2.4_1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for chgrep-1.2.4_1 loading site script /usr/ports/Templates/config.site creating cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether /usr/local/bin/gmake sets ${MAKE}... yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... missing checking for gcc... cc checking whether the C compiler (cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ) works... yes checking whether the C compiler (cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether cc accepts -g... yes checking for gawk... (cached) /usr/bin/awk checking for a BSD compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking how to run the C preprocessor... cpp checking for ANSI C header files... (cached) yes checking for fcntl.h... (cached) yes checking for limits.h... (cached) yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for working const... yes checking for uid_t in sys/types.h... (cached) yes checking for mode_t... (cached) yes checking for off_t... (cached) yes checking for size_t... (cached) yes checking for working alloca.h... (cached) no checking for alloca... yes checking for 8-bit clean memcmp... yes checking return type of signal handlers... void checking for vprintf... (cached) yes checking for regcomp... yes checking for strerror... (cached) yes checking for strstr... (cached) yes updating cache ./config.cache creating ./config.status creating man/Makefile creating src/Makefile creating Makefile =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for chgrep-1.2.4_1 Making all in src gmake[1]: Entering directory '/wrkdirs/usr/ports/sysutils/chgrep/work/chgrep-1.2.4/src' cc -DPACKAGE=\"chgrep\" -DVERSION=\"1.2.4\" -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ALLOCA=1 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_REGCOMP=1 -DHAVE_STRERROR=1 -DHAVE_STRSTR=1 -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c chgrep.c cc -DPACKAGE=\"chgrep\" -DVERSION=\"1.2.4\" -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ALLOCA=1 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_REGCOMP=1 -DHAVE_STRERROR=1 -DHAVE_STRSTR=1 -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c functions.c cc -DPACKAGE=\"chgrep\" -DVERSION=\"1.2.4\" -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ALLOCA=1 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_REGCOMP=1 -DHAVE_STRERROR=1 -DHAVE_STRSTR=1 -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c error.c cc -DPACKAGE=\"chgrep\" -DVERSION=\"1.2.4\" -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ALLOCA=1 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_REGCOMP=1 -DHAVE_STRERROR=1 -DHAVE_STRSTR=1 -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c wrappers.c cc -DPACKAGE=\"chgrep\" -DVERSION=\"1.2.4\" -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ALLOCA=1 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_REGCOMP=1 -DHAVE_STRERROR=1 -DHAVE_STRSTR=1 -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c ftw.c error.c:57:2: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 57 | exit(1); | ^ error.c:57:2: note: include the header or explicitly provide a declaration for 'exit' error.c:71:2: warning: call to undeclared library function 'abort' with type 'void (void) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 71 | abort(); /* dump core and terminate */ | ^ error.c:71:2: note: include the header or explicitly provide a declaration for 'abort' error.c:118:6: 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] 118 | n = strlen(buf); | ^ error.c:118:6: note: include the header or explicitly provide a declaration for 'strlen' error.c:120:42: warning: call to undeclared library function 'strerror' with type 'char *(int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 120 | snprintf(buf+n, sizeof(buf)-n, ": %s", strerror(errno_save)); | ^ error.c:120:42: note: include the header or explicitly provide a declaration for 'strerror' error.c:121:2: warning: call to undeclared library function 'strcat' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 121 | strcat(buf, "\n"); | ^ error.c:121:2: note: include the header or explicitly provide a declaration for 'strcat' error.c:124:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 124 | syslog(level, buf); | ^~~ error.c:124:17: note: treat the string as an argument to avoid this 124 | syslog(level, buf); | ^ | "%s", 6 warnings generated. wrappers.c:190:30: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 190 | if ( (ptr = (void *) malloc(size)) == NULL) | ^ wrappers.c:190:30: note: include the header or explicitly provide a declaration for 'malloc' wrappers.c:198:30: warning: call to undeclared library function 'realloc' with type 'void *(void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 198 | if ( (ptr = (void *) realloc(ptr, size)) == NULL) | ^ wrappers.c:198:30: note: include the header or explicitly provide a declaration for 'realloc' 2 warnings generated. functions.c:68:20: warning: call to undeclared function 'Malloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 68 | buffin = (char *) Malloc(BUFSIZ); | ^ functions.c:68:11: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 68 | buffin = (char *) Malloc(BUFSIZ); | ^~~~~~~~~~~~~~~~~~~~~~~ functions.c:69:12: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 69 | buffout = (char *) Malloc(BUFSIZ * 5); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c:85:4: warning: call to undeclared function 'err_msg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 85 | err_msg("%s\topen error:%s", file, strerror(errno)); | ^ functions.c:89:4: warning: call to undeclared function 'err_msg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 89 | err_msg("%s\tfstat error:%s", file, strerror(errno)); | ^ functions.c:91:5: warning: call to undeclared function 'Close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 91 | Close(fdin); | ^ functions.c:99:4: warning: call to undeclared function 'err_msg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 99 | err_msg("%s\topen error:%s", tmpfile, strerror(errno)); | ^ functions.c:101:5: warning: call to undeclared function 'Close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 101 | Close(fdin); | ^ functions.c:106:4: warning: call to undeclared function 'err_msg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 106 | err_msg("%s\tchmod error:%s", tmpfile, strerror(errno)); | ^ functions.c:108:5: warning: call to undeclared function 'Close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 108 | Close(fdin); | ^ functions.c:114:4: warning: call to undeclared function 'err_msg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 114 | err_msg("%s\tchown error:%s", tmpfile, strerror(errno)); | ^ functions.c:116:5: warning: call to undeclared function 'Close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 116 | Close(fdin); | ^ functions.c:122:4: warning: call to undeclared function 'err_msg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 122 | err_msg("%s\tfcntl error:%s", file, strerror(errno)); | ^ functions.c:124:5: warning: call to undeclared function 'Close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 124 | Close(fdin); | ^ functions.c:131:3: warning: call to undeclared function 'Write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 131 | Write(STDERR_FILENO, "\n", 1); | ^ functions.c:133:28: warning: call to undeclared function 'Read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 133 | while ( (nwrite = nread = Read(fdin, buffin, BUFSIZ - 1)) != 0) { | ^ functions.c:137:4: warning: call to undeclared function 'err_msg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 137 | err_msg("Loop %d: Read: %d, Counter: %d", ++loop, nread, counter); | ^ functions.c:148:24: warning: call to undeclared function 'Realloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 148 | buffout = (char *) Realloc(buffout, mem_al + BUFSIZ); | ^ functions.c:148:15: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 148 | buffout = (char *) Realloc(buffout, mem_al + BUFSIZ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c:156:24: warning: call to undeclared function 'Realloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 156 | buffout = (char *) Realloc(buffout, mem_al + BUFSIZ); | ^ functions.c:156:15: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 156 | buffout = (char *) Realloc(buffout, mem_al + BUFSIZ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c:175:22: warning: call to undeclared function 'Realloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 175 | buffout = (char *) Realloc(buffout, BUFSIZ * 5); | ^ functions.c:175:13: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 175 | buffout = (char *) Realloc(buffout, BUFSIZ * 5); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c:181:3: warning: call to undeclared function 'err_msg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 181 | err_msg("%s\tfcntl error:%s", tmpfile, strerror(errno)); | ^ functions.c:183:4: warning: call to undeclared function 'Close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 183 | Close(fdin); | ^ functions.c:190:3: warning: call to undeclared function 'Close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 190 | Close(fdin); | ^ functions.c:197:4: warning: call to undeclared function 'Utime'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 197 | Utime(tmpfile, &tmputime); | ^ functions.c:205:2: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 205 | free(buffin); | ^ functions.c:205:2: note: include the header or explicitly provide a declaration for 'free' functions.c:233:21: warning: call to undeclared function 'Malloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 233 | buffin = (char *) Malloc(BUFSIZ); | ^ functions.c:233:12: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 233 | buffin = (char *) Malloc(BUFSIZ); | ^~~~~~~~~~~~~~~~~~~~~~~ functions.c:234:13: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 234 | buffout = (char *) Malloc(BUFSIZ); | ^~~~~~~~~~~~~~~~~~~~~~~ functions.c:237:21: warning: call to undeclared function 'Malloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 237 | buffin = (char *) Malloc(BUFSIZ); | ^ functions.c:237:12: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 237 | buffin = (char *) Malloc(BUFSIZ); | ^~~~~~~~~~~~~~~~~~~~~~~ functions.c:238:13: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 238 | buffout = (char *) Malloc(BUFSIZ * 5); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c:254:4: warning: call to undeclared function 'err_msg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 254 | err_msg("%s\topen error:%s", file, strerror(errno)); | ^ functions.c:258:4: warning: call to undeclared function 'err_msg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 258 | err_msg("%s\tfstat error:%s", file, strerror(errno)); | ^ functions.c:260:5: warning: call to undeclared function 'Close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 260 | Close(fdin); | ^ functions.c:268:4: warning: call to undeclared function 'err_msg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 268 | err_msg("%s\topen error:%s", tmpfile, strerror(errno)); | ^ functions.c:270:5: warning: call to undeclared function 'Close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 270 | Close(fdin); | ^ functions.c:275:4: warning: call to undeclared function 'err_msg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 275 | err_msg("%s\tchmod error:%s", tmpfile, strerror(errno)); | ^ functions.c:277:5: warning: call to undeclared function 'Close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 277 | Close(fdin); | ^ functions.c:283:4: warning: call to undeclared function 'err_msg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 283 | err_msg("%s\tchown error:%s", tmpfile, strerror(errno)); | ^ functions.c:285:5: warning: call to undeclared function 'Close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 285 | Close(fdin); | ^ functions.c:291:4: warning: call to undeclared function 'err_msg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 291 | err_msg("%s\tfcntl error:%s", file, strerror(errno)); | ^ functions.c:293:5: warning: call to undeclared function 'Close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 293 | Close(fdin); | ^ functions.c:301:3: warning: call to undeclared function 'Write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 301 | Write(STDERR_FILENO, "\n", 1); | ^ functions.c:303:35: warning: call to undeclared function 'Read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 303 | while ( (nwrite = nread = Read(fdin, buffin, BUFSIZ - 1)) != 0) { | ^ functions.c:307:25: warning: call to undeclared function 'err_msg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 307 | err_msg("Loop %d: Read: %d, Counter: %d", ++loop, nread, counter); | ^ functions.c:317:52: warning: call to undeclared function 'Realloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 317 | buffout = (char *) Realloc(buffout, mem_al + BUFSIZ); | ^ functions.c:317:43: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 317 | buffout = (char *) Realloc(buffout, mem_al + BUFSIZ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c:324:52: warning: call to undeclared function 'Realloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 324 | buffout = (char *) Realloc(buffout, mem_al + BUFSIZ); | ^ functions.c:324:43: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 324 | buffout = (char *) Realloc(buffout, mem_al + BUFSIZ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c:344:37: warning: call to undeclared function 'Realloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 344 | buffout = (char *) Realloc(buffout, BUFSIZ * 5); | ^ functions.c:344:28: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 344 | buffout = (char *) Realloc(buffout, BUFSIZ * 5); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions.c:351:3: warning: call to undeclared function 'err_msg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 351 | err_msg("%s\tfcntl error:%s", tmpfile, strerror(errno)); | ^ functions.c:353:4: warning: call to undeclared function 'Close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 353 | Close(fdin); | ^ functions.c:360:3: warning: call to undeclared function 'Close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 360 | Close(fdin); | ^ functions.c:367:4: warning: call to undeclared function 'Utime'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 367 | Utime(tmpfile, &tmputime); | ^ functions.c:394:4: warning: call to undeclared function 'err_msg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 394 | err_msg("%s\tfile didn't change! Try -t option!", name); | ^ functions.c:402:3: warning: call to undeclared function 'Close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 402 | Close(fdout); | ^ functions.c:404:3: warning: call to undeclared function 'err_msg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 404 | err_msg("%s\tfile didn't change! %s.lock exists. Try later!", tmpfile, tmpfile); | ^ functions.c:408:2: warning: call to undeclared function 'Rename'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 408 | Rename(name, tmpfile); | ^ functions.c:411:3: warning: call to undeclared function 'Write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 411 | Write(STDOUT_FILENO, (char *) name, strlen(name)); | ^ functions.c:425:3: warning: call to undeclared function 'Unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 425 | Unlink(tmpfile); | ^ functions.c:458:2: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 458 | exit(0); | ^ functions.c:458:2: note: include the header or explicitly provide a declaration for 'exit' functions.c:465:3: warning: call to undeclared function 'Rename'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 465 | Rename(tmpfile_quit, file_quit); | ^ functions.c:467:2: warning: call to undeclared function 'err_quit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 467 | err_quit(" recovered\nOperation stopped. You pressed Ctrl-C or received SIGINT."); | ^ 67 warnings generated. chgrep.c:72:11: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 72 | newstr = malloc(MAXLINE); | ^ chgrep.c:72:11: note: include the header or explicitly provide a declaration for 'malloc' chgrep.c:160:4: warning: call to undeclared function 'Write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 160 | Write(STDOUT_FILENO, "STDIN\n", 6); | ^ chgrep.c:179:4: warning: call to undeclared function 'ftw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 179 | ftw(argv[opttmp], list, sysconf(_SC_OPEN_MAX)); | ^ chgrep.c:211:4: warning: call to undeclared function 'Write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 211 | Write(STDOUT_FILENO, argv[opttmp], strlen(argv[opttmp])); | ^ 4 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -o chgrep chgrep.o error.o functions.o wrappers.o ftw.o gmake[1]: Leaving directory '/wrkdirs/usr/ports/sysutils/chgrep/work/chgrep-1.2.4/src' Making all in man gmake[1]: Entering directory '/wrkdirs/usr/ports/sysutils/chgrep/work/chgrep-1.2.4/man' gmake[1]: Nothing to be done for 'all'. gmake[1]: Leaving directory '/wrkdirs/usr/ports/sysutils/chgrep/work/chgrep-1.2.4/man' gmake[1]: Entering directory '/wrkdirs/usr/ports/sysutils/chgrep/work/chgrep-1.2.4' gmake[1]: Nothing to be done for 'all-am'. gmake[1]: Leaving directory '/wrkdirs/usr/ports/sysutils/chgrep/work/chgrep-1.2.4' =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for chgrep-1.2.4_1 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/sysutils/chgrep/work/chgrep-1.2.4/src/chgrep /wrkdirs/usr/ports/sysutils/chgrep/work/stage/usr/local/bin install -m 444 /wrkdirs/usr/ports/sysutils/chgrep/work/chgrep-1.2.4/man/chgrep.1 /wrkdirs/usr/ports/sysutils/chgrep/work/stage/usr/local/share/man/man1 ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2025-12-12T19:48:10+0000' 'PKG_NOTE_ports_top_git_hash=62d8b1999233' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=5c97fbea8cb6' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for chgrep-1.2.4_1 ===> Building chgrep-1.2.4_1 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for chgrep-1.2.4_1 build of sysutils/chgrep | chgrep-1.2.4_1 ended at Fri Dec 12 14:48:21 EST 2025 build time: 00:00:14