Bug 321431

Summary: groffer installed in wrong directory
Product: [Fedora] Fedora Reporter: JH <emsdadj>
Component: groffAssignee: Marcela Mašláňová <mmaslano>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 7   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: 1.18.1.4-7.fc7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-10-24 07:08:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description JH 2007-10-06 16:48:02 UTC
Description of problem: At the command line I type [jrh@oz ~]$ groffer mplayer
& get this error:
/usr/bin/groffer: line 334: /usr/lib/groff/groffer/groffer2.sh: No such file or
directory
Version-Release number of selected component (if applicable):
[jrh@oz ~]$ yum list groff
Installed Packages
groff.i386 1.18.1.4-6.fc7  installed    
How reproducible: 100%
Steps to Reproduce:
1.Same as Description of problem above
Actual results:
The error described above
Expected results:
A pdf version of the mplayer manpage
Additional info: The F7 version is 
[jrh@oz ~]$ groffer -v
groffer 0.9.31 of 11 Oct 2006 (shell version)
It has groffer installed at 
/usr/bin/groffer
/usr/share/groff/1.18.1.4/groffer
/usr/share/groff/1.18.1.4/groffer/groffer2.sh
and so forth.
As a comparison, Slackware 12 installs a different version
jrh@calderone:~$ groffer -v
groffer 0.9.22 of 22 August 2005
in this location ...
/usr/lib/groff/groffer
/usr/lib/groff/groffer/groffer2.sh
/usr/bin/groffer
NOTE NOTE NOTE NOTE NOTE
I fixed this with the following symbolic link I do NOT recommend this solution,
it is a hack.:
[jrh@oz ~]$ cd /usr/lib
[jrh@oz lib]$ sudo mkdir groff
[jrh@oz lib]$ cd groff
[jrh@oz groff]$ sudo ln -s /usr/share/groff/1.18.1.4/groffer groffer
NOTE NOTE NOTE
I then discovered that groffer has a dependency on something called grog
[jrh@oz ~]$ groffer mplayer
/usr/lib/groff/groffer/groffer2.sh: line 3799: grog: command not found
/usr/lib/groff/groffer/groffer2.sh: line 7000: grog: command not found
_do_display(): empty output.
grog is provided in groff-perl.i386 1.18.1.4-6.fc7
Maybe this means that groff should have a dependency on groff-perl.
Once I installed groff-perl I had success printing my pdf version of the mplayer
manpage.

Comment 1 Marcela Mašláňová 2007-10-08 06:57:19 UTC
Thank you for report. The correct installation path for executable script is
/usr/share... The path was fixed, but not the related scripts.

In the meantime fix will be in rawhide.

Comment 2 Fedora Update System 2007-10-24 07:08:04 UTC
groff-1.18.1.4-7.fc7 has been pushed to the Fedora 7 stable repository.  If problems still persist, please make note of it in this bug report.