There's a closed pull request on the Samba Samba Github repository build:wafsamba: Use the print_commands tool from upstream https://github.com/samba-team/samba/pull/34 Description: Using the print_commands tool makes it easier to upgrade to Waf 1.8.