Bug 9303 - waf does not rebuild smb.conf.5 if documentation changed
waf does not rebuild smb.conf.5 if documentation changed
Status: NEW
Product: Samba 4.0
Classification: Unclassified
Component: Build
4.0.0rc3
All All
: P5 normal
: ---
Assigned To: Alexander Bokovoy
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-10-18 13:13 UTC by Björn Baumbach
Modified: 2012-11-06 06:44 UTC (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Björn Baumbach 2012-10-18 13:13:05 UTC
After changing a smb.conf option documentation waf does not rebuild the smb.conf.5 manual page.


Steps to reproduce:
-------------------
# make
WAF_MAKE=1 ./buildtools/bin/waf build
Waf: Entering directory `/home/bbaumba/src/git/samba/bin'
        Selected embedded Heimdal build
[ 126/3901] Generating VERSION
[ 161/3901] Generating smbd/build_options.c
Waf: Leaving directory `/home/bbaumba/src/git/samba/bin'
'build' finished successfully (7.178s)

# echo "alles weg" > docs-xml/smbdotconf/protocol/serverminprotocol.xml

# make
WAF_MAKE=1 ./buildtools/bin/waf build
Waf: Entering directory `/home/bbaumba/src/git/samba/bin'
        Selected embedded Heimdal build
[ 126/3901] Generating VERSION
[ 161/3901] Generating smbd/build_options.c
[ 168/3901] Generating smbdotconf/parameters.all.xml
Waf: Leaving directory `/home/bbaumba/src/git/samba/bin'
'build' finished successfully (7.241s)


Workaround:
-----------
# rm ./bin/default/docs-xml/smbdotconf/parameters.all.xml
# rm ./bin/default/docs-xml/manpages/smb.conf.5
Comment 1 Jelmer Vernooij 2012-10-19 06:57:56 UTC
This is also affecting my branch to verify that all parameters are documented.
Comment 2 Stefan Metzmacher 2012-10-24 10:04:09 UTC
This work in progress branch fixes the problem for me:
https://git.samba.org/mat/?p=mat/samba.git;a=shortlog;h=9b7b9bd62efa478e0
Comment 3 Björn Baumbach 2012-11-05 14:38:00 UTC
Works for me t(In reply to comment #2)
> This work in progress branch fixes the problem for me:
> https://git.samba.org/mat/?p=mat/samba.git;a=shortlog;h=9b7b9bd62efa478e0

Works for me, too.
But it breaks the autobuild.
Comment 4 Alexander Bokovoy 2012-11-06 06:11:48 UTC
 Björn, any specific details for the autobuild breakage?
Comment 5 Matthieu Patou 2012-11-06 06:44:58 UTC
logs ?