New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #35150 (closed defect: fixed)

Opened 22 months ago

Last modified 22 months ago

builds fail with Xcode 4.4

Reported by: k.krauter@… Owned by: mfeiri@…
Priority: Normal Milestone: MacPorts 2.1.2
Component: base Version: 2.1.1
Keywords: Cc: dnedrow@…
Port: libunwind-headers

Description

My System:
Mountain Lion GM Seed 10.8
Xcode 4.4

What i have done is:

  1. Remove Xcode 4.3 and and Xcode 4.4
  2. sudo port selfupdate [=> no errors]
  3. sudo port upgrade outdated [=> couple of errors, e.g. Xcode not found]
  4. Xcode install console [=> no errors]
  5. sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer [=> no errors]
  6. sudo port upgrade outdated
Error: 
Error: No valid Xcode installation is properly selected.
Error: Please use xcode-select to select an Xcode installation:
Error:     sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer # version 4.4
Error: 
--->  Building libunwind-headers
Error: org.macports.build for port libunwind-headers returned: command execution failed
Please see the log file for port libunwind-headers for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libunwind-headers/libunwind-headers/main.log
Error: Problem while installing libunwind-headers

Attachments

main.log (3.0 KB) - added by k.krauter@… 22 months ago.
macports.tcl.diff (402 bytes) - added by dnedrow@… 22 months ago.
Patch for Xcode 4.4 and 4.5 validation check

Change History

Changed 22 months ago by k.krauter@…

comment:1 Changed 22 months ago by ryandesign@…

  • Owner changed from macports-tickets@… to mfeiri@…
  • Port set to libunwind-headers
  • Summary changed from Error: Problem while installing libunwind-headers to libunwind-headers: build fails with Xcode 4.4

Xcode 4.4 is not a final release yet so we don't support it yet.

Changed 22 months ago by dnedrow@…

Patch for Xcode 4.4 and 4.5 validation check

comment:2 follow-up: ↓ 4 Changed 22 months ago by dnedrow@…

Knowing that Xcode 4.4 and 4.5 are not yet supported…

4.4 and 4.5 no longer include the Headers directory under Xcode.app/Contents/Developer. Looks like these headers were for building legacy carbon apps, which are no longer supported.

Patch file attached should anyone want to apply it.

comment:3 Changed 22 months ago by dnedrow@…

  • Cc dnedrow@… added

Cc Me!

comment:4 in reply to: ↑ 2 Changed 22 months ago by k.krauter@…

Replying to dnedrow@…:

Knowing that Xcode 4.4 and 4.5 are not yet supported…

4.4 and 4.5 no longer include the Headers directory under Xcode.app/Contents/Developer. Looks like these headers were for building legacy carbon apps, which are no longer supported.

Patch file attached should anyone want to apply it.

thank you for this patch, that i have applied. the problem still persists, same error.

comment:5 Changed 22 months ago by k.krauter@…

  • Cc k.krauter@… added

Cc Me!

comment:6 Changed 22 months ago by k.krauter@…

  • Cc k.krauter@… removed

Cc Me!

comment:7 in reply to: ↑ description ; follow-up: ↓ 8 Changed 22 months ago by kankuma@…

1.Xcode 4.4 installed. 2.Xcode 4.4 Command Line Tools installed. 3.Terminal open.

4.sudo xcodebuild -license [=>'space'=>'space'...] 5.By typing 'agree' you are agreeing to the terms of the software license agreements. Type 'print' to print them or anything else to cancel, [agree, print, cancel] 6.[=>agree<enter-key>] 7.You can view the license agreements in Xcode's About Box, or at /Applications/Xcode44-DP7.app/Contents/Resources/English.lproj/License.rtf

8.sudo xcode-select -switch /Applications/Xcode44-DP7.app/Contents/Developer 9.sudo port upgrade outdated

Not Error:libunwind-headers

comment:8 in reply to: ↑ 7 Changed 22 months ago by k.krauter@…

Replying to kankuma@…:

1.Xcode 4.4 installed. 2.Xcode 4.4 Command Line Tools installed. 3.Terminal open.

4.sudo xcodebuild -license [=>'space'=>'space'...] 5.By typing 'agree' you are agreeing to the terms of the software license agreements. Type 'print' to print them or anything else to cancel, [agree, print, cancel] 6.[=>agree<enter-key>] 7.You can view the license agreements in Xcode's About Box, or at /Applications/Xcode44-DP7.app/Contents/Resources/English.lproj/License.rtf

8.sudo xcode-select -switch /Applications/Xcode44-DP7.app/Contents/Developer 9.sudo port upgrade outdated

Not Error:libunwind-headers

thank you very much, I have totally forgot the agreements. after I applied the patch above and agree the license => "port update outdated" runs without errors! thanks again.

comment:9 Changed 22 months ago by mfeiri@…

  • Status changed from new to closed
  • Resolution set to fixed
  • Summary changed from libunwind-headers: build fails with Xcode 4.4 to builds fail with Xcode 4.4

Good to hear your problem is solved. Applied the Xcode 4.4 support patch in r95552. Thanks dnedrow!

comment:10 Changed 22 months ago by jmr@…

  • Component changed from ports to base
  • Milestone set to MacPorts Future

comment:11 Changed 22 months ago by jmr@…

  • Milestone changed from MacPorts Future to MacPorts 2.1.2
Note: See TracTickets for help on using tickets.