Re: [char-misc:kdbus 1/14] warning: failed to load external entity "Documentation/kdbus/stylesheet.xsl"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/09/2015 05:45 PM, kbuild test robot wrote:
> tree:   git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git kdbus
> head:   b7270dd9f7d48c1f2ef20a48eeb5f73afcdae21d
> commit: 48480f8c402cc616a6ac03a51cee6f988a5c916c [1/14] kdbus: add documentation
> config: i386-allnoconfig (attached as .config)
> reproduce:
>   git checkout 48480f8c402cc616a6ac03a51cee6f988a5c916c
>   # save the attached .config to linux build tree
>   make ARCH=i386 
> 
> All warnings:
> 
>>> warning: failed to load external entity "Documentation/kdbus/stylesheet.xsl"
>    compilation error: file /tmp/xmlto-xsl.fYfG51 line 6 element include
>    xsl:include : unable to load Documentation/kdbus/stylesheet.xsl

That's strange, Documentation/kdbus/stylesheet.xsl is included in this
patch, and 'make mandocs' works fine here. I currently don't see what
the problem is. Does the build-test robot continue with the other
patches after it choked on this one?

However, I just realized we forgot to set the output directory for
generated files correctly, and they are also not ignored by git. The
attached patch fixes both problems, but they are both just cosmetic.
Greg, could you add this on top of your char-misch branch?


Thanks,
Daniel

From e49f89e608c70f88c12600b9db5c6422301b0eed Mon Sep 17 00:00:00 2001
From: Daniel Mack <daniel@xxxxxxxxxx>
Date: Mon, 9 Mar 2015 18:00:46 +0100
Subject: [PATCH] Documentation: kdbus: fix location for generated files

The generated files should reside in Documentation/kdbus, not in the
top-level of the source tree. Also add a .gitignore file and ignore
everything that was built from the XML files.

Signed-off-by: Daniel Mack <daniel@xxxxxxxxxx>
---
 Documentation/kdbus/.gitignore | 2 ++
 Documentation/kdbus/Makefile   | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)
 create mode 100644 Documentation/kdbus/.gitignore

diff --git a/Documentation/kdbus/.gitignore b/Documentation/kdbus/.gitignore
new file mode 100644
index 0000000..b4a77cc
--- /dev/null
+++ b/Documentation/kdbus/.gitignore
@@ -0,0 +1,2 @@
+*.7
+*.html
diff --git a/Documentation/kdbus/Makefile b/Documentation/kdbus/Makefile
index cd6b48e..f6d4912 100644
--- a/Documentation/kdbus/Makefile
+++ b/Documentation/kdbus/Makefile
@@ -18,10 +18,10 @@ HTMLFILES := $(patsubst %.xml, %.html, $(XMLFILES))
 XMLTO_ARGS := -m $(obj)/stylesheet.xsl
 
 %.7: %.xml
-	xmlto man $(XMLTO_ARGS) -o . $<
+	xmlto man $(XMLTO_ARGS) -o $(obj) $<
 
 %.html: %.xml
-	xmlto html-nochunks $(XMLTO_ARGS) -o . $<
+	xmlto html-nochunks $(XMLTO_ARGS) -o $(obj) $<
 
 mandocs: $(MANFILES)
 
-- 
2.3.0


[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux