+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/w3c-httpd-3.0Anb1/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/w3c-httpd-3.0Anb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20211023
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for w3c-httpd-3.0Anb1
./BUILD
________________________________________________________________
WWW build for machine type:                             i86pc-sol2

------ Building W3C Reference Library ------

Object files of libwww will go to directory Library/i86pc-sol2
	- creating

echo Include files generated from hypertext.
Include files generated from hypertext.
if [ ! -r ../.. ] ; then mkdir ../..; else echo OK ; fi
OK
if [ ! -r ../../Library ] ; then mkdir ../../Library; else echo OK ; fi
OK
if [ ! -r ../../Library/i86pc-sol2 ] ;  then mkdir ../../Library/i86pc-sol2; else echo OK ; fi
OK
touch ../../Library/i86pc-sol2/.created
cc -c -o ../../Library/i86pc-sol2/HTParse.o -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  -I../../Library/Implementation/  ../../Library/Implementation/HTParse.c
cc -c -o ../../Library/i86pc-sol2/HTAccess.o -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  -I../../Library/Implementation/  ../../Library/Implementation/HTAccess.c
cc -c -o ../../Library/i86pc-sol2/HTTP.o -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  -I../../Library/Implementation/  ../../Library/Implementation/HTTP.c
cc -c -o ../../Library/i86pc-sol2/HTFile.o -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  -I../../Library/Implementation/  ../../Library/Implementation/HTFile.c
cc -c -o ../../Library/i86pc-sol2/HTBTree.o -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  -I../../Library/Implementation/  ../../Library/Implementation/HTBTree.c
cc -c -o ../../Library/i86pc-sol2/HTFTP.o -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  -I../../Library/Implementation/  ../../Library/Implementation/HTFTP.c
cc -c -o ../../Library/i86pc-sol2/HTTCP.o -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  -I../../Library/Implementation/  ../../Library/Implementation/HTTCP.c
../../Library/Implementation/HTTCP.c: In function 'HTGetHostName':
../../Library/Implementation/HTTCP.c:805:6: warning: implicit declaration of function 'getdomainname'; did you mean 'HTGetDomainName'? [-Wimplicit-function-declaration]
  805 |  if (getdomainname(name, MAXHOSTNAMELEN)) {
      |      ^~~~~~~~~~~~~
      |      HTGetDomainName
../../Library/Implementation/HTTCP.c: In function 'HTDoAccept':
../../Library/Implementation/HTTCP.c:59:25: warning: implicit declaration of function 'fcntl' [-Wimplicit-function-declaration]
   59 | #define FCNTL(r, s, t)  fcntl(r, s, t)
      |                         ^~~~~
../../Library/Implementation/HTTCP.c:1082:18: note: in expansion of macro 'FCNTL'
 1082 |     if((status = FCNTL(net->sockfd, F_GETFL, 0)) != -1) {
      |                  ^~~~~
cc -c -o ../../Library/i86pc-sol2/SGML.o -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  -I../../Library/Implementation/  ../../Library/Implementation/SGML.c
cc -c -o ../../Library/i86pc-sol2/HTML.o -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  -I../../Library/Implementation/  ../../Library/Implementation/HTML.c
cc -c -o ../../Library/i86pc-sol2/HTMLPDTD.o -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  -I../../Library/Implementation/  ../../Library/Implementation/HTMLPDTD.c
cc -c -o ../../Library/i86pc-sol2/HTChunk.o -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  -I../../Library/Implementation/  ../../Library/Implementation/HTChunk.c
cc -c -o ../../Library/i86pc-sol2/HTPlain.o -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  -I../../Library/Implementation/  ../../Library/Implementation/HTPlain.c
cc -c -o ../../Library/i86pc-sol2/HTWriter.o -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  -I../../Library/Implementation/  ../../Library/Implementation/HTWriter.c
cc -c -o ../../Library/i86pc-sol2/HTFWriter.o -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  -I../../Library/Implementation/  ../../Library/Implementation/HTFWriter.c
cc -c -o ../../Library/i86pc-sol2/HTMLGen.o -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  -I../../Library/Implementation/  ../../Library/Implementation/HTMLGen.c
cc -c -o ../../Library/i86pc-sol2/HTTee.o -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  -I../../Library/Implementation/  ../../Library/Implementation/HTTee.c
cc -c -o ../../Library/i86pc-sol2/HTAtom.o -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  -I../../Library/Implementation/  ../../Library/Implementation/HTAtom.c
cc -c -o ../../Library/i86pc-sol2/HTAnchor.o -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  -I../../Library/Implementation/  ../../Library/Implementation/HTAnchor.c
../../Library/Implementation/HTAnchor.c: In function 'HTAnchor_findChild':
../../Library/Implementation/HTAnchor.c:115:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  115 |        (void*)child, (int)tag ? tag : (CONST char *)"" , (void*)parent); /* int for apollo */
      |                      ^
cc -c -o ../../Library/i86pc-sol2/HTStyle.o -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  -I../../Library/Implementation/  ../../Library/Implementation/HTStyle.c
cc -c -o ../../Library/i86pc-sol2/HTList.o -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  -I../../Library/Implementation/  ../../Library/Implementation/HTList.c
cc -c -o ../../Library/i86pc-sol2/HTString.o -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  -I../../Library/Implementation/  -DVC=\"2.17\" ../../Library/Implementation/HTString.c
cc -c -o ../../Library/i86pc-sol2/HTAlert.o -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  -I../../Library/Implementation/  ../../Library/Implementation/HTAlert.c
../../Library/Implementation/HTAlert.c: In function 'HTConfirm':
../../Library/Implementation/HTAlert.c:52:8: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration]
   52 |   if ((strcmp(Reply,"YES")==0) || (strcmp(Reply,"Y")==0))
      |        ^~~~~~
