Groff is not working in the latest code

Alex Goncharov alex-goncharov at comcast.net
Mon Aug 18 15:09:12 UTC 2008


The following happens in 7.0-STABLE built from the source "csup"ed
either yesterday's or this morning:

------------------------------------------------------------
$ groff -mm -t -Tascii tmp.mm
groff: can't find `DESC' file
groff:fatal error: invalid device `ascii'

$ truss -mm -t -Tascii tmp.mm 2>&1 | grep DESC
++ [ ~/doc1/employ/ab-initio ] ++
truss groff -mm -t -Tascii tmp.mm 2>&1 | grep DESC
open("/usr/local/share/groff/site-font/devascii/DESC",O_RDONLY,0666)
ERR#2 'No such file or directory'
open("/usr/local/share/groff/1.19.2/font/devascii/DESC",O_RDONLY,0666)
ERR#2 'No such file or directory'
open("/usr/lib/font/devascii/DESC",O_RDONLY,0666) ERR#2 'No such file
or directory'
groff: can't find `DESC' file
write(2,"groff: can't find `DESC' file\n",30)    = 30 (0x1e)

$ ls -l /usr/share/groff_font/devascii/DESC
-r--r--r--  1 root  wheel  95 Aug 18 08:59
/usr/share/groff_font/devascii/DESC

$ GROFF_FONT_PATH=/usr/share/groff_font groff -mm -t -Tascii tmp.mm
troff: fatal error: can't find macro file m

$ which groff
/usr/bin/groff

------------------------------------------------------------

Note an attempt to look for a file under /usr/local, which should not
happen for a program in "base".

This behavior is very new -- no such problem existed in the code
fetched last Saturday. There, I see:

------------------------------------------------------------
$ truss groff -mm -t -Tascii tmp.mm 2>&1 | grep DESC
open("/usr/share/groff_font/devascii/DESC",O_RDONLY,0666) = 3 (0x3)
------------------------------------------------------------

Anybody know of what happened?

Thanks,

-- Alex -- alex-goncharov at comcast.net --

/*
 * Machines that have broken down will work perfectly when the
 * repairman arrives.
 */



More information about the freebsd-stable mailing list