Reply
Thread Tools
mase's Avatar
Posts: 355 | Thanked: 205 times | Joined on Jun 2010 @ Germany
#1
Hi!
I packaged cracklib2 for fremantle. It compiles well on my SDK, but
fails on the build-server with the following message:
Code:
(cd .libs && rm -f _cracklibmodule.la && ln -s ../_cracklibmodule.la _cracklibmodule.la)
make[1]: Leaving directory `/home/builder6/maemo-fremantle-armel-extras-devel/work/cracklib2-2.8.12/debian/build2.5/python'
xmlto -o debian/doc xhtml-nochunks debian/libcrack2.xml
xmlto: input does not validate (status 3)
error : Operation in progress
/home/builder6/maemo-fremantle-armel-extras-devel/work/cracklib2-2.8.12/debian/libcrack2.xml:3: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
                      "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
                                                                               ^
error : Operation in progress
warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
validity error : Could not load the external subset "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
Document /home/builder6/maemo-fremantle-armel-extras-devel/work/cracklib2-2.8.12/debian/libcrack2.xml does not validate
make: *** [build-stamp] Error 3
dpkg-buildpackage: error: debian/rules build gave error exit status 2
What is wrong?
__________________
May the force be with us!
 
Posts: 61 | Thanked: 43 times | Joined on Aug 2008
#2
You have xml document in your source that contains Document Type Definition that links to "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"

Copy that .dtd to where your .xml is (and add it to your project) and modify that .xml to point to local copy.
 
mase's Avatar
Posts: 355 | Thanked: 205 times | Joined on Jun 2010 @ Germany
#3
But why does it work in my SDK?
How can I modify the package, to compile?
I took the source-package from lenny.
__________________
May the force be with us!
 
Posts: 61 | Thanked: 43 times | Joined on Aug 2008
#4
Originally Posted by mase View Post
But why does it work in my SDK?
You are connected to internet and I think autobuilder is only connected directly to some repositories so that one can't use it for spam or DOS.
How can I modify the package, to compile?
Add that .dtd to project and fix .xml to point to local file.
Or remove .dtd reference from .xml.
Or somehow disable checking xml validity.

Did you look into /debian/libcrack2.xml line 3?
 
mase's Avatar
Posts: 355 | Thanked: 205 times | Joined on Jun 2010 @ Germany
#5
Thanks!
That was it!
I had to add the whole docbook-xml-4.5 folder to debian/.
docbookx.dtd was notg enough. I also had to modify cracklib-runtime.xml.
__________________
May the force be with us!
 
Reply


 
Forum Jump


All times are GMT. The time now is 04:00.