bugReproducible paper template - 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

Submitted by:  Mohammad Akhlaghi <makhlaghi>
Submitted on:  Tue 01 Dec 2020 02:41:31 PM UTC  
 
Category:  Software Severity:  3 - Normal
Item Group:  Crash Status:  Confirmed
Privacy:  Public Assigned to:  Raul Infante-Sainz <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>
Project 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':

Mohammad Akhlaghi <makhlaghi>
Project Administrator

 

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
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-12-01 makhlaghi Carbon-Copy- => Added mahnav86@gmail.com

    Back to the top


    Powered by Savane 3.6