diff mbox series

[ovs-dev] travis: Fix OSX build on travis

Message ID 1508776751-38221-1-git-send-email-u9012063@gmail.com
State Accepted
Headers show
Series [ovs-dev] travis: Fix OSX build on travis | expand

Commit Message

William Tu Oct. 23, 2017, 4:39 p.m. UTC
Run "brew update" before any installs.
This yields a clean build:
	https://travis-ci.org/williamtu/ovs-travis/builds/291616874

Signed-off-by: William Tu <u9012063@gmail.com>
Cc: Yi-Hung Wei <yihung.wei@gmail.com>
---
 .travis/osx-prepare.sh | 1 +
 1 file changed, 1 insertion(+)

Comments

Yi-Hung Wei Oct. 23, 2017, 5:32 p.m. UTC | #1
Acked-by: Yi-Hung Wei <yihung.wei@gmail.com>

On Mon, Oct 23, 2017 at 9:39 AM, William Tu <u9012063@gmail.com> wrote:
> Run "brew update" before any installs.
> This yields a clean build:
>         https://travis-ci.org/williamtu/ovs-travis/builds/291616874
>
> Signed-off-by: William Tu <u9012063@gmail.com>
> Cc: Yi-Hung Wei <yihung.wei@gmail.com>
> ---
>  .travis/osx-prepare.sh | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/.travis/osx-prepare.sh b/.travis/osx-prepare.sh
> index 25a65e26090a..1f144fb41066 100755
> --- a/.travis/osx-prepare.sh
> +++ b/.travis/osx-prepare.sh
> @@ -3,4 +3,5 @@ set -ev
>  pip install --user six
>  pip install --user --upgrade docutils
>
> +brew update || true
>  brew uninstall libtool && brew install libtool || true
> --
> 2.7.4
>
Gurucharan Shetty Oct. 23, 2017, 7:40 p.m. UTC | #2
On 23 October 2017 at 09:39, William Tu <u9012063@gmail.com> wrote:

> Run "brew update" before any installs.
> This yields a clean build:
>         https://travis-ci.org/williamtu/ovs-travis/builds/291616874
>
> Signed-off-by: William Tu <u9012063@gmail.com>
> Cc: Yi-Hung Wei <yihung.wei@gmail.com>
>

Applied to master, thanks!


> ---
>  .travis/osx-prepare.sh | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/.travis/osx-prepare.sh b/.travis/osx-prepare.sh
> index 25a65e26090a..1f144fb41066 100755
> --- a/.travis/osx-prepare.sh
> +++ b/.travis/osx-prepare.sh
> @@ -3,4 +3,5 @@ set -ev
>  pip install --user six
>  pip install --user --upgrade docutils
>
> +brew update || true
>  brew uninstall libtool && brew install libtool || true
> --
> 2.7.4
>
> _______________________________________________
> dev mailing list
> dev@openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
>
Yi-Hung Wei Nov. 1, 2017, 12:16 a.m. UTC | #3
On Mon, Oct 23, 2017 at 12:40 PM, Guru Shetty <guru@ovn.org> wrote:
> On 23 October 2017 at 09:39, William Tu <u9012063@gmail.com> wrote:
>
>> Run "brew update" before any installs.
>> This yields a clean build:
>>         https://travis-ci.org/williamtu/ovs-travis/builds/291616874
>>
>> Signed-off-by: William Tu <u9012063@gmail.com>
>> Cc: Yi-Hung Wei <yihung.wei@gmail.com>
>>
>
> Applied to master, thanks!

Hi Guru,

Can you help to cherry pick this fix to older branchs? We have similar
errors in MAC OSX build on other older branches.

ex: https://travis-ci.org/openvswitch/ovs/jobs/295462097 (branch 2.7)
https://travis-ci.org/openvswitch/ovs/builds/295482886 (branch 2.8)

Thanks,

-Yi-Hung
Ben Pfaff Nov. 1, 2017, 3:34 p.m. UTC | #4
On Tue, Oct 31, 2017 at 05:16:59PM -0700, Yi-Hung Wei wrote:
> On Mon, Oct 23, 2017 at 12:40 PM, Guru Shetty <guru@ovn.org> wrote:
> > On 23 October 2017 at 09:39, William Tu <u9012063@gmail.com> wrote:
> >
> >> Run "brew update" before any installs.
> >> This yields a clean build:
> >>         https://travis-ci.org/williamtu/ovs-travis/builds/291616874
> >>
> >> Signed-off-by: William Tu <u9012063@gmail.com>
> >> Cc: Yi-Hung Wei <yihung.wei@gmail.com>
> >>
> >
> > Applied to master, thanks!
> 
> Hi Guru,
> 
> Can you help to cherry pick this fix to older branchs? We have similar
> errors in MAC OSX build on other older branches.
> 
> ex: https://travis-ci.org/openvswitch/ovs/jobs/295462097 (branch 2.7)
> https://travis-ci.org/openvswitch/ovs/builds/295482886 (branch 2.8)

It was easy, so I backported this as far as branch-2.6.
diff mbox series

Patch

diff --git a/.travis/osx-prepare.sh b/.travis/osx-prepare.sh
index 25a65e26090a..1f144fb41066 100755
--- a/.travis/osx-prepare.sh
+++ b/.travis/osx-prepare.sh
@@ -3,4 +3,5 @@  set -ev
 pip install --user six
 pip install --user --upgrade docutils
 
+brew update || true
 brew uninstall libtool && brew install libtool || true