Development/Tinderbox/Setup

Setting up a tinderbox
Have a look at tb script description for general info on how to setup a tinderbox.

Sending mails from cygwin / Windows
As it turns out, it is not completely straightforward to setup cygwin to be able to send mail via SSL. You need Net::SSLeay and IO::Socket::SSL perl modules that are not available with cygwin, and also ssl certificates. The following worked for me to get it running.


 * Install gcc4 in cygwin (so that you can use CPAN to install Net::SSLeay) If you don't do this, cpan Net::SSLeay will complain that it has Unresolvable missing external dependency. This package requires a C compiler.
 * Start Cygwin's setup.exe
 * In the selection of packages, uncheck the 'Hide obsolete packages' option at the bottom
 * Search for 'gcc4' in the top left Search field
 * Select 'gcc4', and install it
 * Create symlinks for gcc4
 * Install Net::SSLeay and IO::Socket::SSL If you don't do this, and you specify -o tls=yes to sendEmail, it will issue ERROR => No TLS support! SendEmail can't load required libraries. (try installing Net::SSLeay and IO::Socket::SSL)
 * Install the SSL certificates If you don't do this, sendEmail will end up with ERROR => TLS setup failed: SSL connect attempt failed with unknown error error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
 * Make sure you have the newest sendEmail If you don't do this, sendEmail will end up with invalid SSL_version specified at /usr/lib/perl5/site_perl/5.14/IO/Socket/SSL.pm line 418
 * Do  in your builbot repo to get the commit https://cgit.freedesktop.org/libreoffice/contrib/buildbot/commit/?id=c5c64bc6f1be2ce04434d3119c0b9bf64b6a9d74
 * Make sure you have the newest sendEmail If you don't do this, sendEmail will end up with invalid SSL_version specified at /usr/lib/perl5/site_perl/5.14/IO/Socket/SSL.pm line 418
 * Do  in your builbot repo to get the commit https://cgit.freedesktop.org/libreoffice/contrib/buildbot/commit/?id=c5c64bc6f1be2ce04434d3119c0b9bf64b6a9d74
 * Make sure you have the newest sendEmail If you don't do this, sendEmail will end up with invalid SSL_version specified at /usr/lib/perl5/site_perl/5.14/IO/Socket/SSL.pm line 418
 * Do  in your builbot repo to get the commit https://cgit.freedesktop.org/libreoffice/contrib/buildbot/commit/?id=c5c64bc6f1be2ce04434d3119c0b9bf64b6a9d74

Now you should be able to send mail from cygwin. To try it, do:

sendEmail should end up with Email was sent successfully!, and @gmail.com should get a message with subject Test, and mail body Works.