make deb issue

101 views
Skip to first unread message

Diogene Laerce

unread,
Jul 14, 2014, 10:19:41 AM7/14/14
to ansible...@googlegroups.com
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

But I couldn't find why. Anyone ?

Thank you.

--
“One original thought is worth a thousand mindless quotings.”
“Le vrai n'est pas plus sûr que le probable.”

Diogene Laerce


signature.asc

Serge van Ginderachter

unread,
Jul 14, 2014, 10:21:38 AM7/14/14
to ansible...@googlegroups.com
Can you paste the errors you get when making deb?

Diogene Laerce

unread,
Jul 14, 2014, 10:26:54 AM7/14/14
to ansible...@googlegroups.com
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




On 07/14/2014 04:21 PM, Serge van Ginderachter wrote:
> Can you paste the errors you get when making deb?
>
>
> On 14 July 2014 16:18, 'Diogene Laerce' via Ansible Project
> <ansible...@googlegroups.com
> <mailto:ansible...@googlegroups.com>> wrote:
>
> 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
>
> But I couldn't find why. Anyone ?
>
> Thank you.
>
> --
> “One original thought is worth a thousand mindless quotings.”
> “Le vrai n'est pas plus sûr que le probable.”
>
> Diogene Laerce
>
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to ansible-proje...@googlegroups.com
> <mailto:ansible-proje...@googlegroups.com>.
> To post to this group, send email to ansible...@googlegroups.com
> <mailto:ansible...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/CAEhzMJAtL2LAbRSiNUeFEvKYr%3DDmDx42vFnH_yx0SuZJ5GbKAg%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CAEhzMJAtL2LAbRSiNUeFEvKYr%3DDmDx42vFnH_yx0SuZJ5GbKAg%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.
signature.asc

Serge van Ginderachter

unread,
Jul 14, 2014, 10:35:02 AM7/14/14
to ansible...@googlegroups.com
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

Diogene Laerce

unread,
Jul 14, 2014, 11:07:30 AM7/14/14
to ansible...@googlegroups.com
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 :

####################################################################

cat: VERSION: No such file or directory
fatal: Not a git repository (or any parent up to mount point /home)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Cleaning up distutils stuff

[...]

warning: no files found matching 'packaging/distutils/setup.py'
writing manifest file 'ansible.egg-info/SOURCES.txt'
warning: sdist: standard file not found: should have one of README,
README.rst, README.txt

###################################################################

Maybe it'll help, maybe not.

I downloaded the zip file from here :

https://github.com/ansible/ansible/archive/release1.6.6.zip

instead of here :

http://releases.ansible.com/ansible/ansible-latest.tar.gz

It works too, no error. So I guess it's definitely something wrong with
this special archive/url.





On 07/14/2014 04:34 PM, Serge van Ginderachter wrote:
> 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
>
>
> On 14 July 2014 16:25, 'Diogene Laerce' via Ansible Project
> <ansible...@googlegroups.com
> <mailto:ansible...@googlegroups.com>> wrote:
>
> 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
>
>
>
>
> On 07/14/2014 04:21 PM, Serge van Ginderachter wrote:
> > Can you paste the errors you get when making deb?
> >
> >
> > On 14 July 2014 16:18, 'Diogene Laerce' via Ansible Project
> > <ansible...@googlegroups.com
> <mailto:ansible...@googlegroups.com>
> > <mailto:ansible...@googlegroups.com
> <mailto:ansible...@googlegroups.com>>> wrote:
> >
> > 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
> >
> > But I couldn't find why. Anyone ?
> >
> > Thank you.
> >
> > --
> > “One original thought is worth a thousand mindless quotings.”
> > “Le vrai n'est pas plus sûr que le probable.”
> >
> > Diogene Laerce
> >
> >
> >
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Ansible Project" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> > an email to ansible-proje...@googlegroups.com
> <mailto:ansible-project%2Bunsu...@googlegroups.com>
> > <mailto:ansible-proje...@googlegroups.com
> <mailto:ansible-project%2Bunsu...@googlegroups.com>>.
> > To post to this group, send email to ansible...@googlegroups.com
> <mailto:ansible...@googlegroups.com>
> > <mailto:ansible...@googlegroups.com
> <mailto:ansible...@googlegroups.com>>.
> > To view this discussion on the web visit
> > https://groups.google.com/d/msgid/ansible-project/CAEhzMJAtL2LAbRSiNUeFEvKYr%3DDmDx42vFnH_yx0SuZJ5GbKAg%40mail.gmail.com
> > <https://groups.google.com/d/msgid/ansible-project/CAEhzMJAtL2LAbRSiNUeFEvKYr%3DDmDx42vFnH_yx0SuZJ5GbKAg%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> > For more options, visit https://groups.google.com/d/optout.
>
> --
> “One original thought is worth a thousand mindless quotings.”
> “Le vrai n'est pas plus sûr que le probable.”
>
> Diogene Laerce
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to ansible-proje...@googlegroups.com
> <mailto:ansible-proje...@googlegroups.com>.
> To post to this group, send email to ansible...@googlegroups.com
> <mailto:ansible...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/CAEhzMJAK%3D61T55-riJvj9bsJ_z408q1Px0pb%2BO22MXx%3DgNFtJA%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CAEhzMJAK%3D61T55-riJvj9bsJ_z408q1Px0pb%2BO22MXx%3DgNFtJA%40mail.gmail.com?utm_medium=email&utm_source=footer>.
signature.asc

Serge van Ginderachter

unread,
Jul 14, 2014, 12:20:10 PM7/14/14
to ansible...@googlegroups.com
I suspect the make deb was only tested from a git checkout. Sounds like a bug.

Diogene Laerce

unread,
Jul 14, 2014, 12:30:09 PM7/14/14
to ansible...@googlegroups.com
Do you have a protocol somewhere that I can read to submit ?
That's my first. :)



On 07/14/2014 06:19 PM, Serge van Ginderachter wrote:
> I suspect the make deb was only tested from a git checkout. Sounds like
> a bug.
>
>
> On 14 July 2014 17:06, 'Diogene Laerce' via Ansible Project
> <ansible...@googlegroups.com
> > <mailto:ansible-project%2Bunsu...@googlegroups.com
> <mailto:ansible-project%252Buns...@googlegroups.com>>
> > > <mailto:ansible-proje...@googlegroups.com
> <mailto:ansible-project%2Bunsu...@googlegroups.com>
> > <mailto:ansible-project%2Bunsu...@googlegroups.com
> <mailto:ansible-project%252Buns...@googlegroups.com>>>.
> > > To post to this group, send email to
> ansible...@googlegroups.com
> <mailto:ansible...@googlegroups.com>
> > <mailto:ansible...@googlegroups.com
> <mailto:ansible...@googlegroups.com>>
> <mailto:ansible...@googlegroups.com>>>.
> > > To view this discussion on the web visit
> > >
> https://groups.google.com/d/msgid/ansible-project/CAEhzMJAtL2LAbRSiNUeFEvKYr%3DDmDx42vFnH_yx0SuZJ5GbKAg%40mail.gmail.com
> > >
> <https://groups.google.com/d/msgid/ansible-project/CAEhzMJAtL2LAbRSiNUeFEvKYr%3DDmDx42vFnH_yx0SuZJ5GbKAg%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> > > For more options, visit https://groups.google.com/d/optout.
> >
> > --
> > “One original thought is worth a thousand mindless quotings.”
> > “Le vrai n'est pas plus sûr que le probable.”
> >
> > Diogene Laerce
> >
> >
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Ansible Project" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> > an email to ansible-proje...@googlegroups.com
> <mailto:ansible-project%2Bunsu...@googlegroups.com>
> > <mailto:ansible-proje...@googlegroups.com
> <mailto:ansible-project%2Bunsu...@googlegroups.com>>.
> > To post to this group, send email to
> ansible...@googlegroups.com
> <mailto:ansible...@googlegroups.com>
> > <mailto:ansible...@googlegroups.com
> <mailto:ansible...@googlegroups.com>>.
> > To view this discussion on the web visit
> >
> https://groups.google.com/d/msgid/ansible-project/CAEhzMJAK%3D61T55-riJvj9bsJ_z408q1Px0pb%2BO22MXx%3DgNFtJA%40mail.gmail.com
> >
> <https://groups.google.com/d/msgid/ansible-project/CAEhzMJAK%3D61T55-riJvj9bsJ_z408q1Px0pb%2BO22MXx%3DgNFtJA%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> > For more options, visit https://groups.google.com/d/optout.
>
> --
> “One original thought is worth a thousand mindless quotings.”
> “Le vrai n'est pas plus sûr que le probable.”
>
> Diogene Laerce
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to ansible-proje...@googlegroups.com
> <mailto:ansible-proje...@googlegroups.com>.
> To post to this group, send email to ansible...@googlegroups.com
> <mailto:ansible...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/CAEhzMJDJ-4JGdSPUkogkRAEqFoL_1ghCGoEJJEg6-2kcuTojRw%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CAEhzMJDJ-4JGdSPUkogkRAEqFoL_1ghCGoEJJEg6-2kcuTojRw%40mail.gmail.com?utm_medium=email&utm_source=footer>.
signature.asc

Serge van Ginderachter

unread,
Jul 14, 2014, 12:55:49 PM7/14/14
to ansible...@googlegroups.com

On 14 July 2014 18:28, 'Diogene Laerce' via Ansible Project <ansible...@googlegroups.com> wrote:
Do you have a protocol somewhere that I can read to submit ?
That's my first. :)


Diogene Laerce

unread,
Jul 14, 2014, 1:00:52 PM7/14/14
to ansible...@googlegroups.com

Thanks.


On 07/14/2014 06:55 PM, Serge van Ginderachter wrote:
>
> On 14 July 2014 18:28, 'Diogene Laerce' via Ansible Project
> <ansible...@googlegroups.com
> <mailto:ansible...@googlegroups.com>> wrote:
>
> Do you have a protocol somewhere that I can read to submit ?
> That's my first. :)
>
>
>
> ​https://github.com/ansible/ansible/blob/devel/CONTRIBUTING.md
>
> --
> You received this message because you are subscribed to the Google
> Groups "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to ansible-proje...@googlegroups.com
> <mailto:ansible-proje...@googlegroups.com>.
> To post to this group, send email to ansible...@googlegroups.com
> <mailto:ansible...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/CAEhzMJCpVDL%3Dqm8X1hbzt--qNVyr4VjCfnxGO5BQvwS_Frh9gA%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CAEhzMJCpVDL%3Dqm8X1hbzt--qNVyr4VjCfnxGO5BQvwS_Frh9gA%40mail.gmail.com?utm_medium=email&utm_source=footer>.
signature.asc
Reply all
Reply to author
Forward
0 new messages