=>> Building textproc/scws build started at Sun Mar 31 18:51:40 BST 2024 port directory: /usr/ports/textproc/scws package name: scws-1.2.3 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 455 Mar 8 2023 /usr/ports/textproc/scws/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: c014f9c79a Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 08 ---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/08/.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--- ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --sysconfdir=/usr/local/etc/scws --with-pic --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/textproc/scws/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/textproc/scws/work XDG_CACHE_HOME=/wrkdirs/usr/ports/textproc/scws/work/.cache HOME=/wrkdirs/usr/ports/textproc/scws/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/textproc/scws/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/textproc/scws/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/root/.ccache" 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/textproc/scws/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/textproc/scws/work XDG_CACHE_HOME=/wrkdirs/usr/ports/textproc/scws/work/.cache HOME=/wrkdirs/usr/ports/textproc/scws/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/textproc/scws/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/textproc/scws/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-- OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/scws" EXAMPLESDIR="share/examples/scws" DATADIR="share/scws" WWWDIR="www/scws" ETCDIR="etc/scws" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/scws DOCSDIR=/usr/local/share/doc/scws EXAMPLESDIR=/usr/local/share/examples/scws WWWDIR=/usr/local/www/scws ETCDIR=/usr/local/etc/scws --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 ===> NOTICE: The scws 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 ===> scws-1.2.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 ===> scws-1.2.3 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of scws-1.2.3 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The scws 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 scws-1.2.3 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The scws 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 scws-1.2.3 for building => SHA256 Checksum OK for scws-1.2.3.tar.bz2. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The scws 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 scws-1.2.3 for building ===> Extracting for scws-1.2.3 => SHA256 Checksum OK for scws-1.2.3.tar.bz2. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for scws-1.2.3 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> scws-1.2.3 depends on package: gmake>=4.4.1 - not found ===> Installing existing package /packages/All/gmake-4.4.1.pkg [pkg-builder.dan.net.uk] Installing gmake-4.4.1... [pkg-builder.dan.net.uk] `-- Installing gettext-runtime-0.22.3_1... [pkg-builder.dan.net.uk] | `-- Installing indexinfo-0.3.1... [pkg-builder.dan.net.uk] | `-- Extracting indexinfo-0.3.1: . done [pkg-builder.dan.net.uk] `-- Extracting gettext-runtime-0.22.3_1: .......... done [pkg-builder.dan.net.uk] Extracting gmake-4.4.1: .......... done ===> scws-1.2.3 depends on package: gmake>=4.4.1 - found ===> Returning to build of scws-1.2.3 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for scws-1.2.3 configure: loading site script /usr/ports/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) /usr/bin/awk checking whether gmake sets $(MAKE)... yes checking whether gmake supports nested variables... yes checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking whether cc understands -c and -o together... yes checking for style of include used by gmake... GNU checking dependency style of cc... gcc3 checking for a sed that does not truncate output... (cached) /usr/bin/sed checking whether ln -s works... yes checking whether gmake sets $(MAKE)... (cached) yes checking build system type... amd64-portbld-freebsd13.2 checking host system type... amd64-portbld-freebsd13.2 checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for fgrep... (cached) /usr/bin/fgrep checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm checking the name lister (/usr/bin/nm) interface... BSD nm checking the maximum length of command line arguments... (cached) 524288 checking how to convert amd64-portbld-freebsd13.2 file names to amd64-portbld-freebsd13.2 format... func_convert_file_noop checking how to convert amd64-portbld-freebsd13.2 file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... no checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... no checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm output from cc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... cpp checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... yes checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... freebsd13.2 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for logf in -lm... yes checking for fcntl.h... (cached) yes checking for netinet/in.h... (cached) yes checking for math.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/file.h... (cached) yes checking for sys/param.h... (cached) yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking size of int... 4 checking size of float... 4 checking for struct flock... checking whether lstat correctly handles trailing slash... (cached) yes checking whether lstat accepts an empty string... no checking whether lstat correctly handles trailing slash... (cached) yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... (cached) yes checking for getpagesize... (cached) yes checking for working mmap... (cached) yes checking for working memcmp... yes checking for flock... yes checking for gettimeofday... (cached) yes checking for malloc... (cached) yes checking for memset... (cached) yes checking for munmap... (cached) yes checking for pow... yes checking for realpath... (cached) yes checking for strcasecmp... (cached) yes checking for strchr... (cached) yes checking for strdup... (cached) yes checking for strrchr... (cached) yes checking for strndup... (cached) yes checking for strtok_r... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating cli/Makefile config.status: creating etc/Makefile config.status: creating libscws/Makefile config.status: creating libscws/version.h config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for scws-1.2.3 gmake all-recursive gmake[1]: Entering directory '/wrkdirs/usr/ports/textproc/scws/work/scws-1.2.3' Making all in . gmake[2]: Entering directory '/wrkdirs/usr/ports/textproc/scws/work/scws-1.2.3' gmake[2]: Leaving directory '/wrkdirs/usr/ports/textproc/scws/work/scws-1.2.3' Making all in libscws gmake[2]: Entering directory '/wrkdirs/usr/ports/textproc/scws/work/scws-1.2.3/libscws' /bin/sh ../libtool --preserve-dup-deps --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT charset.lo -MD -MP -MF .deps/charset.Tpo -c -o charset.lo charset.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT charset.lo -MD -MP -MF .deps/charset.Tpo -c charset.c -fPIC -DPIC -o .libs/charset.o mv -f .deps/charset.Tpo .deps/charset.Plo /bin/sh ../libtool --preserve-dup-deps --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT crc32.lo -MD -MP -MF .deps/crc32.Tpo -c -o crc32.lo crc32.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT crc32.lo -MD -MP -MF .deps/crc32.Tpo -c crc32.c -fPIC -DPIC -o .libs/crc32.o mv -f .deps/crc32.Tpo .deps/crc32.Plo /bin/sh ../libtool --preserve-dup-deps --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT pool.lo -MD -MP -MF .deps/pool.Tpo -c -o pool.lo pool.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT pool.lo -MD -MP -MF .deps/pool.Tpo -c pool.c -fPIC -DPIC -o .libs/pool.o mv -f .deps/pool.Tpo .deps/pool.Plo /bin/sh ../libtool --preserve-dup-deps --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT scws.lo -MD -MP -MF .deps/scws.Tpo -c -o scws.lo scws.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT scws.lo -MD -MP -MF .deps/scws.Tpo -c scws.c -fPIC -DPIC -o .libs/scws.o scws.c:349: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] txt = (char *) _mem_ndup(s->txt + start, wlen); ^~~~~~~~~~~~~~ /usr/include/string.h:109:27: note: passing argument to parameter here char *strndup(const char *, size_t) __malloc_like; ^ scws.c:349:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] txt = (char *) _mem_ndup(s->txt + start, wlen); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scws.c:350: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] _str_toupper(txt, txt); ^~~ scws.c:208:32: note: passing argument to parameter 'src' here static void _str_toupper(char *src, char *dst) ^ scws.c:350: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] _str_toupper(txt, txt); ^~~ scws.c:208:43: note: passing argument to parameter 'dst' here static void _str_toupper(char *src, char *dst) ^ scws.c:351: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 (SCWS_IS_SPECIAL(txt, wlen)) ^~~ scws.c:28:54: note: expanded from macro 'SCWS_IS_SPECIAL' #define SCWS_IS_SPECIAL(x,l) scws_rule_checkbit(s->r,x,l,SCWS_RULE_SPECIAL) ^ ./rule.h:75:46: note: passing argument to parameter 'str' here int scws_rule_checkbit(rule_t r, const char *str, int len, unsigned int bit); ^ scws.c:807:30: 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] query = xdict_query(s->d, txt + start, clen); ^~~~~~~~~~~ ./xdict.h:67:44: note: passing argument to parameter 'key' here word_t xdict_query(xdict_t xd, const char *key, int len); ^ scws.c:843:30: 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] query = xdict_query(s->d, txt + zmap[i].start, zmap[j].end - zmap[i].start); ^~~~~~~~~~~~~~~~~~~ ./xdict.h:67:44: note: passing argument to parameter 'key' here word_t xdict_query(xdict_t xd, const char *key, int len); ^ scws.c:868:11: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((k == (i+1))) ~~^~~~~~~~ scws.c:868:11: note: remove extraneous parentheses around the comparison to silence this warning if ((k == (i+1))) ~ ^ ~ scws.c:868:11: note: use '=' to turn this equality comparison into an assignment if ((k == (i+1))) ^~ = scws.c:1390:22: 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] word = _mem_ndup(s->txt + cur->off, cur->len); ^~~~~~~~~~~~~~~~~ /usr/include/string.h:109:27: note: passing argument to parameter here char *strndup(const char *, size_t) __malloc_like; ^ scws.c:1401:31: 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 (!(top = xtree_nget(xt, s->txt + cur->off, cur->len, NULL))) ^~~~~~~~~~~~~~~~~ ./xtree.h:47:42: note: passing argument to parameter 'key' here void *xtree_nget(xtree_t xt, const char *key, int len, int *vlen); ^ scws.c:1407:54: 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] xtree_nput(xt, top, sizeof(struct scws_topword), s->txt + cur->off, cur->len); ^~~~~~~~~~~~~~~~~ ./xtree.h:44:64: note: passing argument to parameter 'key' here void xtree_nput(xtree_t xt, void *value, int vlen, const char *key, int len); ^ scws.c:1532:31: 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 (!(top = xtree_nget(xt, s->txt + cur->off, cur->len, NULL))) ^~~~~~~~~~~~~~~~~ ./xtree.h:47:42: note: passing argument to parameter 'key' here void *xtree_nget(xtree_t xt, const char *key, int len, int *vlen); ^ scws.c:1538:35: 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] top->word = (char *)_mem_ndup(s->txt + cur->off, cur->len); ^~~~~~~~~~~~~~~~~ /usr/include/string.h:109:27: note: passing argument to parameter here char *strndup(const char *, size_t) __malloc_like; ^ scws.c:1548:54: 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] xtree_nput(xt, top, sizeof(struct scws_topword), s->txt + cur->off, cur->len); ^~~~~~~~~~~~~~~~~ ./xtree.h:44:64: note: passing argument to parameter 'key' here void xtree_nput(xtree_t xt, void *value, int vlen, const char *key, int len); ^ 14 warnings generated. mv -f .deps/scws.Tpo .deps/scws.Plo /bin/sh ../libtool --preserve-dup-deps --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT xdict.lo -MD -MP -MF .deps/xdict.Tpo -c -o xdict.lo xdict.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT xdict.lo -MD -MP -MF .deps/xdict.Tpo -c xdict.c -fPIC -DPIC -o .libs/xdict.o xdict.c:201:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (part = _strtok_r(NULL, delim, &last)) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xdict.c:201:14: note: place parentheses around the assignment to silence this warning if (part = _strtok_r(NULL, delim, &last)) ^ ( ) xdict.c:201:14: note: use '==' to turn this assignment into an equality comparison if (part = _strtok_r(NULL, delim, &last)) ^ == 1 warning generated. mv -f .deps/xdict.Tpo .deps/xdict.Plo /bin/sh ../libtool --preserve-dup-deps --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT darray.lo -MD -MP -MF .deps/darray.Tpo -c -o darray.lo darray.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT darray.lo -MD -MP -MF .deps/darray.Tpo -c darray.c -fPIC -DPIC -o .libs/darray.o mv -f .deps/darray.Tpo .deps/darray.Plo /bin/sh ../libtool --preserve-dup-deps --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT rule.lo -MD -MP -MF .deps/rule.Tpo -c -o rule.lo rule.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT rule.lo -MD -MP -MF .deps/rule.Tpo -c rule.c -fPIC -DPIC -o .libs/rule.o rule.c:55:15: warning: passing 'unsigned char[512]' 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] while (fgets(buf, sizeof(buf) - 1, fp)) ^~~ /usr/include/stdio.h:258:30: note: passing argument to parameter here char *fgets(char * __restrict, int, FILE * __restrict); ^ rule.c:57:39: warning: passing 'unsigned char[512]' 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 (buf[0] != '[' || !(ptr = strchr(buf, ']'))) ^~~ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ rule.c:57:30: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (buf[0] != '[' || !(ptr = strchr(buf, ']'))) ^ ~~~~~~~~~~~~~~~~ rule.c:62:53: 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 (ptr == str || (ptr - str) > 15 || !strcasecmp(str, "attrs")) ^~~ /usr/include/strings.h:65:29: note: passing argument to parameter here int strcasecmp(const char *, const char *) __pure; ^ rule.c:65:26: 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 (_rule_index_get(r, str) >= 0) ^~~ rule.c:21:57: note: passing argument to parameter 'name' here static inline int _rule_index_get(rule_t r, const char *name) ^ rule.c:68: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] strcpy(r->items[i].name, str); ^~~ /usr/include/string.h:88:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ rule.c:72: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] if (!strcasecmp(str, "special")) ^~~ /usr/include/strings.h:65:29: note: passing argument to parameter here int strcasecmp(const char *, const char *) __pure; ^ rule.c:74:24: 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] else if (!strcasecmp(str, "nostats")) ^~~ /usr/include/strings.h:65:29: note: passing argument to parameter here int strcasecmp(const char *, const char *) __pure; ^ rule.c:94:15: warning: passing 'unsigned char[512]' 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] while (fgets(buf, sizeof(buf) - 1, fp)) ^~~ /usr/include/stdio.h:258:30: note: passing argument to parameter here char *fgets(char * __restrict, int, FILE * __restrict); ^ rule.c:104:22: 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 ((ptr = strchr(str, ']')) != NULL) ^~~ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ rule.c:104:13: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((ptr = strchr(str, ']')) != NULL) ^ ~~~~~~~~~~~~~~~~ rule.c:107: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] if (!strcasecmp(str, "attrs")) ^~~ /usr/include/strings.h:65:29: note: passing argument to parameter here int strcasecmp(const char *, const char *) __pure; ^ rule.c:111:38: 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] else if ((i = _rule_index_get(r, str)) >= 0) ^~~ rule.c:21:57: note: passing argument to parameter 'name' here static inline int _rule_index_get(rule_t r, const char *name) ^ rule.c:126:22: 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 ((ptr = strchr(str, '+')) == NULL) continue; ^~~ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ rule.c:126:13: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((ptr = strchr(str, '+')) == NULL) continue; ^ ~~~~~~~~~~~~~~~~ rule.c:128:22: 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 ((qtr = strchr(ptr, '=')) == NULL) continue; ^~~ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ rule.c:128:13: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((qtr = strchr(ptr, '=')) == NULL) continue; ^ ~~~~~~~~~~~~~~~~ rule.c:137: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] a->ratio = (short) atoi(qtr); ^~~ /usr/include/stdlib.h:94:23: note: passing argument to parameter here int atoi(const char *); ^ rule.c:150: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 ((qtr = strchr(str, ')')) != NULL) ^~~ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ rule.c:150:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((qtr = strchr(str, ')')) != NULL) ^ ~~~~~~~~~~~~~~~~ rule.c:153:41: 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] a->npath[0] = (unsigned char) atoi(str); ^~~ /usr/include/stdlib.h:94:23: note: passing argument to parameter here int atoi(const char *); ^ rule.c:171: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 ((qtr = strchr(str, ')')) != NULL) ^~~ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ rule.c:171:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((qtr = strchr(str, ')')) != NULL) ^ ~~~~~~~~~~~~~~~~ rule.c:174:41: 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] a->npath[1] = (unsigned char) atoi(str); ^~~ /usr/include/stdlib.h:94:23: note: passing argument to parameter here int atoi(const char *); ^ rule.c:204: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 (!(ptr = strchr(str, '='))) ^~~ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ rule.c:204:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(ptr = strchr(str, '='))) ^ ~~~~~~~~~~~~~~~~ rule.c:215: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] if (!strcmp(ptr, "line")) ^~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ rule.c:217: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] else if (!strcmp(ptr, "tf")) ^~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ rule.c:218:27: 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] cr->tf = (float) atof(str); ^~~ /usr/include/stdlib.h:93:26: note: passing argument to parameter here double atof(const char *); ^ rule.c:219: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] else if (!strcmp(ptr, "idf")) ^~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ rule.c:220: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] cr->idf = (float) atof(str); ^~~ /usr/include/stdlib.h:93:26: note: passing argument to parameter here double atof(const char *); ^ rule.c:221: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] else if (!strcmp(ptr, "attr")) ^~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ rule.c:222: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(cr->attr, str, 2); ^~~ /usr/include/string.h:107:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ rule.c:223: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] else if (!strcmp(ptr, "znum")) ^~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ rule.c:225: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 ((ptr = strchr(str, ',')) != NULL) ^~~ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ rule.c:225:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((ptr = strchr(str, ',')) != NULL) ^ ~~~~~~~~~~~~~~~~ rule.c:229:22: 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] cr->zmax = atoi(ptr); ^~~ /usr/include/stdlib.h:94:23: note: passing argument to parameter here int atoi(const char *); ^ rule.c:232: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] cr->zmin = atoi(str); ^~~ /usr/include/stdlib.h:94:23: note: passing argument to parameter here int atoi(const char *); ^ rule.c:234: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] else if (!strcmp(ptr, "type")) ^~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ rule.c:236:18: 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 (!strncmp(str, "prefix", 6)) ^~~ /usr/include/string.h:106:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ rule.c:238: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] else if (!strncmp(str, "suffix", 6)) ^~~ /usr/include/string.h:106:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ rule.c:241: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] else if (!strcmp(ptr, "include") || !strcmp(ptr, "exclude")) ^~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ rule.c:241:48: 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] else if (!strcmp(ptr, "include") || !strcmp(ptr, "exclude")) ^~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ rule.c:245:17: 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 (!strcmp(ptr, "include")) ^~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ rule.c:256:26: 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] while ((ptr = strchr(str, ',')) != NULL) ^~~ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ rule.c:256:17: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while ((ptr = strchr(str, ',')) != NULL) ^ ~~~~~~~~~~~~~~~~ rule.c:260: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] if ((i = _rule_index_get(r, str)) >= 0) ^~~ rule.c:21:57: note: passing argument to parameter 'name' here static inline int _rule_index_get(rule_t r, const char *name) ^ rule.c:267:18: 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] ptr = strlen(str) + str; ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ rule.c:270:46: 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 (ptr > str && (i = _rule_index_get(r, str))) ^~~ rule.c:21:57: note: passing argument to parameter 'name' here static inline int _rule_index_get(rule_t r, const char *name) ^ rule.c:279:22: 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] ptr = str + strlen(str); ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ rule.c:288:59: 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] xtree_nput(r->tree, cr, sizeof(struct scws_rule_item), str, ptr - str); ^~~ ./xtree.h:44:64: note: passing argument to parameter 'key' here void xtree_nput(xtree_t xt, void *value, int vlen, const char *key, int len); ^ rule.c:300:60: 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] xtree_nput(r->tree, cr, sizeof(struct scws_rule_item), str, j); ^~~ ./xtree.h:44:64: note: passing argument to parameter 'key' here void xtree_nput(xtree_t xt, void *value, int vlen, const char *key, int len); ^ 52 warnings generated. mv -f .deps/rule.Tpo .deps/rule.Plo /bin/sh ../libtool --preserve-dup-deps --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT lock.lo -MD -MP -MF .deps/lock.Tpo -c -o lock.lo lock.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT lock.lo -MD -MP -MF .deps/lock.Tpo -c lock.c -fPIC -DPIC -o .libs/lock.o mv -f .deps/lock.Tpo .deps/lock.Plo /bin/sh ../libtool --preserve-dup-deps --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT xdb.lo -MD -MP -MF .deps/xdb.Tpo -c -o xdb.lo xdb.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT xdb.lo -MD -MP -MF .deps/xdb.Tpo -c xdb.c -fPIC -DPIC -o .libs/xdb.o xdb.c:335:12: 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(buf + 17, key, len); ^~~~~~~~ /usr/include/string.h:107:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ xdb.c:504:36: 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] nodes[i].key = (char *) _mem_ndup(buf + 17, buf[16]); ^~~~~~~~ /usr/include/string.h:109:27: note: passing argument to parameter here char *strndup(const char *, size_t) __malloc_like; ^ xdb.c:604:41: 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] xtree_nput(xt, value, ptr->len - voff, buf + 17, buf[16]); ^~~~~~~~ ./xtree.h:44:64: note: passing argument to parameter 'key' here void xtree_nput(xtree_t xt, void *value, int vlen, const char *key, int len); ^ 3 warnings generated. mv -f .deps/xdb.Tpo .deps/xdb.Plo /bin/sh ../libtool --preserve-dup-deps --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT xtree.lo -MD -MP -MF .deps/xtree.Tpo -c -o xtree.lo xtree.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT xtree.lo -MD -MP -MF .deps/xtree.Tpo -c xtree.c -fPIC -DPIC -o .libs/xtree.o mv -f .deps/xtree.Tpo .deps/xtree.Plo /bin/sh ../libtool --preserve-dup-deps --tag=CC --mode=link cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -no-undefined -version-info 2:0:1 -fstack-protector-strong -o libscws.la -rpath /usr/local/lib charset.lo crc32.lo pool.lo scws.lo xdict.lo darray.lo rule.lo lock.lo xdb.lo xtree.lo -lm libtool: link: cc -shared -fPIC -DPIC .libs/charset.o .libs/crc32.o .libs/pool.o .libs/scws.o .libs/xdict.o .libs/darray.o .libs/rule.o .libs/lock.o .libs/xdb.o .libs/xtree.o -lm -O2 -fstack-protector-strong -fstack-protector-strong -fstack-protector-strong -Wl,-soname -Wl,libscws.so.1 -o .libs/libscws.so.1.1.0 libtool: link: (cd ".libs" && rm -f "libscws.so.1" && ln -s "libscws.so.1.1.0" "libscws.so.1") libtool: link: (cd ".libs" && rm -f "libscws.so" && ln -s "libscws.so.1.1.0" "libscws.so") libtool: link: ( cd ".libs" && rm -f "libscws.la" && ln -s "../libscws.la" "libscws.la" ) gmake[2]: Leaving directory '/wrkdirs/usr/ports/textproc/scws/work/scws-1.2.3/libscws' Making all in cli gmake[2]: Entering directory '/wrkdirs/usr/ports/textproc/scws/work/scws-1.2.3/cli' cc -DHAVE_CONFIG_H -I. -I.. -I.. -I../libscws -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT scws_cmd.o -MD -MP -MF .deps/scws_cmd.Tpo -c -o scws_cmd.o scws_cmd.c mv -f .deps/scws_cmd.Tpo .deps/scws_cmd.Po /bin/sh ../libtool --preserve-dup-deps --tag=CC --mode=link cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o scws scws_cmd.o ../libscws/libscws.la -lm libtool: link: cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o .libs/scws scws_cmd.o ../libscws/.libs/libscws.so -lm -Wl,-rpath -Wl,/usr/local/lib cc -DHAVE_CONFIG_H -I. -I.. -I.. -I../libscws -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT gen_dict.o -MD -MP -MF .deps/gen_dict.Tpo -c -o gen_dict.o gen_dict.c gen_dict.c:135:8: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mblen = charset_table_get(charset); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ gen_dict.c:165:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ptr = strtok(NULL, delim)) ~~~~^~~~~~~~~~~~~~~~~~~~~ gen_dict.c:165:12: note: place parentheses around the assignment to silence this warning if (ptr = strtok(NULL, delim)) ^ ( ) gen_dict.c:165:12: note: use '==' to turn this assignment into an equality comparison if (ptr = strtok(NULL, delim)) ^ == 2 warnings generated. mv -f .deps/gen_dict.Tpo .deps/gen_dict.Po /bin/sh ../libtool --preserve-dup-deps --tag=CC --mode=link cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o scws-gen-dict gen_dict.o ../libscws/libscws.la -lm libtool: link: cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o .libs/scws-gen-dict gen_dict.o ../libscws/.libs/libscws.so -lm -Wl,-rpath -Wl,/usr/local/lib gmake[2]: Leaving directory '/wrkdirs/usr/ports/textproc/scws/work/scws-1.2.3/cli' Making all in etc gmake[2]: Entering directory '/wrkdirs/usr/ports/textproc/scws/work/scws-1.2.3/etc' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/wrkdirs/usr/ports/textproc/scws/work/scws-1.2.3/etc' gmake[1]: Leaving directory '/wrkdirs/usr/ports/textproc/scws/work/scws-1.2.3' =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for scws-1.2.3 ===> Generating temporary packing list if test -z 'strip'; then \ gmake INSTALL_PROGRAM="/bin/sh /wrkdirs/usr/ports/textproc/scws/work/scws-1.2.3/install-sh -c -s" \ install_sh_PROGRAM="/bin/sh /wrkdirs/usr/ports/textproc/scws/work/scws-1.2.3/install-sh -c -s" INSTALL_STRIP_FLAG=-s \ install; \ else \ gmake INSTALL_PROGRAM="/bin/sh /wrkdirs/usr/ports/textproc/scws/work/scws-1.2.3/install-sh -c -s" \ install_sh_PROGRAM="/bin/sh /wrkdirs/usr/ports/textproc/scws/work/scws-1.2.3/install-sh -c -s" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='strip'" install; \ fi gmake[1]: Entering directory '/wrkdirs/usr/ports/textproc/scws/work/scws-1.2.3' Making install in . gmake[2]: Entering directory '/wrkdirs/usr/ports/textproc/scws/work/scws-1.2.3' gmake[3]: Entering directory '/wrkdirs/usr/ports/textproc/scws/work/scws-1.2.3' gmake[3]: Nothing to be done for 'install-exec-am'. gmake[3]: Nothing to be done for 'install-data-am'. gmake[3]: Leaving directory '/wrkdirs/usr/ports/textproc/scws/work/scws-1.2.3' gmake[2]: Leaving directory '/wrkdirs/usr/ports/textproc/scws/work/scws-1.2.3' Making install in libscws gmake[2]: Entering directory '/wrkdirs/usr/ports/textproc/scws/work/scws-1.2.3/libscws' gmake[3]: Entering directory '/wrkdirs/usr/ports/textproc/scws/work/scws-1.2.3/libscws' /bin/mkdir -p '/wrkdirs/usr/ports/textproc/scws/work/stage/usr/local/lib' /bin/sh ../libtool --preserve-dup-deps --mode=install /usr/bin/install -c -s libscws.la '/wrkdirs/usr/ports/textproc/scws/work/stage/usr/local/lib' libtool: install: /usr/bin/install -c .libs/libscws.so.1.1.0 /wrkdirs/usr/ports/textproc/scws/work/stage/usr/local/lib/libscws.so.1.1.0 libtool: install: strip --strip-unneeded /wrkdirs/usr/ports/textproc/scws/work/stage/usr/local/lib/libscws.so.1.1.0 libtool: install: (cd /wrkdirs/usr/ports/textproc/scws/work/stage/usr/local/lib && { ln -s -f libscws.so.1.1.0 libscws.so.1 || { rm -f libscws.so.1 && ln -s libscws.so.1.1.0 libscws.so.1; }; }) libtool: install: (cd /wrkdirs/usr/ports/textproc/scws/work/stage/usr/local/lib && { ln -s -f libscws.so.1.1.0 libscws.so || { rm -f libscws.so && ln -s libscws.so.1.1.0 libscws.so; }; }) libtool: install: /usr/bin/install -c .libs/libscws.lai /wrkdirs/usr/ports/textproc/scws/work/stage/usr/local/lib/libscws.la libtool: warning: remember to run 'libtool --finish /usr/local/lib' /bin/mkdir -p '/wrkdirs/usr/ports/textproc/scws/work/stage/usr/local/include/scws' install -m 0644 charset.h crc32.h pool.h scws.h xdict.h darray.h rule.h xdb.h xtree.h version.h '/wrkdirs/usr/ports/textproc/scws/work/stage/usr/local/include/scws' gmake[3]: Leaving directory '/wrkdirs/usr/ports/textproc/scws/work/scws-1.2.3/libscws' gmake[2]: Leaving directory '/wrkdirs/usr/ports/textproc/scws/work/scws-1.2.3/libscws' Making install in cli gmake[2]: Entering directory '/wrkdirs/usr/ports/textproc/scws/work/scws-1.2.3/cli' gmake[3]: Entering directory '/wrkdirs/usr/ports/textproc/scws/work/scws-1.2.3/cli' /bin/mkdir -p '/wrkdirs/usr/ports/textproc/scws/work/stage/usr/local/bin' STRIPPROG='strip' /bin/sh ../libtool --preserve-dup-deps --mode=install /bin/sh /wrkdirs/usr/ports/textproc/scws/work/scws-1.2.3/install-sh -c -s scws scws-gen-dict '/wrkdirs/usr/ports/textproc/scws/work/stage/usr/local/bin' libtool: warning: '../libscws/libscws.la' has not been installed in '/usr/local/lib' libtool: install: /bin/sh /wrkdirs/usr/ports/textproc/scws/work/scws-1.2.3/install-sh -c -s .libs/scws /wrkdirs/usr/ports/textproc/scws/work/stage/usr/local/bin/scws libtool: warning: '../libscws/libscws.la' has not been installed in '/usr/local/lib' libtool: install: /bin/sh /wrkdirs/usr/ports/textproc/scws/work/scws-1.2.3/install-sh -c -s .libs/scws-gen-dict /wrkdirs/usr/ports/textproc/scws/work/stage/usr/local/bin/scws-gen-dict gmake[3]: Nothing to be done for 'install-data-am'. gmake[3]: Leaving directory '/wrkdirs/usr/ports/textproc/scws/work/scws-1.2.3/cli' gmake[2]: Leaving directory '/wrkdirs/usr/ports/textproc/scws/work/scws-1.2.3/cli' Making install in etc gmake[2]: Entering directory '/wrkdirs/usr/ports/textproc/scws/work/scws-1.2.3/etc' gmake[3]: Entering directory '/wrkdirs/usr/ports/textproc/scws/work/scws-1.2.3/etc' /bin/mkdir -p '/wrkdirs/usr/ports/textproc/scws/work/stage/usr/local/etc/scws' install -m 0644 rules.ini rules.utf8.ini rules_cht.utf8.ini '/wrkdirs/usr/ports/textproc/scws/work/stage/usr/local/etc/scws' gmake[3]: Nothing to be done for 'install-data-am'. gmake[3]: Leaving directory '/wrkdirs/usr/ports/textproc/scws/work/scws-1.2.3/etc' gmake[2]: Leaving directory '/wrkdirs/usr/ports/textproc/scws/work/scws-1.2.3/etc' gmake[1]: Leaving directory '/wrkdirs/usr/ports/textproc/scws/work/scws-1.2.3' ====> 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-31T17:51:40+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=c014f9c79a' '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 scws-1.2.3 ===> Building scws-1.2.3 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for scws-1.2.3 build of textproc/scws | scws-1.2.3 ended at Sun Mar 31 18:52:49 BST 2024 build time: 00:01:14