Discussion:
A Problem getting docbook.xsl from the net during package build
Lee Duncan
2014-09-17 14:08:24 UTC
Permalink
I am trying to get drbd utilties to build under OBS, but I'm getting an error I don't understand.

It looks like the build is having problems getting http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl when trying to build man pages. The command that is failing is (basically):

| xsltproc --xinclude --stringparam variablelist.term.break.after 1 \
| http://docbook.sourceforge.net/release/xsl/current/manpages /docbook.xsl \
| drbdsetup.xml

When run manually on my local system this command works fine. But when
run during the OBS build, it gets this error:

I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl

Do I have to do something special in my spec file to get networking to
work during the build?
--
Lee Duncan
SUSE Labs
--
To unsubscribe, e-mail: opensuse-packaging+***@opensuse.org
To contact the owner, e-mail: opensuse-packaging+***@opensuse.org
Dimstar / Dominique Leuenberger
2014-09-17 14:11:53 UTC
Permalink
Post by Lee Duncan
I am trying to get drbd utilties to build under OBS, but I'm getting an error I don't understand.
| xsltproc --xinclude --stringparam variablelist.term.break.after 1 \
| http://docbook.sourceforge.net/release/xsl/current/manpages /docbook.xsl \
| drbdsetup.xml
When run manually on my local system this command works fine. But when
I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
Do I have to do something special in my spec file to get networking to
work during the build?
Ensure you have
BuildRequires: docbook-xsl-stylesheets

then it should not be needed to have internet access.

Dominique
--
Dimstar / Dominique Leuenberger <***@opensuse.org>
--
To unsubscribe, e-mail: opensuse-packaging+***@opensuse.org
To contact the owner, e-mail: opensuse-packaging+***@opensuse.org
Loading...