[Bug 222488] `make all' does not work together with `make obj'

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Sep 21 11:51:34 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222488

            Bug ID: 222488
           Summary: `make all' does not work together with `make obj'
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Documentation
          Assignee: freebsd-doc at FreeBSD.org
          Reporter: wosch at FreeBSD.org

I tried to run `make obj' first, and then `make all'. It fails with the error
message:

===> en_US.ISO8859-1/articles/pam (all)
fatal: pam_app.c: no such path in the working tree.
Use 'git <command> -- <path>...' to specify paths that do not exist locally.
make[3]:
"/home/projects/freebsd-doc/en_US.ISO8859-1/articles/pam/../../../share/mk/doc.docbook.mk"
line 101: warning: "cd /home/projects/freebsd-doc/en_US.ISO8859-1/articles/pam
&& /usr/local/bin/git log -1 --pretty=format:' --stringparam
latestrevision.timestamp "%ci"  --stringparam latestrevision.committer "%cn" 
--stringparam latestrevision.number "%h"' article.xml pam_app.c pam_conv.c
pam_module.c" returned non-zero status
sed -e '/^[\/ ]\*/d'
/home/projects/freebsd-doc/en_US.ISO8859-1/articles/pam/su.c >pam_app.c
sed -e '/^[\/ ]\*/d'
/home/projects/freebsd-doc/en_US.ISO8859-1/articles/pam/converse.c >pam_conv.c
sed -e '/^[\/ ]\*/d'
/home/projects/freebsd-doc/en_US.ISO8859-1/articles/pam/pam_unix.c
>pam_module.c
install /home/projects/freebsd-doc/share/xml/catalog-cwd.xml
/usr/obj/home/projects/freebsd-doc/en_US.ISO8859-1/articles/pam/catalog-cwd.xml
echo '<!ENTITY base "..">' >>
/usr/obj/home/projects/freebsd-doc/en_US.ISO8859-1/articles/pam/autogen.ent
env
XML_CATALOG_FILES="file:///usr/obj/home/projects/freebsd-doc/en_US.ISO8859-1/articles/pam/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/pam/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
/usr/obj/home/projects/freebsd-doc/en_US.ISO8859-1/articles/pam/docbook.css
/bin/cat /home/projects/freebsd-doc/share/misc/docbook.css >
/usr/obj/home/projects/freebsd-doc/en_US.ISO8859-1/articles/pam/docbook.css
env
XML_CATALOG_FILES="file:///usr/obj/home/projects/freebsd-doc/en_US.ISO8859-1/articles/pam/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  http://www.FreeBSD.org/XML/share/xml/freebsd-xhtml.xsl
article.parsed.xml > article.html
runtime error: file
file:///home/projects/freebsd-doc/share/xml/freebsd-xhtml-common.xsl line 267
element variable
Variable 'latestrevision.number' has not been declared.
xmlXPathCompiledEval: evaluation failed
runtime error: file
file:///home/projects/freebsd-doc/share/xml/freebsd-xhtml-common.xsl line 267
element variable
Failed to evaluate the expression of variable 'rev'.
*** Error code 10

Stop.
make[3]: stopped in /home/projects/freebsd-doc/en_US.ISO8859-1/articles/pam
*** Error code 1

Stop.
make[2]: stopped in /home/projects/freebsd-doc/en_US.ISO8859-1/articles
*** Error code 1

Stop.
make[1]: stopped in /home/projects/freebsd-doc/en_US.ISO8859-1
*** Error code 1

Stop.
make: stopped in /home/projects/freebsd-doc

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-doc mailing list