=>> Building math/sc build started at Wed Apr 3 04:26:31 BST 2024 port directory: /usr/ports/math/sc package name: sc-7.16_4 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 801 Feb 1 08:45 /usr/ports/math/sc/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: 20fa6b8f41 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 12 ---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/12/.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-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/math/sc/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/sc/work XDG_CACHE_HOME=/wrkdirs/usr/ports/math/sc/work/.cache HOME=/wrkdirs/usr/ports/math/sc/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/math/sc/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/math/sc/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/root/.ccache" --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/math/sc/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/sc/work XDG_CACHE_HOME=/wrkdirs/usr/ports/math/sc/work/.cache HOME=/wrkdirs/usr/ports/math/sc/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/math/sc/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/math/sc/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/sc" EXAMPLESDIR="share/examples/sc" DATADIR="share/sc" WWWDIR="www/sc" ETCDIR="etc/sc" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/sc DOCSDIR=/usr/local/share/doc/sc EXAMPLESDIR=/usr/local/share/examples/sc WWWDIR=/usr/local/www/sc ETCDIR=/usr/local/etc/sc --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 sc 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 ===> sc-7.16_4 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 ===> sc-7.16_4 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of sc-7.16_4 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The sc 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 sc-7.16_4 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The sc 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 sc-7.16_4 for building => SHA256 Checksum OK for sc-7.16.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 sc 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 sc-7.16_4 for building ===> Extracting for sc-7.16_4 => SHA256 Checksum OK for sc-7.16.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 sc-7.16_4 ===> Applying FreeBSD patches for sc-7.16_4 from /usr/ports/math/sc/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 sc-7.16_4 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for sc-7.16_4 cc -DSYSV3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -DDFLT_PAGER=\"less\" -c abbrev.c abbrev.c:35:7: warning: implicit declaration of function 'are_abbrevs' is invalid in C99 [-Wimplicit-function-declaration] if (!are_abbrevs()) { ^ abbrev.c:36:6: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] error("No abbreviations defined"); ^ ./sc.h:46:16: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ abbrev.c:36:6: warning: implicit declaration of function 'move' is invalid in C99 [-Wimplicit-function-declaration] ./sc.h:46:43: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ abbrev.c:36:6: warning: implicit declaration of function 'clrtoeol' is invalid in C99 [-Wimplicit-function-declaration] ./sc.h:46:57: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ abbrev.c:36:6: warning: implicit declaration of function 'printw' is invalid in C99 [-Wimplicit-function-declaration] ./sc.h:46:71: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ abbrev.c:52:3: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] error("Can't open pipe to %s", pager); ^ ./sc.h:46:16: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ abbrev.c:52:3: warning: implicit declaration of function 'move' is invalid in C99 [-Wimplicit-function-declaration] ./sc.h:46:43: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ abbrev.c:52:3: warning: implicit declaration of function 'clrtoeol' is invalid in C99 [-Wimplicit-function-declaration] ./sc.h:46:57: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ abbrev.c:52:3: warning: implicit declaration of function 'printw' is invalid in C99 [-Wimplicit-function-declaration] ./sc.h:46:71: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ abbrev.c:77:3: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] error("Invalid abbreviation: %s", string); ^ ./sc.h:46:16: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ abbrev.c:77:3: warning: implicit declaration of function 'move' is invalid in C99 [-Wimplicit-function-declaration] ./sc.h:46:43: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ abbrev.c:77:3: warning: implicit declaration of function 'clrtoeol' is invalid in C99 [-Wimplicit-function-declaration] ./sc.h:46:57: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ abbrev.c:77:3: warning: implicit declaration of function 'printw' is invalid in C99 [-Wimplicit-function-declaration] ./sc.h:46:71: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ abbrev.c:84:3: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] error("Invalid abbreviation: %s", string); ^ ./sc.h:46:16: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ abbrev.c:84:3: warning: implicit declaration of function 'move' is invalid in C99 [-Wimplicit-function-declaration] ./sc.h:46:43: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ abbrev.c:84:3: warning: implicit declaration of function 'clrtoeol' is invalid in C99 [-Wimplicit-function-declaration] ./sc.h:46:57: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ abbrev.c:84:3: warning: implicit declaration of function 'printw' is invalid in C99 [-Wimplicit-function-declaration] ./sc.h:46:71: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ abbrev.c:92:6: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] error("abbrev \"%s %s\"", a->abbr, a->exp); ^ ./sc.h:46:16: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ abbrev.c:92:6: warning: implicit declaration of function 'move' is invalid in C99 [-Wimplicit-function-declaration] ./sc.h:46:43: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ abbrev.c:92:6: warning: implicit declaration of function 'clrtoeol' is invalid in C99 [-Wimplicit-function-declaration] ./sc.h:46:57: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ abbrev.c:92:6: warning: implicit declaration of function 'printw' is invalid in C99 [-Wimplicit-function-declaration] ./sc.h:46:71: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ abbrev.c:95:6: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] error("abreviation \"%s\" doesn't exist", string); ^ ./sc.h:46:16: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ abbrev.c:95:6: warning: implicit declaration of function 'move' is invalid in C99 [-Wimplicit-function-declaration] ./sc.h:46:43: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ abbrev.c:95:6: warning: implicit declaration of function 'clrtoeol' is invalid in C99 [-Wimplicit-function-declaration] ./sc.h:46:57: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ abbrev.c:95:6: warning: implicit declaration of function 'printw' is invalid in C99 [-Wimplicit-function-declaration] ./sc.h:46:71: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ abbrev.c:94:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { ^ 26 warnings generated. cc -DSYSV3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -DDOBACKUPS -DCRYPT_PATH=\"/usr/bin/crypt\" -c cmds.c cmds.c:813:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (fr = find_frange(currow, curcol)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds.c:813:9: note: place parentheses around the assignment to silence this warning if (fr = find_frange(currow, curcol)) ^ ( ) cmds.c:813:9: note: use '==' to turn this assignment into an equality comparison if (fr = find_frange(currow, curcol)) ^ == cmds.c:1042:8: warning: implicit declaration of function 'yankr' is invalid in C99 [-Wimplicit-function-declaration] yankr(lookat(currow, curcol), ^ cmds.c:2566:47: warning: missing sentinel in function call [-Wsentinel] (void) execl("/bin/sh", "sh", "-c", efname, 0); ^ , NULL /usr/include/unistd.h:332:6: note: function has been explicitly marked sentinel here int execl(const char *, const char *, ...) __null_sentinel; ^ cmds.c:2889:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ 4 warnings generated. cc -DSYSV3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -c color.c -o color.o color.c:110:2: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] error("Invalid color number"); ^ ./sc.h:46:16: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ color.c:158:2: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] error("Color range not defined"); ^ ./sc.h:46:16: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ 2 warnings generated. cc -DSYSV3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -DCRYPT_PATH=\"/usr/bin/crypt\" -DDOBACKUPS -c crypt.c crypt.c:38:2: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] error ("Can't read file \"%s\"", save); ^ ./sc.h:46:16: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ crypt.c:44:9: warning: implicit declaration of function 'pipe' is invalid in C99 [-Wimplicit-function-declaration] if (pipe(pipefd) < 0) { ^ crypt.c:45:2: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] error("Can't make pipe to child"); ^ ./sc.h:46:16: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ crypt.c:53:14: warning: implicit declaration of function 'fork' is invalid in C99 [-Wimplicit-function-declaration] if ((pid=fork()) == 0) { /* if child */ ^ crypt.c:54:9: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] (void) close(0); /* close stdin */ ^ crypt.c:57:9: warning: implicit declaration of function 'dup' is invalid in C99 [-Wimplicit-function-declaration] (void) dup(fildes); /* standard in from file */ ^ crypt.c:60:9: warning: implicit declaration of function 'execl' is invalid in C99 [-Wimplicit-function-declaration] (void) execl(CRYPT_PATH, "crypt", KeyWord, 0); ^ crypt.c:63:2: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(-127); ^ crypt.c:63:2: note: include the header or explicitly provide a declaration for 'exit' crypt.c:65:9: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] (void) close(fildes); ^ crypt.c:68:13: warning: implicit declaration of function 'kill' is invalid in C99 [-Wimplicit-function-declaration] (void) kill(pid, 9); ^ crypt.c:69:6: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] error("Can't fdopen file \"%s\"", save); ^ ./sc.h:46:16: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ crypt.c:82:12: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] (void) close(pipefd[0]); ^ crypt.c:83:19: warning: implicit declaration of function 'wait' is invalid in C99 [-Wimplicit-function-declaration] while (pid != wait(&fildes)) /**/; ^ crypt.c:110:2: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] error("Can't have encrypted pipe"); ^ ./sc.h:46:16: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ crypt.c:123:2: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] error("Can't create file \"%s\"", save); ^ ./sc.h:46:16: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ crypt.c:127:9: warning: implicit declaration of function 'pipe' is invalid in C99 [-Wimplicit-function-declaration] if (pipe(pipefd) < 0) { ^ crypt.c:128:2: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] error("Can't make pipe to child\n"); ^ ./sc.h:46:16: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ crypt.c:138:14: warning: implicit declaration of function 'fork' is invalid in C99 [-Wimplicit-function-declaration] if ((pid=fork()) == 0) { /* if child */ ^ crypt.c:139:9: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] (void) close(0); /* close stdin */ ^ crypt.c:142:9: warning: implicit declaration of function 'dup' is invalid in C99 [-Wimplicit-function-declaration] (void) dup(pipefd[0]); /* connect to pipe input */ ^ crypt.c:145:9: warning: implicit declaration of function 'execl' is invalid in C99 [-Wimplicit-function-declaration] (void) execl(CRYPT_PATH, "crypt", KeyWord, 0); ^ crypt.c:151:9: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] (void) close(fildes); ^ crypt.c:155:13: warning: implicit declaration of function 'kill' is invalid in C99 [-Wimplicit-function-declaration] (void) kill(pid, -9); ^ crypt.c:156:6: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] error("Can't fdopen file \"%s\"", save); ^ ./sc.h:46:16: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ crypt.c:165:12: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] (void) close(pipefd[1]); ^ crypt.c:166:19: warning: implicit declaration of function 'wait' is invalid in C99 [-Wimplicit-function-declaration] while (pid != wait(&fildes)) /**/; ^ crypt.c:170:5: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] error("File \"%s\" written (encrypted).", curfile); ^ ./sc.h:46:16: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ 27 warnings generated. cc -DSYSV3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -c format.c -o format.o cc -DSYSV3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -c frame.c -o frame.o frame.c:55:6: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] error("Invalid parameters"); ^ ./sc.h:46:16: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ frame.c:55:6: warning: implicit declaration of function 'move' is invalid in C99 [-Wimplicit-function-declaration] ./sc.h:46:43: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ frame.c:55:6: warning: implicit declaration of function 'clrtoeol' is invalid in C99 [-Wimplicit-function-declaration] ./sc.h:46:57: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ frame.c:55:6: warning: implicit declaration of function 'printw' is invalid in C99 [-Wimplicit-function-declaration] ./sc.h:46:71: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ frame.c:109:3: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] error("Framed ranges may not be nested or overlapping"); ^ ./sc.h:46:16: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ frame.c:109:3: warning: implicit declaration of function 'move' is invalid in C99 [-Wimplicit-function-declaration] ./sc.h:46:43: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ frame.c:109:3: warning: implicit declaration of function 'clrtoeol' is invalid in C99 [-Wimplicit-function-declaration] ./sc.h:46:57: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ frame.c:109:3: warning: implicit declaration of function 'printw' is invalid in C99 [-Wimplicit-function-declaration] ./sc.h:46:71: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ 8 warnings generated. yacc -d gram.y mv y.tab.c gram.c cc -DSYSV3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -DUSELOCALE -c gram.c gram.y:310:4: warning: implicit declaration of function 'ljustify' is invalid in C99 [-Wimplicit-function-declaration] { ljustify(yystack.l_mark[0].rval.left.vp->row, yystack.l_mark[0].rval.left.vp->col, ^ gram.y:314:9: warning: implicit declaration of function 'ljustify' is invalid in C99 [-Wimplicit-function-declaration] ljustify(showsr, showsc, currow, curcol); ^ gram.y:317:4: warning: implicit declaration of function 'rjustify' is invalid in C99 [-Wimplicit-function-declaration] { rjustify(yystack.l_mark[0].rval.left.vp->row, yystack.l_mark[0].rval.left.vp->col, ^ gram.y:321:9: warning: implicit declaration of function 'rjustify' is invalid in C99 [-Wimplicit-function-declaration] rjustify(showsr, showsc, currow, curcol); ^ gram.y:324:4: warning: implicit declaration of function 'center' is invalid in C99 [-Wimplicit-function-declaration] { center(yystack.l_mark[0].rval.left.vp->row, yystack.l_mark[0].rval.left.vp->col, ^ gram.y:328:9: warning: implicit declaration of function 'center' is invalid in C99 [-Wimplicit-function-declaration] center(showsr, showsc, currow, curcol); ^ gram.y:545:4: warning: implicit declaration of function 'yankr' is invalid in C99 [-Wimplicit-function-declaration] { yankr(lookat(showsr, showsc), ^ gram.y:547:4: warning: implicit declaration of function 'yankr' is invalid in C99 [-Wimplicit-function-declaration] { yankr(yystack.l_mark[0].rval.left.vp, yystack.l_mark[0].rval.right.vp); } ^ gram.y:619:4: warning: implicit declaration of function 'add_abbr' is invalid in C99 [-Wimplicit-function-declaration] { add_abbr(yystack.l_mark[0].sval); } ^ gram.y:620:4: warning: implicit declaration of function 'add_abbr' is invalid in C99 [-Wimplicit-function-declaration] { add_abbr(NULL); } ^ gram.y:817:8: warning: implicit declaration of function 'yankrow' is invalid in C99 [-Wimplicit-function-declaration] yankrow(arg); ^ gram.y:820:4: warning: implicit declaration of function 'yankrow' is invalid in C99 [-Wimplicit-function-declaration] { yankrow(yystack.l_mark[0].ival); } ^ gram.y:823:8: warning: implicit declaration of function 'yankrow' is invalid in C99 [-Wimplicit-function-declaration] yankrow(1); ^ gram.y:835:8: warning: implicit declaration of function 'yankrow' is invalid in C99 [-Wimplicit-function-declaration] yankrow(arg); ^ gram.y:847:8: warning: implicit declaration of function 'yankcol' is invalid in C99 [-Wimplicit-function-declaration] yankcol(arg); ^ gram.y:852:8: warning: implicit declaration of function 'yankcol' is invalid in C99 [-Wimplicit-function-declaration] yankcol(1); ^ gram.y:855:4: warning: implicit declaration of function 'yankcol' is invalid in C99 [-Wimplicit-function-declaration] { yankcol(yystack.l_mark[0].ival); } ^ gram.y:864:8: warning: implicit declaration of function 'yankcol' is invalid in C99 [-Wimplicit-function-declaration] yankcol(arg); ^ gram.y:960:4: warning: implicit declaration of function 'getframe' is invalid in C99 [-Wimplicit-function-declaration] { getframe(macrofd); } ^ gram.y:961:4: warning: implicit declaration of function 'getframe' is invalid in C99 [-Wimplicit-function-declaration] { getframe(yystack.l_mark[0].ival); } ^ gram.y:962:4: warning: implicit declaration of function 'getrange' is invalid in C99 [-Wimplicit-function-declaration] { getrange(yystack.l_mark[0].sval, macrofd); } ^ gram.y:964:4: warning: implicit declaration of function 'getrange' is invalid in C99 [-Wimplicit-function-declaration] { getrange(yystack.l_mark[-2].sval, yystack.l_mark[0].ival); } ^ gram.y:965:4: warning: implicit declaration of function 'doeval' is invalid in C99 [-Wimplicit-function-declaration] { doeval(yystack.l_mark[0].enode, NULL, currow, curcol, ^ gram.y:967:4: warning: implicit declaration of function 'doeval' is invalid in C99 [-Wimplicit-function-declaration] { doeval(yystack.l_mark[-1].enode, yystack.l_mark[0].sval, currow, curcol, ^ gram.y:970:4: warning: implicit declaration of function 'doeval' is invalid in C99 [-Wimplicit-function-declaration] { doeval(yystack.l_mark[-3].enode, yystack.l_mark[-2].sval, currow, curcol, ^ gram.y:972:4: warning: implicit declaration of function 'doseval' is invalid in C99 [-Wimplicit-function-declaration] { doseval(yystack.l_mark[0].enode, currow, curcol, macrofd); } ^ gram.y:981:4: warning: implicit declaration of function 'dogetkey' is invalid in C99 [-Wimplicit-function-declaration] { dogetkey(); } ^ gram.y:1013:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(line + 1, yystack.l_mark[0].sval); ^~~~~~~~~~~~~~~~~~~~~~ gram.y:1013:26: note: treat the string as an argument to avoid this sprintf(line + 1, yystack.l_mark[0].sval); ^ "%s", 28 warnings generated. sed < gram.y > experres.h -f eres.sed sed < gram.y > statres.h -f sres.sed cc -DSYSV3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -DCRYPT_PATH=\"/usr/bin/crypt\" -c help.c cc -DSYSV3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -ffloat-store -DSIGVOID -DREGCOMP -c interp.c cc: warning: optimization flag '-ffloat-store' is not supported [-Wignored-optimization-argument] interp.c:2086:8: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else /* gs.g_type != G_STR */ ^ 1 warning generated. cc -DSYSV3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -DLIBDIR=\"/usr/local/share/sc\" -DSIGVOID -c lex.c lex.c:213:6: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] error("Floating point exception\n"); ^ ./sc.h:46:16: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ lex.c:259:8: warning: implicitly declaring library function 'finite' with type 'int (double)' [-Wimplicit-function-declaration] if (!finite(yylval.fval)) ^ lex.c:259:8: note: include the header or explicitly provide a declaration for 'finite' lex.c:329:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (fp = fopen((char *)path, "r")) { ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ lex.c:329:9: note: place parentheses around the assignment to silence this warning if (fp = fopen((char *)path, "r")) { ^ ( ) lex.c:329:9: note: use '==' to turn this assignment into an equality comparison if (fp = fopen((char *)path, "r")) { ^ == lex.c:337:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (fp = fopen((char *)path, "r")) { ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ lex.c:337:12: note: place parentheses around the assignment to silence this warning if (fp = fopen((char *)path, "r")) { ^ ( ) lex.c:337:12: note: use '==' to turn this assignment into an equality comparison if (fp = fopen((char *)path, "r")) { ^ == 4 warnings generated. cc -DSYSV3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -c pipe.c -o pipe.o pipe.c:43:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (p->flags & is_valid) ^ 1 warning generated. cc -DSYSV3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -c range.c -o range.o range.c:61:2: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] error("Error: range name \"%s\" already defined", name); ^ ./sc.h:46:16: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ range.c:61:2: warning: implicit declaration of function 'move' is invalid in C99 [-Wimplicit-function-declaration] ./sc.h:46:43: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ range.c:61:2: warning: implicit declaration of function 'clrtoeol' is invalid in C99 [-Wimplicit-function-declaration] ./sc.h:46:57: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ range.c:61:2: warning: implicit declaration of function 'printw' is invalid in C99 [-Wimplicit-function-declaration] ./sc.h:46:71: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ range.c:68:6: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] error("Invalid range name \"%s\" - illegal combination", name); ^ ./sc.h:46:16: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ range.c:68:6: warning: implicit declaration of function 'move' is invalid in C99 [-Wimplicit-function-declaration] ./sc.h:46:43: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ range.c:68:6: warning: implicit declaration of function 'clrtoeol' is invalid in C99 [-Wimplicit-function-declaration] ./sc.h:46:57: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ range.c:68:6: warning: implicit declaration of function 'printw' is invalid in C99 [-Wimplicit-function-declaration] ./sc.h:46:71: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ range.c:87:6: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] error("Invalid range name \"%s\" - ambiguous", name); ^ ./sc.h:46:16: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ range.c:87:6: warning: implicit declaration of function 'move' is invalid in C99 [-Wimplicit-function-declaration] ./sc.h:46:43: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ range.c:87:6: warning: implicit declaration of function 'clrtoeol' is invalid in C99 [-Wimplicit-function-declaration] ./sc.h:46:57: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ range.c:87:6: warning: implicit declaration of function 'printw' is invalid in C99 [-Wimplicit-function-declaration] ./sc.h:46:71: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ 12 warnings generated. cc -DSYSV3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -DDFLT_PAGER=\"less\" -DSIGVOID -DSAVENAME=\"SC.SAVE\" -c sc.c sc.c:215:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = delbuf[dbidx]) { ~~^~~~~~~~~~~~~~~ sc.c:215:11: note: place parentheses around the assignment to silence this warning if (p = delbuf[dbidx]) { ^ ( ) sc.c:215:11: note: use '==' to turn this assignment into an equality comparison if (p = delbuf[dbidx]) { ^ == sc.c:523:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (redraw) printf(redraw); ^~~~~~ sc.c:523:21: note: treat the string as an argument to avoid this if (redraw) printf(redraw); ^ "%s", sc.c:852:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { ^ sc.c:1309:25: warning: implicit declaration of function 'list_frames' is invalid in C99 [-Wimplicit-function-declaration] if (!brokenpipe) list_frames(f); ^ sc.c:1422:24: warning: implicit declaration of function 'yankrow' is invalid in C99 [-Wimplicit-function-declaration] if (rcqual == 'r') yankrow(arg); ^ sc.c:1423:12: warning: implicit declaration of function 'yankcol' is invalid in C99 [-Wimplicit-function-declaration] else yankcol(arg); ^ sc.c:1599:8: warning: implicit declaration of function 'ljustify' is invalid in C99 [-Wimplicit-function-declaration] ljustify(currow, curcol, currow, curcol); ^ sc.c:1609:8: warning: implicit declaration of function 'rjustify' is invalid in C99 [-Wimplicit-function-declaration] rjustify(currow, curcol, currow, curcol); ^ sc.c:1619:8: warning: implicit declaration of function 'center' is invalid in C99 [-Wimplicit-function-declaration] center(currow, curcol, currow, curcol); ^ sc.c:2026:8: warning: implicit declaration of function 'gotonote' is invalid in C99 [-Wimplicit-function-declaration] gotonote(); ^ 10 warnings generated. cc -DSYSV3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -DSIGVOID -c screen.c screen.c:240:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ screen.c:334:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ screen.c:383:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ screen.c:466:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ screen.c:873:27: warning: address of function 'has_colors' will always evaluate to 'true' [-Wpointer-bool-conversion] if (!*pp && color && has_colors && cr && cr->r_color != 1) { ~~ ^~~~~~~~~~ screen.c:873:27: note: prefix with the address-of operator to silence this warning if (!*pp && color && has_colors && cr && cr->r_color != 1) { ^ & screen.c:873:27: note: suffix with parentheses to turn this into a function call if (!*pp && color && has_colors && cr && cr->r_color != 1) { ^ () 5 warnings generated. cc -DSYSV3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -c sort.c -o sort.o sort.c:71:7: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] error("Invalid sort criteria"); ^ ./sc.h:46:16: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sort.c:71:7: warning: implicit declaration of function 'move' is invalid in C99 [-Wimplicit-function-declaration] ./sc.h:46:43: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sort.c:71:7: warning: implicit declaration of function 'clrtoeol' is invalid in C99 [-Wimplicit-function-declaration] ./sc.h:46:57: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sort.c:71:7: warning: implicit declaration of function 'printw' is invalid in C99 [-Wimplicit-function-declaration] ./sc.h:46:71: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sort.c:82:7: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] error("Invalid sort criteria"); ^ ./sc.h:46:16: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sort.c:82:7: warning: implicit declaration of function 'move' is invalid in C99 [-Wimplicit-function-declaration] ./sc.h:46:43: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sort.c:82:7: warning: implicit declaration of function 'clrtoeol' is invalid in C99 [-Wimplicit-function-declaration] ./sc.h:46:57: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sort.c:82:7: warning: implicit declaration of function 'printw' is invalid in C99 [-Wimplicit-function-declaration] ./sc.h:46:71: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sort.c:88:3: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] error("Invalid sort criteria"); ^ ./sc.h:46:16: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sort.c:88:3: warning: implicit declaration of function 'move' is invalid in C99 [-Wimplicit-function-declaration] ./sc.h:46:43: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sort.c:88:3: warning: implicit declaration of function 'clrtoeol' is invalid in C99 [-Wimplicit-function-declaration] ./sc.h:46:57: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sort.c:88:3: warning: implicit declaration of function 'printw' is invalid in C99 [-Wimplicit-function-declaration] ./sc.h:46:71: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sort.c:95:3: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] error("Invalid sort criteria"); ^ ./sc.h:46:16: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sort.c:95:3: warning: implicit declaration of function 'move' is invalid in C99 [-Wimplicit-function-declaration] ./sc.h:46:43: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sort.c:95:3: warning: implicit declaration of function 'clrtoeol' is invalid in C99 [-Wimplicit-function-declaration] ./sc.h:46:57: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sort.c:95:3: warning: implicit declaration of function 'printw' is invalid in C99 [-Wimplicit-function-declaration] ./sc.h:46:71: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sort.c:107:3: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] error("sort error"); ^ ./sc.h:46:16: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sort.c:107:3: warning: implicit declaration of function 'move' is invalid in C99 [-Wimplicit-function-declaration] ./sc.h:46:43: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sort.c:107:3: warning: implicit declaration of function 'clrtoeol' is invalid in C99 [-Wimplicit-function-declaration] ./sc.h:46:57: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ sort.c:107:3: warning: implicit declaration of function 'printw' is invalid in C99 [-Wimplicit-function-declaration] ./sc.h:46:71: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ 20 warnings generated. cc -DSYSV3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -c version.c -o version.o cc -DSYSV3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -DREGCOMP -DHISTORY_FILE=\"~/.sc_history\" -c vi.c vi.c:43:9: warning: 'bool' macro redefined [-Wmacro-redefined] #define bool int ^ /usr/include/stdbool.h:39:9: note: previous definition is here #define bool _Bool ^ vi.c:141:5: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] error(""); ^ ./sc.h:46:16: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ vi.c:521:35: warning: implicit declaration of function 'gotonote' is invalid in C99 [-Wimplicit-function-declaration] case '*': if (nmgetch() == '*') gotonote(); break; ^ vi.c:1407:17: warning: implicit declaration of function 'fork' is invalid in C99 [-Wimplicit-function-declaration] if (!(pid = fork())) { ^ vi.c:1410:13: warning: implicit declaration of function 'execl' is invalid in C99 [-Wimplicit-function-declaration] (void) execl(shl, shl, "-c", cmd, NULL); ^ vi.c:1416:19: warning: implicit declaration of function 'wait' is invalid in C99 [-Wimplicit-function-declaration] while (pid != wait(&temp)); ^ vi.c:1475:2: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] error("History line %d", endhist - lasthist + histp); ^ ./sc.h:46:16: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ vi.c:1504:2: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] error("History line %d", endhist - lasthist + histp); ^ ./sc.h:46:16: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ vi.c:1533:2: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] error(tmp); ^ ./sc.h:46:16: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ vi.c:1576:22: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((last_search == NULL)) ~~~~~~~~~~~~^~~~~~~ vi.c:1576:22: note: remove extraneous parentheses around the comparison to silence this warning if ((last_search == NULL)) ~ ^ ~ vi.c:1576:22: note: use '=' to turn this equality comparison into an assignment if ((last_search == NULL)) ^~ = vi.c:1585:5: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] error(""); ^ ./sc.h:46:16: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ vi.c:2037:20: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] if (s != NULL) error(s); ^ ./sc.h:46:16: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ 12 warnings generated. cc -DSYSV3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -c vmtbl.c -o vmtbl.o vmtbl.c:120:6: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] error(nowider); ^ ./sc.h:46:16: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ vmtbl.c:138:2: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] GROWALLOC(row_hidden2, row_hidden, newrows, char, nolonger); ^ vmtbl.c:58:2: note: expanded from macro 'GROWALLOC' error(msg); \ ^ ./sc.h:46:16: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ vmtbl.c:145:2: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] GROWALLOC(tbl2, tbl, newrows, struct ent **, nolonger); ^ vmtbl.c:58:2: note: expanded from macro 'GROWALLOC' error(msg); \ ^ ./sc.h:46:16: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ vmtbl.c:154:2: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] GROWALLOC(fwidth2, fwidth, newcols, int, nowider); ^ vmtbl.c:58:2: note: expanded from macro 'GROWALLOC' error(msg); \ ^ ./sc.h:46:16: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ vmtbl.c:155:2: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] GROWALLOC(precision2, precision, newcols, int, nowider); ^ vmtbl.c:58:2: note: expanded from macro 'GROWALLOC' error(msg); \ ^ ./sc.h:46:16: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ vmtbl.c:156:2: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] GROWALLOC(realfmt2, realfmt, newcols, int, nowider); ^ vmtbl.c:58:2: note: expanded from macro 'GROWALLOC' error(msg); \ ^ ./sc.h:46:16: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ vmtbl.c:163:2: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] GROWALLOC(col_hidden2, col_hidden, newcols, char, nowider); ^ vmtbl.c:58:2: note: expanded from macro 'GROWALLOC' error(msg); \ ^ ./sc.h:46:16: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ vmtbl.c:175:6: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] error(nowider); ^ ./sc.h:46:16: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ vmtbl.c:193:6: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] error(nowider); ^ ./sc.h:46:16: note: expanded from macro 'error' # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^ 9 warnings generated. cc -DSYSV3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -c xmalloc.c -o xmalloc.o xmalloc.c:9:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ xmalloc.c:9:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' xmalloc.c:10:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ xmalloc.c:10:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' 2 warnings generated. cc -fstack-protector-strong abbrev.o cmds.o color.o crypt.o format.o frame.o gram.o help.o interp.o lex.o pipe.o range.o sc.o screen.o sort.o version.o vi.o vmtbl.o xmalloc.o -lm -lncurses -o sc rm -f pvmtbl.c ln vmtbl.c pvmtbl.c cc -DSYSV3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -c -DPSC pvmtbl.c pvmtbl.c:120:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] error(nowider); ^~~~~~~ ./sc.h:44:37: note: expanded from macro 'error' # define error(msg) fprintf(stderr, msg); ^~~ pvmtbl.c:120:12: note: treat the string as an argument to avoid this error(nowider); ^ "%s", ./sc.h:44:37: note: expanded from macro 'error' # define error(msg) fprintf(stderr, msg); ^ pvmtbl.c:154:43: warning: format string is not a string literal (potentially insecure) [-Wformat-security] GROWALLOC(fwidth2, fwidth, newcols, int, nowider); ^~~~~~~ pvmtbl.c:58:8: note: expanded from macro 'GROWALLOC' error(msg); \ ^~~ ./sc.h:44:37: note: expanded from macro 'error' # define error(msg) fprintf(stderr, msg); ^~~ pvmtbl.c:154:43: note: treat the string as an argument to avoid this GROWALLOC(fwidth2, fwidth, newcols, int, nowider); ^ "%s", pvmtbl.c:58:8: note: expanded from macro 'GROWALLOC' error(msg); \ ^ ./sc.h:44:37: note: expanded from macro 'error' # define error(msg) fprintf(stderr, msg); ^ pvmtbl.c:155:49: warning: format string is not a string literal (potentially insecure) [-Wformat-security] GROWALLOC(precision2, precision, newcols, int, nowider); ^~~~~~~ pvmtbl.c:58:8: note: expanded from macro 'GROWALLOC' error(msg); \ ^~~ ./sc.h:44:37: note: expanded from macro 'error' # define error(msg) fprintf(stderr, msg); ^~~ pvmtbl.c:155:49: note: treat the string as an argument to avoid this GROWALLOC(precision2, precision, newcols, int, nowider); ^ "%s", pvmtbl.c:58:8: note: expanded from macro 'GROWALLOC' error(msg); \ ^ ./sc.h:44:37: note: expanded from macro 'error' # define error(msg) fprintf(stderr, msg); ^ pvmtbl.c:156:45: warning: format string is not a string literal (potentially insecure) [-Wformat-security] GROWALLOC(realfmt2, realfmt, newcols, int, nowider); ^~~~~~~ pvmtbl.c:58:8: note: expanded from macro 'GROWALLOC' error(msg); \ ^~~ ./sc.h:44:37: note: expanded from macro 'error' # define error(msg) fprintf(stderr, msg); ^~~ pvmtbl.c:156:45: note: treat the string as an argument to avoid this GROWALLOC(realfmt2, realfmt, newcols, int, nowider); ^ "%s", pvmtbl.c:58:8: note: expanded from macro 'GROWALLOC' error(msg); \ ^ ./sc.h:44:37: note: expanded from macro 'error' # define error(msg) fprintf(stderr, msg); ^ 4 warnings generated. rm -f pxmalloc.c ln xmalloc.c pxmalloc.c cc -DSYSV3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -c -DPSC pxmalloc.c pxmalloc.c:9:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ pxmalloc.c:9:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' pxmalloc.c:10:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ pxmalloc.c:10:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' 2 warnings generated. cc -DSYSV3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -fstack-protector-strong -o psc psc.c pvmtbl.o pxmalloc.o rm -f qhelp.c ln help.c qhelp.c cc -DSYSV3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -fstack-protector-strong -DQREF -DTROFF -DSCNAME=\"SC\" -o scqref qhelp.c qhelp.c:645:12: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] (void) exit(0); ^ qhelp.c:645:12: note: include the header or explicitly provide a declaration for 'exit' 1 warning generated. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for sc-7.16_4 ===> Generating temporary packing list cp sc /wrkdirs/usr/ports/math/sc/work/stage/usr/local/bin strip /wrkdirs/usr/ports/math/sc/work/stage/usr/local/bin/sc cp scqref /wrkdirs/usr/ports/math/sc/work/stage/usr/local/bin strip /wrkdirs/usr/ports/math/sc/work/stage/usr/local/bin/scqref cp psc /wrkdirs/usr/ports/math/sc/work/stage/usr/local/bin strip /wrkdirs/usr/ports/math/sc/work/stage/usr/local/bin/psc mkdir /wrkdirs/usr/ports/math/sc/work/stage/usr/local/share/sc cp tutorial.sc /wrkdirs/usr/ports/math/sc/work/stage/usr/local/share/sc/tutorial.sc chmod 644 /wrkdirs/usr/ports/math/sc/work/stage/usr/local/share/sc/tutorial.sc name=sc NAME=SC LIBDIR=/wrkdirs/usr/ports/math/sc/work/stage/usr/local/share/sc sh torev sc.doc > sc.1 cp sc.1 /wrkdirs/usr/ports/math/sc/work/stage/usr/local/share/man/man1/sc.1 chmod 644 /wrkdirs/usr/ports/math/sc/work/stage/usr/local/share/man/man1/sc.1 name=sc NAME=SC LIBDIR=/wrkdirs/usr/ports/math/sc/work/stage/usr/local/share/sc sh torev psc.doc > psc.1 cp psc.1 /wrkdirs/usr/ports/math/sc/work/stage/usr/local/share/man/man1/psc.1 chmod 644 /wrkdirs/usr/ports/math/sc/work/stage/usr/local/share/man/man1/psc.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-03T03:26:31+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=20fa6b8f41' '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 sc-7.16_4 ===> Building sc-7.16_4 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for sc-7.16_4 build of math/sc | sc-7.16_4 ended at Wed Apr 3 04:26:40 BST 2024 build time: 00:00:09