Bug 222186 - make -n fails in doc/en_US.ISO8859-1/articles/freebsd-releng
Summary: make -n fails in doc/en_US.ISO8859-1/articles/freebsd-releng
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Books & Articles (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Wolfram Schneider
URL:
Keywords:
Depends on:
Blocks: 222322
  Show dependency treegraph
 
Reported: 2017-09-10 08:04 UTC by Wolfram Schneider
Modified: 2017-09-19 09:50 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfram Schneider freebsd_committer freebsd_triage 2017-09-10 08:04:49 UTC
I tried to run `make -n`' in /usr/doc/en_US.ISO8859-1/articles/freebsd-releng and got the error

"make: don't know how to make HTML.manifest. Stop"

$ make -n
install /home/projects/freebsd-doc/share/xml/catalog-cwd.xml /home/projects/freebsd-doc/en_US.ISO8859-1/articles/freebsd-releng/catalog-cwd.xml
env XML_CATALOG_FILES="file:///home/projects/freebsd-doc/en_US.ISO8859-1/articles/freebsd-releng/catalog-cwd.xml  file:///home/projects/freebsd-doc/en_US.ISO8859-1/share/xml/catalog.xml  file:///home/projects/freebsd-doc/share/xml/catalog.xml  file:///usr/local/share/xml/catalog" /usr/local/bin/xmllint --nonet --noent --valid --dropdtd --xinclude /home/projects/freebsd-doc/en_US.ISO8859-1/articles/freebsd-releng/article.xml > article.parsed.xml.tmp
/bin/mv article.parsed.xml.tmp article.parsed.xml
/usr/bin/sed 's|@@URL_RELPREFIX@@|http://www.FreeBSD.org|g' < article.parsed.xml > article.parsed.print.xml
/usr/bin/sed -i '' -e 's|@@URL_RELPREFIX@@|../../../..|g' article.parsed.xml
/bin/rm -f docbook.css
/bin/cat /home/projects/freebsd-doc/share/misc/docbook.css > docbook.css
/bin/cat /home/projects/freebsd-doc/en_US.ISO8859-1/articles/freebsd-releng/extra.css >> docbook.css
env XML_CATALOG_FILES="file:///home/projects/freebsd-doc/en_US.ISO8859-1/articles/freebsd-releng/catalog-cwd.xml  file:///home/projects/freebsd-doc/en_US.ISO8859-1/share/xml/catalog.xml  file:///home/projects/freebsd-doc/share/xml/catalog.xml  file:///usr/local/share/xml/catalog" /usr/local/bin/xsltproc  --xinclude --nonet --maxvars 20000  --stringparam latestrevision.timestamp "2017-07-25 17:50:09 +0000"  --stringparam latestrevision.committer "gjb"  --stringparam latestrevision.number "5db42110ac" --param docformatnav "'1'" http://www.FreeBSD.org/XML/share/xml/freebsd-xhtml.xsl article.parsed.xml > article.html
env XML_CATALOG_FILES="file:///home/projects/freebsd-doc/en_US.ISO8859-1/articles/freebsd-releng/catalog-cwd.xml  file:///home/projects/freebsd-doc/en_US.ISO8859-1/share/xml/catalog.xml  file:///home/projects/freebsd-doc/share/xml/catalog.xml  file:///usr/local/share/xml/catalog" /usr/local/bin/xsltproc  --xinclude --nonet --maxvars 20000  --stringparam latestrevision.timestamp "2017-07-25 17:50:09 +0000"  --stringparam latestrevision.committer "gjb"  --stringparam latestrevision.number "5db42110ac" --param docformatnav "'1'" http://www.FreeBSD.org/XML/share/xml/freebsd-xhtml-chunk.xsl article.parsed.xml
make: don't know how to make HTML.manifest. Stop

make: stopped in /home/projects/freebsd-doc/en_US.ISO8859-1/articles/freebsd-releng
Comment 1 Wolfram Schneider freebsd_committer freebsd_triage 2017-09-10 08:06:47 UTC
Related to the `make -n' failure is `make -j1'. `make' and `make -j1' should return the same results, and not fail:

make -j1
make: make: don't know how to make HTML.manifest. Stop
Comment 2 Wolfram Schneider freebsd_committer freebsd_triage 2017-09-10 08:11:52 UTC
Apparently, this problem exists for all documents with the FORMATS=html-split

HTML.manifest is generated during build, but some targets depend on it, and don't know how to generate it.

The proposed fix: we add a line in share/mk/doc.docbook.mk

HTML.manifest: index.html

that's all.
Comment 3 commit-hook freebsd_committer freebsd_triage 2017-09-19 09:50:23 UTC
A commit references this bug:

Author: wosch
Date: Tue Sep 19 09:50:17 UTC 2017
New revision: 50877
URL: https://svnweb.freebsd.org/changeset/doc/50877

Log:
  Fix `make -n' and `make -j1'

  PR: 222186

Changes:
  head/share/mk/doc.docbook.mk