=> Building misc/detachtty Started : Thursday, 12 APR 2018 at 01:15:46 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/misc/detachtty XDG_CONFIG_HOME=/construction/misc/detachtty HOME=/construction/misc/detachtty TMPDIR="/tmp" PATH=/construction/misc/detachtty/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/misc/detachtty XDG_CONFIG_HOME=/construction/misc/detachtty HOME=/construction/misc/detachtty TMPDIR="/tmp" PATH=/construction/misc/detachtty/.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/misc/detachtty/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" PORTEXAMPLES="" OSREL=5.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/detachtty" EXAMPLESDIR="share/examples/detachtty" DATADIR="share/detachtty" WWWDIR="www/detachtty" ETCDIR="etc/detachtty" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/detachtty DOCSDIR=/usr/local/share/doc/detachtty EXAMPLESDIR=/usr/local/share/examples/detachtty WWWDIR=/usr/local/www/detachtty ETCDIR=/usr/local/etc/detachtty -------------------------------------------------- -- /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 detachtty 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 -------------------------------------------------------------------------------- ===> detachtty-9_1 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 ===> detachtty-9_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of detachtty-9_1 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> NOTICE: The detachtty 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 detachtty-9_1 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> NOTICE: The detachtty 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 detachtty-9_1 for building => SHA256 Checksum OK for detachtty_9.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> NOTICE: The detachtty 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 detachtty-9_1 for building ===> Extracting for detachtty-9_1 => SHA256 Checksum OK for detachtty_9.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for detachtty-9_1 ===> Applying ports patches for detachtty-9_1 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> detachtty-9_1 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 ===> detachtty-9_1 depends on executable: gmake - found ===> Returning to build of detachtty-9_1 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for detachtty-9_1 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for detachtty-9_1 gmake[1]: Entering directory '/construction/misc/detachtty/detachtty-9' cc -g -DNEED_LIBUTIL_H -c -o detachtty.o detachtty.c cc -g -DNEED_LIBUTIL_H -c -o copy-stream.o copy-stream.c cc -g -DNEED_LIBUTIL_H -c -o errors.o errors.c cc -g -DNEED_LIBUTIL_H -c -o attachtty.o attachtty.c copy-stream.c: In function 'copy_a_bit': copy-stream.c:12:18: warning: implicit declaration of function 'read' [-Wimplicit-function-declaration] bytes_in_buf=read(in_fd,buf,4096); ^ copy-stream.c:14:5: warning: implicit declaration of function 'output_buffer' [-Wimplicit-function-declaration] output_buffer(dribble_fd); ^ copy-stream.c:17:2: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^ copy-stream.c:17:2: warning: incompatible implicit declaration of built-in function 'exit' copy-stream.c:17:2: note: include '' or provide a declaration of 'exit' copy-stream.c: In function 'output_buffer': copy-stream.c:26:16: warning: implicit declaration of function 'write' [-Wimplicit-function-declaration] bytes_written=write(fd,buf,bytes_to_write); ^ detachtty.c: In function 'tidy_up_nicely': detachtty.c:42:8: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] if(unlink(socket_path)) bail("detachtty","unlinking %s",socket_path); ^ detachtty.c:42:29: warning: implicit declaration of function 'bail' [-Wimplicit-function-declaration] if(unlink(socket_path)) bail("detachtty","unlinking %s",socket_path); ^ detachtty.c:48:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(signal); ^ detachtty.c:48:5: warning: incompatible implicit declaration of built-in function 'exit' detachtty.c:48:5: note: include '' or provide a declaration of 'exit' errors.c: In function 'bail': errors.c:34:10: warning: implicit declaration of function 'getpid' [-Wimplicit-function-declaration] kill(getpid(),15); ^ detachtty.c: In function 'open_files': detachtty.c:64:21: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] if(dribble_fd>=-1) close(dribble_fd); ^ detachtty.c: At top level: detachtty.c:73:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc,char *argv[], char *envp[]) { ^ detachtty.c: In function 'main': detachtty.c:91:6: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if(!strcmp("--no-detach",argv[next_arg])) { detach_p=0; continue; } ^ detachtty.c:93:19: warning: implicit declaration of function 'strdup' [-Wimplicit-function-declaration] dribble_path=strdup(argv[++next_arg]); continue; ^ detachtty.c:93:19: warning: incompatible implicit declaration of built-in function 'strdup' detachtty.c:96:20: warning: incompatible implicit declaration of built-in function 'strdup' log_file_path=strdup(argv[++next_arg]); continue; ^ detachtty.c:99:20: warning: incompatible implicit declaration of built-in function 'strdup' pid_file_path=strdup(argv[++next_arg]); continue; ^ detachtty.c:101:6: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] if(!strncmp("--",argv[next_arg],2)) { ^ detachtty.c:103:6: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ detachtty.c:103:6: note: include '' or provide a declaration of 'exit' detachtty.c:109:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ detachtty.c:109:2: note: include '' or provide a declaration of 'exit' detachtty.c:125:5: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] strncpy(s_a.sun_path,socket_path,UNIX_PATH_MAX); ^ detachtty.c:125:5: warning: incompatible implicit declaration of built-in function 'strncpy' detachtty.c:125:5: note: include '' or provide a declaration of 'strncpy' detachtty.c:139:5: warning: implicit declaration of function 'daemon' [-Wimplicit-function-declaration] if(daemon(1,1)) bail(MY_NAME, "daemon"); ^ detachtty.c:144:2: warning: implicit declaration of function 'dup' [-Wimplicit-function-declaration] dup(0); ^ detachtty.c:149:20: warning: implicit declaration of function 'getpid' [-Wimplicit-function-declaration] fprintf(fp,"%d\n",getpid()); ^ detachtty.c:157:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ detachtty.c:157:2: note: include '' or provide a declaration of 'exit' detachtty.c:162:2: warning: implicit declaration of function 'execve' [-Wimplicit-function-declaration] execve(argv[next_arg],&argv[next_arg],envp); ^ detachtty.c:198:3: warning: implicit declaration of function 'output_buffer' [-Wimplicit-function-declaration] output_buffer(sock); ^ attachtty.c:31:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc,char *argv[], char *envp[]) { ^ attachtty.c: In function 'main': attachtty.c:39:2: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^ attachtty.c:39:2: warning: incompatible implicit declaration of built-in function 'exit' attachtty.c:39:2: note: include '' or provide a declaration of 'exit' attachtty.c:41:7: warning: implicit declaration of function 'strdup' [-Wimplicit-function-declaration] p=strdup(argv[1]); ^ attachtty.c:41:7: warning: incompatible implicit declaration of built-in function 'strdup' attachtty.c:43:13: warning: implicit declaration of function 'strchr' [-Wimplicit-function-declaration] if(path=strchr(p,':')) { ^ attachtty.c:43:13: warning: incompatible implicit declaration of built-in function 'strchr' attachtty.c:43:13: note: include '' or provide a declaration of 'strchr' attachtty.c:64:2: warning: implicit declaration of function 'logprintf' [-Wimplicit-function-declaration] logprintf("attachtty","connecting through ssh to %s on %s\n",path,host); ^ attachtty.c: In function 'connect_direct': attachtty.c:80:5: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] strncpy(s_a.sun_path,path,UNIX_PATH_MAX); ^ attachtty.c:80:5: warning: incompatible implicit declaration of built-in function 'strncpy' attachtty.c:80:5: note: include '' or provide a declaration of 'strncpy' attachtty.c:84:18: warning: implicit declaration of function 'bail' [-Wimplicit-function-declaration] if(sock==-1) bail("attachtty","socket"); ^ attachtty.c:91:6: warning: implicit declaration of function 'write' [-Wimplicit-function-declaration] write(sock,"\003",1); ^ attachtty.c:104:3: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(sock); sock=-1; ^ attachtty.c:109:6: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^ attachtty.c:109:6: note: include '' or provide a declaration of 'exit' attachtty.c: In function 'connect_ssh': attachtty.c:136:8: warning: implicit declaration of function 'pipe' [-Wimplicit-function-declaration] if(pipe(&pipe_des)) bail("pipe"); ^ attachtty.c:137:9: warning: implicit declaration of function 'fork' [-Wimplicit-function-declaration] pid=fork(); ^ attachtty.c:141:2: warning: implicit declaration of function 'setsid' [-Wimplicit-function-declaration] setsid(); ^ attachtty.c:143:2: warning: implicit declaration of function 'dup2' [-Wimplicit-function-declaration] dup2(pipe_des[0],0); ^ attachtty.c:144:2: warning: implicit declaration of function 'execlp' [-Wimplicit-function-declaration] execlp("ssh", "ssh", host, "attachtty", path, NULL); ^ attachtty.c:144:2: warning: incompatible implicit declaration of built-in function 'execlp' attachtty.c:154:9: warning: implicit declaration of function 'read' [-Wimplicit-function-declaration] if(read(0,buf,1) == 0) { ^ cc detachtty.o copy-stream.o errors.o -lutil -o detachtty cc attachtty.o copy-stream.o errors.o -lutil -o attachtty gmake[1]: Leaving directory '/construction/misc/detachtty/detachtty-9' -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for detachtty-9_1 ===> Generating temporary packing list gmake[1]: Entering directory '/construction/misc/detachtty/detachtty-9' install detachtty attachtty /construction/misc/detachtty/stage/usr/local/bin gmake[1]: Leaving directory '/construction/misc/detachtty/detachtty-9' /usr/bin/strip /construction/misc/detachtty/stage/usr/local/bin/[ad][te]tachtty install -m 444 /construction/misc/detachtty/detachtty-9/detachtty.1 /construction/misc/detachtty/stage/usr/local/man/man1 install -m 444 /construction/misc/detachtty/detachtty-9/detachtty.1 /construction/misc/detachtty/stage/usr/local/man/man1/attachtty.1 ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for detachtty-9_1 file sizes/checksums [4]: . done packing files [4]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Thursday, 12 APR 2018 at 01:15:52 UTC Duration: 00:00:06