bugManeage - Bugs: bug #59587, Checking Xcode fails

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #59587: Checking Xcode fails

Submitter:  Mohammad Akhlaghi <makhlaghi>
Submitted:  Tue 01 Dec 2020 02:41:31 PM UTC
   
 
Category:  Software Severity:  3 - Normal
Item Group:  Crash Status:  Confirmed
Privacy:  Public Assigned to:  infantesainz
Open/Closed:  Open

Tue 01 Dec 2020 02:47:03 PM UTC, comment #1: 

For some reason, only the first paragraph of the main report was stored on the webpage (but it was sent as an email). Just for the record on Savannah, here is the rest of the original report:


xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer
directory '/Library/Developer/CommandLineTools' is a command line tools
instance


Since she had already built Maneage before, we figured it may be due to the recent Commit 0c882a44 (where we check to see if Xcode is available on macOS systems). The problem is also internal to Xcode apparently, so the 'which xcodebuild' has apparently succeed.

As a fast fix, she commented the line below and the configure script was able to progress and successfully pass this step.


xcode_version=$(xcodebuild -version | grep Xcode)


I had a fast search but since I am not too familiar with macOS, I couldn't find the problem. Raul, can you see what is causing this issue so we can hopefully account for it automatically (or atleast tell the users what to do to fix it)?

Alternatively, maybe we can just remove this statement: merely checking for the existance of 'xcodebuild' can be enough.

What do you think Raul? Mahdieh can run any test command you recommend to help debug this, she is in the Cc of this bug.

Mohammad Akhlaghi <makhlaghi>
Group administrator
Tue 01 Dec 2020 02:41:31 PM UTC, original submission:  

Mahdieh just reported this problem:

She recently merged her project with the core 'maneage' branch and wanted to fully reconfigure the software environment (that was working before). But the following error showed up immediately after running './project configure -e':


xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
-verbatim+

Since she had already built Maneage before, we figured it may be due to the recent [http://git.maneage.org/project.git/commit/?id=0c882a44 Commit 0c882a44] (where we check to see if Xcode is available on macOS systems). The problem is also internal to Xcode apparently, so the 'which xcodebuild' has apparently succeed.

As a fast fix, she commented the line below and the configure script was able to progress and successfully pass this step.

+verbatim+
xcode_version=$(xcodebuild -version | grep Xcode)


I had a fast search but since I am not too familiar with macOS, I couldn't find the problem. Raul, can you see what is causing this issue so we can hopefully account for it automatically (or atleast tell the users what to do to fix it)?

Alternatively, maybe we can just remove this statement: merely checking for the existance of 'xcodebuild' can be enough.

What do you think Raul? Mahdieh can run any test command you recommend to help debug this, she is in the Cc of this bug.

Mohammad Akhlaghi <makhlaghi>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by makhlaghi (Submitted the item)
  • -email is unavailable- added by makhlaghi
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-12-01 makhlaghi Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.14-f13d.
    Corresponding source code