../../Library/Implementation/HTAlert.c: In function 'HTPrompt':
../../Library/Implementation/HTAlert.c:68:9: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
   68 |     Tmp[strlen(Tmp)-1] = (char)0; /* Overwrite newline */
      |         ^~~~~~
../../Library/Implementation/HTAlert.c:68:9: warning: incompatible implicit declaration of built-in function 'strlen'
../../Library/Implementation/HTAlert.c:13:1: note: include '<string.h>' or provide a declaration of 'strlen'
   12 | #include "HTAlert.h"
  +++ |+#include <string.h>
   13 | 
cc -c -o ../../Library/i86pc-sol2/HTRules.o -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  -I../../Library/Implementation/  ../../Library/Implementation/HTRules.c
cc -c -o ../../Library/i86pc-sol2/HTFormat.o -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  -I../../Library/Implementation/  ../../Library/Implementation/HTFormat.c
cc -c -o ../../Library/i86pc-sol2/HTInit.o -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  -I../../Library/Implementation/  ../../Library/Implementation/HTInit.c
cc -c -o ../../Library/i86pc-sol2/HTMIME.o -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  -I../../Library/Implementation/  ../../Library/Implementation/HTMIME.c
cc -c -o ../../Library/i86pc-sol2/HTHistory.o -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  -I../../Library/Implementation/  ../../Library/Implementation/HTHistory.c
cc -c -o ../../Library/i86pc-sol2/HTNews.o -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  -I../../Library/Implementation/  ../../Library/Implementation/HTNews.c
cc -c -o ../../Library/i86pc-sol2/HTGopher.o -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  -I../../Library/Implementation/  ../../Library/Implementation/HTGopher.c
cc -c -o ../../Library/i86pc-sol2/HTTelnet.o -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  -I../../Library/Implementation/  ../../Library/Implementation/HTTelnet.c
cc -c -o ../../Library/i86pc-sol2/HTWSRC.o -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  -I../../Library/Implementation/  ../../Library/Implementation/HTWSRC.c
cc -c -o ../../Library/i86pc-sol2/HTAAUtil.o -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  -I../../Library/Implementation/  ../../Library/Implementation/HTAAUtil.c
cc -c -o ../../Library/i86pc-sol2/HTAABrow.o -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  -I../../Library/Implementation/  ../../Library/Implementation/HTAABrow.c
cc -c -o ../../Library/i86pc-sol2/HTAssoc.o -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  -I../../Library/Implementation/  ../../Library/Implementation/HTAssoc.c
cc -c -o ../../Library/i86pc-sol2/HTUU.o -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  -I../../Library/Implementation/  ../../Library/Implementation/HTUU.c
cc -c -o ../../Library/i86pc-sol2/HTMulti.o -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  -I../../Library/Implementation/  ../../Library/Implementation/HTMulti.c
cc -c -o ../../Library/i86pc-sol2/HTTeXGen.o -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  -I../../Library/Implementation/  ../../Library/Implementation/HTTeXGen.c
cc -c -o ../../Library/i86pc-sol2/HTDirBrw.o -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  -I../../Library/Implementation/  ../../Library/Implementation/HTDirBrw.c
cc -c -o ../../Library/i86pc-sol2/HTDescript.o -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  -I../../Library/Implementation/  ../../Library/Implementation/HTDescript.c
cc -c -o ../../Library/i86pc-sol2/HTGuess.o -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  -I../../Library/Implementation/  ../../Library/Implementation/HTGuess.c
cc -c -o ../../Library/i86pc-sol2/HTIcons.o -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  -I../../Library/Implementation/  ../../Library/Implementation/HTIcons.c
cc -c -o ../../Library/i86pc-sol2/HTError.o -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  -I../../Library/Implementation/  ../../Library/Implementation/HTError.c
cc -c -o ../../Library/i86pc-sol2/HTErrorMsg.o -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  -I../../Library/Implementation/  ../../Library/Implementation/HTErrorMsg.c
rm ../../Library/i86pc-sol2/libwww.a
rm: ../../Library/i86pc-sol2/libwww.a: No such file or directory
*** Error code 2 (ignored)
ar r ../../Library/i86pc-sol2/libwww.a ../../Library/i86pc-sol2/HTParse.o ../../Library/i86pc-sol2/HTAccess.o ../../Library/i86pc-sol2/HTTP.o  ../../Library/i86pc-sol2/HTFile.o	../../Library/i86pc-sol2/HTBTree.o ../../Library/i86pc-sol2/HTFTP.o ../../Library/i86pc-sol2/HTTCP.o  ../../Library/i86pc-sol2/SGML.o ../../Library/i86pc-sol2/HTML.o ../../Library/i86pc-sol2/HTMLPDTD.o ../../Library/i86pc-sol2/HTChunk.o  ../../Library/i86pc-sol2/HTPlain.o ../../Library/i86pc-sol2/HTWriter.o ../../Library/i86pc-sol2/HTFWriter.o  ../../Library/i86pc-sol2/HTMLGen.o ../../Library/i86pc-sol2/HTTee.o ../../Library/i86pc-sol2/HTAtom.o ../../Library/i86pc-sol2/HTAnchor.o ../../Library/i86pc-sol2/HTStyle.o  ../../Library/i86pc-sol2/HTList.o ../../Library/i86pc-sol2/HTString.o ../../Library/i86pc-sol2/HTAlert.o  ../../Library/i86pc-sol2/HTRules.o ../../Library/i86pc-sol2/HTFormat.o ../../Library/i86pc-sol2/HTInit.o ../../Library/i86pc-sol2/HTMIME.o  ../../Library/i86pc-sol2/HTHistory.o ../../Library/i86pc-sol2/HTNews.o ../../Library/i86pc-sol2/HTGopher.o  ../../Library/i86pc-sol2/HTTelnet.o ../../Library/i86pc-sol2/HTWSRC.o   ../../Library/i86pc-sol2/HTAAUtil.o ../../Library/i86pc-sol2/HTAABrow.o ../../Library/i86pc-sol2/HTAssoc.o  ../../Library/i86pc-sol2/HTUU.o ../../Library/i86pc-sol2/HTMulti.o ../../Library/i86pc-sol2/HTTeXGen.o  ../../Library/i86pc-sol2/HTDirBrw.o ../../Library/i86pc-sol2/HTDescript.o ../../Library/i86pc-sol2/HTGuess.o  ../../Library/i86pc-sol2/HTIcons.o ../../Library/i86pc-sol2/HTError.o ../../Library/i86pc-sol2/HTErrorMsg.o
ar: creating ../../Library/i86pc-sol2/libwww.a
ranlib ../../Library/i86pc-sol2/libwww.a

