# Ansible 0.9 make rpm errors out

**URL:** <https://forum.ansible.com/t/ansible-0-9-make-rpm-errors-out/12040>\
**Category:** Ansible Project\
**Created:** [October 27, 2012, 12:17am UTC](https://forum.ansible.com/t/ansible-0-9-make-rpm-errors-out/12040 "2012-10-27T00:17:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zack\_Perry](https://avatars.discourse-cdn.com/v4/letter/z/54ee81/32.png) [@Zack\_Perry](https://forum.ansible.com/u/Zack_Perry)\
**Post date:** [October 27, 2012, 12:17am UTC](https://forum.ansible.com/t/ansible-0-9-make-rpm-errors-out/12040/1 "2012-10-27T00:17:31Z")

</div>

While trying to use make rpm to create a rpm for the latest ansible devel 0.9 for testing on a Scientific Linux 6.3 node, I got two errors:

1. asciidoc package is requried to get the a2x command. But this is not explicitly listed in the [requirements](http://ansible.cc/docs/gettingstarted.html#requirements).
2. make rpm fails with the error: error: package directory ‘lib/ansible/inventory/var\_plugins’ does not exist
3. is easy. 2. will take some time. I haven’t done packaging for a while. But if anyone has a hint ready, I would appreciate it.

Regards,

– Zack

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Post date:** [October 27, 2012, 12:20am UTC](https://forum.ansible.com/t/ansible-0-9-make-rpm-errors-out/12040/2 "2012-10-27T00:20:37Z")

</div>

just pushed a fix to the setup.py, "git pull --rebase"

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Post date:** [October 27, 2012, 12:21am UTC](https://forum.ansible.com/t/ansible-0-9-make-rpm-errors-out/12040/3 "2012-10-27T00:21:53Z")

</div>

> asciidoc package is requried to get the a2x command. But this is not  
> explicitly listed in the requirements.

Because it's not a requirement to run Ansible.

It's a requirement to run 'make rpm'

---

<div class="post-metadata">

**Author:** ![Zack\_Perry](https://avatars.discourse-cdn.com/v4/letter/z/54ee81/32.png) [@Zack\_Perry](https://forum.ansible.com/u/Zack_Perry)\
**Post date:** [October 27, 2012, 12:27am UTC](https://forum.ansible.com/t/ansible-0-9-make-rpm-errors-out/12040/4 "2012-10-27T00:27:59Z")

</div>

Got you! Thanks for the lightingly fast fix. I was just about to get in pdb!

Confirmed. The fix works. Thanks for the clarification too.

Will use SL 6.3 to test out the sudo issue. I am still seeing it. Once I am done, if necessary I will open an issue.

Regards,

– Zack
