Differences between revisions 5 and 19 (spanning 14 versions)
Revision 5 as of 2009-02-06 19:52:25
Size: 945
Editor: DavidAdam
Comment:
Revision 19 as of 2009-02-09 20:27:50
Size: 2560
Editor: DavidAdam
Comment:
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
PATH=~/bin:~/prefix/bin:/usr/local/bin:/usr/gnu/bin:/usr/sfw/bin:/opt/SUNWspro/bin:/ucs/ccs/bin:/usr/bin (in .zshenv) See http://developers.sun.com/solaris/articles/build_sw_on_solaris.html for general advice.

PATH=/space/buildbot/bin:/space/buildbot/prefix/bin:/usr/local/bin:/usr/gnu/bin:/usr/sfw/bin:/opt/SUNWspro/bin:/ucs/ccs/bin:/usr/ucb:/usr/bin: (from .zshenv) - make sure /usr/ucb is after /usr/ccs.

.jhbuildrc:

{{{
checkoutroot = os.path.expanduser('~/checkout/gnome2')
prefix = '/space/buildbot/prefix/'
makeargs = '-j4'
module_autogenargs['gettext'] = autogenargs + ' LDFLAGS="-lsec"'
os.environ['INSTALL'] = os.path.expanduser('~/bin/install-check')
}}}

As CSW packages (blastwave.org/opencsw.org) are not part of the running path, there's a wrapper script in ~/bin/git:

{{(
#!/bin/sh
PATH=/opt/csw/bin:$PATH
git $@
}}}

(git is also from opencsw while all other CSW packages come from Blastwave. Potential for interestingness.)
Line 21: Line 43:
manduba: ~/checkout/gnome2/jhbuild> gmake -f Makefile.plain install-check CFLAGS='-DWITH_INSTALL=\"/usr/ucb/install\"'
}}}

(see http://bugzilla.gnome.org/show_bug.cgi?id=364465)

{{{
Line 25: Line 53:
Create ~/.jhbuildrc as above.

To pick up standard version of gettext, libtool, automake-1.{4,7,8,9,10}, pkg-config, python, guile and waf,

{{{
manduba: ~> jhbuild bootstrap
}}}

Building gettext-0.17 on Solaris requires special arguments: http://savannah.gnu.org/bugs/?21604 which are added to jhbuild above.

/!\ Current issues:
 * A lack of AM_NLS macros (provided by gettext on other platforms) - perhaps bootstrapping gettext or --disable-nls will help.
 * No SSL CA certs for wget, meaning Mozilla packages have to be manually downloaded
 * Guile doesn't build (from the bootstrap moduleset) - configure dies with
{{{configure: error: GNU MP not found, see README}}}

Manduba should run a GNOME buildbot slave in order to help tinderbox the GNOME code, linked to http://build.gnome.org/

Running configuration

Manduba is running SunOS manduba 5.11 snv_101 sun4u sparc SUNW,Ultra-Enterprise Solaris

The buildbot runs as user 'buildbot' from /space/buildbot/

See http://developers.sun.com/solaris/articles/build_sw_on_solaris.html for general advice.

PATH=/space/buildbot/bin:/space/buildbot/prefix/bin:/usr/local/bin:/usr/gnu/bin:/usr/sfw/bin:/opt/SUNWspro/bin:/ucs/ccs/bin:/usr/ucb:/usr/bin: (from .zshenv) - make sure /usr/ucb is after /usr/ccs.

.jhbuildrc:

checkoutroot = os.path.expanduser('~/checkout/gnome2')
prefix = '/space/buildbot/prefix/'
makeargs = '-j4'
module_autogenargs['gettext'] = autogenargs + ' LDFLAGS="-lsec"'
os.environ['INSTALL'] = os.path.expanduser('~/bin/install-check')

As CSW packages (blastwave.org/opencsw.org) are not part of the running path, there's a wrapper script in ~/bin/git:

{{( #!/bin/sh PATH=/opt/csw/bin:$PATH git $@ }}}

(git is also from opencsw while all other CSW packages come from Blastwave. Potential for interestingness.)

Configuration procedure

Part 1: Configure jhbuild

http://live.gnome.org/Jhbuild

manduba: ~> mkdir -p ~/checkout/gnome2
manduba: ~> cd ~/checkout/gnome2
manduba: ~/checkout/gnome2> svn co http://svn.gnome.org/svn/jhbuild/trunk jhbuild
manduba: ~/checkout/gnome2> cd jhbuild
manduba: ~/checkout/gnome2/jhbuild> gmake -f Makefile.plain install-check CFLAGS='-DWITH_INSTALL=\"/usr/ucb/install\"'

(see http://bugzilla.gnome.org/show_bug.cgi?id=364465)

manduba: ~/checkout/gnome2/jhbuild> gmake -f Makefile.plain
manduba: ~/checkout/gnome2/jhbuild> gmake -f Makefile.plain install

Create ~/.jhbuildrc as above.

To pick up standard version of gettext, libtool, automake-1.{4,7,8,9,10}, pkg-config, python, guile and waf,

manduba: ~> jhbuild bootstrap

Building gettext-0.17 on Solaris requires special arguments: http://savannah.gnu.org/bugs/?21604 which are added to jhbuild above.

/!\ Current issues:

  • A lack of AM_NLS macros (provided by gettext on other platforms) - perhaps bootstrapping gettext or --disable-nls will help.
  • No SSL CA certs for wget, meaning Mozilla packages have to be manually downloaded
  • Guile doesn't build (from the bootstrap moduleset) - configure dies with

configure: error: GNU MP not found, see README

Part 2: Configure buildbot

http://live.gnome.org/BuildBrigade/DocsAndGuides