On 29 Mar 2012, at 14:36, Alexander Hansen wrote:

> On 3/29/12 11:35 AM, Alexander Hansen wrote:
>> I don't see this on my test system with fink-0.32.4.1 and only the 
>> command-line-tools.  It's completely able to selfupdate and build packages.  
>> Without seeing some sample output.
> "Without seeing some sample output." didn't get deleted before I sent the 
> message.  Oops.

I cannot provide any sample output because there is none. WITHOUT Xcode.app 
installed fink simply was hanging when running xcodebuild.
All simple commands like "fink list" hang on that command. It just sat and 
waited.

After installing Xcode.app, and updating the command line tools all's fine 
again.

Since I assumed I was just trying to cut corners by not installing Xcode.app 
but only the command-line tools, I did not file a bug report. It's this thread 
that made me bring it up.

You say you don't see this on your test system. Is this because you have 
Xcode.app installed? Or don't you.

It maybe because I had an older version of the command line tools (of January) 
before I reinstalled Xcode.app.

I can say though, that now that I trashed Xcode.app, fink still runs. So I 
think we can assume it was the older version of the command line tools that 
caused the problem. So a requirement seems to be to need the latest (Late 
March) version of the command line tools for this to work without Xcode.app. 
The only thing is that I get on any fink command (like "fink list") the 
warnings:

Use of uninitialized value $sdkpath in concatenation (.) or string at 
/sw/lib/perl5/Fink/VirtPackage.pm line 701.
Use of uninitialized value $sdkpath in concatenation (.) or string at 
/sw/lib/perl5/Fink/VirtPackage.pm line 701.

OK. I found the culprit: xcode-select

Before I had Xcode.app installed I used
sudo xcode-select -switch /
to since that's where the command line tools are.
But doing so hangs "xcodebuild"

When I installed Xcode.app I changed it to
sudo xcode-select -switch /Applications/Xcode.app
and things work

Then after removing Xcode.app I get the warnings above.

Changing it back to
sudo xcode-select -switch /
and xcodebuild hangs again (and thus hangs "fink")

Changing it back to /Applications/Xcode.app is not possible since that causes 
xcode-select to say:
xcode-select: Error: Path "/Applications/Xcode.app" is not a directory.

Then changing it to
sudo xcode-select -switch /tmp
makes xcodebuild run again but with an error, and "fink list" will print the 
warning above again.

It looks like the "fink" command should either drop the use of xcodebuild or 
use xcode-select -print-path instead.

Cheers,
Remko

Regards,
Remko





------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to