libwww compiled successfully and can be found in Library/i86pc-sol2

Have fun! If you have any problems with this software feel free to
contact <libwww@w3.org>. Online documentation is available via
the <URL:http://www.w3.org/pub/WWW/Library/>

------ Building W3C httpd, htadm, htimage, cgiparse, cgiutils ------

Object files and binaries will go to directory Daemon/i86pc-sol2
	- creating

echo "Include files generated from hypertext."
Include files generated from hypertext.
cp ../../Daemon/Implementation/HTDaemon.c HTDaemonDIR.c
cc -c -I../../Library/Implementation -I../Implementation -DSOLARIS -g -D__svr4__ -DPOSIXWAIT   -DRULE_FILE=\""/usr/local/etc/httpd.conf"\" -DDIR_OPTIONS  -DVD=\"3.0A\"  HTDaemonDIR.c
rm HTDaemonDIR.c
cc -c -I../../Library/Implementation -I../Implementation -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  -DRULE_FILE=\""/usr/local/etc/httpd.conf"\"  -DVD=\"3.0A\" ../../Daemon/Implementation/HTRequest.c
cc -c -I../../Library/Implementation -I../Implementation -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  -DRULE_FILE=\""/usr/local/etc/httpd.conf"\" ../../Daemon/Implementation/HTRetrieve.c
cc -c -I../../Library/Implementation -I../Implementation -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  -DRULE_FILE=\""/usr/local/etc/httpd.conf"\"  -DVD=\"3.0A\" ../../Daemon/Implementation/HTScript.c
../../Daemon/Implementation/HTScript.c: In function 'HTCallScript':
../../Daemon/Implementation/HTScript.c:1072:13: warning: implicit declaration of function 'waitpid' [-Wimplicit-function-declaration]
 1072 |             waitpid(pid, NULL, 0);
      |             ^~~~~~~
