+ 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/DWB-20150517/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/DWB-20150517/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for DWB-20150517
CXX=g++ LEX=lex ./cfgr
C++ compiler: /home/pbulk/build/textproc/DWB/work/.cwrapper/bin/g++
Lexer: /home/pbulk/build/textproc/DWB/work/.tools/bin/lex
---- Making all in directory doc/pub ----

---- Making all in directory doc/pub.att ----

---- Making all in directory index/deroff ----
gcc -O -s -o deroff deroff.c
deroff.c:91:1: warning: return type defaults to 'int' [-Wimplicit-int]
   91 | main(ac, av)
      | ^~~~
deroff.c: In function 'main':
deroff.c:97:18: warning: type defaults to 'int' in declaration of 'optchar' [-Wimplicit-int]
   97 |         register optchar;
      |                  ^~~~~~~
deroff.c:102:27: warning: implicit declaration of function 'getflags' [-Wimplicit-function-declaration]
  102 |         while ((optchar = getflags(argc, argv, "wnpm:l:")) != EOF) switch(optchar) {
      |                           ^~~~~~~~
deroff.c:130:17: warning: implicit declaration of function 'fatal' [-Wimplicit-function-declaration]
  130 |                 fatal("usage: deroff [-n] [ -w ] [ -mm [-li(-ml)|+li ]| ms] ] [ file ] ... \n", (char *) NULL);
      |                 ^~~~~
deroff.c:151:9: warning: implicit declaration of function 'work' [-Wimplicit-function-declaration]
  151 |         work();
      |         ^~~~
deroff.c: At top level:
deroff.c:159:1: warning: return type defaults to 'int' [-Wimplicit-int]
  159 | skeqn()
      | ^~~~~
deroff.c: In function 'skeqn':
deroff.c:164:29: warning: implicit declaration of function 'eof'; did you mean 'feof'? [-Wimplicit-function-declaration]
  164 |                         c = eof();
      |                             ^~~
      |                             feof
deroff.c: At top level:
deroff.c:195:1: warning: return type defaults to 'int' [-Wimplicit-int]
  195 | eof()
      | ^~~
deroff.c:250:1: warning: return type defaults to 'int' [-Wimplicit-int]
  250 | fatal(s,p)
      | ^~~~~
deroff.c:258:1: warning: return type defaults to 'int' [-Wimplicit-int]
  258 | work()
      | ^~~~
deroff.c: In function 'work':
deroff.c:266:25: warning: implicit declaration of function 'regline'; did you mean 'getline'? [-Wimplicit-function-declaration]
  266 |                         regline(NO,TWO);
      |                         ^~~~~~~
      |                         getline
deroff.c: At top level:
deroff.c:273:1: warning: return type defaults to 'int' [-Wimplicit-int]
  273 | regline(macline,constant)
      | ^~~~~~~
deroff.c: In function 'regline':
deroff.c:305:25: warning: implicit declaration of function 'putmac'; did you mean 'putc'? [-Wimplicit-function-declaration]
  305 |                         putmac(line,constant);
      |                         ^~~~~~
      |                         putc
deroff.c: At top level:
deroff.c:315:1: warning: return type defaults to 'int' [-Wimplicit-int]
  315 | putmac(s,constant)
      | ^~~~~~
deroff.c: In function 'putmac':
deroff.c:320:18: warning: type defaults to 'int' in declaration of 'found' [-Wimplicit-int]
  320 |         register found;
      |                  ^~~~~
deroff.c: In function 'comline':
deroff.c:414:25: warning: implicit declaration of function 'stbl' [-Wimplicit-function-declaration]
  414 |                         stbl();
      |                         ^~~~
deroff.c:416:22: warning: implicit declaration of function 'tbl' [-Wimplicit-function-declaration]
  416 |                 else tbl();
      |                      ^~~
deroff.c: At top level:
deroff.c:605:1: warning: return type defaults to 'int' [-Wimplicit-int]
  605 | tbl()
      | ^~~
deroff.c:611:1: warning: return type defaults to 'int' [-Wimplicit-int]
  611 | stbl()
      | ^~~~

---- Making all in directory index/mptx ----

---- Making all in directory index/ndx ----
cp ndx.sh ndx; chmod 755 ndx
gcc -O -DBSD4_2 -I/opt/pkg/include -c case.c
case.c:18:1: warning: return type defaults to 'int' [-Wimplicit-int]
   18 | ulcase (string)
      | ^~~~~~
lex  ndexer.l
gcc -O -DBSD4_2 -I/opt/pkg/include -c -o ndexer.o lex.yy.c
ndexer.l: In function 'yylex':
ndexer.l:130:2: warning: implicit declaration of function 'copy_in' [-Wimplicit-function-declaration]
  130 | <IX>([a-zA-Z0-9][a-zA-Z0-9&'/-]*)|([A-Z][.])  {copy_in (yytext);
      |  ^~~~~~~
ndexer.l:136:49: warning: implicit declaration of function 'w_activate' [-Wimplicit-function-declaration]
  136 |                                                 w_activate (w_ptr, 'L');        /*lit match*/
      |                                                 ^~~~~~~~~~
ndexer.l:139:50: warning: implicit declaration of function 'ulcase' [-Wimplicit-function-declaration]
  139 |                                              if (ulcase (lc_token))
      |                                                  ^~~~~~
ndexer.l:147:53: warning: implicit declaration of function 'rootword' [-Wimplicit-function-declaration]
  147 |                                          root_token[rootword(root_token)] = '\0';
      |                                                     ^~~~~~~~
ndexer.l:148:42: warning: implicit declaration of function 'match_roots' [-Wimplicit-function-declaration]
  148 |                                          match_roots (wlist, root_token);
      |                                          ^~~~~~~~~~~
ndexer.l:155:38: warning: implicit declaration of function 'subj_search'; did you mean 'bsearch'? [-Wimplicit-function-declaration]
  155 |                                     {subj_search ();
      |                                      ^~~~~~~~~~~
      |                                      bsearch
ndexer.l:156:38: warning: implicit declaration of function 'write_context' [-Wimplicit-function-declaration]
  156 |                                      write_context ();
      |                                      ^~~~~~~~~~~~~
ndexer.l:157:38: warning: implicit declaration of function 'wri_subjmacro' [-Wimplicit-function-declaration]
  157 |                                      wri_subjmacro ();
      |                                      ^~~~~~~~~~~~~
ndexer.l:158:38: warning: implicit declaration of function 'return_lists' [-Wimplicit-function-declaration]
  158 |                                      return_lists ();
      |                                      ^~~~~~~~~~~~
ndexer.l:161:39: warning: implicit declaration of function 'init_vars' [-Wimplicit-function-declaration]
  161 |                                      {init_vars ();
      |                                       ^~~~~~~~~
ndexer.l:170:2: warning: implicit declaration of function 'flush_context' [-Wimplicit-function-declaration]
  170 | <IX>^[.']([SN]H?([ ][0-9]))[ \t]+  {flush_context ();
      |  ^~~~~~~~~~~~~
ndexer.l:254:43: warning: implicit declaration of function 'init_subj' [-Wimplicit-function-declaration]
  254 |                                           init_subj (s_count);}
      |                                           ^~~~~~~~~
ndexer.l:262:43: warning: implicit declaration of function 'build_subj' [-Wimplicit-function-declaration]
  262 |                                           build_subj (fsec);}
      |                                           ^~~~~~~~~~
ndexer.l: At top level:
ndexer.l:292:1: warning: return type defaults to 'int' [-Wimplicit-int]
  292 | init_subj (subjno)
      | ^~~~~~~~~
ndexer.l:308:1: warning: return type defaults to 'int' [-Wimplicit-int]
  308 | print_subj()                    /*For debugging, prints internal subj list*/
      | ^~~~~~~~~~
ndexer.l:338:1: warning: return type defaults to 'int' [-Wimplicit-int]
  338 | build_subj ( flag)
      | ^~~~~~~~~~
ndexer.l: In function 'subj_insert':
ndexer.l:521:41: warning: implicit declaration of function 's_match' [-Wimplicit-function-declaration]
  521 |                  while ((s != NULL) && (s_match(subject, s) == FALSE))
      |                                         ^~~~~~~
ndexer.l:528:17: warning: implicit declaration of function 'w_update' [-Wimplicit-function-declaration]
  528 |                 w_update (slist);       /*update all words in this subj*/
      |                 ^~~~~~~~
ndexer.l: At top level:
ndexer.l:538:1: warning: return type defaults to 'int' [-Wimplicit-int]
  538 | s_match (subj1, subj2)
      | ^~~~~~~
ndexer.l:563:1: warning: return type defaults to 'int' [-Wimplicit-int]
  563 | w_update (s)
      | ^~~~~~~~
ndexer.l:592:1: warning: return type defaults to 'int' [-Wimplicit-int]
  592 | prnt_slist ()
      | ^~~~~~~~~~
ndexer.l:604:1: warning: return type defaults to 'int' [-Wimplicit-int]
  604 | printtree (tree, c)
      | ^~~~~~~~~
ndexer.l:623:1: warning: return type defaults to 'int' [-Wimplicit-int]
  623 | w_activate (w_ptr, m_type)
      | ^~~~~~~~~~
ndexer.l: In function 'w_activate':
ndexer.l:631:27: warning: implicit declaration of function 'already_act' [-Wimplicit-function-declaration]
  631 |                 {if ((i = already_act (w_ptr)) != -1)
      |                           ^~~~~~~~~~~
ndexer.l: At top level:
ndexer.l:663:1: warning: return type defaults to 'int' [-Wimplicit-int]
  663 | match_roots (tree, root)
      | ^~~~~~~~~~~
ndexer.l: In function 'match_roots':
ndexer.l:675:17: warning: implicit declaration of function 'min' [-Wimplicit-function-declaration]
  675 |             if (min (r_ptr->rootp, len) < 4)
      |                 ^~~
ndexer.l: At top level:
ndexer.l:729:1: warning: return type defaults to 'int' [-Wimplicit-int]
  729 | subj_search()
      | ^~~~~~~~~~~
ndexer.l:798:1: warning: return type defaults to 'int' [-Wimplicit-int]
  798 | copy_in (text)                  /*copies a string to the context buf*/
      | ^~~~~~~
ndexer.l:833:1: warning: return type defaults to 'int' [-Wimplicit-int]
  833 | flush_context ()
      | ^~~~~~~~~~~~~
ndexer.l:846:1: warning: return type defaults to 'int' [-Wimplicit-int]
  846 | write_context ()
      | ^~~~~~~~~~~~~
ndexer.l:869:1: warning: return type defaults to 'int' [-Wimplicit-int]
  869 | wri_subjmacro ()                /*write subj indexing macros to pagefile and*/
      | ^~~~~~~~~~~~~
ndexer.l:888:1: warning: return type defaults to 'int' [-Wimplicit-int]
  888 | return_lists ()
      | ^~~~~~~~~~~~
ndexer.l:908:1: warning: return type defaults to 'int' [-Wimplicit-int]
  908 | init_vars ()
      | ^~~~~~~~~
ndexer.l:929:1: warning: return type defaults to 'int' [-Wimplicit-int]
  929 | min (i, j)
      | ^~~
ndexer.l:942:1: warning: return type defaults to 'int' [-Wimplicit-int]
  942 | ndx_text (pfname)
      | ^~~~~~~~
ndexer.l:956:1: warning: return type defaults to 'int' [-Wimplicit-int]
  956 | yywrap ()
      | ^~~~~~
ndexer.l:991:1: warning: return type defaults to 'int' [-Wimplicit-int]
  991 | main (argc,argv)
      | ^~~~
rm -f lex.yy.c
gcc -O -DBSD4_2 -I/opt/pkg/include -c rootwd.c
In file included from rootwd.c:13:
ehash.h:133:1: warning: return type defaults to 'int' [-Wimplicit-int]
  133 | egetd()
      | ^~~~~
ehash.h: In function 'aahash':
ehash.h:150:1: warning: type of 'ex' defaults to 'int' [-Wimplicit-int]
  150 | aahash(s, ex, aatsize, aapr1, aapr2, tbl, data)
      | ^~~~~~
ehash.h:150:1: warning: type of 'aatsize' defaults to 'int' [-Wimplicit-int]
ehash.h:150:1: warning: type of 'aapr1' defaults to 'int' [-Wimplicit-int]
ehash.h:150:1: warning: type of 'aapr2' defaults to 'int' [-Wimplicit-int]
ehash.h: In function 'able':
ehash.h:189:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int]
  189 | able(a0, a1, ptr)
      | ^~~~
ehash.h: In function 'ace':
ehash.h:202:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int]
  202 | ace(a0, a1, ptr)
      | ^~~
ehash.h: In function 'age':
ehash.h:215:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int]
  215 | age(a0, a1, ptr)
      | ^~~
ehash.h: In function 'ance':
ehash.h:228:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int]
  228 | ance(a0, a1, ptr)
      | ^~~~
ehash.h: In function 'ant':
ehash.h:241:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int]
  241 | ant(a0, a1, ptr)
      | ^~~
