=>> Building textproc/agrep build started at Fri Mar 29 17:48:11 GMT 2024 port directory: /usr/ports/textproc/agrep package name: agrep-2.04_3 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: dinoex@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 1148 Jan 11 20:37 /usr/ports/textproc/agrep/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: 33048bb63b Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 20 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 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.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/20/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 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--- ===> The following configuration options are available for agrep-2.04_3: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- dinoex@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/textproc/agrep/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/textproc/agrep/work XDG_CACHE_HOME=/wrkdirs/usr/ports/textproc/agrep/work/.cache HOME=/wrkdirs/usr/ports/textproc/agrep/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/textproc/agrep/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/textproc/agrep/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/root/.ccache" --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/textproc/agrep/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/textproc/agrep/work XDG_CACHE_HOME=/wrkdirs/usr/ports/textproc/agrep/work/.cache HOME=/wrkdirs/usr/ports/textproc/agrep/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/textproc/agrep/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/textproc/agrep/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=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" 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-- PORTDOCS="" OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/agrep" EXAMPLESDIR="share/examples/agrep" DATADIR="share/agrep" WWWDIR="www/agrep" ETCDIR="etc/agrep" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/agrep DOCSDIR=/usr/local/share/doc/agrep EXAMPLESDIR=/usr/local/share/examples/agrep WWWDIR=/usr/local/www/agrep ETCDIR=/usr/local/etc/agrep --End SUB_LIST-- ---Begin make.conf--- 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 #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---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 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> agrep-2.04_3 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... done ===> agrep-2.04_3 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of agrep-2.04_3 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by agrep-2.04_3 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by agrep-2.04_3 for building => SHA256 Checksum OK for agrep-2.04.tar.Z. => SHA256 Checksum OK for agrep.ps.1.Z. => SHA256 Checksum OK for agrep.ps.2.Z. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by agrep-2.04_3 for building ===> Extracting for agrep-2.04_3 => SHA256 Checksum OK for agrep-2.04.tar.Z. => SHA256 Checksum OK for agrep.ps.1.Z. => SHA256 Checksum OK for agrep.ps.2.Z. cp -f /portdistfiles/agrep.ps.1.Z /portdistfiles/agrep.ps.2.Z /wrkdirs/usr/ports/textproc/agrep/work/agrep-2.04/ =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for agrep-2.04_3 ===> Applying FreeBSD patches for agrep-2.04_3 from /usr/ports/textproc/agrep/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for agrep-2.04_3 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for agrep-2.04_3 cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c asearch.c -o asearch.o asearch.c:28:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] D_length = strlen(old_D_pat); ^~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ asearch.c:54:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(buffer+end, old_D_pat, D_length); ^~~~~~~~~~ /usr/include/string.h:107:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ asearch.c:54:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(buffer+end, old_D_pat, D_length); ^~~~~~~~~ /usr/include/string.h:107:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ asearch.c:175:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(buffer+Max_record-ResidueSize, buffer+lasti, ResidueSize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:107:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ asearch.c:175:47: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(buffer+Max_record-ResidueSize, buffer+lasti, ResidueSize); ^~~~~~~~~~~~ /usr/include/string.h:107:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ asearch.c:193:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] D_length = strlen(old_D_pat); ^~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ asearch.c:212:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(buffer+end, old_D_pat, D_length); ^~~~~~~~~~ /usr/include/string.h:107:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ asearch.c:212:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(buffer+end, old_D_pat, D_length); ^~~~~~~~~ /usr/include/string.h:107:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ asearch.c:294:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(buffer+Max_record-ResidueSize, buffer+lasti, ResidueSize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:107:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ asearch.c:294:47: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(buffer+Max_record-ResidueSize, buffer+lasti, ResidueSize); ^~~~~~~~~~~~ /usr/include/string.h:107:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ 10 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c asearch1.c -o asearch1.o asearch1.c:38:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while ((num_read = fill_buf(Text, buffer + Max_record, Max_record)) > 0) ^~~~~~~~~~~~~~~~~~~ ./agrep.h:63:37: note: passing argument to parameter 'buf' here int fill_buf(int fd, unsigned char *buf, int record_size); ^ asearch1.c:74:32: warning: passing 'char[98305]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] output(buffer, lasti, i-D_length-1, j); ^~~~~~ ./agrep.h:72:29: note: passing argument to parameter 'buffer' here void output (register CHAR *buffer, int i1, int i2, int j); ^ asearch1.c:104:32: warning: passing 'char[98305]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] output(buffer, lasti, i-D_length-1, j); ^~~~~~ ./agrep.h:72:29: note: passing argument to parameter 'buffer' here void output (register CHAR *buffer, int i1, int i2, int j); ^ 3 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c bitap.c -o bitap.o bitap.c:53:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] { asearch(old_D_pat, fd, D); return; } ^~~~~~~~~ ./agrep.h:56:19: note: passing argument to parameter 'old_D_pat' here void asearch(CHAR old_D_pat[], int text, register unsigned D); ^ bitap.c:69:35: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while ((num_read = fill_buf(fd, buffer + Max_record, Max_record)) > 0) ^~~~~~~~~~~~~~~~~~~ ./agrep.h:63:37: note: passing argument to parameter 'buf' here int fill_buf(int fd, unsigned char *buf, int record_size); ^ bitap.c:103:28: warning: passing 'char[147456]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] output(buffer, lasti, print_end, j); ^~~~~~ ./agrep.h:72:29: note: passing argument to parameter 'buffer' here void output (register CHAR *buffer, int i1, int i2, int j); ^ bitap.c:125:28: warning: passing 'char[147456]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] output(buffer, lasti, print_end, j); ^~~~~~ ./agrep.h:72:29: note: passing argument to parameter 'buffer' here void output (register CHAR *buffer, int i1, int i2, int j); ^ 4 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c checkfile.c -o checkfile.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c compat.c -o compat.o compat.c:20:82: warning: data argument not used by format string [-Wformat-extra-args] fprintf(stderr, "WARNING!!! -B option ignored when -c, -l, -f, or -# is on\n", Progname); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c follow.c -o follow.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c main.c -o main.o main.c:227:15: warning: passing 'unsigned char[50177]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(buffer, buffer+num_read, Maxline); ^~~~~~ /usr/include/string.h:107:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ main.c:227:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(buffer, buffer+num_read, Maxline); ^~~~~~~~~~~~~~~ /usr/include/string.h:107:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ main.c:399:13: warning: passing 'unsigned char[50177]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(buffer, buffer+num_read, Maxline); ^~~~~~ /usr/include/string.h:107:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ main.c:399:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(buffer, buffer+num_read, Maxline); ^~~~~~~~~~~~~~~ /usr/include/string.h:107:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ main.c:493:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(buffer+Maxline-ResidueSize, buffer+lasti, ResidueSize); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:107:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ main.c:493:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(buffer+Maxline-ResidueSize, buffer+lasti, ResidueSize); ^~~~~~~~~~~~ /usr/include/string.h:107:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ main.c:600:13: warning: passing 'unsigned char[50177]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(buffer, buffer+num_read, Maxline); ^~~~~~ /usr/include/string.h:107:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ main.c:600:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(buffer, buffer+num_read, Maxline); ^~~~~~~~~~~~~~~ /usr/include/string.h:107:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ main.c:632:10: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(Progname, argv[0]); ^~~~~~~~ /usr/include/string.h:88:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ main.c:660:28: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(D_pattern+1, argv[0]); ^~~~~~~~~~~ /usr/include/string.h:88:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ main.c:668:28: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(D_pattern+1, argv[0]+2); ^~~~~~~~~~~ /usr/include/string.h:88:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ main.c:670:26: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(D_pattern, ">; "); ^~~~~~~~~ /usr/include/string.h:80:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ main.c:680:31: warning: passing 'unsigned char[128]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(Pattern, (argv)[0]); ^~~~~~~ /usr/include/string.h:80:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ main.c:682:31: warning: passing 'unsigned char[128]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else strcat(Pattern, argv[0]); ^~~~~~~ /usr/include/string.h:80:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ main.c:703:12: warning: passing 'unsigned char[128]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(Pattern, argv[0]); ^~~~~~~ /usr/include/string.h:80:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ main.c:762:13: warning: passing 'unsigned char[128]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(Pattern, *argv, sizeof(Pattern)); ^~~~~~~ /usr/include/string.h:107:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ main.c:791:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(Textfiles[Numfiles++], *argv++); ^~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:88:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ main.c:796:10: warning: passing 'unsigned char[128]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(OldPattern, Pattern); ^~~~~~~~~~ /usr/include/string.h:88:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ main.c:796:22: warning: passing 'unsigned char[128]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(OldPattern, Pattern); ^~~~~~~ /usr/include/string.h:88:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ main.c:799:14: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(old_D_pat, D_pattern); ^~~~~~~~~ /usr/include/string.h:88:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ main.c:799:25: warning: passing 'unsigned char[16]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(old_D_pat, D_pattern); ^~~~~~~~~ /usr/include/string.h:88:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ main.c:802:19: warning: passing 'unsigned char[128]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else M = strlen(OldPattern); ^~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ main.c:815:41: warning: passing 'unsigned char[128]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(SGREP) sgrep(OldPattern, strlen(OldPattern), fd, D); ^~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ main.c:816:21: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else bitap(old_D_pat, Pattern, fd, M, D); ^~~~~~~~~ ./agrep.h:62:17: note: passing argument to parameter 'old_D_pat' here void bitap(char old_D_pat[], char *Pattern, int fd, int M, int D); ^ main.c:816:32: warning: passing 'unsigned char[128]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else bitap(old_D_pat, Pattern, fd, M, D); ^~~~~~~ ./agrep.h:62:36: note: passing argument to parameter 'Pattern' here void bitap(char old_D_pat[], char *Pattern, int fd, int M, int D); ^ main.c:825:15: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(CurrentFileName, Textfiles[i]); ^~~~~~~~~~~~~~~ /usr/include/string.h:88:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ main.c:825:32: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(CurrentFileName, Textfiles[i]); ^~~~~~~~~~~~ /usr/include/string.h:88:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ main.c:826:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((fd = open(Textfiles[i], 0)) <= 0) { ^~~~~~~~~~~~ /usr/include/fcntl.h:360:22: note: passing argument to parameter here int open(const char *, int, ...); ^ main.c:832:51: warning: passing 'unsigned char[128]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(SGREP) sgrep(OldPattern, strlen(OldPattern), fd, D); ^~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ main.c:833:32: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else bitap(old_D_pat, Pattern, fd, M, D); ^~~~~~~~~ ./agrep.h:62:17: note: passing argument to parameter 'old_D_pat' here void bitap(char old_D_pat[], char *Pattern, int fd, int M, int D); ^ main.c:833:43: warning: passing 'unsigned char[128]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else bitap(old_D_pat, Pattern, fd, M, D); ^~~~~~~ ./agrep.h:62:36: note: passing argument to parameter 'Pattern' here void bitap(char old_D_pat[], char *Pattern, int fd, int M, int D); ^ main.c:847:13: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] file_out(CurrentFileName); ^~~~~~~~~~~~~~~ main.c:9:21: note: passing argument to parameter 'fname' here void file_out(char *fname); ^ main.c:855:16: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(old_D_pat, D_pattern); ^~~~~~~~~ /usr/include/string.h:88:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ main.c:855:27: warning: passing 'unsigned char[16]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(old_D_pat, D_pattern); ^~~~~~~~~ /usr/include/string.h:88:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ main.c:861:17: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(CurrentFileName, Textfiles[i]); ^~~~~~~~~~~~~~~ /usr/include/string.h:88:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ main.c:861:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(CurrentFileName, Textfiles[i]); ^~~~~~~~~~~~ /usr/include/string.h:88:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ main.c:862:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((fd = open(Textfiles[i], 0)) > 0) { ^~~~~~~~~~~~ /usr/include/fcntl.h:360:22: note: passing argument to parameter here int open(const char *, int, ...); ^ main.c:865:56: warning: passing 'unsigned char[128]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(SGREP) sgrep(OldPattern,strlen(OldPattern),fd,D); ^~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ main.c:866:33: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else bitap(old_D_pat,Pattern,fd,M,D); ^~~~~~~~~ ./agrep.h:62:17: note: passing argument to parameter 'old_D_pat' here void bitap(char old_D_pat[], char *Pattern, int fd, int M, int D); ^ main.c:866:43: warning: passing 'unsigned char[128]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else bitap(old_D_pat,Pattern,fd,M,D); ^~~~~~~ ./agrep.h:62:36: note: passing argument to parameter 'Pattern' here void bitap(char old_D_pat[], char *Pattern, int fd, int M, int D); ^ main.c:884:17: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(CurrentFileName, Textfiles[i]); ^~~~~~~~~~~~~~~ /usr/include/string.h:88:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ main.c:884:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(CurrentFileName, Textfiles[i]); ^~~~~~~~~~~~ /usr/include/string.h:88:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ main.c:885:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((fd = open(Textfiles[i], 0)) > 0) { ^~~~~~~~~~~~ /usr/include/fcntl.h:360:22: note: passing argument to parameter here int open(const char *, int, ...); ^ main.c:888:56: warning: passing 'unsigned char[128]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(SGREP) sgrep(OldPattern,strlen(OldPattern),fd,D); ^~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ main.c:889:33: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else bitap(old_D_pat,Pattern,fd,M,D); ^~~~~~~~~ ./agrep.h:62:17: note: passing argument to parameter 'old_D_pat' here void bitap(char old_D_pat[], char *Pattern, int fd, int M, int D); ^ main.c:889:43: warning: passing 'unsigned char[128]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else bitap(old_D_pat,Pattern,fd,M,D); ^~~~~~~ ./agrep.h:62:36: note: passing argument to parameter 'Pattern' here void bitap(char old_D_pat[], char *Pattern, int fd, int M, int D); ^ main.c:958:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] m = strlen(Pattern); ^~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ 47 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c maskgen.c -o maskgen.o maskgen.c:23:12: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] M = strlen(Pattern); ^~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c parse.c -o parse.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c preprocess.c -o preprocess.o preprocess.c:35:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] m = strlen(Pattern); ^~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ preprocess.c:40:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] r_pat = (CHAR *) malloc(strlen(Pattern)+2*strlen(D_pattern)); ^~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ preprocess.c:40:52: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] r_pat = (CHAR *) malloc(strlen(Pattern)+2*strlen(D_pattern)); ^~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ preprocess.c:41:10: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(temp, D_pattern); ^~~~ /usr/include/string.h:88:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ preprocess.c:41:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(temp, D_pattern); ^~~~~~~~~ /usr/include/string.h:88:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ preprocess.c:42:22: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] d_end = t = strlen(temp); /* size of D_pattern, including '; ' */ ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ preprocess.c:47:27: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(temp, Pattern); ^~~~ /usr/include/string.h:80:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ preprocess.c:47:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(temp, Pattern); ^~~~~~~ /usr/include/string.h:80:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ preprocess.c:48:31: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] m = strlen(temp); ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ preprocess.c:58:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(temp, Pattern); ^~~~ /usr/include/string.h:80:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ preprocess.c:58:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(temp, Pattern); ^~~~~~~ /usr/include/string.h:80:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ preprocess.c:59:17: warning: passing 'unsigned char[1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] m = strlen(temp); ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ preprocess.c:96:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(D_pattern, old_D_pat); ^~~~~~~~~ /usr/include/string.h:88:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ preprocess.c:96:21: warning: passing 'unsigned char[16]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(D_pattern, old_D_pat); ^~~~~~~~~ /usr/include/string.h:88:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ preprocess.c:202:21: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] num_pos = init(r_pat, table); ^~~~~ preprocess.c:18:23: note: passing argument to parameter 's' here extern int init(char *s, int table[32][32]); ^ preprocess.c:211:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(old_pat, Pattern); /* do real change to the Pattern to be returned */ ^~~~~~~ /usr/include/string.h:88:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ preprocess.c:211:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(old_pat, Pattern); /* do real change to the Pattern to be returned */ ^~~~~~~ /usr/include/string.h:88:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ 17 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c sgrep.c -o sgrep.o sgrep.c:106:25: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (DNA) prep4(pat, m); ^~~ sgrep.c:48:18: note: passing argument to parameter 'Pattern' here void prep4(char *Pattern, int m); ^ sgrep.c:138:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(text+start, text+end, residue); ^~~~~~~~~~ /usr/include/string.h:107:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ sgrep.c:138:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(text+start, text+end, residue); ^~~~~~~~ /usr/include/string.h:107:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ sgrep.c:348:55: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] s_output(text, ¤tpos); ^~~~~~~~~~~ sgrep.c:40:37: note: passing argument to parameter 'i' here void s_output (CHARTYPE *text, int *i); ^ sgrep.c:367:55: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] s_output(text, ¤tpos); ^~~~~~~~~~~ sgrep.c:40:37: note: passing argument to parameter 'i' here void s_output (CHARTYPE *text, int *i); ^ sgrep.c:452:30: warning: while loop has empty body [-Wempty-body] while(*(--text) != '\n'); ^ sgrep.c:452:30: note: put the semicolon on a separate line to silence this warning sgrep.c:520:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] m = strlen(Pattern); ^~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ sgrep.c:557:42: warning: unsequenced modification and access to 'last' [-Wunsequenced] if(A[last] < D) A[last+1] = A[last++]+1; ~~~~ ^ sgrep.c:574:42: warning: unsequenced modification and access to 'last' [-Wunsequenced] if(B[last] < D) B[last+1] = B[last++]+1; ~~~~ ^ sgrep.c:592:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] m = strlen(Pattern); ^~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ sgrep.c:644:30: warning: while loop has empty body [-Wempty-body] while(*(--text) != '\n'); ^ sgrep.c:644:30: note: put the semicolon on a separate line to silence this warning 11 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c mgrep.c -o mgrep.o mgrep.c:91:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p = strlen(patt[i]); ^~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ mgrep.c:136:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(text+start, text+end, residue); ^~~~~~~~~~ /usr/include/string.h:107:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ mgrep.c:136:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(text+start, text+end, residue); ^~~~~~~~ /usr/include/string.h:107:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ 3 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c utilities.c -o utilities.o utilities.c:119:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] subset_pset(s1, s2) ^ 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -o agrep asearch.o asearch1.o bitap.o checkfile.o compat.o follow.o main.o maskgen.o parse.o preprocess.o sgrep.o mgrep.o utilities.o =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for agrep-2.04_3 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/textproc/agrep/work/agrep-2.04/agrep /wrkdirs/usr/ports/textproc/agrep/work/stage/usr/local/bin/ install -m 444 /wrkdirs/usr/ports/textproc/agrep/work/agrep-2.04/agrep.1 /wrkdirs/usr/ports/textproc/agrep/work/stage/usr/local/share/man/man1/ /bin/mkdir -p /wrkdirs/usr/ports/textproc/agrep/work/stage/usr/local/share/doc/agrep cd /wrkdirs/usr/ports/textproc/agrep/work/agrep-2.04 && install -m 0644 COPYRIGHT agrep.algorithms agrep.ps.1.Z agrep.ps.2.Z /wrkdirs/usr/ports/textproc/agrep/work/stage/usr/local/share/doc/agrep/ ====> 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=2024-03-29T17:48:11+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=33048bb63b' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for agrep-2.04_3 ===> Building agrep-2.04_3 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for agrep-2.04_3 build of textproc/agrep | agrep-2.04_3 ended at Fri Mar 29 17:48:19 GMT 2024 build time: 00:00:09