=> Building sysutils/chgrep Started : Thursday, 30 AUG 2018 at 20:52:49 UTC Platform: 5.3-DEVELOPMENT DragonFly 5.3-DEVELOPMENT #141: Thu Aug 30 12:52:40 PDT 2018 root@test.backplane.com:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.3-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.3-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- MAKE=gmake XDG_DATA_HOME=/construction/sysutils/chgrep XDG_CONFIG_HOME=/construction/sysutils/chgrep HOME=/construction/sysutils/chgrep TMPDIR="/tmp" PATH=/construction/sysutils/chgrep/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/sysutils/chgrep XDG_CONFIG_HOME=/construction/sysutils/chgrep HOME=/construction/sysutils/chgrep TMPDIR="/tmp" PATH=/construction/sysutils/chgrep/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -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" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/sysutils/chgrep/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" PORTEXAMPLES="" OSREL=5.3 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/chgrep" EXAMPLESDIR="share/examples/chgrep" DATADIR="share/chgrep" WWWDIR="www/chgrep" ETCDIR="etc/chgrep" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/chgrep DOCSDIR=/usr/local/share/doc/chgrep EXAMPLESDIR=/usr/local/share/examples/chgrep WWWDIR=/usr/local/www/chgrep ETCDIR=/usr/local/etc/chgrep -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=LiveSystem USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=12 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=32 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500316 OSVERSION=9999999 OSREL=5.3 _OSRELEASE=5.3-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> NOTICE: The chgrep 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 -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> chgrep-1.2.4 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_1.txz Installing pkg-1.10.5_1... Extracting pkg-1.10.5_1: .......... done ===> chgrep-1.2.4 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of chgrep-1.2.4 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> NOTICE: The chgrep 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 chgrep-1.2.4 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> NOTICE: The chgrep 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 chgrep-1.2.4 for building => SHA256 Checksum OK for chgrep-1.2.4.tgz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> NOTICE: The chgrep 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 chgrep-1.2.4 for building ===> Extracting for chgrep-1.2.4 => SHA256 Checksum OK for chgrep-1.2.4.tgz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for chgrep-1.2.4 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> chgrep-1.2.4 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_2.txz Installing gmake-4.2.1_2... `-- Installing gettext-runtime-0.19.8.1_1... | `-- Installing indexinfo-0.3.1... | `-- Extracting indexinfo-0.3.1: .... done `-- Extracting gettext-runtime-0.19.8.1_1: .......... done Extracting gmake-4.2.1_2: .......... done ===> chgrep-1.2.4 depends on executable: gmake - found ===> Returning to build of chgrep-1.2.4 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for chgrep-1.2.4 configure: warning: x86_64-portbld-dragonfly5.3: invalid host type loading site script /xports/Templates/config.site creating cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether gmake sets ${MAKE}... yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... missing checking for gcc... cc checking whether the C compiler (cc -pipe -O2 -fno-strict-aliasing ) works... yes checking whether the C compiler (cc -pipe -O2 -fno-strict-aliasing ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether cc accepts -g... yes checking for gawk... (cached) /usr/bin/awk checking for a BSD compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking how to run the C preprocessor... cpp checking for ANSI C header files... (cached) yes checking for fcntl.h... (cached) yes checking for limits.h... (cached) yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for working const... yes checking for uid_t in sys/types.h... (cached) yes checking for mode_t... (cached) yes checking for off_t... (cached) yes checking for size_t... (cached) yes checking for working alloca.h... (cached) no checking for alloca... yes checking for 8-bit clean memcmp... yes checking return type of signal handlers... void checking for vprintf... (cached) yes checking for regcomp... yes checking for strerror... (cached) yes checking for strstr... (cached) yes updating cache ./config.cache creating ./config.status creating man/Makefile creating src/Makefile creating Makefile -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for chgrep-1.2.4 gmake[1]: Entering directory '/construction/sysutils/chgrep/chgrep-1.2.4' Making all in src gmake[2]: Entering directory '/construction/sysutils/chgrep/chgrep-1.2.4/src' cc -DPACKAGE=\"chgrep\" -DVERSION=\"1.2.4\" -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ALLOCA=1 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_REGCOMP=1 -DHAVE_STRERROR=1 -DHAVE_STRSTR=1 -I. -I. -pipe -O2 -fno-strict-aliasing -c chgrep.c cc -DPACKAGE=\"chgrep\" -DVERSION=\"1.2.4\" -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ALLOCA=1 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_REGCOMP=1 -DHAVE_STRERROR=1 -DHAVE_STRSTR=1 -I. -I. -pipe -O2 -fno-strict-aliasing -c error.c cc -DPACKAGE=\"chgrep\" -DVERSION=\"1.2.4\" -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ALLOCA=1 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_REGCOMP=1 -DHAVE_STRERROR=1 -DHAVE_STRSTR=1 -I. -I. -pipe -O2 -fno-strict-aliasing -c functions.c cc -DPACKAGE=\"chgrep\" -DVERSION=\"1.2.4\" -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ALLOCA=1 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_REGCOMP=1 -DHAVE_STRERROR=1 -DHAVE_STRSTR=1 -I. -I. -pipe -O2 -fno-strict-aliasing -c wrappers.c cc -DPACKAGE=\"chgrep\" -DVERSION=\"1.2.4\" -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ALLOCA=1 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_REGCOMP=1 -DHAVE_STRERROR=1 -DHAVE_STRSTR=1 -I. -I. -pipe -O2 -fno-strict-aliasing -c ftw.c error.c: In function 'err_sys': error.c:57:2: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ error.c:57:2: warning: incompatible implicit declaration of built-in function 'exit' error.c:57:2: note: include '' or provide a declaration of 'exit' error.c:24:1: +#include error.c:57:2: exit(1); ^~~~ error.c: In function 'err_dump': error.c:71:2: warning: implicit declaration of function 'abort' [-Wimplicit-function-declaration] abort(); /* dump core and terminate */ ^~~~~ error.c:71:2: warning: incompatible implicit declaration of built-in function 'abort' error.c:71:2: note: include '' or provide a declaration of 'abort' error.c:72:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); /* shouldn't get here */ ^~~~ error.c:72:2: note: include '' or provide a declaration of 'exit' error.c: In function 'err_quit': error.c:100:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ error.c:100:2: note: include '' or provide a declaration of 'exit' error.c: In function 'err_doit': error.c:118:6: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] n = strlen(buf); ^~~~~~ error.c:118:6: warning: incompatible implicit declaration of built-in function 'strlen' error.c:118:6: note: include '' or provide a declaration of 'strlen' error.c:24:1: +#include error.c:118:6: n = strlen(buf); ^~~~~~ wrappers.c: In function 'Malloc': wrappers.c:190:30: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] if ( (ptr = (void *) malloc(size)) == NULL) ^~~~~~ wrappers.c:190:30: warning: incompatible implicit declaration of built-in function 'malloc' error.c:120:42: warning: implicit declaration of function 'strerror'; did you mean 'perror'? [-Wimplicit-function-declaration] snprintf(buf+n, sizeof(buf)-n, ": %s", strerror(errno_save)); ^~~~~~~~ perror wrappers.c:190:30: note: include '' or provide a declaration of 'malloc' wrappers.c:30:1: +#include wrappers.c:190:30: if ( (ptr = (void *) malloc(size)) == NULL) ^~~~~~ error.c:121:2: warning: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] strcat(buf, "\n"); ^~~~~~ wrappers.c: In function 'Realloc': error.c:121:2: warning: incompatible implicit declaration of built-in function 'strcat' wrappers.c:198:30: warning: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] if ( (ptr = (void *) realloc(ptr, size)) == NULL) ^~~~~~~ error.c:121:2: note: include '' or provide a declaration of 'strcat' wrappers.c:198:30: warning: incompatible implicit declaration of built-in function 'realloc' wrappers.c:198:30: note: include '' or provide a declaration of 'realloc' chgrep.c: In function 'main': chgrep.c:72:11: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] newstr = malloc(MAXLINE); ^~~~~~ chgrep.c:72:11: warning: incompatible implicit declaration of built-in function 'malloc' chgrep.c:72:11: note: include '' or provide a declaration of 'malloc' chgrep.c:40:1: +#include chgrep.c:72:11: newstr = malloc(MAXLINE); ^~~~~~ chgrep.c:160:4: warning: implicit declaration of function 'Write'; did you mean 'rite'? [-Wimplicit-function-declaration] Write(STDOUT_FILENO, "STDIN\n", 6); ^~~~~ rite chgrep.c:179:4: warning: implicit declaration of function 'ftw' [-Wimplicit-function-declaration] ftw(argv[opttmp], list, sysconf(_SC_OPEN_MAX)); ^~~ functions.c: In function 'Copy_ch_file': functions.c:68:20: warning: implicit declaration of function 'Malloc'; did you mean 'valloc'? [-Wimplicit-function-declaration] buffin = (char *) Malloc(BUFSIZ); ^~~~~~ valloc functions.c:68:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] buffin = (char *) Malloc(BUFSIZ); ^ functions.c:69:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] buffout = (char *) Malloc(BUFSIZ * 5); ^ functions.c:85:4: warning: implicit declaration of function 'err_msg' [-Wimplicit-function-declaration] err_msg("%s\topen error:%s", file, strerror(errno)); ^~~~~~~ functions.c:91:5: warning: implicit declaration of function 'Close'; did you mean 'close'? [-Wimplicit-function-declaration] Close(fdin); ^~~~~ close functions.c:131:3: warning: implicit declaration of function 'Write'; did you mean 'write'? [-Wimplicit-function-declaration] Write(STDERR_FILENO, "\n", 1); ^~~~~ write functions.c:133:28: warning: implicit declaration of function 'Read'; did you mean 'read'? [-Wimplicit-function-declaration] while ( (nwrite = nread = Read(fdin, buffin, BUFSIZ - 1)) != 0) { ^~~~ read functions.c:148:24: warning: implicit declaration of function 'Realloc'; did you mean 'valloc'? [-Wimplicit-function-declaration] buffout = (char *) Realloc(buffout, mem_al + BUFSIZ); ^~~~~~~ valloc functions.c:148:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] buffout = (char *) Realloc(buffout, mem_al + BUFSIZ); ^ functions.c:156:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] buffout = (char *) Realloc(buffout, mem_al + BUFSIZ); ^ functions.c:175:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] buffout = (char *) Realloc(buffout, BUFSIZ * 5); ^ functions.c:197:4: warning: implicit declaration of function 'Utime'; did you mean 'utime'? [-Wimplicit-function-declaration] Utime(tmpfile, &tmputime); ^~~~~ utime functions.c:205:2: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(buffin); ^~~~ functions.c:205:2: warning: incompatible implicit declaration of built-in function 'free' functions.c:205:2: note: include '' or provide a declaration of 'free' functions.c:32:1: +#include functions.c:205:2: free(buffin); ^~~~ functions.c: In function 'Copy_ch_file2': functions.c:233:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] buffin = (char *) Malloc(BUFSIZ); ^ functions.c:234:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] buffout = (char *) Malloc(BUFSIZ); ^ functions.c:237:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] buffin = (char *) Malloc(BUFSIZ); ^ functions.c:238:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] buffout = (char *) Malloc(BUFSIZ * 5); ^ functions.c:317:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] buffout = (char *) Realloc(buffout, mem_al + BUFSIZ); ^ functions.c:324:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] buffout = (char *) Realloc(buffout, mem_al + BUFSIZ); ^ functions.c:344:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] buffout = (char *) Realloc(buffout, BUFSIZ * 5); ^ functions.c:375:2: warning: incompatible implicit declaration of built-in function 'free' free(buffin); ^~~~ functions.c:375:2: note: include '' or provide a declaration of 'free' functions.c: In function 'list': functions.c:408:2: warning: implicit declaration of function 'Rename'; did you mean 'rename'? [-Wimplicit-function-declaration] Rename(name, tmpfile); ^~~~~~ rename functions.c:425:3: warning: implicit declaration of function 'Unlink'; did you mean 'unlink'? [-Wimplicit-function-declaration] Unlink(tmpfile); ^~~~~~ unlink functions.c: In function 'Usage': functions.c:458:2: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(0); ^~~~ functions.c:458:2: warning: incompatible implicit declaration of built-in function 'exit' functions.c:458:2: note: include '' or provide a declaration of 'exit' functions.c: In function 'chg_quit': functions.c:467:2: warning: implicit declaration of function 'err_quit'; did you mean 'chg_quit'? [-Wimplicit-function-declaration] err_quit(" recovered\nOperation stopped. You pressed Ctrl-C or received SIGINT."); ^~~~~~~~ chg_quit cc -pipe -O2 -fno-strict-aliasing -o chgrep chgrep.o error.o functions.o wrappers.o ftw.o gmake[2]: Leaving directory '/construction/sysutils/chgrep/chgrep-1.2.4/src' Making all in man gmake[2]: Entering directory '/construction/sysutils/chgrep/chgrep-1.2.4/man' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/construction/sysutils/chgrep/chgrep-1.2.4/man' gmake[2]: Entering directory '/construction/sysutils/chgrep/chgrep-1.2.4' gmake[2]: Nothing to be done for 'all-am'. gmake[2]: Leaving directory '/construction/sysutils/chgrep/chgrep-1.2.4' gmake[1]: Leaving directory '/construction/sysutils/chgrep/chgrep-1.2.4' -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for chgrep-1.2.4 ===> Generating temporary packing list install -s -m 555 /construction/sysutils/chgrep/chgrep-1.2.4/src/chgrep /construction/sysutils/chgrep/stage/usr/local/bin install -m 444 /construction/sysutils/chgrep/chgrep-1.2.4/man/chgrep.1 /construction/sysutils/chgrep/stage/usr/local/man/man1 ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for chgrep-1.2.4 file sizes/checksums [2]: . done packing files [2]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Thursday, 30 AUG 2018 at 20:52:59 UTC Duration: 00:00:09