[Bug 68453] vagrant vagrant-vbguest plugin install fails on Mac OS X

2014-08-28 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=68453

Arthur Richards aricha...@wikimedia.org changed:

   What|Removed |Added

 CC||aricha...@wikimedia.org

--- Comment #15 from Arthur Richards aricha...@wikimedia.org ---
I ran into a similar problem with a clean install on OS X 10.9.4. I finally got
it working by first installing libiconv from source, and then pointing nokogiri
to the libxml2 that came with XCode and telling nokogiri install to use system
libraries:

$ sudo /Applications/Vagrant/embedded/bin/gem install --install-dir
~/.vagrant.d/gems nokogiri -v '1.6.3.1' --
--with-xml2-include=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/libxml2
--use-system-libraries

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 68453] vagrant vagrant-vbguest plugin install fails on Mac OS X

2014-08-02 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=68453

Bryan Davis bda...@wikimedia.org changed:

   What|Removed |Added

   See Also||https://bugzilla.wikimedia.
   ||org/show_bug.cgi?id=69052

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 68453] vagrant vagrant-vbguest plugin install fails on Mac OS X

2014-07-24 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=68453

Bryan Davis bda...@wikimedia.org changed:

   What|Removed |Added

Summary|vagrant plugin install  |vagrant vagrant-vbguest
   |fails   |plugin install fails on Mac
   ||OS X

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 68453] vagrant vagrant-vbguest plugin install fails on Mac OS X

2014-07-24 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=68453

--- Comment #6 from Bernd Sitzmann bsitzm...@wikimedia.org ---
Thanks! I've updated both VirtualBox to the latest 4.3.14 and did the vagrant
git-update.

Still getting similar errors: http://pastebin.com/66fHgip8

Again Uncaught exception: Could not open extension
/usr/lib/hphp/extensions/20131007/luasandbox.so

There's no /usr/lib/hphp directory on my machine.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 68453] vagrant vagrant-vbguest plugin install fails on Mac OS X

2014-07-24 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=68453

--- Comment #7 from Bryan Davis bda...@wikimedia.org ---
(In reply to Bernd Sitzmann from comment #6)
 Thanks! I've updated both VirtualBox to the latest 4.3.14 and did the
 vagrant git-update.
 
 Still getting similar errors: http://pastebin.com/66fHgip8
 
 Again Uncaught exception: Could not open extension
 /usr/lib/hphp/extensions/20131007/luasandbox.so
 
 There's no /usr/lib/hphp directory on my machine.

Hmmm... was this an existing Vagrant guest VM that you are updating? If so you
may need to `vagrant destroy; vagrant up` to update the guest OS. Check the
output of `lsb_release -a` if you are not sure. MediaWiki-Vagrant is expecting
a Ubuntu 14.04 trusty base install on the VM. Although if that is the problem
I would expect many many more puppet failures.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 68453] vagrant vagrant-vbguest plugin install fails on Mac OS X

2014-07-24 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=68453

--- Comment #8 from Bernd Sitzmann bsitzm...@wikimedia.org ---
I think `vagrant destroy; vagrant up` helped. When I checked the existance of
the hphp directory I mistakenly checked on my host box. The file
/usr/lib/hphp/extensions/20140702/luasandbox.so actually exists in the guest
os.

vagrant@mediawiki-vagrant:~$ lsb_release -a
No LSB modules are available.
Distributor ID:Ubuntu
Description:Ubuntu 14.04.1 LTS
Release:14.04
Codename:trusty

Here's `vagrant reload --provision` with errors:
http://pastebin.com/RMMv65Yc

Still 503 on http://127.0.0.1:8080/

I think the problem is that I have
/usr/lib/hphp/extensions/20140702/luasandbox.so 
but hhvmsh is looking for /usr/lib/hphp/extensions/20131007/luasandbox.so
instead.

vagrant@mediawiki-vagrant:~$ hhvmsh
Uncaught exception: Could not open extension
/usr/lib/hphp/extensions/20131007/luasandbox.so:
/usr/lib/hphp/extensions/20131007/luasandbox.so: cannot open shared object
file: No such file or directory

What's the best way to correct this?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 68453] vagrant vagrant-vbguest plugin install fails on Mac OS X

2014-07-24 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=68453

