# make rpm error

**URL:** <https://forum.ansible.com/t/make-rpm-error/12505>\
**Category:** Ansible Project\
**Created:** [March 15, 2013, 2:06am UTC](https://forum.ansible.com/t/make-rpm-error/12505 "2013-03-15T02:06:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kavin](https://avatars.discourse-cdn.com/v4/letter/k/ba8739/32.png) [@Kavin](https://forum.ansible.com/u/Kavin)\
**Post date:** [March 15, 2013, 2:06am UTC](https://forum.ansible.com/t/make-rpm-error/12505/1 "2013-03-15T02:06:54Z")

</div>

Hi,

In the latest version when i try make rpm , i get this error, Wondering if anyone else is seeing that.

[kk@s1 ansible]$ sudo make rpm  
Cleaning up distutils stuff  
rm -rf build  
rm -rf dist  
Cleaning up byte compiled python stuff  
find . -type f -regex “._.py[co]$" -delete  
Cleaning up editor backup files  
find . -type f ( -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  
Cleaning up output from test runs  
rm -rf test/test\_data  
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  
PYTHONPATH=./lib python hacking/module\_formatter.py -A 1.1 -t man -o docs/man/man3/ --module-dir=library --template-dir=hacking/templates  
processing module source —\> library/add\_host  
Traceback (most recent call last):  
File “hacking/module\_formatter.py”, line 347, in   
main()  
File “hacking/module\_formatter.py”, line 299, in main  
doc, examples = ansible.utils.module\_docs.get\_docstring(fname, verbose=options.verbose)  
ValueError: too many values to unpack  
make: \*\*\* [modulepages] Error 1

Regards,–  
Kavin Kankeshwar

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan2](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Post date:** [March 15, 2013, 2:13am UTC](https://forum.ansible.com/t/make-rpm-error/12505/2 "2013-03-15T02:13:51Z")

</div>

You might be running half out of source and have not.

source ./hacking/env-setup before building the RPM to make sure?

--Michael

---

<div class="post-metadata">

**Author:** ![Kavin](https://avatars.discourse-cdn.com/v4/letter/k/ba8739/32.png) [@Kavin](https://forum.ansible.com/u/Kavin)\
**Post date:** [March 15, 2013, 2:26am UTC](https://forum.ansible.com/t/make-rpm-error/12505/3 "2013-03-15T02:26:57Z")

</div>

Wierd, on a clean machine it works, But on this one it does not. tried source did not help…  
Anyways , its ok I guess. just my environment maybe. Sorry!

Regards,–  
Kavin Kankeshwar
