Hi,
I am new to the Ansible github project. Hope this is not a stupid question…
I want to get accustomed to the basic development workflow on my local machine.
I checked out the github repository and executed make deb:
1. git clone https://github.com/ansible/ansible.git
2. cd ansible/
I edited some portion of the code and now I want to use the new code base:
3. make deb
The output of make is as follows:
Cleaning up distutils stuff
rm -rf build
rm -rf dist
rm -rf lib/ansible.egg-info/
Cleaning up byte compiled python stuff
find . -type f -regex “.*.py[co]$” -delete
find . -type d -name “pycache” -delete
Cleaning up editor backup files
find . -type f -not -path ./test/units/inventory_test_data/group_vars/noparse/all.yml~ ( -name “~" -or -name "#” ) -delete
find . -type f ( -name “*.swp” ) -delete
Cleaning up manpage stuff
find ./docs/man -type f -name “*.xml” -delete
find ./docs/man -type f -name “*.asciidoc” -delete
find ./docs/man/man3 -type f -name “*.3” -delete
rm -f ./docs/man/man1/*
Cleaning up output from test runs
rm -rf test/test_data
rm -rf shippable/
rm -rf logs/
rm -rf .cache/
rm -f test/units/.coverage*
rm -rf test/results//
find test/ -type f -name ‘*.retry’ -delete
Cleaning up RPM building stuff
rm -rf MANIFEST rpm-build
Cleaning up Debian building stuff
rm -rf debian
rm -rf deb-build
rm -rf docs/json
rm -rf docs/js
Cleaning up authors file
rm -f AUTHORS.TXT
Cleaning up docsite
make -C docs/docsite clean
make[1]: Entering directory ‘/home/my-user/workspace_oxygen_python/ansible/docs/docsite’
rm -rf htmlout
rm -rf module_docs
rm -rf _build
rm -f .buildinfo
rm -f objects.inv
rm -rf *.doctrees
Cleaning up minified css files
find . -type f -name “*.min.css” -delete
Cleaning up byte compiled python stuff
find . -regex “.*.py[co]$” -delete
Cleaning up editor backup files
find . -type f ( -name “~" -or -name "#” ) -delete
find . -type f ( -name “*.swp” ) -delete
Cleaning up generated rst
rm rst/cli/ansible-*.rst
rm: cannot remove ‘rst/cli/ansible-*.rst’: No such file or directory
Makefile:47: recipe for target ‘clean’ failed
make[1]: [clean] Error 1 (ignored)
rm rst/cli/ansible.rst
rm: cannot remove ‘rst/cli/ansible.rst’: No such file or directory
Makefile:47: recipe for target ‘clean’ failed
make[1]: [clean] Error 1 (ignored)
rm rst/modules/_by_category.rst
rm: cannot remove 'rst/modules/by_category.rst’: No such file or directory
Makefile:47: recipe for target ‘clean’ failed
make[1]: [clean] Error 1 (ignored)
rm rst/modules/list_of.rst
rm: cannot remove 'rst/modules/list_of_.rst’: No such file or directory
Makefile:47: recipe for target ‘clean’ failed
make[1]: [clean] Error 1 (ignored)
rm rst/modules/_maintained.rst
rm: cannot remove 'rst/modules/_maintained.rst’: No such file or directory
Makefile:47: recipe for target ‘clean’ failed
make[1]: [clean] Error 1 (ignored)
rm rst/modules/_module.rst
rm: cannot remove 'rst/modules/_module.rst’: No such file or directory
Makefile:47: recipe for target ‘clean’ failed
make[1]: [clean] Error 1 (ignored)
rm rst/modules/_plugin.rst
rm: cannot remove 'rst/modules/plugin.rst’: No such file or directory
Makefile:47: recipe for target ‘clean’ failed
make[1]: [clean] Error 1 (ignored)
rm rst/playbooks_directives.rst
rm: cannot remove ‘rst/playbooks_directives.rst’: No such file or directory
Makefile:47: recipe for target ‘clean’ failed
make[1]: [clean] Error 1 (ignored)
rm rst/plugins//.rst
rm: cannot remove ‘rst/plugins//.rst’: No such file or directory
Makefile:47: recipe for target ‘clean’ failed
make[1]: [clean] Error 1 (ignored)
rm rst/reference_appendices/config.rst
rm: cannot remove ‘rst/reference_appendices/config.rst’: No such file or directory
Makefile:47: recipe for target ‘clean’ failed
make[1]: [clean] Error 1 (ignored)
rm rst/reference_appendices/playbooks_keywords.rst
rm: cannot remove ‘rst/reference_appendices/playbooks_keywords.rst’: No such file or directory
Makefile:47: recipe for target ‘clean’ failed
make[1]: [clean] Error 1 (ignored)
make[1]: Leaving directory ‘/home/my-user/workspace_oxygen_python/ansible/docs/docsite’
make -C docs/api clean
make[1]: Entering directory ‘/home/my-user/workspace_oxygen_python/ansible/docs/api’
rm -rf build/
__rm -rf rst/.rst
make[1]: Leaving directory ‘/home/my-user/workspace_oxygen_python/ansible/docs/api’
*mkdir -p ./docs/man/man1/ ; *
PYTHONPATH=./lib docs/bin/generate_man.py --template-file=docs/templates/man.j2 --output-dir=docs/man/man1/ --output-format man lib/ansible/cli/*.py
Wrote doc to /home/my-user/workspace_oxygen_python/ansible/docs/man/man1/ansible-pull.1.asciidoc.in
Wrote doc to /home/my-user/workspace_oxygen_python/ansible/docs/man/man1/ansible-console.1.asciidoc.in
Wrote doc to /home/my-user/workspace_oxygen_python/ansible/docs/man/man1/ansible-doc.1.asciidoc.in
Wrote doc to /home/my-user/workspace_oxygen_python/ansible/docs/man/man1/ansible.1.asciidoc.in
Wrote doc to /home/my-user/workspace_oxygen_python/ansible/docs/man/man1/ansible-inventory.1.asciidoc.in
Wrote doc to /home/my-user/workspace_oxygen_python/ansible/docs/man/man1/ansible-vault.1.asciidoc.in
Wrote doc to /home/my-user/workspace_oxygen_python/ansible/docs/man/man1/ansible-config.1.asciidoc.in
Wrote doc to /home/my-user/workspace_oxygen_python/ansible/docs/man/man1/ansible-galaxy.1.asciidoc.in
Wrote doc to /home/my-user/workspace_oxygen_python/ansible/docs/man/man1/ansible-playbook.1.asciidoc.in
make ./docs/man/man1/ansible-vault.1 ./docs/man/man1/ansible.1 ./docs/man/man1/ansible-playbook.1 ./docs/man/man1/ansible-config.1 ./docs/man/man1/ansible-inventory.1 ./docs/man/man1/ansible-console.1 ./docs/man/man1/ansible-doc.1 ./docs/man/man1/ansible-pull.1 ./docs/man/man1/ansible-galaxy.1
make[1]: Entering directory ‘/home/my-user/workspace_oxygen_python/ansible’
sed “s/%VERSION%/2.6.0/” docs/man/man1/ansible-vault.1.asciidoc.in > docs/man/man1/ansible-vault.1.asciidoc
ERROR: AsciiDoc ‘a2x’ command is not installed but is required to build ./docs/man/man1/ansible-vault.1 ./docs/man/man1/ansible.1 ./docs/man/man1/ansible-playbook.1 ./docs/man/man1/ansible-config.1 ./docs/man/man1/ansible-inventory.1 ./docs/man/man1/ansible-console.1 ./docs/man/man1/ansible-doc.1 ./docs/man/man1/ansible-pull.1 ./docs/man/man1/ansible-galaxy.1
Makefile:151: recipe for target ‘docs/man/man1/ansible-vault.1’ failed
make[1]: *** [docs/man/man1/ansible-vault.1] Error 1
rm docs/man/man1/ansible-vault.1.asciidoc
make[1]: Leaving directory ‘/home/my-user/workspace_oxygen_python/ansible’
Makefile:355: recipe for target ‘docs’ failed
make: *** [docs] Error 2
I think I get an error. What am I doing wrong?