You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by jf...@apache.org on 2013/06/21 21:42:25 UTC

git commit: Thrift-2057:Vagrant fails on php tests Client: build Patch: Jake Farrell

Updated Branches:
  refs/heads/master 0f0558ab1 -> 9753cde10


Thrift-2057:Vagrant fails on php tests
Client: build
Patch: Jake Farrell

Removes phpunit package and installs phpunit from pear


Project: http://git-wip-us.apache.org/repos/asf/thrift/repo
Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/9753cde1
Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/9753cde1
Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/9753cde1

Branch: refs/heads/master
Commit: 9753cde10d4b30ad45912842c374d0b7b4747a7e
Parents: 0f0558a
Author: jfarrell <jf...@apache.org>
Authored: Fri Jun 21 14:53:39 2013 -0500
Committer: jfarrell <jf...@apache.org>
Committed: Fri Jun 21 14:53:39 2013 -0500

----------------------------------------------------------------------
 contrib/Vagrantfile | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/thrift/blob/9753cde1/contrib/Vagrantfile
----------------------------------------------------------------------
diff --git a/contrib/Vagrantfile b/contrib/Vagrantfile
index cf54311..9a0ba94 100644
--- a/contrib/Vagrantfile
+++ b/contrib/Vagrantfile
@@ -28,12 +28,22 @@ sudo apt-get install -qq libboost-dev libboost-test-dev libboost-program-options
 sudo apt-get install -qq ant openjdk-7-jdk
 sudo apt-get install -qq python-all python-all-dev python-all-dbg
 sudo apt-get install -qq libbit-vector-perl
-sudo apt-get install -qq php5-dev php5-cli phpunit
+sudo apt-get install -qq php5-dev php5-cli 
 sudo apt-get install -qq libglib2.0-dev
 sudo apt-get install -qq git erlang-base erlang-eunit erlang-dev
 sudo apt-get install -qq mono-gmcs mono-devel libmono-system-web2.0-cil
 #sudo apt-get install -qq ghc6 cabal-install libghc6-binary-dev libghc6-network-dev libghc6-http-dev
 sudo apt-get install -qq mingw32 mingw32-binutils mingw32-runtime
+
+# PHPUnit package broken in ubuntu. see https://bugs.launchpad.net/ubuntu/+source/phpunit/+bug/701544
+sudo apt-get upgrade pear
+sudo pear channel-discover pear.phpunit.de
+sudo pear channel-discover pear.symfony.com
+sudo pear channel-discover components.ez.no
+sudo pear update-channels
+sudo pear upgrade-all
+sudo pear install --alldeps phpunit/PHPUnit
+
 echo I am building Apache Thrift ...
 cd /thrift
 sh bootstrap.sh