Bug 1888370 - troff: /usr/share/groff/1.22.4/tmac/troffrc:53: warning: can't find macro file 'pdfpic.tmac'
Summary: troff: /usr/share/groff/1.22.4/tmac/troffrc:53: warning: can't find macro fil...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: groff
Version: 33
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Nikola Forró
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-10-14 17:02 UTC by Leslie Satenstein
Modified: 2020-11-05 01:03 UTC (History)
10 users (show)

Fixed In Version: groff-1.22.4-4.fc33
Clone Of:
Environment:
Last Closed: 2020-11-05 01:03:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.