URL: <https://savannah.gnu.org/bugs/?66876>
Summary: error in font/devps/generate/Makefile Group: GNU roff Submitter: None Submitted: Thu 06 Mar 2025 04:48:41 PM UTC Category: Font devps Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Planned Release: None _______________________________________________________ Follow-up Comments: ------------------------------------------------------- Date: Thu 06 Mar 2025 04:48:41 PM UTC By: Anonymous While building a package for openSUSE, I see a failure if the build process uses groff 1.23.0 but it works with groff 1.22.4 This is the failure message: > printf \ > '#\n# This is a list of all predefined groff symbols.\n#\n' \ >> output/generate/symbol.map \ > && cat generate/text.map generate/symbolchars >>generate/symbol.map > /bin/sh: line 2: output/generate/symbol.map: No such file or directory > make: *** [generate/Makefile:291: generate/symbol.map] Error 1 I have compared the file font/devps/generate/Makefile from the tar source of groff 1.22.4 and 1.23.0. This is an extract of the diff: 287,291c290,294 < symbolmap: $(TEXTMAP) $(srcdir)/symbolchars < echo '#' >$@ < echo '# This is a list of all predefined groff symbols.' >>$@ < echo '#' >>$@ < cat $(TEXTMAP) $(srcdir)/symbolchars >>$@ --- > $(srcdir)/symbol.map: $(TEXTMAP) $(srcdir)/symbolchars > printf \ > '#\n# This is a list of all predefined groff symbols.\n#\n' \ >> $(OUTDIR)/$@ \ > && cat $(TEXTMAP) $(srcdir)/symbolchars >>$@ In the the old version of the Makefile the text "This is a list ..." and the content of $(TEXTMAP) go in the same file ($@). In the new version the text "This is a list ..." goes in $(OUTDIR)/$@ while the content of $(TEXTMAP) goes in $@. Since the error message complains that the file output/generate/symbol.map does not exit but it doesn't complain about the file generate/symbol.map I assume that the new makefile should be: > $(srcdir)/symbol.map: $(TEXTMAP) $(srcdir)/symbolchars > printf \ > '#\n# This is a list of all predefined groff symbols.\n#\n' \ >> $@ \ > && cat $(TEXTMAP) $(srcdir)/symbolchars >>$@ And indeed if I make such change in the build environment, the building error is gone. I'm no expert of groff or make so I'll let you evaluate if my finding is valid or not. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?66876> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
signature.asc
Description: PGP signature