New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
debian pkg missing dependency on docbook2x #1624
Comments
We have no problems with the nightly builds, example: |
Victor Seva writes:
We have no problems with the nightly builds, example:
https://kamailio.sipwise.com/job/kamailiodev-nightly-binaries/architecture=amd64,distribution=stretch,label=slave/1171/consoleText
For sure you have. Exactly the same problem that I described:
mkdir -p /tmp/buildd/kamailio-5.2.0~dev6+0~20180823005931.1186+stretch/debian/kamailio/usr/share/man//man5
s ../../../doc/stylesheets/serdoc2man.xsl auth.xml
make[3]: s: Command not found
../../Makefile.modules:283: recipe for target 'auth.7' failed
make[3]: [auth.7] Error 127 (ignored)
s ../../../doc/stylesheets/serdoc2man.xsl avp.xml
make[3]: s: Command not found
../../Makefile.modules:283: recipe for target 'avp.7' failed
make[3]: [avp.7] Error 127 (ignored)
|
This clearly is a bug. I don't understand why bug label was removed. Also, I my opinion this kind of error should not be ignored, but build should stop at it. |
Overall this is not actually deb build specific issue, but something that happens during install, as I could spot during building and installing using git repo inside a docker container (for kamailio unit tests). I guess that was more an optional step added by SER devs in the past (in Kamailio we never had it), attempting to build man pages from docbooks for modules readmes. I think this should be made optional properly. I do not think anyone was using manpage-style docs so far for modules and starting now to install/package them all makes no sense. |
Daniel-Constantin Mierla writes:
I think this should be made optional properly. I do not think anyone
was using manpage-style docs so far for modules and starting now to
install/package them all makes no sense.
Optional is fine with me. I just want the build to work without
errors. Also, if an error occurs, the build must stop, This is not
the case now.
…-- Juha
|
- print an info message instead of ending up in execution error of Makefile rule trying to generate man pages from xml files - DOCBOOK var renamed to DOCBOOKMAN to be more suggestive for its purpose - related to GH #1624
Pushed a patch to catch when the tool from docbook to man page conversion is not available and just print an info message. I think this should do it for now, if one wants to start generating man pages, can do it by installing the tool. I will close this issue and if one wants to package man pages for modules' readme, open a feature request. To my knowledge, so far they were never packaged. If some new issues after the patch, just reopen. |
Daniel-Constantin Mierla writes:
I will close this issue and if one wants to package man pages for
modules' readme, open a feature request. To my knowledge, so far they
were never packaged. If some new issues after the patch, just reopen.
Thanks, debian package now built OK without docbook2x.
…-- Juha
|
Kamailio master build on Debian Stretch fails due to missing dependency on docbook2x. See https://lists.kamailio.org//pipermail/sr-dev/2018-August/047549.html for more info.
The text was updated successfully, but these errors were encountered: