+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/hylafax-6.0.7/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/hylafax-6.0.7/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Installing for hylafax-6.0.7
=> Generating pre-install file lists
=> Creating installation directories
/bin/bash ./port/install.sh  -u root -g bin -m 755  -idb hylafax.sw.client -dir  /home/pbulk/build/comms/hylafax/work/.destdir/usr/pkg/bin /home/pbulk/build/comms/hylafax/work/.destdir/usr/pkg/libdata/hylafax /home/pbulk/build/comms/hylafax/work/.destdir/usr/pkg/libexec /home/pbulk/build/comms/hylafax/work/.destdir/usr/pkg/sbin
/bin/bash ./port/install.sh  -u root -g bin -m 755  -idb hylafax.sw.server -dir /home/pbulk/build/comms/hylafax/work/.destdir/usr/pkg/sbin;
/bin/mkdir -p -m 755 /home/pbulk/build/comms/hylafax/work/.destdir/usr/pkg/share/doc/hylafax
/bin/bash ./port/install.sh  -m 444 -F /home/pbulk/build/comms/hylafax/work/.destdir/usr/pkg/share/doc/hylafax -idb hylafax.sw.server  -src ././COPYRIGHT -O COPYRIGHT
= regex
/bin/bash ../port/mkdepend   -e 's@ /usr/include/@ /@' -c /bin/cc -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././libhylafax -I.././regex -I/usr/pkg/include -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -c -M  -i Makedepend regexec.c regcomp.c regfree.c regerror.c
/bin/cc        -D__ANSI_CPP__ -I. -I.. -I.././regex  -I.././libhylafax -I.././regex -I/usr/pkg/include  -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include -c regexec.c
/bin/cc        -D__ANSI_CPP__ -I. -I.. -I.././regex  -I.././libhylafax -I.././regex -I/usr/pkg/include  -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include -c regcomp.c
/bin/cc        -D__ANSI_CPP__ -I. -I.. -I.././regex  -I.././libhylafax -I.././regex -I/usr/pkg/include  -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include -c regfree.c
/bin/cc        -D__ANSI_CPP__ -I. -I.. -I.././regex  -I.././libhylafax -I.././regex -I/usr/pkg/include  -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include -c regerror.c
/bin/ar rc libregex.a  regexec.o regcomp.o regfree.o regerror.o
/bin/ranlib libregex.a
= libhylafax
/bin/bash ../port/mkdepend   -e 's@ /usr/include/@ /@' -s C++ -e 's@\.c++\.o *: @\.o: @' -c  /bin/c++ -D__ANSI_CPP__ -I. -I.. -I.././libhylafax -I.././libhylafax -I.././regex -I/usr/pkg/include -g -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -c -M  -i Makedepend Array.c++ BoolArray.c++ Dictionary.c++ Obj.c++ PageSize.c++ Range.c++ RE.c++ REArray.c++ REDict.c++ StackBuffer.c++ Str.c++ StrArray.c++ StrDict.c++ Dispatcher.c++ IOHandler.c++ NLS.c++ Sys.c++ SystemLog.c++ Timeout.c++ Fatal.c++ AtSyntax.c++ DialRules.c++ FmtTime.c++ Sequence.c++ TimeOfDay.c++ FaxDB.c++ TextFormat.c++ Class2Params.c++ FaxParams.c++ FaxClient.c++ FaxConfig.c++ FaxRecvInfo.c++ FaxSendInfo.c++ JobExt.c++ CallID.c++ ModemExt.c++ SendFaxJob.c++ SendFaxClient.c++ Status.c++ TypeRules.c++ Transport.c++ InetTransport.c++ UnixTransport.c++ SNPPClient.c++ SNPPJob.c++
/bin/bash ../port/mkdepend   -e 's@ /usr/include/@ /@' -c /bin/cc -D__ANSI_CPP__ -I. -I.. -I.././libhylafax -I.././libhylafax -I.././regex -I/usr/pkg/include -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -c -M  -i Makedepend cvtfacility.c fxassert.c
/bin/c++        -D__ANSI_CPP__ -I. -I.. -I.././libhylafax  -I.././libhylafax -I.././regex -I/usr/pkg/include  -g -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include  -c Array.c++
/bin/c++        -D__ANSI_CPP__ -I. -I.. -I.././libhylafax  -I.././libhylafax -I.././regex -I/usr/pkg/include  -g -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include  -c BoolArray.c++
/bin/c++        -D__ANSI_CPP__ -I. -I.. -I.././libhylafax  -I.././libhylafax -I.././regex -I/usr/pkg/include  -g -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include  -c Dictionary.c++
/bin/c++        -D__ANSI_CPP__ -I. -I.. -I.././libhylafax  -I.././libhylafax -I.././regex -I/usr/pkg/include  -g -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include  -c Obj.c++
/bin/c++        -D__ANSI_CPP__ -I. -I.. -I.././libhylafax  -I.././libhylafax -I.././regex -I/usr/pkg/include  -g -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include  -c PageSize.c++
/bin/c++        -D__ANSI_CPP__ -I. -I.. -I.././libhylafax  -I.././libhylafax -I.././regex -I/usr/pkg/include  -g -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include  -c Range.c++
/bin/c++        -D__ANSI_CPP__ -I. -I.. -I.././libhylafax  -I.././libhylafax -I.././regex -I/usr/pkg/include  -g -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include  -c RE.c++
/bin/c++        -D__ANSI_CPP__ -I. -I.. -I.././libhylafax  -I.././libhylafax -I.././regex -I/usr/pkg/include  -g -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include  -c REArray.c++
/bin/c++        -D__ANSI_CPP__ -I. -I.. -I.././libhylafax  -I.././libhylafax -I.././regex -I/usr/pkg/include  -g -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include  -c REDict.c++
/bin/c++        -D__ANSI_CPP__ -I. -I.. -I.././libhylafax  -I.././libhylafax -I.././regex -I/usr/pkg/include  -g -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include  -c StackBuffer.c++
/bin/c++        -D__ANSI_CPP__ -I. -I.. -I.././libhylafax  -I.././libhylafax -I.././regex -I/usr/pkg/include  -g -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include  -c Str.c++
/bin/c++        -D__ANSI_CPP__ -I. -I.. -I.././libhylafax  -I.././libhylafax -I.././regex -I/usr/pkg/include  -g -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include  -c StrArray.c++
/bin/c++        -D__ANSI_CPP__ -I. -I.. -I.././libhylafax  -I.././libhylafax -I.././regex -I/usr/pkg/include  -g -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include  -c StrDict.c++
/bin/c++        -D__ANSI_CPP__ -I. -I.. -I.././libhylafax  -I.././libhylafax -I.././regex -I/usr/pkg/include  -g -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include  -c Dispatcher.c++
/bin/c++        -D__ANSI_CPP__ -I. -I.. -I.././libhylafax  -I.././libhylafax -I.././regex -I/usr/pkg/include  -g -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include  -c IOHandler.c++
/bin/c++        -D__ANSI_CPP__ -I. -I.. -I.././libhylafax  -I.././libhylafax -I.././regex -I/usr/pkg/include  -g -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include  -c NLS.c++
/bin/c++        -D__ANSI_CPP__ -I. -I.. -I.././libhylafax  -I.././libhylafax -I.././regex -I/usr/pkg/include  -g -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include  -c Sys.c++
/bin/c++        -D__ANSI_CPP__ -I. -I.. -I.././libhylafax  -I.././libhylafax -I.././regex -I/usr/pkg/include  -g -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include  -c SystemLog.c++
/bin/c++        -D__ANSI_CPP__ -I. -I.. -I.././libhylafax  -I.././libhylafax -I.././regex -I/usr/pkg/include  -g -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include  -c Timeout.c++
/bin/c++        -D__ANSI_CPP__ -I. -I.. -I.././libhylafax  -I.././libhylafax -I.././regex -I/usr/pkg/include  -g -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include  -c Fatal.c++
/bin/c++        -D__ANSI_CPP__ -I. -I.. -I.././libhylafax  -I.././libhylafax -I.././regex -I/usr/pkg/include  -g -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include  -c AtSyntax.c++
/bin/c++        -D__ANSI_CPP__ -I. -I.. -I.././libhylafax  -I.././libhylafax -I.././regex -I/usr/pkg/include  -g -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include  -c DialRules.c++
/bin/c++        -D__ANSI_CPP__ -I. -I.. -I.././libhylafax  -I.././libhylafax -I.././regex -I/usr/pkg/include  -g -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include  -c FmtTime.c++
/bin/c++        -D__ANSI_CPP__ -I. -I.. -I.././libhylafax  -I.././libhylafax -I.././regex -I/usr/pkg/include  -g -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include  -c Sequence.c++
/bin/c++        -D__ANSI_CPP__ -I. -I.. -I.././libhylafax  -I.././libhylafax -I.././regex -I/usr/pkg/include  -g -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include  -c TimeOfDay.c++
/bin/c++        -D__ANSI_CPP__ -I. -I.. -I.././libhylafax  -I.././libhylafax -I.././regex -I/usr/pkg/include  -g -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include  -c FaxDB.c++
/bin/c++        -D__ANSI_CPP__ -I. -I.. -I.././libhylafax  -I.././libhylafax -I.././regex -I/usr/pkg/include  -g -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include  -c TextFormat.c++
/bin/c++        -D__ANSI_CPP__ -I. -I.. -I.././libhylafax  -I.././libhylafax -I.././regex -I/usr/pkg/include  -g -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include  -c Class2Params.c++
/bin/c++        -D__ANSI_CPP__ -I. -I.. -I.././libhylafax  -I.././libhylafax -I.././regex -I/usr/pkg/include  -g -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include  -c FaxParams.c++
/bin/c++        -D__ANSI_CPP__ -I. -I.. -I.././libhylafax  -I.././libhylafax -I.././regex -I/usr/pkg/include  -g -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include  -c FaxClient.c++
/bin/c++        -D__ANSI_CPP__ -I. -I.. -I.././libhylafax  -I.././libhylafax -I.././regex -I/usr/pkg/include  -g -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include  -c FaxConfig.c++
/bin/c++        -D__ANSI_CPP__ -I. -I.. -I.././libhylafax  -I.././libhylafax -I.././regex -I/usr/pkg/include  -g -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include  -c FaxRecvInfo.c++
/bin/c++        -D__ANSI_CPP__ -I. -I.. -I.././libhylafax  -I.././libhylafax -I.././regex -I/usr/pkg/include  -g -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include  -c FaxSendInfo.c++
/bin/c++        -D__ANSI_CPP__ -I. -I.. -I.././libhylafax  -I.././libhylafax -I.././regex -I/usr/pkg/include  -g -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include  -c JobExt.c++
/bin/c++        -D__ANSI_CPP__ -I. -I.. -I.././libhylafax  -I.././libhylafax -I.././regex -I/usr/pkg/include  -g -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include  -c CallID.c++
/bin/c++        -D__ANSI_CPP__ -I. -I.. -I.././libhylafax  -I.././libhylafax -I.././regex -I/usr/pkg/include  -g -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include  -c ModemExt.c++
/bin/c++        -D__ANSI_CPP__ -I. -I.. -I.././libhylafax  -I.././libhylafax -I.././regex -I/usr/pkg/include  -g -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include  -c SendFaxJob.c++
/bin/c++        -D__ANSI_CPP__ -I. -I.. -I.././libhylafax  -I.././libhylafax -I.././regex -I/usr/pkg/include  -g -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include  -c SendFaxClient.c++
SendFaxClient.c++: In member function 'virtual bool SendFaxClient::makeCoverPage(const SendFaxJob&, fxStr&, fxStr&)':
SendFaxClient.c++:256:34: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
         (void) write(fd, buf, cc);
                                  ^
/bin/c++        -D__ANSI_CPP__ -I. -I.. -I.././libhylafax  -I.././libhylafax -I.././regex -I/usr/pkg/include  -g -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include  -c Status.c++
/bin/c++        -D__ANSI_CPP__ -I. -I.. -I.././libhylafax  -I.././libhylafax -I.././regex -I/usr/pkg/include  -g -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include  -c TypeRules.c++
/bin/c++        -D__ANSI_CPP__ -I. -I.. -I.././libhylafax  -I.././libhylafax -I.././regex -I/usr/pkg/include  -g -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include  -c Transport.c++
/bin/c++        -D__ANSI_CPP__ -I. -I.. -I.././libhylafax  -I.././libhylafax -I.././regex -I/usr/pkg/include  -g -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include  -c InetTransport.c++
/bin/c++        -D__ANSI_CPP__ -I. -I.. -I.././libhylafax  -I.././libhylafax -I.././regex -I/usr/pkg/include  -g -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include  -c UnixTransport.c++
/bin/c++        -D__ANSI_CPP__ -I. -I.. -I.././libhylafax  -I.././libhylafax -I.././regex -I/usr/pkg/include  -g -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include  -c SNPPClient.c++
/bin/c++        -D__ANSI_CPP__ -I. -I.. -I.././libhylafax  -I.././libhylafax -I.././regex -I/usr/pkg/include  -g -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include  -c SNPPJob.c++
/bin/cc        -D__ANSI_CPP__ -I. -I.. -I.././libhylafax  -I.././libhylafax -I.././regex -I/usr/pkg/include  -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include -c cvtfacility.c
/bin/cc        -D__ANSI_CPP__ -I. -I.. -I.././libhylafax  -I.././libhylafax -I.././regex -I/usr/pkg/include  -fpic -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include -c fxassert.c
/bin/c++ -shared -fpic -Wl,-soname,libhylafax-6.0.so.7 -o libhylafax-6.0.so.7 Array.o BoolArray.o Dictionary.o Obj.o PageSize.o Range.o RE.o REArray.o REDict.o StackBuffer.o Str.o StrArray.o StrDict.o Dispatcher.o IOHandler.o NLS.o Sys.o SystemLog.o Timeout.o Fatal.o AtSyntax.o DialRules.o FmtTime.o Sequence.o TimeOfDay.o FaxDB.o TextFormat.o Class2Params.o FaxParams.o FaxClient.o FaxConfig.o FaxRecvInfo.o FaxSendInfo.o JobExt.o CallID.o ModemExt.o SendFaxJob.o SendFaxClient.o Status.o TypeRules.o Transport.o InetTransport.o UnixTransport.o SNPPClient.o SNPPJob.o cvtfacility.o fxassert.o   -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -ltiff  -L/usr/pkg/lib -lz  -L../regex -lregex  
ld: cannot find -lstdc++
ld: cannot find -lgcc_s
SendFaxClient.o: In function `Sys::mktemp(char*)':
/home/pbulk/build/comms/hylafax/work/hylafax-6.0.7/libhylafax/Sys.h:127: warning: the use of `mktemp' is dangerous, better use `mkstemp'
collect2: error: ld returned 1 exit status
*** Error code 1

Stop.
bmake[2]: stopped in /home/pbulk/build/comms/hylafax/work/hylafax-6.0.7/libhylafax
*** Error code 1

Stop.
bmake[1]: stopped in /home/pbulk/build/comms/hylafax/work/hylafax-6.0.7/libhylafax
*** Error code 1

Stop.
bmake: stopped in /home/pbulk/build/comms/hylafax/work/hylafax-6.0.7
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/comms/hylafax
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/comms/hylafax