=>> Building misc/tcb build started at Mon Jun 3 07:46:59 UTC 2019 port directory: /usr/ports/misc/tcb package name: tcb-1.4a_1 building for: FreeBSD headi386PR21519-default-job-02 13.0-CURRENT FreeBSD 13.0-CURRENT 1300030 i386 maintained by: ports@FreeBSD.org Makefile ident: $FreeBSD: head/misc/tcb/Makefile 386312 2015-05-14 10:15:04Z mat $ Poudriere version: 3.3.0-79-g75dc18ca Host OSVERSION: 1300018 Jail OSVERSION: 1300030 Job Id: 02 !!! Jail is newer than host. (Jail: 1300030, Host: 1300018) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/csh UNAME_p=i386 UNAME_m=i386 OSVERSION=1300030 UNAME_v=FreeBSD 13.0-CURRENT 1300030 UNAME_r=13.0-CURRENT BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin LOCALBASE=/usr/local USER=root LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.3.0-79-g75dc18ca MASTERMNT=/poudriere/data/.m/headi386PR21519-default/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen PWD=/poudriere/data/.m/headi386PR21519-default/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=headi386PR21519-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/poudriere/data/.m/headi386PR21519-default/ref/.p SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= DEPENDS_ARGS= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for tcb-1.4a_1: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/misc/tcb/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/misc/tcb/work HOME=/wrkdirs/usr/ports/misc/tcb/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/misc/tcb/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/misc/tcb/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/misc/tcb/work HOME=/wrkdirs/usr/ports/misc/tcb/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/misc/tcb/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes 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 " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/tcb" EXAMPLESDIR="share/examples/tcb" DATADIR="share/tcb" WWWDIR="www/tcb" ETCDIR="etc/tcb" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/tcb DOCSDIR=/usr/local/share/doc/tcb EXAMPLESDIR=/usr/local/share/examples/tcb WWWDIR=/usr/local/www/tcb ETCDIR=/usr/local/etc/tcb --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 MACHINE=i386 MACHINE_ARCH=i386 ARCH=${MACHINE_ARCH} #### /usr/local/etc/poudriere.d/make.conf #### # Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs MAKE_JOBS_NUMBER=2 # stable/10 includes src.conf too late but make.conf is in sys.mk .if ${.CURDIR:M/poudriere/jails/10*/usr/src/usr.bin/xlint*} # Disable build of llib now that head no longer has lint(1) LINT= true .endif #### /usr/ports/Mk/Scripts/ports_env.sh #### _CCVERSION_921dbbb2=FreeBSD clang version 8.0.0 (tags/RELEASE_800/final 356365) (based on LLVM 8.0.0) Target: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin _ALTCCVERSION_921dbbb2=none _CXXINTERNAL_acaad9ca=FreeBSD clang version 8.0.0 (tags/RELEASE_800/final 356365) (based on LLVM 8.0.0) Target: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-m" "elf_i386_fbsd" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o" CC_OUTPUT_921dbbb2_58173849=yes CC_OUTPUT_921dbbb2_9bdba57c=yes CC_OUTPUT_921dbbb2_6a4fe7f5=yes CC_OUTPUT_921dbbb2_6bcac02b=yes CC_OUTPUT_921dbbb2_67d20829=yes CC_OUTPUT_921dbbb2_bfa62e83=yes CC_OUTPUT_921dbbb2_f0b4d593=yes CC_OUTPUT_921dbbb2_308abb44=yes CC_OUTPUT_921dbbb2_f00456e5=yes CC_OUTPUT_921dbbb2_65ad290d=yes CC_OUTPUT_921dbbb2_f2776b26=yes CC_OUTPUT_921dbbb2_b2657cc3=yes CC_OUTPUT_921dbbb2_380987f7=yes CC_OUTPUT_921dbbb2_160933ec=yes CC_OUTPUT_921dbbb2_fb62803b=yes _OBJC_CCVERSION_921dbbb2=FreeBSD clang version 8.0.0 (tags/RELEASE_800/final 356365) (based on LLVM 8.0.0) Target: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin _OBJC_ALTCCVERSION_921dbbb2=none ARCH=i386 OPSYS=FreeBSD _OSRELEASE=13.0-CURRENT OSREL=13.0 OSVERSION=1300030 PYTHONBASE=/usr/local CONFIGURE_MAX_CMD_LEN=262144 HAVE_PORTS_ENV=1 #### Misc Poudriere #### 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) 524288 stack size (kbytes, -s) 65536 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) 1024 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-- =================================================== ===> NOTICE: The tcb 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port =========================================================================== =================================================== ===> tcb-1.4a_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.11.1.txz [headi386PR21519-default-job-02] Installing pkg-1.11.1... [headi386PR21519-default-job-02] Extracting pkg-1.11.1: .......... done ===> tcb-1.4a_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of tcb-1.4a_1 =========================================================================== =================================================== =========================================================================== =================================================== ===> NOTICE: The tcb 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by tcb-1.4a_1 for building =========================================================================== =================================================== ===> NOTICE: The tcb 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by tcb-1.4a_1 for building => SHA256 Checksum OK for tcb-1.4a.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> NOTICE: The tcb 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by tcb-1.4a_1 for building ===> Extracting for tcb-1.4a_1 => SHA256 Checksum OK for tcb-1.4a.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for tcb-1.4a_1 ===> Applying FreeBSD patches for tcb-1.4a_1 =========================================================================== =================================================== ===> tcb-1.4a_1 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_3.txz [headi386PR21519-default-job-02] Installing gmake-4.2.1_3... [headi386PR21519-default-job-02] `-- Installing gettext-runtime-0.19.8.1_2... [headi386PR21519-default-job-02] | `-- Installing indexinfo-0.3.1... [headi386PR21519-default-job-02] | `-- Extracting indexinfo-0.3.1: .... done [headi386PR21519-default-job-02] `-- Extracting gettext-runtime-0.19.8.1_2: .......... done [headi386PR21519-default-job-02] Extracting gmake-4.2.1_3: .......... done ===> tcb-1.4a_1 depends on executable: gmake - found ===> Returning to build of tcb-1.4a_1 =========================================================================== =================================================== =========================================================================== =================================================== ===> Configuring for tcb-1.4a_1 =========================================================================== =================================================== ===> Building for tcb-1.4a_1 gmake[1]: Entering directory '/wrkdirs/usr/ports/misc/tcb/work/tcb-1.4a' Creating src/config.h: Making tcb: gmake[2]: Entering directory '/wrkdirs/usr/ports/misc/tcb/work/tcb-1.4a/src' cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing alloc.c In file included from alloc.c:1: In file included from ./tcb.h:266: ./alloc.h:18:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _ALLOC_H ^ // In file included from alloc.c:1: ./tcb.h:269:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _TCB_H ^ // In file included from alloc.c:7: ./alloc.h:18:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _ALLOC_H ^ // alloc.c:66:16: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] end = strchr(str, '\0'); ^~~ /usr/include/string.h:78:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ alloc.c:66:7: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] end = strchr(str, '\0'); ^ ~~~~~~~~~~~~~~~~~ alloc.c:333:23: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((pp->cs = strdup(list->name))) { ^~~~~~~~~~ /usr/include/string.h:87:26: note: passing argument to parameter here char *strdup(const char *) __malloc_like; ^ alloc.c:333:14: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((pp->cs = strdup(list->name))) { ^ ~~~~~~~~~~~~~~~~~~ alloc.c:334:30: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] u_char *p = alloca(strlen(pp->cs) + 1); ^~~~~~ /usr/include/stdlib.h:247:37: note: expanded from macro 'alloca' #define alloca(sz) __builtin_alloca(sz) ^~ /usr/include/string.h:97:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ alloc.c:353:11: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(p, pp->cs); ^ /usr/include/string.h:84:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ alloc.c:353:14: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(p, pp->cs); ^~~~~~ /usr/include/string.h:84:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ alloc.c:354:15: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(p) > vt_col(0)) p[vt_col(0)] = '\0'; ^ /usr/include/string.h:97:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ alloc.c:355:23: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] pp->f.len = strlen(p); ^ /usr/include/string.h:97:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ alloc.c:392:28: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((pp->cs = strdup(sp->name))) { ^~~~~~~~ /usr/include/string.h:87:26: note: passing argument to parameter here char *strdup(const char *) __malloc_like; ^ alloc.c:392:19: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((pp->cs = strdup(sp->name))) { ^ ~~~~~~~~~~~~~~~~ alloc.c:393:28: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] u_char *p = alloca(strlen(pp->cs) + 1); ^~~~~~ /usr/include/stdlib.h:247:37: note: expanded from macro 'alloca' #define alloca(sz) __builtin_alloca(sz) ^~ /usr/include/string.h:97:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ alloc.c:409:9: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(p, pp->cs); ^ /usr/include/string.h:84:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ alloc.c:409:12: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(p, pp->cs); ^~~~~~ /usr/include/string.h:84:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ alloc.c:410:13: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(p) > vt_col(0)) p[vt_col(0)] = '\0'; ^ /usr/include/string.h:97:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ alloc.c:411:21: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] pp->f.len = strlen(p); ^ /usr/include/string.h:97:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ alloc.c:454:17: warning: expression result unused [-Wunused-value] for (i = 0, buff; i < size; i++) if (!buff[i]) buff[i] = ' '; ^~~~ alloc.c:475:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ? (u_char*)&strchr(buff, '\n')[1] : buff; ^~~~ /usr/include/string.h:78:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ alloc.c:476:31: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (f_M == M_cut && strncmp(cs, "0:", 2) && strncmp(cs, "1:", 2)) ^~ /usr/include/string.h:102:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ alloc.c:476:55: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (f_M == M_cut && strncmp(cs, "0:", 2) && strncmp(cs, "1:", 2)) ^~ /usr/include/string.h:102:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ alloc.c:478:19: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((pp->cs = strdup("--"))) { ^ ~~~~~~~~~~~~ alloc.c:480:21: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] pp->f.len = strlen(pp->cs); ^~~~~~ /usr/include/string.h:97:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ alloc.c:490:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else return NULL; ^ alloc.c:497:37: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] } else if (!n && (cp = strchr(cs, ':'))) nb = cp - cs + 1; ^~ /usr/include/string.h:78:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ alloc.c:497:28: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] } else if (!n && (cp = strchr(cs, ':'))) nb = cp - cs + 1; ^ ~~~~~~~~~~~~~~~ alloc.c:550:26: warning: passing 'u_char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(Alloc.line, tome(Alloc.line, 0)); ^~~~~~~~~~ ./tcb.P:143:17: note: passing argument to parameter 'str' here char *tome(char str[], int f_nl); ^ alloc.c:550:9: warning: passing 'u_char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(Alloc.line, tome(Alloc.line, 0)); ^~~~~~~~~~ /usr/include/string.h:84:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ alloc.c:551:20: warning: passing 'u_char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!(cp = strchr(Alloc.line, ':'))) { ^~~~~~~~~~ /usr/include/string.h:78:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ alloc.c:551:11: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!(cp = strchr(Alloc.line, ':'))) { ^ ~~~~~~~~~~~~~~~~~~~~~~~ alloc.c:556:27: warning: passing 'u_char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] tell = pp->tell = atoi(Alloc.line); ^~~~~~~~~~ /usr/include/stdlib.h:90:23: note: passing argument to parameter here int atoi(const char *); ^ alloc.c:560:28: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((pp->cs = strdup(cp))) { ^~ /usr/include/string.h:87:26: note: passing argument to parameter here char *strdup(const char *) __malloc_like; ^ alloc.c:560:19: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((pp->cs = strdup(cp))) { ^ ~~~~~~~~~~ alloc.c:561:28: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] u_char *p = alloca(strlen(pp->cs) + 1); ^~~~~~ /usr/include/stdlib.h:247:37: note: expanded from macro 'alloca' #define alloca(sz) __builtin_alloca(sz) ^~ /usr/include/string.h:97:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ alloc.c:575:29: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] pp->f.len = ((i = strlen(pp->cs)) > vt_col(0)) ? vt_col(0) : i; ^~~~~~ /usr/include/string.h:97:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ alloc.c:577:11: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(p, pp->cs); ^ /usr/include/string.h:84:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ alloc.c:577:14: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(p, pp->cs); ^~~~~~ /usr/include/string.h:84:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ alloc.c:578:15: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(p) > vt_col(0)) p[vt_col(0)] = '\0'; ^ /usr/include/string.h:97:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ alloc.c:579:23: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] pp->f.len = strlen(p); ^ /usr/include/string.h:97:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ alloc.c:657:20: warning: passing 'u_char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strncmp(Alloc.line, " --", 3)) break; ^~~~~~~~~~ /usr/include/string.h:102:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ alloc.c:674:24: warning: passing 'u_char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((cs = strstr(Alloc.line, " -> "))) *cs = '\0'; ^~~~~~~~~~ /usr/include/string.h:120:26: note: passing argument to parameter here char *strstr(const char *, const char *) __pure; ^ alloc.c:674:15: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((cs = strstr(Alloc.line, " -> "))) *cs = '\0'; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ alloc.c:675:31: warning: passing 'u_char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (i = 0, ce = strchr(Alloc.line, '\0') - 1; ; i++) { ^~~~~~~~~~ /usr/include/string.h:78:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ alloc.c:675:22: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (i = 0, ce = strchr(Alloc.line, '\0') - 1; ; i++) { ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alloc.c:686:13: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] for (p = ce; *p >= '0' && *p <= '9'; p++) ; ^ ~~ alloc.c:688:14: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] else ce = p; ^ ~ alloc.c:706:18: warning: passing 'u_char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strchr(Alloc.line, '\0')[-1] == '/') split = -1; /* directory */ ^~~~~~~~~~ /usr/include/string.h:78:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ alloc.c:752:15: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(&Alloc.line[9], "%10d ", k); ^~~~~~~~~~~~~~ /usr/include/stdio.h:287:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ alloc.c:758:28: warning: passing 'u_char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((pp->cs = strdup(Alloc.line))) { ^~~~~~~~~~ /usr/include/string.h:87:26: note: passing argument to parameter here char *strdup(const char *) __malloc_like; ^ alloc.c:758:19: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((pp->cs = strdup(Alloc.line))) { ^ ~~~~~~~~~~~~~~~~~~ alloc.c:759:27: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] pp->f.len = ((i = strlen(pp->cs)) > vt_col(0)) ? vt_col(0) : i; ^~~~~~ /usr/include/string.h:97:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ alloc.c:810:12: warning: passing 'u_char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(Alloc.line, &pp->cs[20]); ^~~~~~~~~~ /usr/include/string.h:84:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ alloc.c:810:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(Alloc.line, &pp->cs[20]); ^~~~~~~~~~~ /usr/include/string.h:84:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ alloc.c:811:22: warning: passing 'u_char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((sp = strchr(Alloc.line, ' '))) *sp = '\0'; ^~~~~~~~~~ /usr/include/string.h:78:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ alloc.c:811:13: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((sp = strchr(Alloc.line, ' '))) *sp = '\0'; ^ ~~~~~~~~~~~~~~~~~~~~~~~ alloc.c:813:18: warning: passing 'u_char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] i = strlen(Alloc.line); ^~~~~~~~~~ /usr/include/string.h:97:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ alloc.c:814:22: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] while (strncmp(cp, Alloc.line, i)) /* search for next header */ ^~ /usr/include/string.h:102:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ alloc.c:814:26: warning: passing 'u_char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] while (strncmp(cp, Alloc.line, i)) /* search for next header */ ^~~~~~~~~~ /usr/include/string.h:102:40: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ alloc.c:1089:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] c = strlen(str); ^~~ /usr/include/string.h:97:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ alloc.c:1091:28: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((pp->cs = strdup(str))) { ^~~ /usr/include/string.h:87:26: note: passing argument to parameter here char *strdup(const char *) __malloc_like; ^ alloc.c:1091:19: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((pp->cs = strdup(str))) { ^ ~~~~~~~~~~~ alloc.c:1093:21: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] pp->f.len = strlen(pp->cs); ^~~~~~ /usr/include/string.h:97:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ alloc.c:1116:10: warning: passing 'u_char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(Alloc.line, mess); ^~~~~~~~~~ /usr/include/string.h:84:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ alloc.c:1119:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else save_error("%s: %s: %s.\n", s_S(S_tcb), name, Alloc.line); ^ alloc.c:1121:12: warning: passing 'u_char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(Alloc.line, " ("); ^~~~~~~~~~ /usr/include/string.h:77:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ alloc.c:1122:12: warning: passing 'u_char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(Alloc.line, cp); ^~~~~~~~~~ /usr/include/string.h:77:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ alloc.c:1123:12: warning: passing 'u_char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(Alloc.line, ")"); ^~~~~~~~~~ /usr/include/string.h:77:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ alloc.c:1125:31: warning: passing 'u_char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((bp->buff = strdup(toul(Alloc.line, 1)))) { ^~~~~~~~~~ ./tcb.P:142:17: note: passing argument to parameter 'str' here char *toul(char str[], int f_nl); ^ alloc.c:1125:17: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((bp->buff = strdup(toul(Alloc.line, 1)))) { ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ alloc.c:1126:43: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((bp->pp = set_pp(bp->buff, strlen(bp->buff), &bp->nrow, 0, 0))) { ^~~~~~~~ /usr/include/string.h:97:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ alloc.c:1373:7: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] end = buff + size; ^ ~~~~~~~~~~~ alloc.c:1374:36: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] cp0 = cp = (u_char*)((int)strchr(buff, '\n') + 1); ^~~~ /usr/include/string.h:78:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ alloc.c:1374:12: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] cp0 = cp = (u_char*)((int)strchr(buff, '\n') + 1); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alloc.c:1416:21: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ls_len = strlen(buff); ^~~~ /usr/include/string.h:97:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ alloc.c:1422:12: warning: passing 'u_char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(Alloc.line, tmp, p->s[ls_i]); ^~~~~~~~~~ /usr/include/stdio.h:287:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ alloc.c:1423:17: warning: passing 'u_char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] } else sprintf(Alloc.line, "%s", p->s[ls_i]); ^~~~~~~~~~ /usr/include/stdio.h:287:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ alloc.c:1424:9: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(buff, Alloc.line); ^~~~ /usr/include/string.h:77:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ alloc.c:1424:15: warning: passing 'u_char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcat(buff, Alloc.line); ^~~~~~~~~~ /usr/include/string.h:77:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ alloc.c:1425:19: warning: passing 'u_char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ls_len += strlen(Alloc.line); ^~~~~~~~~~ /usr/include/string.h:97:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ 81 warnings generated. cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing child.c In file included from child.c:1: In file included from ./tcb.h:266: ./alloc.h:18:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _ALLOC_H ^ // In file included from child.c:1: ./tcb.h:269:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _TCB_H ^ // child.c:149:22: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] for (i = 0, cp = split; i < size; ) { ^ ~~~~~ 3 warnings generated. cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing code.c In file included from code.c:1: In file included from ./tcb.h:266: ./alloc.h:18:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _ALLOC_H ^ // In file included from code.c:1: ./tcb.h:269:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _TCB_H ^ // code.c:120:31: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] buff = (name) ? type_file(buff, name, code) : type_pipe(buff, size, code); ^~~~ code.c:74:23: note: passing argument to parameter 'buff' here char *type_file(char *buff, char name[], int code)/*tcb*/ ^ code.c:120:61: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] buff = (name) ? type_file(buff, name, code) : type_pipe(buff, size, code); ^~~~ code.c:27:23: note: passing argument to parameter 'buff' here char *type_pipe(char *buff, int size, int code)/*tcb*/ ^ code.c:120:10: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] buff = (name) ? type_file(buff, name, code) : type_pipe(buff, size, code); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ code.c:121:29: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (buff) size = strlen(buff); ^~~~ /usr/include/string.h:97:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ 6 warnings generated. cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing disp.c In file included from disp.c:1: In file included from ./tcb.h:266: ./alloc.h:18:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _ALLOC_H ^ // In file included from disp.c:1: ./tcb.h:269:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _TCB_H ^ // disp.c:161:9: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] arg = argp; ^ ~~~~ disp.c:218:47: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] j = (*arg == K_z && !arg[1]) ? 0 : strlen(arg); ^~~ /usr/include/string.h:97:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ disp.c:221:14: warning: passing 'u_char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] tabtospc(prev, prev0); ^~~~ disp.c:2:27: note: passing argument to parameter 'str' here static void tabtospc(char str[], char tmp[]) ^ disp.c:221:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] tabtospc(prev, prev0); ^~~~~ disp.c:2:39: note: passing argument to parameter 'tmp' here static void tabtospc(char str[], char tmp[]) ^ disp.c:227:18: warning: passing 'u_char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(prev) > j) ^~~~ /usr/include/string.h:97:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ disp.c:228:38: warning: passing 'u_char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(prev, "...%s", &prev[strlen(prev) - j + 3]); ^~~~ /usr/include/string.h:97:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ disp.c:228:10: warning: passing 'u_char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(prev, "...%s", &prev[strlen(prev) - j + 3]); ^~~~ /usr/include/stdio.h:287:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ disp.c:229:23: warning: passing 'u_char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] else i = strlen(prev) + 1; ^~~~ /usr/include/string.h:97:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ disp.c:229:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else i = strlen(prev) + 1; ^ disp.c:231:49: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] k = (*arg == K_z && !arg[1]) ? 0 : strlen(arg); ^~~ /usr/include/string.h:97:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ disp.c:240:8: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char [256]' converts between pointers to integer types with different sign [-Wpointer-sign] p.cs = name; ^ ~~~~ disp.c:241:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] p.f.len = strlen(p.cs); ^~~~ /usr/include/string.h:97:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ disp.c:256:19: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] len += strlen(&arg[1]) + 1; ^~~~~~~ /usr/include/string.h:97:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ disp.c:268:23: warning: passing 'u_char [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (i = strlen(prev), j = vt_col(0) - (len + i + 1); j > 0; i++, j--) ^~~~ /usr/include/string.h:97:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ disp.c:275:22: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] p.f.len = strlen(p.cs); ^~~~ /usr/include/string.h:97:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ disp.c:292:42: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return (f_M == M_shell) ? len - strlen(arg) : nlen; ^~~ /usr/include/string.h:97:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ disp.c:310:38: warning: passing 'u_char [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!ps && !pp && len > 0) sprintf(line, "---"); ^~~~ /usr/include/stdio.h:287:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ disp.c:355:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else c = K_g; ^ disp.c:357:31: warning: passing 'u_char [8]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] i = (c == K_g) ? 0 : atoi(num); ^~~ /usr/include/stdlib.h:90:23: note: passing argument to parameter here int atoi(const char *); ^ disp.c:376:14: warning: passing 'u_char [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(tmp, str); ^~~ /usr/include/string.h:84:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ disp.c:376:19: warning: passing 'u_char [10]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(tmp, str); ^~~ /usr/include/string.h:84:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ disp.c:377:14: warning: passing 'u_char [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(line, utoa(row)); ^~~~ /usr/include/string.h:84:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ disp.c:378:23: warning: passing 'u_char [32]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (i = strlen(line), k = j; i; i--, j--) str[j-1] = line[i-1]; ^~~~ /usr/include/string.h:97:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ disp.c:379:14: warning: passing 'u_char [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(line, utoa(n_row)); ^~~~ /usr/include/string.h:84:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ disp.c:380:23: warning: passing 'u_char [32]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (i = strlen(line), j = k; i; i--, j--) tmp[j-1] = line[i-1]; ^~~~ /usr/include/string.h:97:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ disp.c:383:14: warning: passing 'u_char [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(tmp, utoa(n_row)); ^~~ /usr/include/string.h:84:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ disp.c:384:23: warning: passing 'u_char [32]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (j = strlen(tmp), i = 0; i < j; i++) str[i] = '0'; ^~~ /usr/include/string.h:97:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ disp.c:386:14: warning: passing 'u_char [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(line, utoa(row)); ^~~~ /usr/include/string.h:84:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ disp.c:387:23: warning: passing 'u_char [32]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (i = strlen(line); i; i--, j--) str[j-1] = line[i-1]; ^~~~ /usr/include/string.h:97:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ disp.c:391:10: warning: passing 'u_char [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(line, "--- END"); ^~~~ /usr/include/stdio.h:287:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ disp.c:393:10: warning: passing 'u_char [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(line, "--- %2d%%", e_row * 100 / n_row); ^~~~ /usr/include/stdio.h:287:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ disp.c:395:15: warning: passing 'u_char [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(line, "%s/%s END", str, tmp); ^~~~ /usr/include/stdio.h:287:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ disp.c:397:15: warning: passing 'u_char [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(line, "%s/%s %2d%%", str, tmp, e_row * 100 / n_row); ^~~~ /usr/include/stdio.h:287:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ disp.c:401:12: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(linep, line); ^~~~~ /usr/include/string.h:84:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ disp.c:401:19: warning: passing 'u_char [32]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(linep, line); ^~~~ /usr/include/string.h:84:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ disp.c:402:19: warning: passing 'u_char [32]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return strlen(line); ^~~~ /usr/include/string.h:97:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ disp.c:404:21: warning: passing 'u_char [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (linep) strcpy(line, linep); ^~~~ /usr/include/string.h:84:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ disp.c:404:27: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (linep) strcpy(line, linep); ^~~~~ /usr/include/string.h:84:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ disp.c:410:17: warning: passing 'u_char [32]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] tlen = strlen(line); ^~~~ /usr/include/string.h:97:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ disp.c:435:10: warning: passing 'u_char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(str, (*prev == K_z) ? dir : (char*)prev); ^~~ /usr/include/string.h:84:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ disp.c:437:19: warning: passing 'u_char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((i = strlen(str)) > k) sprintf(str, "...%s", &str[strlen(str) - k + 3]); ^~~ /usr/include/string.h:97:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ disp.c:437:64: warning: passing 'u_char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((i = strlen(str)) > k) sprintf(str, "...%s", &str[strlen(str) - k + 3]); ^~~ /usr/include/string.h:97:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ disp.c:437:38: warning: passing 'u_char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((i = strlen(str)) > k) sprintf(str, "...%s", &str[strlen(str) - k + 3]); ^~~ /usr/include/stdio.h:287:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ disp.c:448:22: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] p.f.len = strlen(p.cs); ^~~~ /usr/include/string.h:97:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ disp.c:450:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] } else strcpy(prev, str); ^~~~ /usr/include/string.h:84:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ disp.c:450:23: warning: passing 'u_char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] } else strcpy(prev, str); ^~~ /usr/include/string.h:84:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ 48 warnings generated. cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing fork.c In file included from fork.c:1: In file included from ./tcb.h:266: ./alloc.h:18:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _ALLOC_H ^ // In file included from fork.c:1: ./tcb.h:269:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _TCB_H ^ // fork.c:98:6: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] cp = w_arg(arg, chp->argv[0]); ^ ~~~~~~~~~~~~~~~~~~~~~~~~ fork.c:101:38: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(chp2->argv[chp2->f.argc], cp); ^~ /usr/include/string.h:84:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ fork.c:102:41: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] } else strcpy(chp->argv[chp->f.argc], cp); ^~ /usr/include/string.h:84:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ fork.c:103:14: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] fp = fopen(cp, "w"); ^~ /usr/include/stdio.h:259:36: note: passing argument to parameter here FILE *fopen(const char * __restrict, const char * __restrict); ^ fork.c:133:10: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] unlink(cp); ^~ /usr/include/unistd.h:371:25: note: passing argument to parameter here int unlink(const char *); ^ fork.c:148:51: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] chp2 = get_child(chp2, NULL, chp2->argv[0], name); ^~~~ ./tcb.P:24:62: note: passing argument to parameter 'name' here CHILD *get_child(CHILD *chp0, char *suffix, char *bin, char *name); ^ fork.c:166:12: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] stat(name, &st); ^~~~ /usr/include/sys/stat.h:395:33: note: passing argument to parameter here int stat(const char * __restrict, struct stat * __restrict); ^ fork.c:167:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] fd = open(name, O_RDONLY); ^~~~ /usr/include/fcntl.h:331:22: note: passing argument to parameter here int open(const char *, int, ...); ^ fork.c:172:49: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] chp = get_child(NULL, ".tar", s_S(S_tar), name); ^~~~ ./tcb.P:24:62: note: passing argument to parameter 'name' here CHILD *get_child(CHILD *chp0, char *suffix, char *bin, char *name); ^ fork.c:176:45: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] chp = get_child(NULL, NULL, s_S(S_lha), name); /* `.lzh lha p' */ ^~~~ ./tcb.P:24:62: note: passing argument to parameter 'name' here CHILD *get_child(CHILD *chp0, char *suffix, char *bin, char *name); ^ fork.c:192:50: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] chp = get_child(chp->next, NULL, s_S(S_lha), name); /* `.lzh lha' */ ^~~~ ./tcb.P:24:62: note: passing argument to parameter 'name' here CHILD *get_child(CHILD *chp0, char *suffix, char *bin, char *name); ^ fork.c:195:47: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] chp = get_child(NULL, NULL, s_S(S_unzip), name); /* `.zip unzip -p' */ ^~~~ ./tcb.P:24:62: note: passing argument to parameter 'name' here CHILD *get_child(CHILD *chp0, char *suffix, char *bin, char *name); ^ fork.c:211:52: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] chp = get_child(chp->next, NULL, s_S(S_unzip), name); /* `.zip unzip -l' */ ^~~~ ./tcb.P:24:62: note: passing argument to parameter 'name' here CHILD *get_child(CHILD *chp0, char *suffix, char *bin, char *name); ^ fork.c:241:12: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] tmp_buff = fork_scan(tmp_sizep, pid, pv[0], 0); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fork.c:244:10: warning: returning 'char *' from a function with result type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] return tmp_buff; ^~~~~~~~ fork.c:293:17: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] f_bs = strchr(str, K_h) != NULL; ^~~ /usr/include/string.h:78:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ fork.c:326:31: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] fwrite(pp->cs, 1, strlen(pp->cs), fp); /* for complete filename */ ^~~~~~ /usr/include/string.h:97:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ fork.c:343:50: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] , (f_fgrep) ? s_S(S_fgrep) : s_S(S_egrep), str); ^~~ ./tcb.P:24:62: note: passing argument to parameter 'name' here CHILD *get_child(CHILD *chp0, char *suffix, char *bin, char *name); ^ 20 warnings generated. cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing init.c In file included from init.c:1: In file included from ./tcb.h:266: ./alloc.h:18:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _ALLOC_H ^ // In file included from init.c:1: ./tcb.h:269:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _TCB_H ^ // init.c:53:46: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] nlen = disp_window(bp->pp, bp->pp, f_M, p, prev, arg, klenp); ^~~~ ./tcb.P:37:66: note: passing argument to parameter 'prev0' here int disp_window(PP *ps0, PP *pp0, int f_M0, char name0[], u_char prev0[], char *argp, int *lenp0); ^ init.c:62:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else if (ppid) { ^ init.c:203:6: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] cp = name; ^ ~~~~ init.c:305:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else bp->pp = alloc_pp(bp->buff, T_cut, bp->size, &bp->nrow, name); ^ init.c:386:35: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] make_bp(bp, strerror(EINVAL), name, s_S(S_err8)); ^~~~ ./tcb.P:15:43: note: passing argument to parameter 'name' here void make_bp(BASE *bp, char mess[], char *name, char *cp); ^ init.c:391:30: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] make_bp(bp, s_S(S_err1), name, NULL); ^~~~ ./tcb.P:15:43: note: passing argument to parameter 'name' here void make_bp(BASE *bp, char mess[], char *name, char *cp); ^ init.c:397:35: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] } else bp->buff = alloc_split(name, pp->tell, bp->size); ^~~~ ./tcb.P:12:26: note: passing argument to parameter 'name' here u_char *alloc_split(char name[], int tell, int size); ^ init.c:439:30: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] make_bp(bp, s_S(S_err1), name, NULL); ^~~~ ./tcb.P:15:43: note: passing argument to parameter 'name' here void make_bp(BASE *bp, char mess[], char *name, char *cp); ^ init.c:453:18: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] fp = fopen(name, "r"); ^~~~ /usr/include/stdio.h:259:36: note: passing argument to parameter here FILE *fopen(const char * __restrict, const char * __restrict); ^ init.c:530:16: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] bp->buff = strdup(s_S(S_TCB)); ^ ~~~~~~~~~~~~~~~~~~ init.c:560:15: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] = fork_arc(name, f_M, chp, &head->size, &bp->size, bp))) ^~~~ ./tcb.P:45:25: note: passing argument to parameter 'name' here u_char *fork_arc(u_char name[], int f_M, CHILD *chp0, int *tmp_sizep, int *bp_sizep, BASE *bp); ^ 13 warnings generated. cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing key.c In file included from key.c:1: In file included from ./tcb.h:266: ./alloc.h:18:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _ALLOC_H ^ // In file included from key.c:1: ./tcb.h:269:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _TCB_H ^ // key.c:5:10: fatal error: 'sys/dir.h' file not found #include ^~~~~~~~~~~ 2 warnings and 1 error generated. gmake[2]: *** [Makefile:16: key.o] Error 1 gmake[2]: Leaving directory '/wrkdirs/usr/ports/misc/tcb/work/tcb-1.4a/src' gmake[1]: Leaving directory '/wrkdirs/usr/ports/misc/tcb/work/tcb-1.4a' =========================================================================== =================================================== =========================================================================== =================================================== ===> Staging for tcb-1.4a_1 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/misc/tcb/work/tcb-1.4a/src/tcb /wrkdirs/usr/ports/misc/tcb/work/stage/usr/local/bin install: /wrkdirs/usr/ports/misc/tcb/work/tcb-1.4a/src/tcb: No such file or directory *** Error code 71 Stop. make: stopped in /usr/ports/misc/tcb =>> Cleaning up wrkdir ===> Cleaning for tcb-1.4a_1 build of misc/tcb | tcb-1.4a_1 ended at Mon Jun 3 07:47:06 UTC 2019 build time: 00:00:07 !!! build failure encountered !!!