[ovs-discuss] Building the Debian package

Thiago Camargo Martins Cordeiro thiagocmartinsc at gmail.com
Thu Jan 28 15:51:34 UTC 2010


Hi Justin!

 I'm the maintainer of the new Xen Live CD v2.0, it is a Debian Lenny
without any patches. But now I'm planning for the next release version, the
inclusion of the openvswitch, so, I really need the Debian packages to make
the system more standard.

 I read the page http://tinyurl.com/ydmeyvf and I manually patched the
openvswitch-0.90.7/Makefile.am and openvswitch-0.90.7/extras/ezio/
automake.mk but the issue persist.

# dpkg-buildpackage -uc -us
---- cutted ---
==================
All 9 tests passed
==================
make[3]: Leaving directory
`/home/xenbuilder/openvswitch/stable/openvswitch-0.90.7/_debian'
make[2]: Leaving directory
`/home/xenbuilder/openvswitch/stable/openvswitch-0.90.7/_debian'
make[1]: Leaving directory
`/home/xenbuilder/openvswitch/stable/openvswitch-0.90.7/_debian'
touch build-arch-stamp
/usr/bin/make -C _debian dist distdir=openvswitch
make[1]: Entering directory
`/home/xenbuilder/openvswitch/stable/openvswitch-0.90.7/_debian'
make[1]: *** No rule to make target `extras/ezio/ezio3.ti', needed by
`distdir'.  Stop.
make[1]: Leaving directory
`/home/xenbuilder/openvswitch/stable/openvswitch-0.90.7/_debian'
make: *** [build-indep-stamp] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2

 With the command "make -f debian/rules binary" instead the
dpkg-buildpackage, I see:

# make -f debian/rules binary

--- cutted ---
make  install-data-hook
make[4]: Entering directory
`/home/xenbuilder/openvswitch/stable/openvswitch-0.90.7/_debian'
tic -x ../extras/ezio/ezio3.ti
tic: Can't open ../extras/ezio/ezio3.ti
-----------------------------------------------------------
Failed to install ezio3 terminfo file.  The ezio-term
program will not work until it has been installed.
Probably, you need to install the 'tic' program from
ncurses, e.g. using a command like:
  apt-get install ncurses-bin
and then re-run "make install"
-----------------------------------------------------------
make[4]: *** [install-data-hook] Error 1
make[4]: Leaving directory
`/home/xenbuilder/openvswitch/stable/openvswitch-0.90.7/_debian'
make[3]: *** [install-data-am] Error 2
make[3]: Leaving directory
`/home/xenbuilder/openvswitch/stable/openvswitch-0.90.7/_debian'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory
`/home/xenbuilder/openvswitch/stable/openvswitch-0.90.7/_debian'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory
`/home/xenbuilder/openvswitch/stable/openvswitch-0.90.7/_debian'
make: *** [install-arch] Error 2

 Don't I need to run some autotools or automake commands after changing the
Makefile.am?!

Thanks!
Thiago

On 28 January 2010 03:00, Justin Pettit <jpettit at nicira.com> wrote:

> Ah, yes.  This was mentioned in the following post in ovs-dev:
>
>
> http://openvswitch.org/pipermail/dev_openvswitch.org/2009-December/000723.html
>
> If you're comfortable with patches, you could try the following:
>
>        http://tinyurl.com/ydmeyvf
>
> Alternatively, you could pull the latest directly from our git repository
> from "citrix" branch or we can spin a new tarball.  We weren't planning on
> doing any more releases from the "citrix" branch, but people seem to stumble
> on this enough that it may be worth it.  What's your preference?
>
> --Justin
>
>
> On Jan 27, 2010, at 8:48 PM, Thiago Camargo Martins Cordeiro wrote:
>
> > Hi!
> >
> >  I'm trying to build the Debian packages but I can't, look:
> >
> > admin at buildhost:~/openvswitch/stable/openvswitch-0.90.7$ sudo
> dpkg-buildpackage -uc -us
> > ..... cutted .....
> > ==================
> > All 9 tests passed
> > ==================
> > make[3]: Leaving directory
> `/home/xenbuilder/openvswitch/stable/openvswitch-0.90.7/_debian'
> > make[2]: Leaving directory
> `/home/xenbuilder/openvswitch/stable/openvswitch-0.90.7/_debian'
> > make[1]: Leaving directory
> `/home/xenbuilder/openvswitch/stable/openvswitch-0.90.7/_debian'
> > touch build-arch-stamp
> > /usr/bin/make -C _debian dist distdir=openvswitch
> > make[1]: Entering directory
> `/home/xenbuilder/openvswitch/stable/openvswitch-0.90.7/_debian'
> > make[1]: *** No rule to make target `extras/ezio/ezio3.ti', needed by
> `distdir'.  Stop.
> > make[1]: Leaving directory
> `/home/xenbuilder/openvswitch/stable/openvswitch-0.90.7/_debian'
> > make: *** [build-indep-stamp] Error 2
> > dpkg-buildpackage: failure: debian/rules build gave error exit status 2
> >
> >  Thanks in advance!
> >
> > Cheers!
> > Thiago
> > _______________________________________________
> > discuss mailing list
> > discuss at openvswitch.org
> > http://openvswitch.org/mailman/listinfo/discuss_openvswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20100128/05061b2c/attachment-0002.html>


More information about the discuss mailing list