Re: [ovs-dev] [PATCH 1/3] rhel: fix 'cannot remove' build error

2015-09-18 Thread Ben Pfaff
Thanks, I see that now. On Fri, Sep 18, 2015 at 2:41 PM, Gurucharan Shetty wrote: > I sent a couple of separate patches, which got tested and I merged them. > > On Fri, Sep 18, 2015 at 2:31 PM, Ben Pfaff wrote: >> On Wed, Sep 16, 2015 at 09:15:23AM -0700, Gurucharan Shetty wrote: >>> So installi

Re: [ovs-dev] [PATCH 1/3] rhel: fix 'cannot remove' build error

2015-09-18 Thread Gurucharan Shetty
I sent a couple of separate patches, which got tested and I merged them. On Fri, Sep 18, 2015 at 2:31 PM, Ben Pfaff wrote: > On Wed, Sep 16, 2015 at 09:15:23AM -0700, Gurucharan Shetty wrote: >> So installing python 2.7 got rid of those errors and you ended up with >> the above. I only tested on

Re: [ovs-dev] [PATCH 1/3] rhel: fix 'cannot remove' build error

2015-09-18 Thread Ben Pfaff
On Wed, Sep 16, 2015 at 09:15:23AM -0700, Gurucharan Shetty wrote: > So installing python 2.7 got rid of those errors and you ended up with > the above. I only tested on the commit that changed python > requirements and that worked and I happily made an assumption that no > other commit breaks late

Re: [ovs-dev] [PATCH 1/3] rhel: fix 'cannot remove' build error

2015-09-16 Thread Gurucharan Shetty
On Tue, Sep 15, 2015 at 7:05 PM, Tashi Lu wrote: > Still the same error shown below. And i do have python2.7 installed and it > is the default $(python) > > % rpmbuild -bb --without check rhel/openvswitch.spec > . > . > . > Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.cqv4YQ > + umask 022 > + cd

Re: [ovs-dev] [PATCH 1/3] rhel: fix 'cannot remove' build error

2015-09-15 Thread Tashi Lu
Still the same error shown below. And i do have python2.7 installed and it is the default $(python) % rpmbuild -bb --without check rhel/openvswitch.spec . . . Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.cqv4YQ + umask 022 + cd /root/rpmbuild/BUILD + cd openvswitch-2.4.90 + unset DISPLAY + exit

Re: [ovs-dev] [PATCH 1/3] rhel: fix 'cannot remove' build error

2015-09-15 Thread Gurucharan Shetty
So it turns out that OVS master/OVS 2.4 depend on Python 2.7. Since Centos 6 comes with python 2.6.6, you have all the above problems. If you upgrade CentOS's python version, you will be able to build the RPMs. So on that respect, can you add the following patch to ovs sources and check whether yo

Re: [ovs-dev] [PATCH 1/3] rhel: fix 'cannot remove' build error

2015-09-15 Thread Gurucharan Shetty
Never mind. I see the errors on Centos 6.5 and openvswitch master branch. Let me look at your patches. On Tue, Sep 15, 2015 at 12:43 PM, Gurucharan Shetty wrote: > The only reason I ask is because we have had successful RHEL rpm > builds for a long time now. I have atleast tested it upto Centos 6

Re: [ovs-dev] [PATCH 1/3] rhel: fix 'cannot remove' build error

2015-09-15 Thread Gurucharan Shetty
The only reason I ask is because we have had successful RHEL rpm builds for a long time now. I have atleast tested it upto Centos 6.5 with OVS 2.3. Do you see problems with OVS 2.3 too?. I also have a internal system that builds a RHEL 7 rpm for every OVS commit and they have been building just fin

Re: [ovs-dev] [PATCH 1/3] rhel: fix 'cannot remove' build error

2015-09-15 Thread Tashi Lu
Only tested on several CentOS 6.6 boxes. Is this distro version relevant? These missing files, including the ones in the 2nd patch, are really confusing to me. blp cross referenced the better maintained fedora build spec, and those files are excluded. Why are these binaries not built and distribute

Re: [ovs-dev] [PATCH 1/3] rhel: fix 'cannot remove' build error

2015-09-15 Thread Gurucharan Shetty
On Tue, Sep 15, 2015 at 10:43 AM, Tashi Lu wrote: > From 338df1bfb07f7b0f16037aa0bbb8fe5dba6aa005 Mon Sep 17 00:00:00 2001 > From: dotSlashLu > Date: Fri, 4 Sep 2015 21:38:13 +0800 > Subject: [PATCH 1/3] rhel: fix 'cannot remove' build error > > These 3 patches are for fixing several rpm build er

[ovs-dev] [PATCH 1/3] rhel: fix 'cannot remove' build error

2015-09-15 Thread Tashi Lu
From 338df1bfb07f7b0f16037aa0bbb8fe5dba6aa005 Mon Sep 17 00:00:00 2001 From: dotSlashLu Date: Fri, 4 Sep 2015 21:38:13 +0800 Subject: [PATCH 1/3] rhel: fix 'cannot remove' build error These 3 patches are for fixing several rpm build errors on CentOS 6.x, see https://github.com/openvswitch/ovs/pul