You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "James Page (Created) (JIRA)" <ji...@apache.org> on 2011/11/24 17:45:40 UTC
[jira] [Created] (BIGTOP-278)
bigtop-packages/src/common/hadoop/do-component-build contains bash syntax
but is executed by dash on Debian/Ubuntu
bigtop-packages/src/common/hadoop/do-component-build contains bash syntax but is executed by dash on Debian/Ubuntu
------------------------------------------------------------------------------------------------------------------
Key: BIGTOP-278
URL: https://issues.apache.org/jira/browse/BIGTOP-278
Project: Bigtop
Issue Type: Bug
Components: Debian
Affects Versions: 0.2.0
Environment: Ubuntu Precise and Ubuntu Lucid
Reporter: James Page
Assignee: James Page
Priority: Minor
Ubuntu does not use bash as its default shell; as a result bigtop-packages/src/common/hadoop/do-component-build gets executed by dash which does not correctly evaluate:
[...]
if [[ $AUTOCONF_VERSION > 2.60 ]]; then
DO_AUTORECONF="create-c++-configure"
fi
fi
This generates a fleeting error message during the build process.
Switching the call to this script in bigtop-packages/src/deb/hadoop/rules to use bash instead of sh to execute this script resolves the issue (I will work on a patch).
However the do-component-build script itself uses #!/bin/sh which is not really correct either - it might make sense to change this and execute this script directly through debian/rules rather than force execution with bash - opinions invited.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (BIGTOP-278)
bigtop-packages/src/common/hadoop/do-component-build contains bash syntax
but is executed by dash on Debian/Ubuntu
Posted by "Roman Shaposhnik (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BIGTOP-278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Roman Shaposhnik updated BIGTOP-278:
------------------------------------
Fix Version/s: 0.3.0
> bigtop-packages/src/common/hadoop/do-component-build contains bash syntax but is executed by dash on Debian/Ubuntu
> ------------------------------------------------------------------------------------------------------------------
>
> Key: BIGTOP-278
> URL: https://issues.apache.org/jira/browse/BIGTOP-278
> Project: Bigtop
> Issue Type: Bug
> Components: Debian
> Affects Versions: 0.2.0
> Environment: Ubuntu Precise and Ubuntu Lucid
> Reporter: James Page
> Assignee: James Page
> Priority: Minor
> Fix For: 0.3.0
>
> Attachments: BIGTOP-278.patch
>
>
> Ubuntu does not use bash as its default shell; as a result bigtop-packages/src/common/hadoop/do-component-build gets executed by dash which does not correctly evaluate:
> [...]
> if [[ $AUTOCONF_VERSION > 2.60 ]]; then
> DO_AUTORECONF="create-c++-configure"
> fi
> fi
> This generates a fleeting error message during the build process.
> Switching the call to this script in bigtop-packages/src/deb/hadoop/rules to use bash instead of sh to execute this script resolves the issue (I will work on a patch).
> However the do-component-build script itself uses #!/bin/sh which is not really correct either - it might make sense to change this and execute this script directly through debian/rules rather than force execution with bash - opinions invited.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (BIGTOP-278)
bigtop-packages/src/common/hadoop/do-component-build contains bash syntax
but is executed by dash on Debian/Ubuntu
Posted by "Andrew Bayer (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BIGTOP-278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13157358#comment-13157358 ]
Andrew Bayer commented on BIGTOP-278:
-------------------------------------
+1 - I think you have the commit bit, so you should be able to do this yourself.
> bigtop-packages/src/common/hadoop/do-component-build contains bash syntax but is executed by dash on Debian/Ubuntu
> ------------------------------------------------------------------------------------------------------------------
>
> Key: BIGTOP-278
> URL: https://issues.apache.org/jira/browse/BIGTOP-278
> Project: Bigtop
> Issue Type: Bug
> Components: Debian
> Affects Versions: 0.2.0
> Environment: Ubuntu Precise and Ubuntu Lucid
> Reporter: James Page
> Assignee: James Page
> Priority: Minor
> Attachments: BIGTOP-278.patch
>
>
> Ubuntu does not use bash as its default shell; as a result bigtop-packages/src/common/hadoop/do-component-build gets executed by dash which does not correctly evaluate:
> [...]
> if [[ $AUTOCONF_VERSION > 2.60 ]]; then
> DO_AUTORECONF="create-c++-configure"
> fi
> fi
> This generates a fleeting error message during the build process.
> Switching the call to this script in bigtop-packages/src/deb/hadoop/rules to use bash instead of sh to execute this script resolves the issue (I will work on a patch).
> However the do-component-build script itself uses #!/bin/sh which is not really correct either - it might make sense to change this and execute this script directly through debian/rules rather than force execution with bash - opinions invited.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (BIGTOP-278)
bigtop-packages/src/common/hadoop/do-component-build contains bash syntax
but is executed by dash on Debian/Ubuntu
Posted by "Andrew Bayer (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BIGTOP-278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13158630#comment-13158630 ]
Andrew Bayer commented on BIGTOP-278:
-------------------------------------
You're on the committer list - http://people.apache.org/committer-index.html - but not specifically for bigtop. I'll ping a mentor to see what needs to be done.
> bigtop-packages/src/common/hadoop/do-component-build contains bash syntax but is executed by dash on Debian/Ubuntu
> ------------------------------------------------------------------------------------------------------------------
>
> Key: BIGTOP-278
> URL: https://issues.apache.org/jira/browse/BIGTOP-278
> Project: Bigtop
> Issue Type: Bug
> Components: Debian
> Affects Versions: 0.2.0
> Environment: Ubuntu Precise and Ubuntu Lucid
> Reporter: James Page
> Assignee: James Page
> Priority: Minor
> Attachments: BIGTOP-278.patch
>
>
> Ubuntu does not use bash as its default shell; as a result bigtop-packages/src/common/hadoop/do-component-build gets executed by dash which does not correctly evaluate:
> [...]
> if [[ $AUTOCONF_VERSION > 2.60 ]]; then
> DO_AUTORECONF="create-c++-configure"
> fi
> fi
> This generates a fleeting error message during the build process.
> Switching the call to this script in bigtop-packages/src/deb/hadoop/rules to use bash instead of sh to execute this script resolves the issue (I will work on a patch).
> However the do-component-build script itself uses #!/bin/sh which is not really correct either - it might make sense to change this and execute this script directly through debian/rules rather than force execution with bash - opinions invited.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (BIGTOP-278)
bigtop-packages/src/common/hadoop/do-component-build contains bash syntax
but is executed by dash on Debian/Ubuntu
Posted by "James Page (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BIGTOP-278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Page resolved BIGTOP-278.
-------------------------------
Resolution: Fixed
Fixed commited to svn repo r1207519
> bigtop-packages/src/common/hadoop/do-component-build contains bash syntax but is executed by dash on Debian/Ubuntu
> ------------------------------------------------------------------------------------------------------------------
>
> Key: BIGTOP-278
> URL: https://issues.apache.org/jira/browse/BIGTOP-278
> Project: Bigtop
> Issue Type: Bug
> Components: Debian
> Affects Versions: 0.2.0
> Environment: Ubuntu Precise and Ubuntu Lucid
> Reporter: James Page
> Assignee: James Page
> Priority: Minor
> Attachments: BIGTOP-278.patch
>
>
> Ubuntu does not use bash as its default shell; as a result bigtop-packages/src/common/hadoop/do-component-build gets executed by dash which does not correctly evaluate:
> [...]
> if [[ $AUTOCONF_VERSION > 2.60 ]]; then
> DO_AUTORECONF="create-c++-configure"
> fi
> fi
> This generates a fleeting error message during the build process.
> Switching the call to this script in bigtop-packages/src/deb/hadoop/rules to use bash instead of sh to execute this script resolves the issue (I will work on a patch).
> However the do-component-build script itself uses #!/bin/sh which is not really correct either - it might make sense to change this and execute this script directly through debian/rules rather than force execution with bash - opinions invited.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (BIGTOP-278)
bigtop-packages/src/common/hadoop/do-component-build contains bash syntax
but is executed by dash on Debian/Ubuntu
Posted by "James Page (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BIGTOP-278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13158479#comment-13158479 ]
James Page commented on BIGTOP-278:
-----------------------------------
Hmm - I thought I should have but I can't actually commit this change - please can someone check that I do have the right permissions?
svn: Server sent unexpected return value (403 Forbidden) in response to CHECKOUT request for '/repos/asf/!svn/ver/1190725/incubator/bigtop/trunk/bigtop-packages/src/deb/hadoop/rules'
> bigtop-packages/src/common/hadoop/do-component-build contains bash syntax but is executed by dash on Debian/Ubuntu
> ------------------------------------------------------------------------------------------------------------------
>
> Key: BIGTOP-278
> URL: https://issues.apache.org/jira/browse/BIGTOP-278
> Project: Bigtop
> Issue Type: Bug
> Components: Debian
> Affects Versions: 0.2.0
> Environment: Ubuntu Precise and Ubuntu Lucid
> Reporter: James Page
> Assignee: James Page
> Priority: Minor
> Attachments: BIGTOP-278.patch
>
>
> Ubuntu does not use bash as its default shell; as a result bigtop-packages/src/common/hadoop/do-component-build gets executed by dash which does not correctly evaluate:
> [...]
> if [[ $AUTOCONF_VERSION > 2.60 ]]; then
> DO_AUTORECONF="create-c++-configure"
> fi
> fi
> This generates a fleeting error message during the build process.
> Switching the call to this script in bigtop-packages/src/deb/hadoop/rules to use bash instead of sh to execute this script resolves the issue (I will work on a patch).
> However the do-component-build script itself uses #!/bin/sh which is not really correct either - it might make sense to change this and execute this script directly through debian/rules rather than force execution with bash - opinions invited.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (BIGTOP-278)
bigtop-packages/src/common/hadoop/do-component-build contains bash syntax
but is executed by dash on Debian/Ubuntu
Posted by "James Page (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BIGTOP-278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Page updated BIGTOP-278:
------------------------------
Attachment: BIGTOP-278.patch
> bigtop-packages/src/common/hadoop/do-component-build contains bash syntax but is executed by dash on Debian/Ubuntu
> ------------------------------------------------------------------------------------------------------------------
>
> Key: BIGTOP-278
> URL: https://issues.apache.org/jira/browse/BIGTOP-278
> Project: Bigtop
> Issue Type: Bug
> Components: Debian
> Affects Versions: 0.2.0
> Environment: Ubuntu Precise and Ubuntu Lucid
> Reporter: James Page
> Assignee: James Page
> Priority: Minor
> Attachments: BIGTOP-278.patch
>
>
> Ubuntu does not use bash as its default shell; as a result bigtop-packages/src/common/hadoop/do-component-build gets executed by dash which does not correctly evaluate:
> [...]
> if [[ $AUTOCONF_VERSION > 2.60 ]]; then
> DO_AUTORECONF="create-c++-configure"
> fi
> fi
> This generates a fleeting error message during the build process.
> Switching the call to this script in bigtop-packages/src/deb/hadoop/rules to use bash instead of sh to execute this script resolves the issue (I will work on a patch).
> However the do-component-build script itself uses #!/bin/sh which is not really correct either - it might make sense to change this and execute this script directly through debian/rules rather than force execution with bash - opinions invited.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (BIGTOP-278)
bigtop-packages/src/common/hadoop/do-component-build contains bash syntax
but is executed by dash on Debian/Ubuntu
Posted by "Tom White (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BIGTOP-278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13158643#comment-13158643 ]
Tom White commented on BIGTOP-278:
----------------------------------
James, I just gave you svn commit karma for Bigtop. Please try again.
> bigtop-packages/src/common/hadoop/do-component-build contains bash syntax but is executed by dash on Debian/Ubuntu
> ------------------------------------------------------------------------------------------------------------------
>
> Key: BIGTOP-278
> URL: https://issues.apache.org/jira/browse/BIGTOP-278
> Project: Bigtop
> Issue Type: Bug
> Components: Debian
> Affects Versions: 0.2.0
> Environment: Ubuntu Precise and Ubuntu Lucid
> Reporter: James Page
> Assignee: James Page
> Priority: Minor
> Attachments: BIGTOP-278.patch
>
>
> Ubuntu does not use bash as its default shell; as a result bigtop-packages/src/common/hadoop/do-component-build gets executed by dash which does not correctly evaluate:
> [...]
> if [[ $AUTOCONF_VERSION > 2.60 ]]; then
> DO_AUTORECONF="create-c++-configure"
> fi
> fi
> This generates a fleeting error message during the build process.
> Switching the call to this script in bigtop-packages/src/deb/hadoop/rules to use bash instead of sh to execute this script resolves the issue (I will work on a patch).
> However the do-component-build script itself uses #!/bin/sh which is not really correct either - it might make sense to change this and execute this script directly through debian/rules rather than force execution with bash - opinions invited.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (BIGTOP-278)
bigtop-packages/src/common/hadoop/do-component-build contains bash syntax
but is executed by dash on Debian/Ubuntu
Posted by "James Page (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BIGTOP-278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13158652#comment-13158652 ]
James Page commented on BIGTOP-278:
-----------------------------------
Thanks Tom - that did the trick nicely.
> bigtop-packages/src/common/hadoop/do-component-build contains bash syntax but is executed by dash on Debian/Ubuntu
> ------------------------------------------------------------------------------------------------------------------
>
> Key: BIGTOP-278
> URL: https://issues.apache.org/jira/browse/BIGTOP-278
> Project: Bigtop
> Issue Type: Bug
> Components: Debian
> Affects Versions: 0.2.0
> Environment: Ubuntu Precise and Ubuntu Lucid
> Reporter: James Page
> Assignee: James Page
> Priority: Minor
> Attachments: BIGTOP-278.patch
>
>
> Ubuntu does not use bash as its default shell; as a result bigtop-packages/src/common/hadoop/do-component-build gets executed by dash which does not correctly evaluate:
> [...]
> if [[ $AUTOCONF_VERSION > 2.60 ]]; then
> DO_AUTORECONF="create-c++-configure"
> fi
> fi
> This generates a fleeting error message during the build process.
> Switching the call to this script in bigtop-packages/src/deb/hadoop/rules to use bash instead of sh to execute this script resolves the issue (I will work on a patch).
> However the do-component-build script itself uses #!/bin/sh which is not really correct either - it might make sense to change this and execute this script directly through debian/rules rather than force execution with bash - opinions invited.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira