# make deb issue

**URL:** <https://forum.ansible.com/t/make-deb-issue/15664>\
**Category:** Ansible Project\
**Created:** [July 14, 2014, 2:18pm UTC](https://forum.ansible.com/t/make-deb-issue/15664 "2014-07-14T14:18:31Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Diogene\_Laerce](https://avatars.discourse-cdn.com/v4/letter/d/958977/32.png) [@Diogene\_Laerce](https://forum.ansible.com/u/Diogene_Laerce)\
**Post date:** [July 14, 2014, 2:18pm UTC](https://forum.ansible.com/t/make-deb-issue/15664/1 "2014-07-14T14:18:31Z")

</div>

Hi,

I try to make a deb package from the sources and when it works  
fine with the git repository (dev version), yet it doesn't with the latest  
version 1.6.6.

I ran a diff here : [http://pastebin.com/c9WKEkVB](http://pastebin.com/c9WKEkVB)

But I couldn't find why. Anyone ?

Thank you.

---

<div class="post-metadata">

**Author:** ![Serge\_van\_Ginderacht](https://avatars.discourse-cdn.com/v4/letter/s/b782af/32.png) [@Serge\_van\_Ginderacht](https://forum.ansible.com/u/Serge_van_Ginderacht)\
**Post date:** [July 14, 2014, 2:21pm UTC](https://forum.ansible.com/t/make-deb-issue/15664/2 "2014-07-14T14:21:14Z")

</div>

Can you paste the errors you get when making deb?

---

<div class="post-metadata">

**Author:** ![Diogene\_Laerce](https://avatars.discourse-cdn.com/v4/letter/d/958977/32.png) [@Diogene\_Laerce](https://forum.ansible.com/u/Diogene_Laerce)\
**Post date:** [July 14, 2014, 2:25pm UTC](https://forum.ansible.com/t/make-deb-issue/15664/3 "2014-07-14T14:25:53Z")

</div>

It seems that the archive name is not defined :

[hard-linking process]  
...  
copying setup.cfg -\> ansible-1.6.6  
Writing ansible-1.6.6/setup.cfg  
creating dist  
Creating tar archive  
removing 'ansible-1.6.6' (and everything under it)  
tar: dist/ansible-.tar.gz: Cannot open: No such file or directory  
tar: Error is not recoverable: exiting now  
cp: cannot stat `packaging/debian': No such file or directory  
sed: can't read deb-build/unstable/ansible-/debian/changelog: No such  
file or directory  
make: \*\*\* [debian] Error 2

---

<div class="post-metadata">

**Author:** ![Serge\_van\_Ginderacht](https://avatars.discourse-cdn.com/v4/letter/s/b782af/32.png) [@Serge\_van\_Ginderacht](https://forum.ansible.com/u/Serge_van_Ginderacht)\
**Post date:** [July 14, 2014, 2:34pm UTC](https://forum.ansible.com/t/make-deb-issue/15664/4 "2014-07-14T14:34:38Z")

</div>

Can’t reproduce that.

Could you try cleaning up some dirs manually, then retrying:

debian/

deb-dist/

build/

or starting from a clean checkout

Serge

---

<div class="post-metadata">

**Author:** ![Diogene\_Laerce](https://avatars.discourse-cdn.com/v4/letter/d/958977/32.png) [@Diogene\_Laerce](https://forum.ansible.com/u/Diogene_Laerce)\
**Post date:** [July 14, 2014, 3:06pm UTC](https://forum.ansible.com/t/make-deb-issue/15664/5 "2014-07-14T15:06:20Z")

</div>

Actually it was (and just did again) a clean checkout :

1 - download archive  
2 - untar  
3 - cd to dir  
4 - make deb  
5 - same error

I maybe do something wrong but I don't know what, if I. And there's no  
problem at all with the dev repo version.

I did find some other errors at the beginning of the process :

---

<div class="post-metadata">

**Author:** ![Serge\_van\_Ginderacht](https://avatars.discourse-cdn.com/v4/letter/s/b782af/32.png) [@Serge\_van\_Ginderacht](https://forum.ansible.com/u/Serge_van_Ginderacht)\
**Post date:** [July 14, 2014, 4:19pm UTC](https://forum.ansible.com/t/make-deb-issue/15664/6 "2014-07-14T16:19:45Z")

</div>

I suspect the make deb was only tested from a git checkout. Sounds like a bug.

---

<div class="post-metadata">

**Author:** ![Diogene\_Laerce](https://avatars.discourse-cdn.com/v4/letter/d/958977/32.png) [@Diogene\_Laerce](https://forum.ansible.com/u/Diogene_Laerce)\
**Post date:** [July 14, 2014, 4:28pm UTC](https://forum.ansible.com/t/make-deb-issue/15664/7 "2014-07-14T16:28:58Z")

</div>

Do you have a protocol somewhere that I can read to submit ?  
That's my first. 🙂

---

<div class="post-metadata">

**Author:** ![Serge\_van\_Ginderacht](https://avatars.discourse-cdn.com/v4/letter/s/b782af/32.png) [@Serge\_van\_Ginderacht](https://forum.ansible.com/u/Serge_van_Ginderacht)\
**Post date:** [July 14, 2014, 4:55pm UTC](https://forum.ansible.com/t/make-deb-issue/15664/8 "2014-07-14T16:55:25Z")

</div>

​[https://github.com/ansible/ansible/blob/devel/CONTRIBUTING.md​](https://github.com/ansible/ansible/blob/devel/CONTRIBUTING.md%E2%80%8B)

---

<div class="post-metadata">

**Author:** ![Diogene\_Laerce](https://avatars.discourse-cdn.com/v4/letter/d/958977/32.png) [@Diogene\_Laerce](https://forum.ansible.com/u/Diogene_Laerce)\
**Post date:** [July 14, 2014, 4:59pm UTC](https://forum.ansible.com/t/make-deb-issue/15664/9 "2014-07-14T16:59:51Z")

</div>

Thanks.
