=> Building sysutils/chgrep Started : Thursday, 12 APR 2018 at 06:36:02 UTC Platform: 5.3-DEVELOPMENT DragonFly v5.3.0.81.g32506c-DEVELOPMENT #29: Tue Apr 10 08:49:52 PDT 2018 marino@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.2-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.2-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=gcc50 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=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" 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.2 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=Release-5.2 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=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500200 OSVERSION=9999999 OSREL=5.2 _OSRELEASE=5.2-SYNTH -------------------------------------------------------------------------------- -- 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.txz Installing pkg-1.10.5... Extracting pkg-1.10.5: .......... 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.2: 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': 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:160:4: warning: implicit declaration of function 'Write' [-Wimplicit-function-declaration] Write(STDOUT_FILENO, "STDIN\n", 6); ^ 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' [-Wimplicit-function-declaration] buffin = (char *) Malloc(BUFSIZ); ^ 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' [-Wimplicit-function-declaration] Close(fdin); ^ functions.c:131:3: warning: implicit declaration of function 'Write' [-Wimplicit-function-declaration] Write(STDERR_FILENO, "\n", 1); ^ functions.c:133:28: warning: implicit declaration of function 'Read' [-Wimplicit-function-declaration] while ( (nwrite = nread = Read(fdin, buffin, BUFSIZ - 1)) != 0) { ^ functions.c:148:24: warning: implicit declaration of function 'Realloc' [-Wimplicit-function-declaration] buffout = (char *) Realloc(buffout, mem_al + BUFSIZ); ^ 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' [-Wimplicit-function-declaration] Utime(tmpfile, &tmputime); ^ 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: 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' [-Wimplicit-function-declaration] Rename(name, tmpfile); ^ functions.c:425:3: warning: implicit declaration of function 'Unlink' [-Wimplicit-function-declaration] Unlink(tmpfile); ^ 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' [-Wimplicit-function-declaration] err_quit(" recovered\nOperation stopped. You pressed Ctrl-C or received SIGINT."); ^ 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: 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:120:42: warning: implicit declaration of function 'strerror' [-Wimplicit-function-declaration] snprintf(buf+n, sizeof(buf)-n, ": %s", strerror(errno_save)); ^ error.c:121:2: warning: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] strcat(buf, "\n"); ^ error.c:121:2: warning: incompatible implicit declaration of built-in function 'strcat' error.c:121:2: note: include '' or provide a declaration of 'strcat' 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' wrappers.c:190:30: note: include '' or provide a declaration of 'malloc' wrappers.c: In function 'Realloc': wrappers.c:198:30: warning: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] if ( (ptr = (void *) realloc(ptr, size)) == NULL) ^ 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' 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, 12 APR 2018 at 06:36:11 UTC Duration: 00:00:08