NOTE #1: It would probably make sense to create a seperate zone for the buildbot on your Solaris 10 system. That is left up to you!
NOTE #2: You might need to install the Zope Interface package for some of the Python pieces to work properly. Do this after installing Python 2.5. You can find information on the Zope Interface on their site.
Unless you want to spend time optimizing the underlying Solaris 10 (SPARC) installation, it is strongly suggested that you choose the "Entire" Software Group during the installation process. Once you have your Solaris 10 (SPARC) system on the network and able to access the Internet you can use the following suggestions to setup your buildbot:
$ cd /tmp $ ftp ftp.sunfreeware.com Name: anonymous Password: (your email address) ftp> bin ftp> cd pub/freeware/sparc/5.10/ ftp> get python-2.5.4-sol10-sparc-local.gz ftp> quit $ gunzip python-2.5.4-sol10-sparc-local.gz $ pkgadd -d python-2.5.4-sol10-sparc-localIf you are unfamiliar with howto install packages from Sunfreeware please read their howto.
$ useradd -d /export/home/buildbot -m buildbotIt is imperative that you not use Bash as the buildbot user's shell. It could have been a dependency issue but I literally spent several days trying to solve why the buildbot wasn't checking out code with bzr only to discover that using the default Solaris shell fixed the problem. If someone comes up with a solution please let us know on the mailing list.
$ vi /etc/profile LD_LIBRARY_PATH=/opt/csw/lib:/usr/local/lib:/usr/sfw/lib:$LD_LIBRARY_PATH # Add required libraries PYTHONPATH=/usr/local/lib/python2.5/site-packages:$PYTHONPATH # Makes Python 2.5 the default PATH=/usr/local/bin:/usr/bin:/usr/sbin:/etc:/usr/sfw/bin:$PATH # Puts "local" packages in your path export LOGNAME PATH PYTHONPATH LD_LIBRARY_PATH
$ wget tmrc.mit.edu/mirror/twisted/Twisted/9.0/Twisted-9.0.0.tar.bz2 $ bunzip2 Twisted-9.0.0.tar.bz2 $ tar -xf Twisted-9.0.0.tar $ cd Twisted-9.0.0 $ python setup.py build install
automake, autoconf, gcc, m4, md5, openssl, libsigsegv, Tcl, Tk, perl, libtool, sed, libgcc, gcc, libintl, libiconv, zlib, binutils, groff, cmake
buildbot create-slave --usepty=0 /export/home/buildbot/maria-slave
hasky.askmonty.org:9989 ${buildbotname} <passwd>
Replace ${buildbotname} with the buildbot name you received from the MariaDB developers. Replace <passwd> with the password they gave you. You can adjust these and other parameters anytime within the maria-slave/buildbot.tac file at anytime in the future. HOME=/export/home/buildbot; bzr init-repo maria-slave/${buildbotname}
Replace ${buildbotname} like you did in Step #7. sudo su - buildbot -c "/usr/bin/buildbot start /export/home/buildbot/maria-slave"OPTIONAL: You can create a proper service by following (and modifying as necessary) these directions
This howto was contributed by Adam Dutko. The original version is here.
© 2023 MariaDB
Licensed under the Creative Commons Attribution 3.0 Unported License and the GNU Free Documentation License.
https://mariadb.com/kb/en/buildbot-setup-for-solaris-sparc/