F17: kernel rpmbuild fails: xmlto-xsl errors?

Pedro Francisco pedrogfrancisco at gmail.com
Tue Oct 2 07:35:06 UTC 2012


kernel build is failing and I'm not sure how to fix. yum-builddep
kernel doesn't install anything else. docbook-dtds is already
installed.

$ rpmbuild -bb --with pae --with debug --with debuginfo
--target=`uname -m` kernel.spec
(...)
PERF_VERSION = 3.5.4-2.pedro.fc17.i686
    * new build flags or prefix
+ make -j2 -C tools/perf -s V=1 WERROR=0
EXTRA_CFLAGS=-Wno-error=array-bounds HAVE_CPLUS_DEMANGLE=1 prefix=/usr
man
I/O I/O error : Attempt to load network entity
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
error : warning: failed to load external entity
"http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"
compilation error: file /tmp/xmlto-xsl.a4MVtJ line 4 element import
xsl:import : unable to load
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
Attempt to load network entity
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
warning: failed to load external entity
"http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"
compilation error: file /tmp/xmlto-xsl.BpAZvu line 4 element import
xsl:import : unable to load
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
make[1]: *** [perf-record.1] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [perf-diff.1] Error 1
make: *** [man] Error 2
+ false
error: Bad exit status from /var/tmp/rpm-tmp.69Obb0 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.69Obb0 (%build)


I'm trying with installing docbook5-style-xsl, since I've found these
old bugs: https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=428168
and http://www.spinics.net/lists/fedora-devel/msg76290.html . It's a
shot in the dark but it may work.

Any other ideas?
-- 
Pedro


More information about the test mailing list