ehash.h: In function 'cal':
ehash.h:254:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int]
  254 | cal(a0, a1, ptr)
      | ^~~
ehash.h: In function 'cle':
ehash.h:267:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int]
  267 | cle(a0, a1, ptr)
      | ^~~
ehash.h: In function 'ee':
ehash.h:280:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int]
  280 | ee(a0, a1, ptr)
      | ^~
ehash.h: In function 'ence':
ehash.h:293:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int]
  293 | ence(a0, a1, ptr)
      | ^~~~
ehash.h: In function 'ess':
ehash.h:306:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int]
  306 | ess(a0, a1, ptr)
      | ^~~
ehash.h: In function 'est':
ehash.h:319:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int]
  319 | est(a0, a1, ptr)
      | ^~~
ehash.h: In function 'ful':
ehash.h:332:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int]
  332 | ful(a0, a1, ptr)
      | ^~~
ehash.h: In function 'ible':
ehash.h:345:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int]
  345 | ible(a0, a1, ptr)
      | ^~~~
ehash.h: In function 'ic':
ehash.h:358:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int]
  358 | ic(a0, a1, ptr)
      | ^~
ehash.h: In function 'ice':
ehash.h:371:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int]
  371 | ice(a0, a1, ptr)
      | ^~~
ehash.h: In function 'ion':
ehash.h:384:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int]
  384 | ion(a0, a1, ptr)
      | ^~~
