Follow-up Comment #3, bug #67268 (group groff):

[comment #1 comment #1:]
> The clue is in your download file, it has 6 lines of comment at the top which
> occurs when BuildFoundries.pl is run multiple times without an intervening
> file removal (make clean/distclean).
[...]
> Try a 'make clean' then check font/devpdf/download has been removed, and
> 'make -j' should then work (hopefully!). (Although Branden has recently made
> some changes to devpdf.am I believe the above info is still true).

I **think** I've fixed the Automake file so that the constructed
"font/devpdf/download" won't repeatedly grow like this.

Here's what it looks like in the Git trunk, as of commit


font/devpdf/download: $(devpdffontencdata) $(devpdffontmapdata) \
  font/devpdf/DESC font/devpdf/Foundry font/devpdf/util/BuildFoundries
        $(AM_V_GEN)$(MKDIR_P) $(top_builddir)/font/devpdf \
        && echo "# foundry      ps-font-name    ps-font-file" >$@.tmp \
        && echo "# A blank foundry is the default." >>$@.tmp \
        &&
PATH="$(abs_top_builddir)$(GROFF_PATH_SEPARATOR)$(abs_top_builddir)/build-aux$(GROFF_PATH_SEPARATOR)$(PATH)"
\
             $(abs_top_builddir)/font/devpdf/util/BuildFoundries \
               --strict $(abs_top_builddir)/font/devpdf \
               '$(abs_top_srcdir)/font/devps:$(abs_top_builddir)/font/devps'
\
>> $@.tmp \
        && chmod u+w $@ \
        && mv $@.tmp $@


However I see that I should get rid of the end of the "BuildFoundries" target,
earlier in the file:


MOSTLYCLEANFILES += font/devpdf/util/BuildFoundries
font/devpdf/util/BuildFoundries: \
  $(devpdf_srcdir)/util/BuildFoundries.pl $(SH_DEPS_SED_SCRIPT) afmtodit
        $(AM_V_GEN)$(MKDIR_P) $(top_builddir)/font/devpdf/util \
# ...snip...
        && cp -f $(top_srcdir)/font/devpdf/download.in \
                 $(top_builddir)/font/devpdf/download


We shouldn't have two different rules creating "font/devpdf/download".  That's
just asking for trouble.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?67268>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to