bugGNU roff - Bugs: bug #65415, [gropdf] Do the correct font...


bug #65415: [gropdf] Do the correct font description files get installed?

Submitter:  Dave <barx>
Submitted:  Tue 05 Mar 2024 12:23:13 AM UTC
Category:  Driver gropdf Severity:  2 - Minor
Item Group:  Warning/Suspicious behaviour Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup

Tue 05 Mar 2024 12:23:13 AM UTC, original submission:  

In bug #64155, Deri pointed to this snippet of font/devpdf/devpdf.am

          if test -f $$f; then \
            $(INSTALL_DATA) $$f $(DESTDIR)$(devpdffontdir)/$$f; \
          else \
            $(INSTALL_DATA) $(top_builddir)/font/devpdf/$$f \
              $(DESTDIR)$(devpdffontdir)/$$f; \
          fi; \

as the culprit of an install problem he experienced: "I had a corrupt copy of U-TR in my build directory so this code copied the corrupt file rather than the correct file in ./font/devpdf."

This snippet in question dates back to commit 87046b294, in which gropdf was first added to the groff tree.  The current version of the snippet is substantively unchanged from then.  (Some variables have been renamed, and the code was relocated from its original font/devpdf/Makefile.sub.)

Git credits this commit to Werner (and he may have been responsible for the updates to the Texinfo manual and other integration tasks) but the ChangeLog entry credits Deri, and Deri's name appears as the author of the new source files, including Makefile.sub.

This historical tour is relevant because when Deri encountered the corrupt-file propagation in 2024, he asked of the offending lines of code, "What is the purpose of this?", revealing that even the code's original author no longer recalls what it was intended to do.

So from the viewpoint of today, does this code do something useful, and the corrupted file getting copied was collateral damage?  Or should it be revamped?

Dave <barx>
Group Member


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by barx (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code