Changes

Jump to: navigation, search

Buildbot and Cairo

659 bytes added, 11:58, 11 February 2008
Added problems we have ecountered
== Project Name ==
Cairo on Buildbot
== Project Description ==
Automate Cairo builds with testing suites on Buildbot.
Automate Cairo builds with buildbot, and add in support for running test suites with buildbot.
== Project Leader(s) ==
[[User:Awdelyea| Adam Delyea]]<br />
[[User:armenzg|Armen Zambrano]]
== Project Contributor(s) ==
* [http://blog.vlad1.com/ Vladimir Vukicevic]
NOTE: only Project Leader(s) should add names here. You '''can’t''' add your own name to the Contributor list.
== Project Details == Automate Cairo builds with buildbot, and add in support for running test suites with buildbot. == Project Tasks ==
<table style="width: 100%;" class="standard-table" cellborder=1 border=1 cellpadding=3 cellspacing=0>
<td>&nbsp;</td>
<td>[http://armenzg.blogspot.com/2008/01/armenzg-sess7-build-cairo.html Blog: Building Cairo]</td>
</tr>
<tr>
<td>Fix GIT and SUDO issue</td>
<td></td>
<td style="background-color: red; text-align: center; font-weight: bold; font-size: bigger">High</td>
<td></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td></td>
</tr>
</table>
 
== Problems ==
 
* The first time the command GIT CLONE works because there is nothing before that execution but the second run should be an update instead of a checkout. What could be the proper GIT command to have as the step?
* I need to do SUDO MAKE INSTALL, but this requires user's input which breaks the automated concept. What could be the right step?
== Project News ==
Feb 11 2008 - Steps are written but some issues have to fixed
Jan 19 2008 - Project Proposal from Vladimir Vukicevic.
== Notes ==
 
=== Build Cairo manually ===
* mkdir cairo & cd cairo
* git clone git://git.cairographics.org/git/pixman
* git clone git://git.cairographics.org/git/cairo
* cd pixman && ./autogen.sh
* ./configure
* make
* make install //I have a problem can I set up buildbot to use SUDO??
 
make[2]: Entering directory `/home/armen/sandbox/cairo2/pixman/pixman'
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
/bin/bash ../libtool --mode=install /usr/bin/install -c 'libpixman-1.la' '/usr/local/lib/libpixman-1.la'
/usr/bin/install -c .libs/libpixman-1.so.0.9.6 /usr/local/lib/libpixman-1.so.0.9.6
/usr/bin/install: cannot remove `/usr/local/lib/libpixman-1.so.0.9.6': Permission denied
make[2]: *** [install-libLTLIBRARIES] Error 1
 
* sudo make install //I had to use SUDO
* whereis libpixman-1
* cd ../cairo && ./autogen.sh
* ./configure
* make
* make install //the same problem with SUDO
 
make[2]: Entering directory `/home/armen/sandbox/cairo2/cairo/src'
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
/bin/bash ../libtool --mode=install /usr/bin/install -c 'libcairo.la' '/usr/local/lib/libcairo.la'
/usr/bin/install -c .libs/libcairo.so.2.14.0 /usr/local/lib/libcairo.so.2.14.0
/usr/bin/install: cannot create regular file `/usr/local/lib/libcairo.so.2.14.0': Permission denied
 
* sudo make install
 
Running the tests and getting an index.html file with them
* make test //takes long time
* cd test && make html
* firefox index.html
 
=== master.cfg draft ===
c['builders'] = builders
# c['builders'] = [cairo_trunk_ubuntu_builder]
 
 
=== Build Cairo manually ===
* mkdir cairo & cd cairo
* git clone git://git.cairographics.org/git/pixman
* git clone git://git.cairographics.org/git/cairo
* cd pixman && ./autogen.sh
* ./configure
* make
* make install //I have a problem can I set up buildbot to use SUDO??
 
make[2]: Entering directory `/home/armen/sandbox/cairo2/pixman/pixman'
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
/bin/bash ../libtool --mode=install /usr/bin/install -c 'libpixman-1.la' '/usr/local/lib/libpixman-1.la'
/usr/bin/install -c .libs/libpixman-1.so.0.9.6 /usr/local/lib/libpixman-1.so.0.9.6
/usr/bin/install: cannot remove `/usr/local/lib/libpixman-1.so.0.9.6': Permission denied
make[2]: *** [install-libLTLIBRARIES] Error 1
 
* sudo make install //I had to use SUDO
* whereis libpixman-1
* cd ../cairo && ./autogen.sh
* ./configure
* make
* make install //the same problem with SUDO
 
make[2]: Entering directory `/home/armen/sandbox/cairo2/cairo/src'
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
/bin/bash ../libtool --mode=install /usr/bin/install -c 'libcairo.la' '/usr/local/lib/libcairo.la'
/usr/bin/install -c .libs/libcairo.so.2.14.0 /usr/local/lib/libcairo.so.2.14.0
/usr/bin/install: cannot create regular file `/usr/local/lib/libcairo.so.2.14.0': Permission denied
 
* sudo make install
 
'''Running the tests and getting an index.html file with them'''
* make test //takes long time
* cd test && make html
* firefox index.html
1
edit

Navigation menu