Bug 1888370

Summary: troff: /usr/share/groff/1.22.4/tmac/troffrc:53: warning: can't find macro file 'pdfpic.tmac'
Product: [Fedora] Fedora Reporter: Leslie Satenstein <lsatenstein>
Component: groffAssignee: Nikola Forró <nforro>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 33CC: bshotts, bugzilla, d.iskhakov, esandeen, igor.raits, jchaloup, josef, kasal, nforro, ngompa13
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: groff-1.22.4-4.fc33 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-05 01:03:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Leslie Satenstein 2020-10-14 17:02:54 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Neal Gompa 2020-10-24 03:24:14 UTC
I don't understand what this bug report is about? There's no information...

Comment 2 Dmitry Iskhakov 2020-10-28 12:19:03 UTC
In my case this warning message appears when I use grep on man pages.

For example:

spinl0ck >> [~]$ man syscalls | grep -E '(time|date|clock)'
troff: /usr/share/groff/1.22.4/tmac/troffrc:53: warning: can't find macro file 'pdfpic.tmac'

File troffrc includes a directive "do mso pdfpic.tmac", but the file pdfpic.tmac does not exist in the directory.

Fedora 33 Workstation.

Comment 3 Dmitry Iskhakov 2020-10-28 12:47:13 UTC
(In reply to Dmitry Iskhakov from comment #2)
> In my case this warning message appears when I use grep on man pages.
> 
> For example:
> 
> spinl0ck >> [~]$ man syscalls | grep -E '(time|date|clock)'
> troff: /usr/share/groff/1.22.4/tmac/troffrc:53: warning: can't find macro
> file 'pdfpic.tmac'
> 
> File troffrc includes a directive "do mso pdfpic.tmac", but the file
> pdfpic.tmac does not exist in the directory.
> 
> Fedora 33 Workstation.

The pdfpic.tmac file is contained in package groff, by default Fedora contains the groff-base package.

Comment 4 William Shotts 2020-10-29 14:33:58 UTC
You can see this problem when you perform for example 'man ls > /dev/null' and view the error messages. Also the resulting man page contains lines that are incorrectly wrapped.

Comment 5 Leslie Satenstein 2020-11-02 16:05:20 UTC
troff: /usr/share/groff/1.22.4/tmac/troffrc:53: warning: can't find macro file 'pdfpic.tmac' (edit)

Comment 6 Chris Murphy 2020-11-02 21:03:02 UTC
Is the solution to add macro file 'pdfpic.tmac' to groff-base?

Comment 7 Nikola Forró 2020-11-03 11:10:27 UTC
> Is the solution to add macro file 'pdfpic.tmac' to groff-base?

Yes, the file was added to troffrc in 1.22.4 [1], so it needs to be in groff-base now.

[1] https://git.savannah.gnu.org/cgit/groff.git/commit/?id=82fb9e18e9c8bb2316df345bb7b5665a30ec03e2

Comment 8 Fedora Update System 2020-11-03 11:13:40 UTC
FEDORA-2020-998be8902c has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-998be8902c

Comment 9 Fedora Update System 2020-11-04 03:00:40 UTC
FEDORA-2020-998be8902c has been pushed to the Fedora 33 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-998be8902c`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-998be8902c

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2020-11-05 01:03:26 UTC
FEDORA-2020-998be8902c has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.