+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/heirloom-su-070715/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/heirloom-su-070715/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for heirloom-su-070715 set -e; cd /home/pbulk/build/security/heirloom-su/work/heirloom-070715; test -f makefile.hl || mv makefile makefile.hl; /usr/bin/env USETOOLS=no CC=gcc CFLAGS=-pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -I/opt/pkg/include/heirloom CPPFLAGS=-I/opt/pkg/include/heirloom CXX=g++ CXXFLAGS=-pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -I/opt/pkg/include/heirloom COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/opt/pkg/lib\ -Wl,-R/opt/pkg/lib LINKER_RPATH_FLAG=-R PATH=/home/pbulk/build/security/heirloom-su/work/.cwrapper/bin:/home/pbulk/build/security/heirloom-su/work/.buildlink/bin:/home/pbulk/build/security/heirloom-su/work/.gcc/bin:/home/pbulk/build/security/heirloom-su/work/.tools/bin:/opt/pkg/bin:/sbin:/usr/sbin:/usr/bin:/opt/tools/bin:/opt/pkg/bin:/opt/pkg/bin PREFIX=/opt/pkg MAKELEVEL=0 CONFIG_SITE= ftp_proxy=downloads-forbidden-except-during-fetch http_proxy=downloads-forbidden-except-during-fetch https_proxy=downloads-forbidden-except-during-fetch no_proxy= PKG_SYSCONFDIR=/etc/opt/pkg CXXCPP=cpp HOME=/home/pbulk/build/security/heirloom-su/work/.home CWRAPPERS_CONFIG_DIR=/home/pbulk/build/security/heirloom-su/work/.cwrapper/config CPP=cpp LOCALBASE=/opt/pkg X11BASE=/opt/pkg PKGMANDIR=share/man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/opt/pkg/bin/bsdinstall\ -c\ \ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL_MAN=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL=/opt/pkg/bin/bsdinstall BSD_INSTALL_PROGRAM_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_MAN_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_GAME=/opt/pkg/bin/bsdinstall\ -c\ \ -o\ pbulk\ -g\ pbulk\ -m\ 2555 BSD_INSTALL_GAME_DATA=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 664 BSD_INSTALL_GAME_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 775 INSTALL_INFO= MAKEINFO=/home/pbulk/build/security/heirloom-su/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/home/pbulk/build/security/heirloom-su/work/.tools/bin/itstool GDBUS_CODEGEN=/home/pbulk/build/security/heirloom-su/work/.tools/bin/gdbus-codegen PKG_CONFIG=/home/pbulk/build/security/heirloom-su/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/home/pbulk/build/security/heirloom-su/work/.buildlink/lib/amd64/pkgconfig:/home/pbulk/build/security/heirloom-su/work/.buildlink/lib/pkgconfig:/home/pbulk/build/security/heirloom-su/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/home/pbulk/build/security/heirloom-su/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/home/pbulk/build/security/heirloom-su/work/.cwrapper/config /opt/pkg/bin/bmake SUBDIRS="build su" UCBINST=/opt/pkg/bin/bsdinstall ROOT=/home/pbulk/build/security/heirloom-su/work/.destdir DEFBIN=/opt/pkg/heirloom/bin SV3BIN=/opt/pkg/heirloom/bin S42BIN=/opt/pkg/heirloom/bin/s42 SUSBIN=/opt/pkg/heirloom/bin/posix SU3BIN=/opt/pkg/heirloom/bin/posix2001 UCBBIN=/opt/pkg/heirloom/ucb CCSBIN=/opt/pkg/heirloom/bin/ccs DEFLIB=/opt/pkg/heirloom/lib DEFSBIN=/opt/pkg/heirloom/sbin MANDIR=/opt/pkg/heirloom/man DFLDIR=/opt/pkg/heirloom/etc/default SPELLHIST=/opt/pkg/heirloom/var/adm/spellhist SULOG=/opt/pkg/heirloom/var/log/sulog MANINST=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 LCURS= LIBZ=-lz USE_ZLIB= LIBBZ2=-lbz2 USE_BZLIB= LD=gcc LDFLAGS=\ -L/opt/pkg/lib\ -Wl,-R/opt/pkg/lib CPPFLAGS=\ \ -I/opt/pkg/include/heirloom CFLAGS=\ -pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ \ -I/opt/pkg/include/heirloom CFLAGSS=\ -pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ \ -I/opt/pkg/include/heirloom CFLAGS2=\ -pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ \ -I/opt/pkg/include/heirloom CFLAGS=\ -pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ \ -I/opt/pkg/include/heirloom STRIP=true LCRYPT=-lcrypt UCBINST=/opt/pkg/bin/bsdinstall ICOMMON= LCOMMON=\ -lheirloomcommon IUXRE= NO_INSTALL_INTRO=1 -f makefile.hl makefiles cat build/mk.head build/mk.config Makefile.mk build/mk.tail >Makefile cat build/mk.head build/mk.config build/Makefile.mk build/mk.tail >build/Makefile cat build/mk.head build/mk.config su/Makefile.mk build/mk.tail >su/Makefile --- all --- for i in build su ; do (cd "$i" && /opt/pkg/bin/bmake all) || exit ; done --- maninst --- --- crossln --- --- genintro --- --- maninst --- maninst sed ' s,@DEFLIB@,/opt/pkg/heirloom/lib,g; s,@SPELLHIST@,/opt/pkg/heirloom/var/adm/spellhist,g; s,@MAGIC@,/opt/pkg/heirloom/lib/magic,g; s,@DFLDIR@,/opt/pkg/heirloom/etc/default,g; s,@DEFBIN@,/opt/pkg/heirloom/bin,g; s,@SV3BIN@,/opt/pkg/heirloom/bin,g; s,@S42BIN@,/opt/pkg/heirloom/bin/s42,g; s,@SUSBIN@,/opt/pkg/heirloom/bin/posix,g; s,@SU3BIN@,/opt/pkg/heirloom/bin/posix2001,g; s,@UCBBIN@,/opt/pkg/heirloom/ucb,g; s,@CCSBIN@,/opt/pkg/heirloom/bin/ccs,g' chmod 755 maninst --- genintro --- cat genintro.sh >genintro chmod 755 genintro --- crossln --- crossln sed 's,@LNS@,ln -s,g' chmod 755 crossln --- config.h --- --- su.dfl --- --- config.h --- echo '/* Auto-generated by make. Do no edit! */' >config.h --- su.dfl --- su.dfl sed 's,@SULOG@,/opt/pkg/heirloom/var/log/sulog,g' --- config.h --- echo '#include ' >___build$$.c ; echo 'int main(void) { getspent(); return 0; }' >>___build$$.c ; cc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/heirloom -I/opt/pkg/include/heirloom -D_FILE_OFFSET_BITS=64L -o ___build$$ ___build$$.c >/dev/null 2>&1 ; if test $? = 0 && test -f ___build$$ ; then echo '#define SHADOW_PWD' >>config.h ; fi ; rm -f ___build$$ ___build$$.c --- su.o --- cc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/heirloom -I/opt/pkg/include/heirloom -DSUDFL='"/opt/pkg/heirloom/etc/default/su"' -c su.c su.c: In function 'authenticate': su.c:434:30: error: implicit declaration of function 'crypt' [-Wimplicit-function-declaration] 434 | val = strcmp(ncrypt, crypt(password, ncrypt)) == 0; | ^~~~~ su.c:434:30: error: passing argument 2 of 'strcmp' makes pointer from integer without a cast [-Wint-conversion] 434 | val = strcmp(ncrypt, crypt(password, ncrypt)) == 0; | ^~~~~~~~~~~~~~~~~~~~~~~ | | | int In file included from /usr/include/string.h:35, from su.c:44: /usr/include/iso/string_iso.h:74:33: note: expected 'const char *' but argument is of type 'int' 74 | extern int strcmp(const char *, const char *); | ^~~~~~~~~~~~ *** [su.o] Error code 1 bmake[1]: stopped making "all" in /home/pbulk/build/security/heirloom-su/work/heirloom-070715/su bmake[1]: 1 error bmake[1]: stopped making "all" in /home/pbulk/build/security/heirloom-su/work/heirloom-070715/su *** [all] Error code 2 bmake: stopped making "all" in /home/pbulk/build/security/heirloom-su/work/heirloom-070715 bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/security/heirloom-su/work/heirloom-070715 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/security/heirloom-su *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/security/heirloom-su