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
Build requirements are undocumented, missing dependency handling sucks #38
Comments
- switch to github-based upstream (FS#50504) - add makedeps for building manpages (shadow-maint/shadow#38) git-svn-id: file:///srv/repos/svn-packages/svn@277558 eb2447ed-0c53-47e4-bac8-5bc4a241df78
When I run ./autogen.sh with xsltproc not installed, I get
You are saying you got the message
again. Can you show that sequence? |
Well, that's the case with v4.4 when I filed this bug, still the case with 4.5, but ef6890c appears to have fixed this. The other half of my report (documenting the requirements) is still valid. |
I encountered this issue too.. looking at the configure.ac script showed that I misunderstood the option meaning. |
I would guess that taking a look at the configure file or CI scripts should be enough to figure out dependencies: Or should they be listed under https://github.com/shadow-maint/shadow/blob/master/doc/contributions/build_install.md ? |
Yeah lately for other projects I've taken to pointing to the github actions. Putting them elsewhere would be more friendly at first, but is guaranteed to become stale over time. |
This is what I think as well. |
We could point to the file instead.
is enough. Though it will miss new dependencies that are only used in master. And in the CI scripts they will be present. Should I create a PR to |
I've recently tried to build version 4.4 of this package and run into (surmountable) problems. If I configure without --enable-man, the build fails with:
If I then --enable-man, I still get the same error message above. Only after installing packages providing XSL templates, xsltproc and xml2po, are manpages successfully built. It would be wonderul if the build requirements could be clearly documented in a README file and the configure script actually bail if options like --enable-man are passed but cannot be supported (e.g. one of the binary/data deps are missing) rather than silently setting enable_man=no and moving on (and eventually failing with the above error message).
The text was updated successfully, but these errors were encountered: