Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 263524 - sys-apps/groff-1.20.1: tmac/doc.tmac:3375: bad character definition
Summary: sys-apps/groff-1.20.1: tmac/doc.tmac:3375: bad character definition
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 271230 283479 288610 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-03-23 18:18 UTC by Horst Prote
Modified: 2010-07-24 08:18 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for bad char defn. (groff-1.20.1-badchar.patch,462 bytes, patch)
2010-04-17 03:38 UTC, Vivek Kushwaha
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Horst Prote 2009-03-23 18:18:29 UTC
man ssh (for example) reports on stderr:
/usr/share/groff/1.20.1/tmac/doc.tmac:3375: bad character definition

I have sys-apps/groff-1.20.1-r1 and net-misc/openssh-5.1_p1-r2 installed.

Reproducible: Always

Steps to Reproduce:




Found another report of this on http://bugs.frugalware.org/task/3610 where the triggering manpage is 'man mrxvt' and a suggested fix is:
Change line 3375 in doc.tmac from

.char \- \N'45'

to

.rchar \- \N'45'

I tried this and the message was gone but I don't know if this is the correct fix.
Comment 1 Slowking Man 2009-06-14 15:50:47 UTC
Confirmed on amd64, same groff version, triggered by man rc, man rc-update. BTW, bug #271230 is a duplicate of this.
Comment 2 Slamp 2009-06-16 18:58:32 UTC
bump
Comment 3 Sunit Das 2009-07-22 20:07:41 UTC
Yep,  bump again.  Confirmed on ia32.  Same groff.
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-10-11 18:52:35 UTC
*** Bug 288610 has been marked as a duplicate of this bug. ***
Comment 5 Chris Henhawke 2009-11-22 04:16:04 UTC
bump.  

"man mail" also gives "/usr/share/groff/1.20.1/tmac/doc.tmac:3375: bad character definition"

groff 1.20.1-r1
man 1.6f-r3

mailx 8.1.2.20050715-r1
Comment 6 Sunit Das 2010-03-08 20:17:17 UTC
Looks like bug #283479 is also a dupe.
Comment 7 Doktor Notor 2010-03-25 14:03:08 UTC
Getting the same w/ some openrc manpages, such as rc-status(8) or rc-service(8)

[ebuild   R   ] sys-apps/groff-1.20.1-r2  USE="X -examples" LINGUAS="-ja" 0 kB
Comment 8 Vivek Kushwaha 2010-04-17 03:28:17 UTC
following seems to work
figured out using http://cvs.savannah.gnu.org/viewvc/groff/tmac/doc.tmac?view=annotate&root=groff looking at the end of file at cvs

--- /tmp/unpatched	2010-04-17 08:49:01.000000000 +0530
+++ /usr/share/groff/1.20.1/tmac/doc.tmac	2010-04-17 08:56:14.000000000 +0530
@@ -3370,6 +3370,7 @@
 .sp
 ..
 .blm empty-line
+.ec
 .if '\*[.T]'utf8' \{\
 .rchar \- - ' `
 .char \- \N'45'
@@ -3377,5 +3378,4 @@
 .char  ' \N'39'
 .char  ` \N'96'
 .\}
-.ec
 .mso mdoc.local
Comment 9 Vivek Kushwaha 2010-04-17 03:38:39 UTC
Created attachment 228085 [details, diff]
patch for bad char defn.

no more ugly hack like last post this patch goes on the source code of groff (groff-1.20.1.tar.gz)
Comment 10 SpanKY gentoo-dev 2010-06-20 00:53:40 UTC
*** Bug 283479 has been marked as a duplicate of this bug. ***
Comment 11 David J Cozatt 2010-07-23 19:02:03 UTC
this patch is already in upstream and should be applied
bumped into it today I simple google search brings a link 
from the first page of results here to the upstream commit
Comment 12 SpanKY gentoo-dev 2010-07-24 05:17:14 UTC
*** Bug 271230 has been marked as a duplicate of this bug. ***
Comment 13 SpanKY gentoo-dev 2010-07-24 08:18:55 UTC
added the patch from upstream cvs to groff-1.20.1-r3