=>> Building lang/awka build started at Wed Apr 3 17:22:42 BST 2024 port directory: /usr/ports/lang/awka package name: awka-0.7.5_2 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 461 Jan 11 20:37 /usr/ports/lang/awka/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: 6cd7e3c7a4 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 04 ---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/04/.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-- --prefix=\${DESTDIR}/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/lang/awka/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/awka/work XDG_CACHE_HOME=/wrkdirs/usr/ports/lang/awka/work/.cache HOME=/wrkdirs/usr/ports/lang/awka/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/lang/awka/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/lang/awka/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/lang/awka/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/awka/work XDG_CACHE_HOME=/wrkdirs/usr/ports/lang/awka/work/.cache HOME=/wrkdirs/usr/ports/lang/awka/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/lang/awka/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/lang/awka/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/awka" EXAMPLESDIR="share/examples/awka" DATADIR="share/awka" WWWDIR="www/awka" ETCDIR="etc/awka" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/awka DOCSDIR=/usr/local/share/doc/awka EXAMPLESDIR=/usr/local/share/examples/awka WWWDIR=/usr/local/www/awka ETCDIR=/usr/local/etc/awka --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 awka 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 ===> awka-0.7.5_2 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 ===> awka-0.7.5_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of awka-0.7.5_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The awka 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 awka-0.7.5_2 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The awka 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 awka-0.7.5_2 for building => SHA256 Checksum OK for awka-0.7.5.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The awka 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 awka-0.7.5_2 for building ===> Extracting for awka-0.7.5_2 => SHA256 Checksum OK for awka-0.7.5.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for awka-0.7.5_2 ===> Applying FreeBSD patches for awka-0.7.5_2 from /usr/ports/lang/awka/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 awka-0.7.5_2 loading site script /usr/ports/Templates/config.site creating cache ./config.cache checking for gcc... cc checking whether we are using GNU C... yes checking how to run the C preprocessor... cpp checking for log in -lm... yes checking checking for inline... __inline__ checking for gawk... (cached) /usr/bin/awk checking for ash... no checking for sh... sh checking for byacc... byacc checking for ar... ar checking for ranlib... ranlib checking for cmp... cmp checking compiler supports void*... yes checking compiler groks prototypes... yes checking for working const... yes checking for stddef.h... (cached) yes getting size_t from checking for fcntl.h... (cached) yes checking for errno.h... (cached) yes checking for time.h... (cached) yes checking for stdarg.h... (cached) yes checking for netdb.h... (cached) yes checking for netinet/in.h... (cached) yes checking for sys/socket.h... (cached) yes checking for unistd.h... (cached) yes checking for memcpy... (cached) yes checking for strchr... (cached) yes checking for strstr... (cached) yes checking for strerror... (cached) yes checking for vfprintf... (cached) yes checking for fmod... yes checking for matherr... no checking for limits.h... (cached) yes checking for gethostbyname... (cached) yes checking for connect... yes checking where to find the socket library calls... the standard library checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for tm_zone in struct tm... yes checking for time... (cached) yes checking for mktime... yes checking for asctime... yes checking for localtime... (cached) yes checking for gmtime... yes checking for .exe extension... no /* config.h -- generated by configure */ #ifndef CONFIG_H #define CONFIG_H #define HAVE_SOCKETS 1 #define HAVE_SYS_SOCKET_H #define HAVE_UNISTD_H #define HAVE_NETDB_H #define HAVE_NETINET_IN_H #define HAVE_FCNTL_H #define awka_MATHLIB "-lm" #define INLINE __inline__ #define SIZE_T_STDDEF_H 1 #define NO_MATHERR 1 #define NO_FPRINTF_IN_STDIO 1 #define NO_SPRINTF_IN_STDIO 1 #define awka_SOCKET_LIBS "" #define awka_CC "cc" #define awka_CFLAGS "-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " #define awka_shell "sh" #define HAVE_REAL_PIPES 1 /* #define NO_BIN_CHARS */ /* #define MEM_DEBUG */ #endif /* CONFIG_H */ updating cache ./config.cache creating ./config.status creating Makefile creating lib/Makefile creating awka/Makefile creating test/Makefile =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for awka-0.7.5_2 cd awka; /usr/bin/make cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dawka_LIBDIR=\"/usr/local/lib\" -Dawka_INCDIR=\"/usr/local/include\" -c translate.c -o translate.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dawka_LIBDIR=\"/usr/local/lib\" -Dawka_INCDIR=\"/usr/local/include\" -c awka.c -o awka.o awka.c:244:9: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] unlink(c_file); ^ awka.c:268:7: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] unlink(outfile); ^ 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dawka_LIBDIR=\"/usr/local/lib\" -Dawka_INCDIR=\"/usr/local/include\" -c parse.c -o parse.o y.tab.c:1509:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (yyn = yydefred[yystate]) goto yyreduce; ~~~~^~~~~~~~~~~~~~~~~~~ y.tab.c:1509:13: note: place parentheses around the assignment to silence this warning if (yyn = yydefred[yystate]) goto yyreduce; ^ ( ) y.tab.c:1509:13: note: use '==' to turn this assignment into an equality comparison if (yyn = yydefred[yystate]) goto yyreduce; ^ == 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dawka_LIBDIR=\"/usr/local/lib\" -Dawka_INCDIR=\"/usr/local/include\" -c scan.c -o scan.o scan.c:734:20: warning: implicit declaration of function 'bi_funct_find' is invalid in C99 [-Wimplicit-function-declaration] if (bi_funct_find(string_buff)) ^ scan.c:1212:19: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] switch (r = read(fd, target, size)) ^ 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dawka_LIBDIR=\"/usr/local/lib\" -Dawka_INCDIR=\"/usr/local/include\" -c memory.c -o memory.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dawka_LIBDIR=\"/usr/local/lib\" -Dawka_INCDIR=\"/usr/local/include\" -c hash.c -o hash.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dawka_LIBDIR=\"/usr/local/lib\" -Dawka_INCDIR=\"/usr/local/include\" -c code.c -o code.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dawka_LIBDIR=\"/usr/local/lib\" -Dawka_INCDIR=\"/usr/local/include\" -c bi_funct.c -o bi_funct.o bi_funct.c:164:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (target = strchr(target, k)) ~~~~~~~^~~~~~~~~~~~~~~~~~~ bi_funct.c:164:27: note: place parentheses around the assignment to silence this warning while (target = strchr(target, k)) ^ ( ) bi_funct.c:164:27: note: use '==' to turn this assignment into an equality comparison while (target = strchr(target, k)) ^ == bi_funct.c:172:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (target = strchr(target, k)) ~~~~~~~^~~~~~~~~~~~~~~~~~~ bi_funct.c:172:18: note: place parentheses around the assignment to silence this warning while (target = strchr(target, k)) ^ ( ) bi_funct.c:172:18: note: use '==' to turn this assignment into an equality comparison while (target = strchr(target, k)) ^ == 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dawka_LIBDIR=\"/usr/local/lib\" -Dawka_INCDIR=\"/usr/local/include\" -c da.c -o da.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dawka_LIBDIR=\"/usr/local/lib\" -Dawka_INCDIR=\"/usr/local/include\" -c error.c -o error.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dawka_LIBDIR=\"/usr/local/lib\" -Dawka_INCDIR=\"/usr/local/include\" -c init.c -o init.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dawka_LIBDIR=\"/usr/local/lib\" -Dawka_INCDIR=\"/usr/local/include\" -c bi_vars.c -o bi_vars.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dawka_LIBDIR=\"/usr/local/lib\" -Dawka_INCDIR=\"/usr/local/include\" -c cast.c -o cast.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dawka_LIBDIR=\"/usr/local/lib\" -Dawka_INCDIR=\"/usr/local/include\" -c print.c -o print.o print.c:157:4: warning: implicit declaration of function 'awka_exit' is invalid in C99 [-Wimplicit-function-declaration] awka_exit(2) ; ^ 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dawka_LIBDIR=\"/usr/local/lib\" -Dawka_INCDIR=\"/usr/local/include\" -c kw.c -o kw.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dawka_LIBDIR=\"/usr/local/lib\" -Dawka_INCDIR=\"/usr/local/include\" -c jmp.c -o jmp.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dawka_LIBDIR=\"/usr/local/lib\" -Dawka_INCDIR=\"/usr/local/include\" -c field.c -o field.o field.c:181:36: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (cp->type < C_STRING) free_STRING(string(cp)) ; ^ ./memory.h:46:70: note: expanded from macro 'free_STRING' zfree(sval, (sval)->len+STRING_OH) ; else ^ 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dawka_LIBDIR=\"/usr/local/lib\" -Dawka_INCDIR=\"/usr/local/include\" -c re_cmpl.c -o re_cmpl.o re_cmpl.c:223:19: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (*p) free_STRING(*p) ; ^ ./memory.h:46:70: note: expanded from macro 'free_STRING' zfree(sval, (sval)->len+STRING_OH) ; else ^ 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dawka_LIBDIR=\"/usr/local/lib\" -Dawka_INCDIR=\"/usr/local/include\" -c preprocess.c -o preprocess.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dawka_LIBDIR=\"/usr/local/lib\" -Dawka_INCDIR=\"/usr/local/include\" -c zmalloc.c -o zmalloc.o zmalloc.c:96:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = pool[blocks - 1]) ~~^~~~~~~~~~~~~~~~~~ zmalloc.c:96:10: note: place parentheses around the assignment to silence this warning if (p = pool[blocks - 1]) ^ ( ) zmalloc.c:96:10: note: use '==' to turn this assignment into an equality comparison if (p = pool[blocks - 1]) ^ == 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dawka_LIBDIR=\"/usr/local/lib\" -Dawka_INCDIR=\"/usr/local/include\" -c msg.c -o msg.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dawka_LIBDIR=\"/usr/local/lib\" -Dawka_INCDIR=\"/usr/local/include\" -c scancode.c -o scancode.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dawka_LIBDIR=\"/usr/local/lib\" -Dawka_INCDIR=\"/usr/local/include\" -c fcall.c -o fcall.o fcall.c:67:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (q = entry_list) ~~^~~~~~~~~~~~ fcall.c:67:13: note: place parentheses around the assignment to silence this warning while (q = entry_list) ^ ( ) fcall.c:67:13: note: use '==' to turn this assignment into an equality comparison while (q = entry_list) ^ == fcall.c:282:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p->arg_list = call_arg_check(p->callee, p->arg_list, ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fcall.c:282:23: note: place parentheses around the assignment to silence this warning if (p->arg_list = call_arg_check(p->callee, p->arg_list, ^ ( fcall.c:282:23: note: use '==' to turn this assignment into an equality comparison if (p->arg_list = call_arg_check(p->callee, p->arg_list, ^ == fcall.c:333:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (arg_list = call_arg_check(callee, arg_list, ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fcall.c:333:20: note: place parentheses around the assignment to silence this warning if (arg_list = call_arg_check(callee, arg_list, ^ ( fcall.c:333:20: note: use '==' to turn this assignment into an equality comparison if (arg_list = call_arg_check(callee, arg_list, ^ == 3 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dawka_LIBDIR=\"/usr/local/lib\" -Dawka_INCDIR=\"/usr/local/include\" -c version.c -o version.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dawka_LIBDIR=\"/usr/local/lib\" -Dawka_INCDIR=\"/usr/local/include\" translate.o awka.o parse.o scan.o memory.o hash.o code.o bi_funct.o da.o error.o init.o bi_vars.o cast.o print.o kw.o jmp.o field.o re_cmpl.o preprocess.o zmalloc.o msg.o scancode.o fcall.o version.o -o awka cd lib; /usr/bin/make /usr/bin/awk -f ../examples/fixhdr.awk libawka.h.in >libawka.h cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -c var.c -o var.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -c builtin.c -o builtin.o builtin.c:888:17: warning: implicit declaration of function 'fork' is invalid in C99 [-Wimplicit-function-declaration] switch (pid = fork()) ^ builtin.c:896:7: warning: implicit declaration of function 'execl' is invalid in C99 [-Wimplicit-function-declaration] execl(awka_shell, awka_shell, "-c", ptr, (char *) NULL); ^ builtin.c:899:7: warning: implicitly declaring library function '_exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] _exit(system(ptr) / 256); ^ builtin.c:899:7: note: include the header or explicitly provide a declaration for '_exit' builtin.c:1871:40: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(_a_iostream[which-1].fp, lcp); ^~~ builtin.c:1871:40: note: treat the string as an argument to avoid this fprintf(_a_iostream[which-1].fp, lcp); ^ "%s", builtin.c:1875:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(bp, lcp); ^~~ builtin.c:1875:19: note: treat the string as an argument to avoid this sprintf(bp, lcp); ^ "%s", 5 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -c error.c -o error.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -c init.c -o init.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -c array.c -o array.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -c io.c -o io.o io.c:180:11: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(socket_fd); ^ io.c:191:13: warning: implicit declaration of function 'geteuid' is invalid in C99 [-Wimplicit-function-declaration] if (geteuid() != 0) ^ io.c:203:87: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] && (clientsocket_fd = accept(socket_fd, (struct sockaddr *) &remote_addr, &namelen)) >= 0) ^~~~~~~~ /usr/include/sys/socket.h:682:69: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ io.c:205:11: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(socket_fd); ^ io.c:210:11: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(socket_fd); ^ io.c:220:86: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (recvfrom(socket_fd, buf, 1, MSG_PEEK, (struct sockaddr *) & remote_addr, & readle) < 1 ^~~~~~~~ /usr/include/sys/socket.h:695:96: note: passing argument to parameter here ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict, socklen_t * __restrict); ^ io.c:224:11: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(socket_fd); ^ io.c:233:13: warning: implicit declaration of function 'geteuid' is invalid in C99 [-Wimplicit-function-declaration] if (geteuid() != 0) ^ io.c:240:5: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(socket_fd); ^ io.c:383:7: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(fd); ^ io.c:387:13: warning: implicit declaration of function 'dup' is invalid in C99 [-Wimplicit-function-declaration] newfd = dup(fd); ^ io.c:435:9: warning: implicit declaration of function 'pipe' is invalid in C99 [-Wimplicit-function-declaration] if (pipe(ptoc) < 0) ^ io.c:441:7: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(ptoc[0]); ^ io.c:447:16: warning: implicit declaration of function 'fork' is invalid in C99 [-Wimplicit-function-declaration] if ((pid = fork()) < 0) ^ io.c:450:7: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(ptoc[0]); close(ptoc[1]); ^ io.c:458:11: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] if (close(1) == -1) ^ io.c:460:11: warning: implicit declaration of function 'dup' is invalid in C99 [-Wimplicit-function-declaration] if (dup(ctop[1]) != 1) ^ io.c:469:7: warning: implicit declaration of function 'execl' is invalid in C99 [-Wimplicit-function-declaration] execl(awka_shell, "sh", "-c", str, NULL); ^ io.c:470:7: warning: implicitly declaring library function '_exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] _exit(127); ^ io.c:470:7: note: include the header or explicitly provide a declaration for '_exit' io.c:477:14: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] (void) close(ctop[0]); ^ io.c:481:42: warning: '/*' within block comment [-Wcomment] /* (void) kill(pid, SIGKILL); /* overkill? (pardon pun) */ ^ io.c:488:12: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] (void) close(ptoc[0]); ^ io.c:509:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((s->pipe == 1)) /* PIPED I/O */ ~~~~~~~~^~~~ io.c:509:16: note: remove extraneous parentheses around the comparison to silence this warning if ((s->pipe == 1)) /* PIPED I/O */ ~ ^ ~ io.c:509:16: note: use '=' to turn this equality comparison into an assignment if ((s->pipe == 1)) /* PIPED I/O */ ^~ = io.c:530:21: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] else if ((s->pipe == 2)) /* TWO-WAY I/O */ ~~~~~~~~^~~~ io.c:530:21: note: remove extraneous parentheses around the comparison to silence this warning else if ((s->pipe == 2)) /* TWO-WAY I/O */ ~ ^ ~ io.c:530:21: note: use '=' to turn this equality comparison into an assignment else if ((s->pipe == 2)) /* TWO-WAY I/O */ ^~ = io.c:655:20: warning: unsequenced modification and access to 'q' [-Wunsequenced] *q = _a_char[*q++]; ~ ^ io.c:656:20: warning: unsequenced modification and access to 'q' [-Wunsequenced] *q = _a_char[*q++]; ~ ^ io.c:657:20: warning: unsequenced modification and access to 'q' [-Wunsequenced] *q = _a_char[*q++]; ~ ^ io.c:658:20: warning: unsequenced modification and access to 'q' [-Wunsequenced] *q = _a_char[*q++]; ~ ^ io.c:659:20: warning: unsequenced modification and access to 'q' [-Wunsequenced] *q = _a_char[*q++]; ~ ^ io.c:660:20: warning: unsequenced modification and access to 'q' [-Wunsequenced] *q = _a_char[*q++]; ~ ^ io.c:661:20: warning: unsequenced modification and access to 'q' [-Wunsequenced] *q = _a_char[*q++]; ~ ^ io.c:662:20: warning: unsequenced modification and access to 'q' [-Wunsequenced] *q = _a_char[*q++]; ~ ^ io.c:665:20: warning: unsequenced modification and access to 'q' [-Wunsequenced] *q = _a_char[*q++]; ~ ^ io.c:944:3: warning: implicit declaration of function '_awka_gc_kill' is invalid in C99 [-Wimplicit-function-declaration] _awka_gc_kill(); ^ io.c:997:10: warning: implicit declaration of function 'wait' is invalid in C99 [-Wimplicit-function-declaration] id = wait(&exit_value); ^ io.c:1000:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (child = _awka_childlist_del(pid)) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:1000:18: note: place parentheses around the assignment to silence this warning else if (child = _awka_childlist_del(pid)) ^ ( ) io.c:1000:18: note: use '==' to turn this assignment into an equality comparison else if (child = _awka_childlist_del(pid)) ^ == io.c:1007:18: warning: implicit declaration of function 'wait' is invalid in C99 [-Wimplicit-function-declaration] while ((id = wait(&exit_value)) != pid) ^ 37 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -c garbage.c -o garbage.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -c rexp.c -o rexp.o rexp.c:191:17: warning: implicit declaration of function '_awka_hashstr' is invalid in C99 [-Wimplicit-function-declaration] idx = (hval = _awka_hashstr(str, len)) % RE_LIST_SIZE; ^ rexp.c:214:9: warning: implicit declaration of function 'dfacomp' is invalid in C99 [-Wimplicit-function-declaration] _return_re_SPLIT; ^ rexp.c:145:31: note: expanded from macro '_return_re_SPLIT' list->re_fs->dfa = (void *) dfacomp(list->str, strlen(list->str), TRUE); \ ^ rexp.c:214:9: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] _return_re_SPLIT; ^~~~~~~~~~~~~~~~ rexp.c:145:22: note: expanded from macro '_return_re_SPLIT' list->re_fs->dfa = (void *) dfacomp(list->str, strlen(list->str), TRUE); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rexp.c:229:3: warning: implicit declaration of function 'dfacomp' is invalid in C99 [-Wimplicit-function-declaration] _return_re_SPLIT; ^ rexp.c:145:31: note: expanded from macro '_return_re_SPLIT' list->re_fs->dfa = (void *) dfacomp(list->str, strlen(list->str), TRUE); \ ^ rexp.c:229:3: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] _return_re_SPLIT; ^~~~~~~~~~~~~~~~ rexp.c:145:22: note: expanded from macro '_return_re_SPLIT' list->re_fs->dfa = (void *) dfacomp(list->str, strlen(list->str), TRUE); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rexp.c:248:17: warning: implicit declaration of function '_awka_hashstr' is invalid in C99 [-Wimplicit-function-declaration] idx = (hval = _awka_hashstr(str, len)) % RE_LIST_SIZE; ^ rexp.c:271:9: warning: implicit declaration of function 'dfacomp' is invalid in C99 [-Wimplicit-function-declaration] _return_re_MATCH; ^ rexp.c:159:33: note: expanded from macro '_return_re_MATCH' list->re_nofs->dfa = (void *) dfacomp(list->str, strlen(list->str), TRUE); \ ^ rexp.c:271:9: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] _return_re_MATCH; ^~~~~~~~~~~~~~~~ rexp.c:159:24: note: expanded from macro '_return_re_MATCH' list->re_nofs->dfa = (void *) dfacomp(list->str, strlen(list->str), TRUE); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rexp.c:286:3: warning: implicit declaration of function 'dfacomp' is invalid in C99 [-Wimplicit-function-declaration] _return_re_MATCH; ^ rexp.c:159:33: note: expanded from macro '_return_re_MATCH' list->re_nofs->dfa = (void *) dfacomp(list->str, strlen(list->str), TRUE); \ ^ rexp.c:286:3: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] _return_re_MATCH; ^~~~~~~~~~~~~~~~ rexp.c:159:24: note: expanded from macro '_return_re_MATCH' list->re_nofs->dfa = (void *) dfacomp(list->str, strlen(list->str), TRUE); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rexp.c:305:17: warning: implicit declaration of function '_awka_hashstr' is invalid in C99 [-Wimplicit-function-declaration] idx = (hval = _awka_hashstr(str, len)) % RE_LIST_SIZE; ^ rexp.c:328:9: warning: implicit declaration of function 'dfacomp' is invalid in C99 [-Wimplicit-function-declaration] _return_re_GSUB; ^ rexp.c:172:33: note: expanded from macro '_return_re_GSUB' list->re_gsub->dfa = (void *) dfacomp(list->str, strlen(list->str), TRUE); \ ^ rexp.c:328:9: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] _return_re_GSUB; ^~~~~~~~~~~~~~~ rexp.c:172:24: note: expanded from macro '_return_re_GSUB' list->re_gsub->dfa = (void *) dfacomp(list->str, strlen(list->str), TRUE); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rexp.c:343:3: warning: implicit declaration of function 'dfacomp' is invalid in C99 [-Wimplicit-function-declaration] _return_re_GSUB; ^ rexp.c:172:33: note: expanded from macro '_return_re_GSUB' list->re_gsub->dfa = (void *) dfacomp(list->str, strlen(list->str), TRUE); \ ^ rexp.c:343:3: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] _return_re_GSUB; ^~~~~~~~~~~~~~~ rexp.c:172:24: note: expanded from macro '_return_re_GSUB' list->re_gsub->dfa = (void *) dfacomp(list->str, strlen(list->str), TRUE); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 15 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -I. -I../regexp -c ../regexp/regex.c -o ../regexp/regex.o ../regexp/regex.c:5784:10: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] char gsub; ^ ../regexp/regex.h:543:68: note: previous declaration is here extern awka_regexp * awka_regcomp _RE_ARGS ((char *__pattern, char gsub)); ^ ../regexp/regex.c:5903: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] int relen = strlen(preg->buffer); ^~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ ../regexp/regex.c:5930: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 (strncmp(string, preg->buffer, relen)) ^~~~~~~~~~~~ /usr/include/string.h:106:40: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ ../regexp/regex.c:5957:40: 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(string + (len - relen), preg->buffer)) ^~~~~~~~~~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ ../regexp/regex.c:5979: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] if (NULL == (c = strstr(string, preg->buffer))) ^~~~~~~~~~~~ /usr/include/string.h:124:40: note: passing argument to parameter here char *strstr(const char *, const char *) __pure; ^ ../regexp/regex.c:6039:11: warning: implicit declaration of function 'dfaexec' is invalid in C99 [-Wimplicit-function-declaration] ret = dfaexec((struct dfa *) preg->dfa, string, string+len, 1, &count, &try_backref); ^ 6 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -I. -I../regexp -c ../regexp/dfa.c -o ../regexp/dfa.o ../regexp/dfa.c:420:9: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] len = strlen(s); ^ ../regexp/dfa.c:420:9: note: include the header or explicitly provide a declaration for 'strlen' ../regexp/dfa.c:423:10: warning: implicitly declaring library function 'strncmp' with type 'int (const char *, const char *, unsigned long)' [-Wimplicit-function-declaration] return strncmp(s, lexptr, len) == 0; ^ ../regexp/dfa.c:423:10: note: include the header or explicitly provide a declaration for 'strncmp' ../regexp/dfa.c:442:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] FETCH(c, 0); ^ ../regexp/dfa.c:362:7: note: expanded from macro 'FETCH' else \ ^ ../regexp/dfa.c:561:11: warning: add explicit braces to avoid dangling else [-Wdangling-else] FETCH(c, "unfinished repeat count"); ^ ../regexp/dfa.c:362:7: note: expanded from macro 'FETCH' else \ ^ ../regexp/dfa.c:567:19: warning: add explicit braces to avoid dangling else [-Wdangling-else] FETCH(c, "unfinished repeat count"); ^ ../regexp/dfa.c:362:7: note: expanded from macro 'FETCH' else \ ^ ../regexp/dfa.c:578:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] FETCH(c, "unfinished repeat count"); ^ ../regexp/dfa.c:362:7: note: expanded from macro 'FETCH' else \ ^ ../regexp/dfa.c:589:15: warning: add explicit braces to avoid dangling else [-Wdangling-else] FETCH(c, "unfinished repeat count"); ^ ../regexp/dfa.c:362:7: note: expanded from macro 'FETCH' else \ ^ ../regexp/dfa.c:658:11: warning: add explicit braces to avoid dangling else [-Wdangling-else] FETCH(c, "Unbalanced ["); ^ ../regexp/dfa.c:362:7: note: expanded from macro 'FETCH' else \ ^ ../regexp/dfa.c:661:15: warning: add explicit braces to avoid dangling else [-Wdangling-else] FETCH(c, "Unbalanced ["); ^ ../regexp/dfa.c:362:7: note: expanded from macro 'FETCH' else \ ^ ../regexp/dfa.c:688:23: warning: add explicit braces to avoid dangling else [-Wdangling-else] FETCH(c1, "Unbalanced ["); ^ ../regexp/dfa.c:362:7: note: expanded from macro 'FETCH' else \ ^ ../regexp/dfa.c:692:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] FETCH(c, "Unbalanced ["); ^ ../regexp/dfa.c:362:7: note: expanded from macro 'FETCH' else \ ^ ../regexp/dfa.c:693:15: warning: add explicit braces to avoid dangling else [-Wdangling-else] FETCH(c1, "Unbalanced ["); ^ ../regexp/dfa.c:362:7: note: expanded from macro 'FETCH' else \ ^ ../regexp/dfa.c:696:19: warning: add explicit braces to avoid dangling else [-Wdangling-else] FETCH(c2, "Unbalanced ["); ^ ../regexp/dfa.c:362:7: note: expanded from macro 'FETCH' else \ ^ ../regexp/dfa.c:709:25: warning: add explicit braces to avoid dangling else [-Wdangling-else] FETCH(c2, "Unbalanced ["); ^ ../regexp/dfa.c:362:7: note: expanded from macro 'FETCH' else \ ^ ../regexp/dfa.c:710:23: warning: add explicit braces to avoid dangling else [-Wdangling-else] FETCH(c1, "Unbalanced ["); ^ ../regexp/dfa.c:362:7: note: expanded from macro 'FETCH' else \ ^ ../regexp/dfa.c:721:21: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (ISLOWER(c)) ^ ../regexp/dfa.c:604:14: warning: case value not in enumerated type 'token' [-Wswitch] case '\n': ^ ../regexp/dfa.c:463:14: warning: case value not in enumerated type 'token' [-Wswitch] case '$': ^ ../regexp/dfa.c:500:14: warning: case value not in enumerated type 'token' [-Wswitch] case '\'': ^ ../regexp/dfa.c:612:14: warning: case value not in enumerated type 'token' [-Wswitch] case '(': ^ ../regexp/dfa.c:619:14: warning: case value not in enumerated type 'token' [-Wswitch] case ')': ^ ../regexp/dfa.c:534:14: warning: case value not in enumerated type 'token' [-Wswitch] case '*': ^ ../regexp/dfa.c:541:14: warning: case value not in enumerated type 'token' [-Wswitch] case '+': ^ ../regexp/dfa.c:628:14: warning: case value not in enumerated type 'token' [-Wswitch] case '.': ^ ../regexp/dfa.c:479:14: warning: case value not in enumerated type 'token' [-Wswitch] case '1': ^ ../regexp/dfa.c:480:14: warning: case value not in enumerated type 'token' [-Wswitch] case '2': ^ ../regexp/dfa.c:481:14: warning: case value not in enumerated type 'token' [-Wswitch] case '3': ^ ../regexp/dfa.c:482:14: warning: case value not in enumerated type 'token' [-Wswitch] case '4': ^ ../regexp/dfa.c:483:14: warning: case value not in enumerated type 'token' [-Wswitch] case '5': ^ ../regexp/dfa.c:484:14: warning: case value not in enumerated type 'token' [-Wswitch] case '6': ^ ../regexp/dfa.c:485:14: warning: case value not in enumerated type 'token' [-Wswitch] case '7': ^ ../regexp/dfa.c:486:14: warning: case value not in enumerated type 'token' [-Wswitch] case '8': ^ ../regexp/dfa.c:487:14: warning: case value not in enumerated type 'token' [-Wswitch] case '9': ^ ../regexp/dfa.c:505:14: warning: case value not in enumerated type 'token' [-Wswitch] case '<': ^ ../regexp/dfa.c:510:14: warning: case value not in enumerated type 'token' [-Wswitch] case '>': ^ ../regexp/dfa.c:525:14: warning: case value not in enumerated type 'token' [-Wswitch] case '?': ^ ../regexp/dfa.c:520:14: warning: case value not in enumerated type 'token' [-Wswitch] case 'B': ^ ../regexp/dfa.c:641:14: warning: case value not in enumerated type 'token' [-Wswitch] case 'W': ^ ../regexp/dfa.c:654:14: warning: case value not in enumerated type 'token' [-Wswitch] case '[': ^ ../regexp/dfa.c:445:14: warning: case value not in enumerated type 'token' [-Wswitch] case '\\': ^ ../regexp/dfa.c:453:14: warning: case value not in enumerated type 'token' [-Wswitch] case '^': ^ ../regexp/dfa.c:495:14: warning: case value not in enumerated type 'token' [-Wswitch] case '`': ^ ../regexp/dfa.c:515:14: warning: case value not in enumerated type 'token' [-Wswitch] case 'b': ^ ../regexp/dfa.c:640:14: warning: case value not in enumerated type 'token' [-Wswitch] case 'w': ^ ../regexp/dfa.c:550:14: warning: case value not in enumerated type 'token' [-Wswitch] case '{': ^ ../regexp/dfa.c:596:14: warning: case value not in enumerated type 'token' [-Wswitch] case '|': ^ ../regexp/dfa.c:1943:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ ../regexp/dfa.c:2008:3: warning: implicitly declaring library function 'memset' with type 'void *(void *, int, unsigned long)' [-Wimplicit-function-declaration] memset(d, 0, sizeof(struct dfa)); ^ ../regexp/dfa.c:2008:3: note: include the header or explicitly provide a declaration for 'memset' ../regexp/dfa.c:2011:3: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcpy(string, s); ^ ../regexp/dfa.c:2011:3: note: include the header or explicitly provide a declaration for 'strcpy' ../regexp/dfa.c:2014:5: warning: implicitly declaring library function 'memmove' with type 'void *(void *, const void *, unsigned long)' [-Wimplicit-function-declaration] memmove(string, string+1, len-2); ^ ../regexp/dfa.c:2014:5: note: include the header or explicitly provide a declaration for 'memmove' ../regexp/dfa.c:2477:17: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if (strcmp(lmp->is, rmp->is) != 0) ^ ../regexp/dfa.c:2477:17: note: include the header or explicitly provide a declaration for 'strcmp' 51 warnings generated. ar -uvr libawka.a var.o builtin.o error.o init.o array.o io.o garbage.o rexp.o ../regexp/regex.o ../regexp/dfa.o ar: warning: creating libawka.a a - var.o a - builtin.o a - error.o a - init.o a - array.o a - io.o a - garbage.o a - rexp.o a - ../regexp/regex.o a - ../regexp/dfa.o ranlib libawka.a cc -shared -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC var.o builtin.o error.o init.o array.o io.o garbage.o rexp.o ../regexp/regex.o ../regexp/dfa.o -o libawka.so =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for awka-0.7.5_2 ===> Generating temporary packing list cd awka; /usr/bin/make cd lib; /usr/bin/make if [ ! -d /wrkdirs/usr/ports/lang/awka/work/stage/usr/local/lib ]; then mkdir -p /wrkdirs/usr/ports/lang/awka/work/stage/usr/local/lib; fi if [ ! -d /wrkdirs/usr/ports/lang/awka/work/stage/usr/local/include ]; then mkdir -p /wrkdirs/usr/ports/lang/awka/work/stage/usr/local/include; fi if [ ! -d /wrkdirs/usr/ports/lang/awka/work/stage/usr/local/bin ]; then mkdir -p /wrkdirs/usr/ports/lang/awka/work/stage/usr/local/bin; fi if [ ! -d /wrkdirs/usr/ports/lang/awka/work/stage/usr/local/share/man/man1 ]; then mkdir -p /wrkdirs/usr/ports/lang/awka/work/stage/usr/local/share/man/man1; fi if [ ! -d /wrkdirs/usr/ports/lang/awka/work/stage/usr/local/share/man/man5 ]; then mkdir -p /wrkdirs/usr/ports/lang/awka/work/stage/usr/local/share/man/man5; fi cd awka; /usr/bin/make install cp awka /wrkdirs/usr/ports/lang/awka/work/stage/usr/local/bin chmod a+rx /wrkdirs/usr/ports/lang/awka/work/stage/usr/local/bin/awka cd lib; /usr/bin/make install cp libawka.a /wrkdirs/usr/ports/lang/awka/work/stage/usr/local/lib if [ -f libawka.so ]; then cp libawka.so /wrkdirs/usr/ports/lang/awka/work/stage/usr/local/lib; fi cp libawka.h /wrkdirs/usr/ports/lang/awka/work/stage/usr/local/include chmod a+r /wrkdirs/usr/ports/lang/awka/work/stage/usr/local/lib/libawka.* chmod a+r /wrkdirs/usr/ports/lang/awka/work/stage/usr/local/include/libawka.h cp doc/awka.1 /wrkdirs/usr/ports/lang/awka/work/stage/usr/local/share/man/man1/awka.1 cp doc/awka-elm.5 /wrkdirs/usr/ports/lang/awka/work/stage/usr/local/share/man/man5 cp doc/awka-elmref.5 /wrkdirs/usr/ports/lang/awka/work/stage/usr/local/share/man/man5 chmod 0644 /wrkdirs/usr/ports/lang/awka/work/stage/usr/local/share/man/man1/awka.1 ====> 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-04-03T16:22:42+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=6cd7e3c7a4' '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 awka-0.7.5_2 ===> Building awka-0.7.5_2 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for awka-0.7.5_2 build of lang/awka | awka-0.7.5_2 ended at Wed Apr 3 19:21:06 BST 2024 build time: 01:58:25