[Cook] cook 2.22 test failure under Solaris 2.6

Larry Wagner wagner at weru.ksu.edu
Tue Mar 18 08:19:24 EST 2003


I get an error under test 0176a after building cook 2.22 under
Solaris 2.6 with the gcc version 2.95.2 using the following
compiler options:  -O2 -funroll-loops

The error message generated is:  
	FAILED test of the fingerprint functionality
	gmake: *** [t0172a] Error 1

The test fails on line 105 of the test:
	test -s b/.cook.fp && fail

If the test file is modified to ignore this line, it then
fails on line 107 of the test:
	test `wc .cook.fp|awk '{print$1}'` -eq 4 || fail

The actual value printed by awk is 2 not 4 on my machine.

Putting in appropriate write statements shows the following
file/directory permissions, which appear to be correct based
upon the comments in the test file:

dr-xr-xr-x   2 root     root         146 Mar 17 13:46 a
-rw-r--r--   1 root     root         102 Mar 17 13:46 a/.cook.fp

drwxr-xr-x   2 root     root         148 Mar 17 13:46 b
-r--r--r--   1 root     root         104 Mar 17 13:46 b/.cook.fp

drwxr-xr-x   5 root     root         250 Mar 17 13:46 .
-rw-r--r--   1 root     root         102 Mar 17 13:46 .cook.fp

Any comments/suggestions on what the problem is?


Also, I cannot get the documentation to build under Solaris 2.6.
I've never succeeded in getting the docs to build correctly on any
previous version either.  Here is some typical output when trying to
build the docs:

276:root at chepil:~/ftp/cook-2.22> gmake groff_all
bin/roffpp -Ilib/en/building -Ietc -Ilib/en/man1 \
-Ilib/en/readme lib/en/building/main.man | groff -s \
        -t -p -man -mpic -mpspic > lib/en/building.ps
/usr/local/share/groff/1.17.2/tmac/pspic.tmac:6: error: end of file while 
defining macro `PS'
lib/en/building/main.man:228: warning: can't find font `['
bin/roffpp -Ilib/en/building -Ietc -Ilib/en/man1 \
-Ilib/en/readme lib/en/building/main.man | groff \
        -Tdvi -s -t -p -man -mpic > lib/en/building.dvi
lib/en/building/main.man:228: warning: can't find font `['
lib/en/building/main.man:482: warning: can't find font `CB'
bin/roffpp -Ilib/en/building -Ietc -Ilib/en/man1 \
-Ilib/en/readme lib/en/building/main.man | groff \
        -Tascii -s -t -p -man -mpic > lib/en/building.txt
bin/roffpp -Ilib/en/lsm -Ietc -Ilib/en/man1 \
-Ilib/en/readme lib/en/lsm/main.roff | groff -s -t -p \
        -mpic -mpspic > lib/en/lsm.ps
bin/roffpp -Ilib/en/lsm -Ietc -Ilib/en/man1 \
-Ilib/en/readme lib/en/lsm/main.roff | groff -Tdvi -s \
        -t -p -mpic > lib/en/lsm.dvi
bin/roffpp -Ilib/en/lsm -Ietc -Ilib/en/man1 \
-Ilib/en/readme lib/en/lsm/main.roff | groff -Tascii \
        -s -t -p -mpic > lib/en/lsm.txt
bin/roffpp -Ilib/en/readme -Ietc -Ilib/en/man1 \
-Ilib/en/readme lib/en/readme/main.man | groff -s -t \
        -p -man -mpic -mpspic > lib/en/readme.ps
/usr/local/share/groff/1.17.2/tmac/pspic.tmac:6: error: end of file while 
defining macro `PS'
lib/en/readme/new.2.20.so:37: warning: can't find font `['
bin/roffpp -Ilib/en/readme -Ietc -Ilib/en/man1 \
-Ilib/en/readme lib/en/readme/main.man | groff -Tdvi \
        -s -t -p -man -mpic > lib/en/readme.dvi
lib/en/readme/new.2.20.so:37: warning: can't find font `['
bin/roffpp -Ilib/en/readme -Ietc -Ilib/en/man1 \
-Ilib/en/readme lib/en/readme/main.man | groff \
        -Tascii -s -t -p -man -mpic > lib/en/readme.txt
bin/roffpp -Ilib/en/refman -Ietc -Ilib/en/man1 \
-Ilib/en/readme lib/en/refman/main.man | groff -s -t \
        -p -man -mpic -mpspic > lib/en/refman.ps
/usr/local/share/groff/1.17.2/tmac/pspic.tmac:6: error: end of file while 
defining macro `PS'
lib/en/refman/main.man:51: warning: numeric expression expected (got `e')
lib/en/readme/new.2.20.so:37: warning: can't find font `['
lib/en/refman/../man1/cook.1:27: environment stack underflow
lib/en/refman/../man1/cook_bom.1:27: environment stack underflow
lib/en/refman/../man1/cook_lic.1:6: environment stack underflow
lib/en/refman/../man1/cook_rsh.1:26: environment stack underflow
lib/en/refman/../man1/cookfp.1:26: environment stack underflow
lib/en/refman/../man1/cooktime.1:27: environment stack underflow
lib/en/refman/../man1/find_libs.1:27: environment stack underflow
lib/en/refman/../man1/make2cook.1:27: environment stack underflow
lib/en/refman/../man1/roffpp.1:27: environment stack underflow
lib/en/refman/main.man:134: warning: numeric expression expected (got `p')
lib/en/refman/main.man:135: bad number register format (got `-')
lib/en/refman/main.man:136: error: end of file while defining macro `an'
bin/roffpp -Ilib/en/refman -Ietc -Ilib/en/man1 \
-Ilib/en/readme lib/en/refman/main.man | groff -Tdvi \
        -s -t -p -man -mpic > lib/en/refman.dvi
lib/en/refman/main.man:51: warning: numeric expression expected (got `e')
lib/en/readme/new.2.20.so:37: warning: can't find font `['
[...]




Larry Wagner, Agricultural Engineer | E-mail: wagner at weru.ksu.edu
USDA-ARS Wind Erosion Research Unit | phone:  (785) 537-5544
1515 College Ave.                   | fax:    (785) 537-5507
Manhattan, KS 66502                 | URL:    http://www.weru.ksu.edu




More information about the Cook-users mailing list