History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-2161
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Robin Shen
Reporter: Andrei Kortsak
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

Error message when running "agent.sh" on Mac OS X

Created: 27/Aug/14 06:45 AM   Updated: 21/Dec/14 01:09 PM
Component/s: None
Affects Version/s: 5.1.30
Fix Version/s: 6.0.0

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment:
QuickBuild buildagent 5.1.30
Mac OS X Yosemite (10.10)


 Description  « Hide
Running ".../buildagent/bin/agent.sh start" (starting buildagent) gives next error:
uname: illegal option -- o
usage: uname [-amnprsv]

Though, it still starts agent.

Digging into "agent.sh" showed that it is caused by next code:
CYGWIN=`uname -o`

As "-o" options for "uname" command is not available on Mac OS X , it gives such error.

 All   Comments   Work Log   Change History      Sort Order:
Robin Shen [28/Aug/14 03:46 AM]
Thanks for the info. Unfortunately we are not able to test again Yosemite as it has not been released yet. Will come up with the fix once it is released.

Andrei Kortsak [28/Aug/14 12:54 PM]
In general, it should have the same issue on all Mac OS X machines where "agent.sh" script will run.
As I have mentioned, "-o" option for "uname" command is not available on Mac OS X (no matter what version - Yosemite or earlier)

Robin Shen [29/Aug/14 06:58 AM]
Thanks for the info. We've verified that QB does have this issue on current version of Mac OS X. We will get it fixed.