continuum-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Snyder (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (CONTINUUM-2383) Continuum-buildagent Start/Stop Script Cannot Find Binaries on Solaris
Date Wed, 07 Oct 2009 22:14:11 GMT

    [ http://jira.codehaus.org/browse/CONTINUUM-2383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=193920#action_193920
] 

George Snyder commented on CONTINUUM-2383:
------------------------------------------

To replicate:
cd to the continuum-buildagent/bin directory.
> env PATH="/usr/ucb:$PATH" continuum-buildagent status

> Continuum-buildagent Start/Stop Script Cannot Find Binaries on Solaris
> ----------------------------------------------------------------------
>
>                 Key: CONTINUUM-2383
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2383
>             Project: Continuum
>          Issue Type: Bug
>          Components: Distributed Builds
>    Affects Versions: 1.3.4
>         Environment: Solaris 9 and 10
>            Reporter: George Snyder
>            Priority: Minor
>
> On Solaris 9 and 10, if the user's PATH has /usr/ucb ahead of /bin, then the continuum-buildagent
script fails:
> > continuum-buildagent start
> Unable to locate any of the following binaries:
>   /opt/continuum/apache-continuum-buildagent-1.3.4/bin/./wrapper-SOS-swrc-32
>   /opt/continuum/apache-continuum-buildagent-1.3.4/bin/./wrapper-SOS-swrc-64
>   /opt/continuum/apache-continuum-buildagent-1.3.4/bin/./wrapper
> The problem is in lines such as:
>   DIST_OS=`uname -s | tr [:upper:] [:lower:] | tr -d [:blank:]`
>   DIST_ARCH=`uname -m | tr [:upper:] [:lower:] | tr -d [:blank:]`
> /usr/ucb/tr does not understand the pattern keywords, and mangles the OS and architecture
names.
> Recommendation: Use /bin/tr explicitly.  (There is already code to decide which 'ps'
to use; perhaps it could be adapted.)
> Workaround: The user can invoke the script with a modified path, e.g.:
>   > env PATH="/bin:$PATH" continuum-buildagent start

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message