ehash.h: In function 'ional':
ehash.h:397:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int]
  397 | ional(a0, a1, ptr)
      | ^~~~~
ehash.h: In function 'is':
ehash.h:410:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int]
  410 | is(a0, a1, ptr)
      | ^~
ehash.h: In function 'ish':
ehash.h:423:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int]
  423 | ish(a0, a1, ptr)
      | ^~~
ehash.h: In function 'ist':
ehash.h:436:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int]
  436 | ist(a0, a1, ptr)
      | ^~~
ehash.h: In function 'ite':
ehash.h:449:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int]
  449 | ite(a0, a1, ptr)
      | ^~~
ehash.h: In function 'ive':
ehash.h:462:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int]
  462 | ive(a0, a1, ptr)
      | ^~~
ehash.h: In function 'ize':
ehash.h:475:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int]
  475 | ize(a0, a1, ptr)
      | ^~~
ehash.h: In function 'lar':
ehash.h:488:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int]
  488 | lar(a0, a1, ptr)
      | ^~~
ehash.h: In function 'less':
ehash.h:501:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int]
  501 | less(a0, a1, ptr)
      | ^~~~
ehash.h: In function 'man':
ehash.h:514:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int]
  514 | man(a0, a1, ptr)
      | ^~~
ehash.h: In function 'ment':
ehash.h:527:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int]
  527 | ment(a0, a1, ptr)
      | ^~~~
