On 07/19/2011 07:59 PM, Ben Pfaff wrote:
On Tue, Jul 19, 2011 at 07:48:40PM +0200, S?bastien RICCIO wrote:
On 07/19/2011 07:40 PM, Ben Pfaff wrote:
It's really strange that you don't have a file
_debian/utilities/bugtool/ovs-bugtool.  It should be getting built.
Maybe it is getting built in the source directory instead, somehow:
does utilities/bugtool/ovs-bugtool exist?

You're right, it's in the source directory, not in the _debian subdir.
I've used the ./debian/openvswitch/usr/sbin/ovs-bugtool, is that bad ?
It should have the same contents, so it should be fine.  Your
suggested fix may in fact be a better way to do it anyway.  I'm just
trying to learn why the file is not also in _debian where I'd expect
to see it.

If you delete utilities/bugtool/ovs-bugtool and then run "make" in the
_debian directory, does it get recreated at the top level or under
_debian?

Thanks,

Ben.


It builds it in the _debian dir:

root@xen-blade13:/usr/src/openvswitch.last/_debian# make
make  all-recursive
make[1]: Entering directory `/usr/src/openvswitch.last/_debian'
Making all in datapath
make[2]: Entering directory `/usr/src/openvswitch.last/_debian/datapath'
make[3]: Entering directory `/usr/src/openvswitch.last/_debian/datapath'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/usr/src/openvswitch.last/_debian/datapath'
make[2]: Leaving directory `/usr/src/openvswitch.last/_debian/datapath'
make[2]: Entering directory `/usr/src/openvswitch.last/_debian'
/usr/bin/perl ../soexpand.pl -I.. < ../utilities/bugtool/ovs-bugtool.in | \
        sed \
        -e 's,[@]PKIDIR[@],/usr/share/openvswitch/pki,g' \
                -e 's,[@]LOGDIR[@],/var/log/openvswitch,g' \
                -e 's,[@]PERL[@],/usr/bin/perl,g' \
                -e 's,[@]PYTHON[@],/usr/bin/python,g' \
                -e 's,[@]RUNDIR[@],/var/run/openvswitch,g' \
                -e 's,[@]VERSION[@],1.1.0,g' \
                -e 's,[@]BUILDNR[@],0,g' \
                -e 's,[@]localstatedir[@],/var,g' \
                -e 's,[@]pkgdatadir[@],/usr/share/openvswitch,g' \
                -e 's,[@]sysconfdir[@],/etc,g' \
                -e 's,[@]bindir[@],/usr/bin,g' \
                -e 's,[@]sbindir[@],/usr/sbin,g' \
-e 's,[@]abs_top_srcdir[@],/usr/src/openvswitch.last/_debian/..,g' \ -e 's,[@]ovsdbmonitordir[@],/usr/share/openvswitch/ovsdbmonitor,g' \
utilities/bugtool/ovs-bugtool.tmp
chmod +x utilities/bugtool/ovs-bugtool.tmp
mv utilities/bugtool/ovs-bugtool.tmp utilities/bugtool/ovs-bugtool
make[3]: Entering directory `/usr/src/openvswitch.last/_debian/datapath'
make[3]: `distfiles' is up to date.
make[3]: Leaving directory `/usr/src/openvswitch.last/_debian/datapath'
make[2]: Leaving directory `/usr/src/openvswitch.last/_debian'
make[1]: Leaving directory `/usr/src/openvswitch.last/_debian'

root@xen-blade13:/usr/src/openvswitch.last/_debian# ls -la utilities/bugtool/ovs-bugtool
-rwxr-xr-x 1 root root 42032 Jul 19 20:21 utilities/bugtool/ovs-bugtool

Cheers,
Sébastien

_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to