You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@continuum.apache.org by "Felix Knecht (JIRA)" <ji...@codehaus.org> on 2009/12/05 13:59:55 UTC

[jira] Commented: (CONTINUUM-2293) continuum sh script fails to determine the right wrapper

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

Felix Knecht commented on CONTINUUM-2293:
-----------------------------------------

Same to me, but I'm not sure if it's a coreutils version problem:

$ uname --version
uname (GNU coreutils) 6.9
$
$ uname -p
Intel(R) Xeon(TM) CPU 3.06GHz
$ uname -m
i686

Switching the '-p' / '-m' paramters would work at elast on a gentoo linux machine

 /tmp/apache-continuum-1.3.4/bin $ diff continuum continuum.gentoo
167c167
< DIST_ARCH=`uname -p | tr [:upper:] [:lower:] | tr -d [:blank:]`
---
> DIST_ARCH=`uname -m | tr [:upper:] [:lower:] | tr -d [:blank:]`
170c170
<     DIST_ARCH=`uname -m | tr [:upper:] [:lower:] | tr -d [:blank:]`
---
>     DIST_ARCH=`uname -p | tr [:upper:] [:lower:] | tr -d [:blank:]`


> continuum sh script fails to determine the right wrapper
> --------------------------------------------------------
>
>                 Key: CONTINUUM-2293
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2293
>             Project: Continuum
>          Issue Type: Bug
>          Components: Core system
>    Affects Versions: 1.3.3
>         Environment: Gentoo Linux, AMD64, coreutils 7.1
>            Reporter: Boris
>             Fix For: 1.4.1
>
>
> Running continuum fails with not finding the wrappers:
> $ bin/continuum
> Unable to locate any of the following binaries:
>   /tmp/apache-continuum-1.3.3/bin/./wrapper-linux-amdathlon(tm)x2dualcoreprocessorbe-2350-32
>   /tmp/apache-continuum-1.3.3/bin/./wrapper-linux-amdathlon(tm)x2dualcoreprocessorbe-2350-64
>   /tmp/apache-continuum-1.3.3/bin/./wrapper
> This happens because the script does expect "uname -p" output "unknown" or the right arch. But this does not happen on my system (perhaps because of the newer coreutils/uname-version. On our server it works).
> Here is the actual output of the 7.1 uname on different machines, so that you can improve your script:
> $ uname -p
> AMD Athlon(tm) 64 X2 Dual Core Processor 5000+
> $ uname -m
> x86_64
> $ uname -p
> Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
> $ uname -m
> i686
> $ uname -p
> AMD Athlon(tm) X2 Dual Core Processor BE-2350
> $ uname -m
> x86_64

-- 
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