ehash.h: In function 'ness':
ehash.h:540:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int]
  540 | ness(a0, a1, ptr)
      | ^~~~
ehash.h: In function 'ous':
ehash.h:553:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int]
  553 | ous(a0, a1, ptr)
      | ^~~
ehash.h: In function 'ship':
ehash.h:566:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int]
  566 | ship(a0, a1, ptr)
      | ^~~~
ehash.h: In function 'ss':
ehash.h:579:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int]
  579 | ss(a0, a1, ptr)
      | ^~
ehash.h: In function 'ure':
ehash.h:592:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int]
  592 | ure(a0, a1, ptr)
      | ^~~
ehash.h: In function 'us':
ehash.h:605:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int]
  605 | us(a0, a1, ptr)
      | ^~
ehash.h: In function 'ing':
ehash.h:618:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int]
  618 | ing(a0, a1, ptr)
      | ^~~
ehash.h: In function 'ed':
ehash.h:631:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int]
  631 | ed(a0, a1, ptr)
      | ^~
rootwd.c: At top level:
rootwd.c:29:1: warning: return type defaults to 'int' [-Wimplicit-int]
   29 | rootword (token)
      | ^~~~~~~~
rootwd.c: In function 'rootword':
rootwd.c:41:13: warning: implicit declaration of function 'string'; did you mean 'stdin'? [-Wimplicit-function-declaration]
   41 |         if (string (token, TOKSIZE))            /*if token is a string*/ {
      |             ^~~~~~
      |             stdin
rootwd.c:48:41: warning: implicit declaration of function 'except' [-Wimplicit-function-declaration]
   48 |                                 return (except(ed, token, len, 2));
      |                                         ^~~~~~
rootwd.c: At top level:
rootwd.c:166:1: warning: return type defaults to 'int' [-Wimplicit-int]
  166 | except (endg, token, len, end)
      | ^~~~~~
rootwd.c: In function 'except':
rootwd.c:176:9: warning: implicit declaration of function 'strn_rev' [-Wimplicit-function-declaration]
  176 |         strn_rev (token, rtok, (len - end));            /*reverse string minus ending*/
      |         ^~~~~~~~
gcc -O -DBSD4_2 -I/opt/pkg/include -c space.c
gcc -O -DBSD4_2 -I/opt/pkg/include -c str.c
gcc -O -DBSD4_2 -I/opt/pkg/include -c strr.c
strr.c:19:1: warning: return type defaults to 'int' [-Wimplicit-int]
   19 | strn_rev (str, rstr, n)
      | ^~~~~~~~
gcc -O -DBSD4_2 -s case.o ndexer.o rootwd.o space.o str.o strr.o -o ndexer
gcc -O -DBSD4_2 -I/opt/pkg/include -s -o ndxformat ndxformat.c 
ndxformat.c:11:1: warning: return type defaults to 'int' [-Wimplicit-int]
   11 | main()
      | ^~~~
gcc -O -DBSD4_2 -I/opt/pkg/include -s -o pages pages.c 
pages.c:20:1: warning: return type defaults to 'int' [-Wimplicit-int]
   20 | main(argc, argv)
      | ^~~~
pages.c: In function 'main':
pages.c:37:17: warning: implicit declaration of function 'procnosect' [-Wimplicit-function-declaration]
   37 |                 procnosect();
      |                 ^~~~~~~~~~
pages.c:40:17: warning: implicit declaration of function 'procsect' [-Wimplicit-function-declaration]
   40 |                 procsect();
      |                 ^~~~~~~~
pages.c: At top level:
pages.c:47:1: warning: return type defaults to 'int' [-Wimplicit-int]
   47 | procnosect()
      | ^~~~~~~~~~
pages.c:85:1: warning: return type defaults to 'int' [-Wimplicit-int]
   85 | procsect()
      | ^~~~~~~~
gcc -O -DBSD4_2 -I/opt/pkg/include -s -o sbjprep sbjprep.c 
sbjprep.c:16:1: warning: return type defaults to 'int' [-Wimplicit-int]
   16 | main(argc, argv)
      | ^~~~

---- Making all in directory index/ptx ----
gcc -O -s -o ptx ptx.c
ptx.c:82:1: warning: return type defaults to 'int' [-Wimplicit-int]
   82 | main(argc,argv)
      | ^~~~
ptx.c: In function 'main':
ptx.c:125:41: warning: implicit declaration of function 'diag' [-Wimplicit-function-declaration]
  125 |                                         diag("Wrong width:",*optarg);
      |                                         ^~~~
ptx.c:232:28: warning: implicit declaration of function 'storeh' [-Wimplicit-function-declaration]
  232 |                         if(storeh(hash(strtbufp,bufp),strtbufp))
      |                            ^~~~~~
ptx.c:232:35: warning: implicit declaration of function 'hash' [-Wimplicit-function-declaration]
  232 |                         if(storeh(hash(strtbufp,bufp),strtbufp))
      |                                   ^~~~
ptx.c:261:17: warning: implicit declaration of function 'cmpline' [-Wimplicit-function-declaration]
  261 |                 cmpline(pend);
      |                 ^~~~~~~
ptx.c:276:23: warning: implicit declaration of function 'wait' [-Wimplicit-function-declaration]
  276 |                 while(wait(&status) != pid);
      |                       ^~~~
ptx.c:280:9: warning: implicit declaration of function 'getsort'; did you mean 'getopt'? [-Wimplicit-function-declaration]
  280 |         getsort();
      |         ^~~~~~~
      |         getopt
ptx.c: At top level:
ptx.c:290:1: warning: return type defaults to 'int' [-Wimplicit-int]
  290 | diag(s,arg)
      | ^~~~
ptx.c: In function 'dwb_getline':
ptx.c:302:18: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int]
  302 |         register c;
      |                  ^
ptx.c: At top level:
ptx.c:335:1: warning: return type defaults to 'int' [-Wimplicit-int]
  335 | cmpline(pend)
      | ^~~~~~~
ptx.c: In function 'cmpline':
ptx.c:362:44: warning: implicit declaration of function 'cmpword' [-Wimplicit-function-declaration]
  362 |                                         if(cmpword(pstrt,pchar,cp)){
      |                                            ^~~~~~~
ptx.c:365:57: warning: implicit declaration of function 'putline'; did you mean 'getline'? [-Wimplicit-function-declaration]
  365 |                                                         putline(pstrt,pend);
      |                                                         ^~~~~~~
      |                                                         getline
ptx.c: At top level:
ptx.c:382:1: warning: return type defaults to 'int' [-Wimplicit-int]
  382 | cmpword(cpp,pend,hpp)
      | ^~~~~~~
ptx.c:396:1: warning: return type defaults to 'int' [-Wimplicit-int]
  396 | putline(strt, end)
      | ^~~~~~~
ptx.c:412:1: warning: return type defaults to 'int' [-Wimplicit-int]
  412 | getsort()
      | ^~~~~~~
ptx.c: In function 'getsort':
ptx.c:414:18: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int]
  414 |         register c;
      |                  ^
ptx.c:458:25: warning: implicit declaration of function 'putout' [-Wimplicit-function-declaration]
  458 |                         putout(p1a,p1b);
      |                         ^~~~~~
