=> Building security/checkpassword Started : Thursday, 19 APR 2018 at 06:11:36 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.0-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.0-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 -------------------------------------------------- ===> The following configuration options are available for checkpassword-0.90: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/security/checkpassword XDG_CONFIG_HOME=/construction/security/checkpassword HOME=/construction/security/checkpassword TMPDIR="/tmp" PATH=/construction/security/checkpassword/.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/security/checkpassword XDG_CONFIG_HOME=/construction/security/checkpassword HOME=/construction/security/checkpassword TMPDIR="/tmp" PATH=/construction/security/checkpassword/.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/security/checkpassword/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" PORTEXAMPLES="" OSREL=5.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/checkpassword" EXAMPLESDIR="share/examples/checkpassword" DATADIR="share/checkpassword" WWWDIR="www/checkpassword" ETCDIR="etc/checkpassword" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/checkpassword DOCSDIR=/usr/local/share/doc/checkpassword EXAMPLESDIR=/usr/local/share/examples/checkpassword WWWDIR=/usr/local/www/checkpassword ETCDIR=/usr/local/etc/checkpassword -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-5.0 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=500000 OSVERSION=9999999 OSREL=5.0 _OSRELEASE=5.0-SYNTH -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> checkpassword-0.90 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 ===> checkpassword-0.90 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of checkpassword-0.90 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> Fetching all distfiles required by checkpassword-0.90 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> Fetching all distfiles required by checkpassword-0.90 for building => SHA256 Checksum OK for checkpassword-0.90.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> Fetching all distfiles required by checkpassword-0.90 for building ===> Extracting for checkpassword-0.90 => SHA256 Checksum OK for checkpassword-0.90.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for checkpassword-0.90 ===> Applying dragonfly patches for checkpassword-0.90 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for checkpassword-0.90 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for checkpassword-0.90 --- load --- --- systype --- --- choose --- --- load --- ( cat warn-auto.sh; echo 'main="$1"; shift'; echo exec "`head -1 conf-ld`" '-o "$main" "$main".o ${1+"$@"}' ) > load --- systype --- sh find-systype.sh > systype --- choose --- cat warn-auto.sh choose.sh | sed s}HOME}"`head -1 conf-home`"}g > choose chmod 755 choose --- load --- chmod 755 load --- compile --- --- makelib --- --- compile --- sh print-cc.sh > compile --- makelib --- ( cat warn-auto.sh; echo 'main="$1"; shift'; echo 'rm -f "$main"'; echo 'ar cr "$main" ${1+"$@"}'; case "`cat systype`" in sunos-5.*) ;; unix_sv*) ;; irix64-*) ;; irix-*) ;; dgux-*) ;; hp-ux-*) ;; sco*) ;; *) echo 'ranlib "$main"' ;; esac ) > makelib chmod 755 makelib --- compile --- chmod 755 compile --- alloc.o --- --- alloc_re.o --- --- auto-str.o --- --- buffer.o --- --- buffer_2.o --- --- alloc.o --- ./compile alloc.c --- alloc_re.o --- ./compile alloc_re.c --- auto-str.o --- ./compile auto-str.c --- buffer.o --- ./compile buffer.c --- buffer_2.o --- ./compile buffer_2.c --- buffer_copy.o --- ./compile buffer_copy.c --- auto-str.o --- auto-str.c:8:6: warning: conflicting types for built-in function 'puts' void puts(char *s) ^ auto-str.c:13:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc,char **argv) ^ --- alloc.o --- alloc.c:3:14: warning: conflicting types for built-in function 'malloc' extern char *malloc(); ^ --- buffer_get.o --- --- buffer_put.o --- --- buffer_get.o --- ./compile buffer_get.c --- buffer_put.o --- ./compile buffer_put.c --- byte_copy.o --- ./compile byte_copy.c --- byte_cr.o --- --- byte_diff.o --- --- byte_cr.o --- ./compile byte_cr.c --- byte_diff.o --- ./compile byte_diff.c --- chkshsgr.o --- ./compile chkshsgr.c --- crypt.lib --- ( ( ./compile trycrypt.c && ./load trycrypt -lcrypt ) >/dev/null 2>&1 && echo -lcrypt || exit 0 ) > crypt.lib --- env.o --- ./compile env.c --- chkshsgr.o --- chkshsgr.c:3:1: warning: return type defaults to 'int' [-Wimplicit-int] main() ^ chkshsgr.c: In function 'main': chkshsgr.c:8:7: warning: implicit declaration of function 'getgroups' [-Wimplicit-function-declaration] if (getgroups(1,x) == 0) if (setgroups(1,x) == -1) _exit(1); ^ chkshsgr.c:8:32: warning: implicit declaration of function 'setgroups' [-Wimplicit-function-declaration] if (getgroups(1,x) == 0) if (setgroups(1,x) == -1) _exit(1); ^ --- error.o --- ./compile error.c --- error_str.o --- ./compile error_str.c --- hasspnam.h --- ( ( ./compile tryspnam.c && ./load tryspnam ) >/dev/null 2>&1 && echo \#define HASGETSPNAM 1 || exit 0 ) > hasspnam.h --- hier.o --- ./compile hier.c hier.c: In function 'hier': hier.c:5:3: warning: implicit declaration of function 'c' [-Wimplicit-function-declaration] c(auto_home,"bin","checkpassword",-1,-1,0700); ^ --- install.o --- ./compile install.c install.c: In function 'h': install.c:20:7: warning: implicit declaration of function 'mkdir' [-Wimplicit-function-declaration] if (mkdir(home,0700) == -1) ^ install.c:23:7: warning: implicit declaration of function 'chown' [-Wimplicit-function-declaration] if (chown(home,uid,gid) == -1) ^ install.c:25:7: warning: implicit declaration of function 'chmod' [-Wimplicit-function-declaration] if (chmod(home,mode) == -1) ^ install.c: In function 'd': install.c:36:7: warning: implicit declaration of function 'chdir' [-Wimplicit-function-declaration] if (chdir(home) == -1) ^ install.c: In function 'c': install.c:63:7: warning: implicit declaration of function 'fchdir' [-Wimplicit-function-declaration] if (fchdir(fdsourcedir) == -1) ^ --- instcheck.o --- --- install.o --- install.c:88:3: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(fdin); ^ install.c:91:7: warning: implicit declaration of function 'fsync' [-Wimplicit-function-declaration] if (fsync(fdout) == -1) ^ install.c: At top level: install.c:140:1: warning: return type defaults to 'int' [-Wimplicit-int] main() ^ install.c: In function 'main': install.c:146:3: warning: implicit declaration of function 'umask' [-Wimplicit-function-declaration] umask(077); ^ --- instcheck.o --- ./compile instcheck.c --- open_read.o --- ./compile open_read.c --- open_trunc.o --- ./compile open_trunc.c --- hasspnam.h --- rm -f tryspnam.o tryspnam --- pathexec_env.o --- ./compile pathexec_env.c --- pathexec_run.o --- ./compile pathexec_run.c --- instcheck.o --- instcheck.c: In function 'd': instcheck.c:59:7: warning: implicit declaration of function 'chdir' [-Wimplicit-function-declaration] if (chdir(home) == -1) ^ instcheck.c: At top level: instcheck.c:104:1: warning: return type defaults to 'int' [-Wimplicit-int] main() ^ --- pathexec_run.o --- pathexec_run.c: In function 'pathexec_run': pathexec_run.c:16:5: warning: implicit declaration of function 'execve' [-Wimplicit-function-declaration] execve(file,argv,envp); ^ --- s.lib --- ( ( ./compile tryslib.c && ./load tryslib -ls ) >/dev/null 2>&1 && echo -ls || exit 0 ) > s.lib --- shadow.lib --- --- str_chr.o --- --- shadow.lib --- ( ( ./compile tryshadow.c && ./load tryshadow -lshadow ) >/dev/null 2>&1 && echo -lshadow || exit 0 ) > shadow.lib --- str_chr.o --- ./compile str_chr.c --- str_len.o --- ./compile str_len.c --- str_start.o --- ./compile str_start.c --- stralloc_cat.o --- ./compile stralloc_cat.c --- stralloc_catb.o --- ./compile stralloc_catb.c --- stralloc_cats.o --- ./compile stralloc_cats.c --- stralloc_eady.o --- --- stralloc_opyb.o --- --- stralloc_eady.o --- ./compile stralloc_eady.c --- stralloc_opyb.o --- ./compile stralloc_opyb.c --- stralloc_opys.o --- --- s.lib --- rm -f tryslib.o tryslib --- stralloc_pend.o --- --- stralloc_opys.o --- ./compile stralloc_opys.c --- stralloc_pend.o --- ./compile stralloc_pend.c --- strerr_die.o --- ./compile strerr_die.c --- strerr_sys.o --- ./compile strerr_sys.c --- chkshsgr --- ./load chkshsgr --- byte.a --- ./makelib byte.a byte_copy.o byte_cr.o byte_diff.o str_chr.o str_len.o str_start.o --- shadow.lib --- rm -f tryshadow.o tryshadow --- hasuserpw.h --- ( ( ./compile tryuserpw.c && ./load tryuserpw `cat s.lib` ) >/dev/null 2>&1 && echo \#define HASGETUSERPW 1 || exit 0 ) > hasuserpw.h --- hasshsgr.h --- ./chkshsgr || ( cat warn-shsgr; exit 1 ) ./choose clr tryshsgr hasshsgr.h1 hasshsgr.h2 > hasshsgr.h --- hasuserpw.h --- rm -f tryuserpw.o tryuserpw --- checkpassword.o --- ./compile checkpassword.c checkpassword.c:24:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc,char **argv) ^ checkpassword.c: In function 'main': checkpassword.c:33:17: warning: implicit declaration of function '_exit' [-Wimplicit-function-declaration] if (!argv[1]) _exit(2); ^ checkpassword.c:33:17: warning: incompatible implicit declaration of built-in function '_exit' checkpassword.c:38:11: warning: implicit declaration of function 'read' [-Wimplicit-function-declaration] r = read(3,up + uplen,sizeof(up) - uplen); ^ checkpassword.c:40:18: warning: incompatible implicit declaration of built-in function '_exit' if (r == -1) _exit(111); ^ checkpassword.c:43:30: warning: incompatible implicit declaration of built-in function '_exit' if (uplen >= sizeof(up)) _exit(1); ^ checkpassword.c:45:3: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(3); ^ checkpassword.c:48:19: warning: incompatible implicit declaration of built-in function '_exit' if (i >= uplen) _exit(2); ^ checkpassword.c:50:35: warning: incompatible implicit declaration of built-in function '_exit' while (up[i++]) if (i >= uplen) _exit(2); ^ checkpassword.c:52:19: warning: incompatible implicit declaration of built-in function '_exit' if (i >= uplen) _exit(2); ^ checkpassword.c:53:35: warning: incompatible implicit declaration of built-in function '_exit' while (up[i++]) if (i >= uplen) _exit(2); ^ checkpassword.c:59:32: warning: incompatible implicit declaration of built-in function '_exit' if (errno == error_txtbsy) _exit(111); ^ checkpassword.c:60:5: warning: incompatible implicit declaration of built-in function '_exit' _exit(1); ^ checkpassword.c:76:16: warning: incompatible implicit declaration of built-in function '_exit' if (!stored) _exit(1); ^ checkpassword.c:81:19: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (!*stored || strcmp(encrypted,stored)) _exit(1); ^ checkpassword.c:81:45: warning: incompatible implicit declaration of built-in function '_exit' if (!*stored || strcmp(encrypted,stored)) _exit(1); ^ checkpassword.c:83:41: warning: incompatible implicit declaration of built-in function '_exit' if (prot_gid((int) pw->pw_gid) == -1) _exit(1); ^ checkpassword.c:84:41: warning: incompatible implicit declaration of built-in function '_exit' if (prot_uid((int) pw->pw_uid) == -1) _exit(1); ^ checkpassword.c:85:7: warning: implicit declaration of function 'chdir' [-Wimplicit-function-declaration] if (chdir(pw->pw_dir) == -1) _exit(111); ^ checkpassword.c:85:32: warning: incompatible implicit declaration of built-in function '_exit' if (chdir(pw->pw_dir) == -1) _exit(111); ^ checkpassword.c:87:42: warning: incompatible implicit declaration of built-in function '_exit' if (!pathexec_env("USER",pw->pw_name)) _exit(111); ^ checkpassword.c:88:41: warning: incompatible implicit declaration of built-in function '_exit' if (!pathexec_env("HOME",pw->pw_dir)) _exit(111); ^ checkpassword.c:89:44: warning: incompatible implicit declaration of built-in function '_exit' if (!pathexec_env("SHELL",pw->pw_shell)) _exit(111); ^ checkpassword.c:91:3: warning: incompatible implicit declaration of built-in function '_exit' _exit(111); ^ --- prot.o --- ./compile prot.c prot.c: In function 'prot_gid': prot.c:11:7: warning: implicit declaration of function 'setgroups' [-Wimplicit-function-declaration] if (setgroups(1,&gid) == -1) return -1; ^ prot.c:13:10: warning: implicit declaration of function 'setgid' [-Wimplicit-function-declaration] return setgid(gid); /* _should_ be redundant, but on some systems it isn't */ ^ prot.c: In function 'prot_uid': prot.c:18:10: warning: implicit declaration of function 'setuid' [-Wimplicit-function-declaration] return setuid(uid); ^ --- unix.a --- ./makelib unix.a alloc.o alloc_re.o buffer.o buffer_2.o buffer_copy.o buffer_get.o buffer_put.o env.o error.o error_str.o open_read.o open_trunc.o pathexec_env.o pathexec_run.o prot.o stralloc_cat.o stralloc_catb.o stralloc_cats.o stralloc_eady.o stralloc_opyb.o stralloc_opys.o stralloc_pend.o strerr_die.o strerr_sys.o --- auto-str --- ./load auto-str unix.a byte.a --- auto_home.c --- ./auto-str auto_home `head -1 conf-home` > auto_home.c --- auto_home.o --- ./compile auto_home.c --- crypt.lib --- rm -f trycrypt.o trycrypt --- checkpassword --- ./load checkpassword prot.o unix.a byte.a `cat shadow.lib` `cat crypt.lib` `cat s.lib` --- install --- --- instcheck --- --- install --- ./load install hier.o auto_home.o unix.a byte.a --- instcheck --- ./load instcheck hier.o auto_home.o unix.a byte.a -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for checkpassword-0.90 ===> Generating temporary packing list ./install /bin/mkdir -p /construction/security/checkpassword/stage/usr/local/share/doc/checkpassword install -m 0644 /construction/security/checkpassword/checkpassword-0.90/CHANGES /construction/security/checkpassword/stage/usr/local/share/doc/checkpassword install -m 0644 /construction/security/checkpassword/checkpassword-0.90/FILES /construction/security/checkpassword/stage/usr/local/share/doc/checkpassword install -m 0644 /construction/security/checkpassword/checkpassword-0.90/README /construction/security/checkpassword/stage/usr/local/share/doc/checkpassword install -m 0644 /construction/security/checkpassword/checkpassword-0.90/SYSDEPS /construction/security/checkpassword/stage/usr/local/share/doc/checkpassword install -m 0644 /construction/security/checkpassword/checkpassword-0.90/TARGETS /construction/security/checkpassword/stage/usr/local/share/doc/checkpassword install -m 0644 /construction/security/checkpassword/checkpassword-0.90/TODO /construction/security/checkpassword/stage/usr/local/share/doc/checkpassword install -m 0644 /construction/security/checkpassword/checkpassword-0.90/VERSION /construction/security/checkpassword/stage/usr/local/share/doc/checkpassword ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for checkpassword-0.90 file sizes/checksums [8]: . done packing files [8]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Thursday, 19 APR 2018 at 06:11:45 UTC Duration: 00:00:09