cc -c -I../../Library/Implementation -I../Implementation -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  ../../Daemon/Implementation/HTLoad.c
cc -c -I../../Library/Implementation -I../Implementation -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  ../../Daemon/Implementation/HTCache.c
../../Daemon/Implementation/HTCache.c: In function 'do_lock':
../../Daemon/Implementation/HTCache.c:170:11: warning: implicit declaration of function 'open'; did you mean 'popen'? [-Wimplicit-function-declaration]
  170 |  int fd = open(lockfile, O_WRONLY | O_CREAT | O_EXCL, 0644);
      |           ^~~~
      |           popen
cc -c -I../../Library/Implementation -I../Implementation -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  ../../Daemon/Implementation/HTCacheInfo.c
cc -c -I../../Library/Implementation -I../Implementation -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  ../../Daemon/Implementation/HTConfig.c
cc -c -I../../Library/Implementation -I../Implementation -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  ../../Daemon/Implementation/HTWild.c
cc -c -DSOLARIS -g -D__svr4__ -DPOSIXWAIT -I../../Library/Implementation ../../Daemon/Implementation/HTSInit.c
cc -c -I../../Library/Implementation -I../Implementation -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  -I../../Library/Implementation ../../Daemon/Implementation/HTSUtils.c
cc -c -I../../Library/Implementation -I../Implementation -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  ../../Daemon/Implementation/HTims.c
cc -c -I../../Library/Implementation -I../Implementation -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  ../../Daemon/Implementation/HTPasswd.c
cc -c -I../../Library/Implementation -I../Implementation -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  ../../Daemon/Implementation/HTAuth.c
cc -c -I../../Library/Implementation -I../Implementation -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  ../../Daemon/Implementation/HTLex.c
cc -c -I../../Library/Implementation -I../Implementation -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  ../../Daemon/Implementation/HTGroup.c
cc -c -I../../Library/Implementation -I../Implementation -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  ../../Daemon/Implementation/HTACL.c
cc -c -I../../Library/Implementation -I../Implementation -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  ../../Daemon/Implementation/HTAAProt.c
cc -c -I../../Library/Implementation -I../Implementation -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  ../../Daemon/Implementation/HTAAServ.c
cc -c -I../../Library/Implementation -I../Implementation -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  ../../Daemon/Implementation/HTAAFile.c
cc -c -I../../Library/Implementation -I../Implementation -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  ../../Daemon/Implementation/HTLog.c
../../Daemon/Implementation/HTLog.c: In function 'do_open':
../../Daemon/Implementation/HTLog.c:448:15: warning: implicit declaration of function 'open'; did you mean 'popen'? [-Wimplicit-function-declaration]
  448 |     if ((fd = open(filename, O_WRONLY | O_CREAT | O_APPEND,
      |               ^~~~
      |               popen
cc -c -I../../Library/Implementation -I../Implementation -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  ../../Daemon/Implementation/HTgc.c
cc -c -DSOLARIS -g -D__svr4__ -DPOSIXWAIT -I../../Library/Implementation ../../Daemon/Implementation/HTUserInit.c
cc -c -I../../Library/Implementation -I../Implementation -DSOLARIS -g -D__svr4__ -DPOSIXWAIT  ../../Daemon/Implementation/HTRFC931.c
cc -o httpd_3.0A  HTDaemonDIR.o HTRequest.o HTRetrieve.o HTScript.o HTLoad.o  HTCache.o HTCacheInfo.o HTConfig.o HTWild.o  HTSInit.o HTSUtils.o HTims.o  HTPasswd.o HTAuth.o HTLex.o HTGroup.o HTACL.o HTAAProt.o  HTAAServ.o HTAAFile.o HTLog.o HTgc.o HTUserInit.o HTRFC931.o  ../../Library/i86pc-sol2/libwww.a  -lresolv -lnsl -lsocket -ldl  
Undefined			first referenced
 symbol  			    in file
sys_nerr                            ../../Library/i86pc-sol2/libwww.a(HTTCP.o)
sys_errlist                         ../../Library/i86pc-sol2/libwww.a(HTTCP.o)
ld: fatal: symbol referencing errors. No output written to httpd_3.0A
collect2: error: ld returned 1 exit status
*** Error code 1

Stop.
make[2]: stopped in /home/pbulk/build/www/w3c-httpd/work/Daemon/i86pc-sol2
*** Error code 1

Stop.
make[1]: stopped in /home/pbulk/build/www/w3c-httpd/work/All/Implementation

WWW build for  i86pc-sol2  done. status =  1
*** Error code 1

Stop.
bmake: stopped in /home/pbulk/build/www/w3c-httpd/work
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/www/w3c-httpd
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/www/w3c-httpd