--- Comment #9 from Bryan Davis bda...@wikimedia.org ---
(In reply to Bernd Sitzmann from comment #8)
 I think the problem is that I have
 /usr/lib/hphp/extensions/20140702/luasandbox.so 
 but hhvmsh is looking for /usr/lib/hphp/extensions/20131007/luasandbox.so
 instead.
 
 vagrant@mediawiki-vagrant:~$ hhvmsh
 Uncaught exception: Could not open extension
 /usr/lib/hphp/extensions/20131007/luasandbox.so:
 /usr/lib/hphp/extensions/20131007/luasandbox.so: cannot open shared object
 file: No such file or directory
 
 What's the best way to correct this?

This is the state I was expecting in comment #5 when I said:
 Uncaught exception: Could not open extension
 /usr/lib/hphp/extensions/20131007/luasandbox.so -- Your MediaWiki-Vagrant
 puppet configuration is out of sync with the HHVM binary that is installed.
 This should be fixed by updating  your MediaWiki-Vagrant git checkout; the
 config change to support the latest HHVM package (I986205e) was merged
 recently.

You have a version 3.1+20140723 of the hhvm package installed but the
configuration files have not been updated to reflect the ABI (application
binary interface) change that hhvm build introduces. Updating your
MediaWiki-Vagrant checkout to the latest version and running `vagrant
provision` should correct this. The fix was merged ~17 hours ago. Just in time
bug correction. :)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 68453] vagrant vagrant-vbguest plugin install fails on Mac OS X

2014-07-24 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=68453

--- Comment #10 from Bernd Sitzmann bsitzm...@wikimedia.org ---
Looks like `vagrant git-update` still relies on the old extension:

besiair:vagrant besi$ vagrant git-update
== Updating /vagrant/mediawiki ...
Already up-to-date.

== Updating composer dependencies ...
Uncaught exception: Could not open extension
/usr/lib/hphp/extensions/20131007/luasandbox.so:
/usr/lib/hphp/extensions/20131007/luasandbox.so: cannot open shared object
file: No such file or directory


== Updating database ...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 68453] vagrant vagrant-vbguest plugin install fails on Mac OS X

2014-07-24 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=68453

--- Comment #11 from Bryan Davis bda...@wikimedia.org ---
(In reply to Bernd Sitzmann from comment #10)
 Looks like `vagrant git-update` still relies on the old extension:
 
 besiair:vagrant besi$ vagrant git-update
 == Updating /vagrant/mediawiki ...
 Already up-to-date.
 
 == Updating composer dependencies ...
 Uncaught exception: Could not open extension
 /usr/lib/hphp/extensions/20131007/luasandbox.so:
 /usr/lib/hphp/extensions/20131007/luasandbox.so: cannot open shared object
 file: No such file or directory
 
 
 == Updating database ...

Sure, because until you get to the end of `vagrant provision` hhvm is broken in
the VM.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 68453] vagrant vagrant-vbguest plugin install fails on Mac OS X

2014-07-24 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=68453

--- Comment #12 from Bernd Sitzmann bsitzm...@wikimedia.org ---
Got it fixed on IRC. Just updating here for documentation purposes:

$ grep hhvm.dynamic_extension_path puppet/modules/hhvm/templates/php.ini.erb
hhvm.dynamic_extension_path = /usr/lib/hphp/extensions/20131007

$ git fetch; git rebase origin/master
$ grep hhvm.dynamic_extension_path puppet/modules/hhvm/templates/php.ini.erb
hhvm.dynamic_extension_path = /usr/lib/hphp/extensions/20140702
$ vagrant provision

All good now :) 
http://127.0.0.1:8080/wiki/Main_Page showing up.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 68453] vagrant vagrant-vbguest plugin install fails on Mac OS X

2014-07-24 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=68453

--- Comment #13 from Bryan Davis bda...@wikimedia.org ---
(In reply to Bryan Davis from comment #11)
 (In reply to Bernd Sitzmann from comment #10)
  Looks like `vagrant git-update` still relies on the old extension:
  
  besiair:vagrant besi$ vagrant git-update
  == Updating /vagrant/mediawiki ...
  Already up-to-date.

This says that `git pull` reported the vagrant working dir as up to date, but
we proved with the grep commands that was a lie. I'm not sure what happened. :/

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 68453] vagrant vagrant-vbguest plugin install fails on Mac OS X

2014-07-24 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=68453

Bryan Davis bda...@wikimedia.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |WORKSFORME

--- Comment #14 from Bryan Davis bda...@wikimedia.org ---
Thanks for not giving up Bernd.

Eventually everything worked out. There are probably legitimate bugs to be
fixed buried in here, but we wandered all over the place and this became a
support ticket more than a bug report. Feel free to open new bugs for any
repeatable problems.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l