# Cannot build 2.0.1.0 with dpkg-buildpackage

**URL:** <https://forum.ansible.com/t/cannot-build-2-0-1-0-with-dpkg-buildpackage/20783>\
**Category:** Ansible Developer\
**Tags:** ubuntu\
**Created:** [March 5, 2016, 6:07pm UTC](https://forum.ansible.com/t/cannot-build-2-0-1-0-with-dpkg-buildpackage/20783 "2016-03-05T18:07:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![actionmystique](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/actionmystique/32/1678_2.png) [@actionmystique](https://forum.ansible.com/u/actionmystique)\
**Post date:** [March 5, 2016, 6:07pm UTC](https://forum.ansible.com/t/cannot-build-2-0-1-0-with-dpkg-buildpackage/20783/1 "2016-03-05T18:07:00Z")

</div>

On Linux samsung-ubuntu 4.2.0-30-generic #36-Ubuntu SMP Fri Feb 26 00:58:07 UTC 2016 x86\_64 GNU/Linux  
With commit bb6cadefa2d68ed2a668fba14dc027947e043ae5

I copied packaging/debian under sources root folder and removed first 3 lines of changelog.  
Then as root:

dpkg-buildpackage -m"Jean-Christophe Manciot [manciot.jeanchristophe@gmail.com](mailto:manciot.jeanchristophe@gmail.com)"

…

dh\_install -pansible  
dh\_install: ansible missing files (docs/man/man1/\*.1), aborting  
/usr/share/cdbs/1/rules/debhelper.mk:213: recipe for target ‘binary-install/ansible’ failed  
make: \*\*\* [binary-install/ansible] Error 255  
dpkg-buildpackage: error: debian/rules binary gave error exit status 2

…which is strange because the files are there!

The whole log is attached.

Any suggestion?

> **(attachments)**
>
> [dpkg-buildpackage.log](https://forum.ansible.com/uploads/short-url/hJpd15oTDWGCBWcMiLeeHSJOlZk.log) (355 KB)

---

<div class="post-metadata">

**Author:** ![actionmystique](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/actionmystique/32/1678_2.png) [@actionmystique](https://forum.ansible.com/u/actionmystique)\
**Post date:** [March 7, 2016, 3:22pm UTC](https://forum.ansible.com/t/cannot-build-2-0-1-0-with-dpkg-buildpackage/20783/2 "2016-03-07T15:22:55Z")

</div>

Correction: the folder is there, but the expected “\*.1” are named differently:

git-ansible/docs/man/man1# ll  
total 56  
drwxrwxr-x 2 actionmystique actionmystique 4096 Mar 5 15:53 ./  
drwxrwxr-x 4 actionmystique actionmystique 4096 Mar 1 17:38 …/  
-rw-rw-r-- 1 actionmystique actionmystique 6650 Mar 5 15:53 ansible.1.asciidoc.in  
-rw-rw-r-- 1 actionmystique actionmystique 1869 Mar 1 17:38 ansible-doc.1.asciidoc.in  
-rw-rw-r-- 1 actionmystique actionmystique 8516 Mar 1 17:38 ansible-galaxy.1.asciidoc.in  
-rw-rw-r-- 1 actionmystique actionmystique 6133 Mar 5 15:53 ansible-playbook.1.asciidoc.in  
-rw-rw-r-- 1 actionmystique actionmystique 5982 Mar 1 17:38 ansible-pull.1.asciidoc.in  
-rw-rw-r-- 1 actionmystique actionmystique 4971 Mar 1 17:38 ansible-vault.1.asciidoc.in

---

<div class="post-metadata">

**Author:** ![actionmystique](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/actionmystique/32/1678_2.png) [@actionmystique](https://forum.ansible.com/u/actionmystique)\
**Post date:** [March 9, 2016, 7:21am UTC](https://forum.ansible.com/t/cannot-build-2-0-1-0-with-dpkg-buildpackage/20783/3 "2016-03-09T07:21:26Z")

</div>

> The packaging/debian/changelog has been changed, but not for the best: the last releases have disappeared.

`

ansible (%VERSION%-%RELEASE%~%DIST%) %DIST%; urgency=low

- %VERSION% release

– Ansible, Inc. [support@ansible.com](mailto:support@ansible.com) %DATE%

ansible (1.9.4) unstable; urgency=low

- 1.9.4

– Ansible, Inc. [support@ansible.com](mailto:support@ansible.com) Fri, 09 Oct 2015 15:00:00 -0500

ansible (1.9.3) unstable; urgency=low

- 1.9.3

– Ansible, Inc. [support@ansible.com](mailto:support@ansible.com) Thu, 03 Sep 2015 18:30:00 -0500  
…

`
