Bug 13198 - installed man-pages include build paths
installed man-pages include build paths
Status: NEW
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Documentation
4.7.3
All All
: P5 normal
: ---
Assigned To: Samba Documentation QA Contact~
Samba Documentation QA Contact~
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-12-22 19:00 UTC by Andrew Bartlett
Modified: 2017-12-22 19:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Bartlett 2017-12-22 19:00:40 UTC
The installed smb.conf includes the build path in the defaults for dns update command.

The final install path is not used as when the manpage is generated the is_install flag is set to false and so the internal path is used to satisfy the 'docs' test (checking default values). 

XML entities are used to ensure that these paths in the docs match the installed paths on the system. 

However, the entity generation in dynconfig/wscript depends on is_install but this is not marked as a dependency so it is not re-run for the 'final' manpages to be installed. 

Either that flag needs somehow to become a dependency or these parameters be skipped in the test and the is_install flag not respected in this case.

Found by the debian reproducible builds effort:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/samba.html