New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #33646 (closed defect: invalid)

Opened 14 months ago

Last modified 14 months ago

subversion-perlbindings build script looks in the wrong path for clang

Reported by: swordangel@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: clang xcode developer_dir Cc:
Port: subversion-perlbindings

Description

I just tried upgrading subversion-perlbindings today and it failed. It appears that the build script is still using a hardcoded path to clang ("/Developer/usr/bin/clang"), even though I have already uninstalled Xcode 4.2.1 and installed Xcode 4.3.1.

My output of xcode-select -print-path is "/Applications/Xcode.app/Contents/Developer", and I don't have the developer_dir directive set in "/opt/local/etc/macports/macports.conf".

Note, however, that Xcode 4.3.1 doesn't seem to come with clang at all, even with the "Command Line Tools" package. The only copy of clang I have right now seems to be at /usr/bin/clang.

I'm using MacPorts 2.0.4, Xcode 4.3.1 with Command Line Tools package, on Mac OS X 10.7.3 Lion.

Attachments

main.log (7.4 KB) - added by swordangel@… 14 months ago.
Main log

Change History

Changed 14 months ago by swordangel@…

Main log

comment:1 follow-up: ↓ 3 Changed 14 months ago by ryandesign@…

Rebuild libtool and apr. This has come up several times on the list already. We should update wiki:ProblemHotlist#xcode43 to include libtool and apr.

comment:2 follow-up: ↓ 4 Changed 14 months ago by ryandesign@…

Of course Xcode 4.3.1 comes with clang.

comment:3 in reply to: ↑ 1 Changed 14 months ago by swordangel@…

Replying to ryandesign@…:

Rebuild libtool and apr. This has come up several times on the list already. We should update wiki:ProblemHotlist#xcode43 to include libtool and apr.

I just rebuilt libtool and apr, by running:

port -n upgrade --force libtool apr

And then I cleaned subversion-perlbindings using:

port clean subversion-perlbindings

Finally, I retried the upgrade:

port upgrade subversion-perlbindings

I still get the same error, however.

comment:4 in reply to: ↑ 2 Changed 14 months ago by swordangel@…

Replying to ryandesign@…:

Of course Xcode 4.3.1 comes with clang.

You are right, Xcode 4.3.1 does come with clang. It's just not where I expect it to be ("/Applications/Xcode.app/Contents/Developer/usr/bin/"). Instead I find it at 2 other places:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang

comment:5 Changed 14 months ago by swordangel@…

So according to neverpan1c and Raim in the #macports IRC channel on Freenode, I have to rebuild perl5.12, too:

port -n upgrade --force perl5.12

I did that and the problem is gone.

comment:6 Changed 14 months ago by dluke@…

  • Status changed from new to closed
  • Resolution set to invalid
Note: See TracTickets for help on using tickets.