You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gump.apache.org by Apache Wiki <wi...@apache.org> on 2010/11/09 07:58:41 UTC

[Gump Wiki] Update of "OsxGumpConfig" by SanderTemme

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Gump Wiki" for change notification.

The "OsxGumpConfig" page has been changed by SanderTemme.
http://wiki.apache.org/gump/OsxGumpConfig?action=diff&rev1=1&rev2=2

--------------------------------------------------

- This page will hold the Gump configuration notes for adam.apache.org.  
+ = Operating System =
  
+ Mac OS X Server 10.6 (Snow Leopard).  
+ 
+ == Users ==
+ 
+ A Gump user was created with as home /Users/Shared/Gump, and group gump.  All users that need access to Gump should be a member of the group gump.  The gump user has no shell, so no one can log in as it or su to it.  sudo is possible by users who have that power, but be careful with the environment.  For what it's worth, mail for the gump user forwards to general@gump.apache.org.  
+ 
+ All users on the machine are set up per Infrastructure regulations, with centrally managed ssh keys.  The only exception to the infra rules is OPIE, which is not supported by the OS.
+ 
+ = Gump Location and Configuration =
+ 
+ Gump has been checked out from the Live branch: http://svn.apache.org/repos/asf/gump/live
+ 
+ == Gump Location ==
+ 
+ Gump and its auxiliary directories are located under /Users/Shared/gump, in the subdirectories
+ 
+   * gump -- The software
+   * workspace -- The run output, source code and artefacts
+   * repoproxy -- Document root for the local Maven Repository proxy
+   * packages  -- Pre-built packages used by gump, checked out from private svn space.
+ 
+ All these directories have been made 2775 (group-writable with sticky setgid), as have their subdirectories through a find operation.  All files have been made g+w.  This may need to be repeated if users other than gump itself carry out actions that manipulate file permissions.  
+ 
+ A .cvspass file was copied from the old installation on Clarus.
+ 
+ 
+ == Gump Configuration ==
+ 
+ === Host Configuration ===
+ 
+ {{{
+ adam:gump sctemme$ cat metadata/adam.xml 
+ <?xml version="1.0" ?>
+ <workspace basedir="/Users/Shared/gump/workspace"
+ 	pkgdir="/Users/Shared/gump/packages"
+ 	version="0.4" name="adam-test">
+   <property name="build.sysclasspath" value="only"/>
+   <sysproperty name="java.awt.headless" value="true"/>
+ <!--  <profile href="profile/gump.xml"/> -->
+   <profile href="testbase/profile.xml"/>
+ </workspace>
+ }}}
+ 
+ === Run Configuration ===
+ 
+ {{{   
+ adam:gump sctemme$ cat cron/local-env-adam.sh 
+ GUMP_WORKSPACE=/Users/Shared/gump/gump/metadata/adam
+ JAVA_HOME=/Library/Java/Home
+ MAVEN_HOME=/opt/local/share/java/maven
+ M2_HOME=/usr/share/maven
+ M3_HOME=/opt/local/share/java/maven3
+ MVN_PROXY_HOME=/opt/repoproxy/lib
+ export GUMP_WORKSPACE JAVA_HOME MAVEN_HOME M2_HOME M3_HOME MVN_PROXY_HOME 
+ 
+ LANG=en_US.utf8
+ PATH=/usr/local/bin:/opt/local/bin:$PATH
+ export LANG PATH
+ }}}
+ 
+ Note that cron sets the PATH to /usr/bin:/bin.  /opt/local/bin is the location of Mac``Ports, the contents of which may be overridden by what's in /usr/local/bin. 
+ 
+ === Crontab ===
+ 
+ {{{
+ adam:gump sctemme$ sudo crontab -l -u gump
+ Password:
+ MAILTO = sctemme@apache.org 
+ 55 * * * * cd /Users/Shared/gump/packages; /usr/bin/svn up 
+ 0,15,30,45 * * * * cd /Users/Shared/gump/gump/cron; /bin/bash gump.sh all
+ }}}
+ 
+ This is a frequent run with a limited workload to iron out the bugs.  A full run will likely be started less often.  
+ 
+ == Maven Repo Proxy ==
+ 
+ A current build (0.5 at time of writing) of the Maven Repo Proxy is installed at /opt/repoproxy.  
+ 
+ == Web Server ==
+ 
+ The Mac OS X Server web server (which happens to be Apache 2.2) has been configured to the effect of
+ 
+ {{{
+ Alias "/gump" "/Users/Shared/gump/workspace/log"
+ }}}
+ 
+ = Helper Software =
+ 
+ == MacPorts ==
+ 
+ Mac``Ports has been installed in /opt/local.  A crontab runs at five after midnight each day to run port selfupdate and port upgrade outdated.  
+ 
+ == Other Helpers ==
+ 
+ GNU libtool 1.5 has been installed in /usr/local since much software (notably, in the test collection, expat) can't deal with libtool 2.x provided by both the OS and Mac``Ports.  Note that you need to run `./configure --program-prefix=g` since buildconf scripts will look for `glibtoolize` on the Mac (/usr/bin/libtool is a NeXT holdover and does different things).  
+ 

Re: [Gump Wiki] Update of "OsxGumpConfig" by SanderTemme

Posted by Stefan Bodewig <bo...@apache.org>.
On 2010-11-09, Apache Wiki wrote:

> GNU libtool 1.5 has been installed in /usr/local since much software
> (notably, in the test collection, expat) can't deal with libtool 2.x
> provided by both the OS and Mac``Ports.

The Ubuntu VM and the FreeBSD jail have the same problem and it's been
keeping Gump from building APR and HTTPd for months now.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org