Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Aug 2008 11:09:10 -0400
From:      Alex Goncharov <alex-goncharov@comcast.net>
To:        freebsd-stable@FreeBSD.org
Subject:   Groff is not working in the latest code
Message-ID:  <E1KV6M2-0005nl-LY@daland.home>

next in thread | raw e-mail | index | archive | help
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@comcast.net --

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1KV6M2-0005nl-LY>