ptx.c: In function 'rtrim':
ptx.c:492:7: warning: type of 'd' defaults to 'int' [-Wimplicit-int]
  492 | char *rtrim(a,c,d)
      |       ^~~~~
ptx.c: In function 'ltrim':
ptx.c:505:7: warning: type of 'd' defaults to 'int' [-Wimplicit-int]
  505 | char *ltrim(c,b,d)
      |       ^~~~~
ptx.c: At top level:
ptx.c:518:1: warning: return type defaults to 'int' [-Wimplicit-int]
  518 | putout(strt,end)
      | ^~~~~~
ptx.c:538:1: warning: return type defaults to 'int' [-Wimplicit-int]
  538 | hash(strtp,endp)
      | ^~~~
ptx.c:565:1: warning: return type defaults to 'int' [-Wimplicit-int]
  565 | storeh(num,strtp)
      | ^~~~~~

---- Making all in directory index/subj ----
cp subj.sh subj; chmod 755 subj
cp parts.sh parts; chmod 755 parts
lex  sbj1.l
gcc -O -I/opt/pkg/include -c -o sbj1.o lex.yy.c
sbj1.l: In function 'yylex':
sbj1.l:53:3: warning: implicit declaration of function 'skip' [-Wimplicit-function-declaration]
   53 | ^[.]EQ.*[\n]                    { skip ('E');}
      |   ^~~~
sbj1.l:85:42: warning: implicit declaration of function 'italic_arg' [-Wimplicit-function-declaration]
   85 |                                         {italic_arg();
      |                                          ^~~~~~~~~~
sbj1.l: At top level:
sbj1.l:242:1: warning: return type defaults to 'int' [-Wimplicit-int]
  242 | skip (type)
      | ^~~~
sbj1.l:280:1: warning: return type defaults to 'int' [-Wimplicit-int]
  280 | italic_arg()
      | ^~~~~~~~~~
sbj1.l:326:1: warning: return type defaults to 'int' [-Wimplicit-int]
  326 | main (argc, argv)
      | ^~~~
rm -f lex.yy.c
gcc -O -s sbj1.o -o sbj1 -lfl
ld: fatal: library -lfl: not found
ld: fatal: file processing errors. No output written to sbj1
collect2: error: ld returned 1 exit status
*** Error code 1

Stop.
bmake[2]: stopped in /home/pbulk/build/textproc/DWB/work/DWB3.3-20150517/index/subj
*** Error code 1

Stop.
bmake[1]: stopped in /home/pbulk/build/textproc/DWB/work/DWB3.3-20150517/index
*** Error code 1

Stop.
bmake: stopped in /home/pbulk/build/textproc/DWB/work/DWB3.3-20150517
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/DWB
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/DWB