[MacPorts] #35150: Error: Problem while installing libunwind-headers
#35150: Error: Problem while installing libunwind-headers ------------------------------+--------------------------------------------- Reporter: k.krauter@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: ------------------------------+--------------------------------------------- My System: [[BR]] Mountain Lion GM Seed 10.8[[BR]] Xcode 4.4 [[BR]] [[BR]] What i have done is:[[BR]] 1. Remove Xcode 4.3 and and Xcode 4.4[[BR]] 2. sudo port selfupdate [=> no errors][[BR]] 3. sudo port upgrade outdated [=> couple of errors, e.g. Xcode not found][[BR]] 4. Xcode install console [=> no errors][[BR]] 5. sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer [=> no errors][[BR]] 6. sudo port upgrade outdated[[BR]] {{{ 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 }}} -- Ticket URL: <https://trac.macports.org/ticket/35150> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35150: libunwind-headers: build fails with Xcode 4.4 ------------------------------+--------------------------------------------- Reporter: k.krauter@… | Owner: mfeiri@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: libunwind-headers ------------------------------+--------------------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => mfeiri@… * port: => libunwind-headers Comment: Xcode 4.4 is not a final release yet so we don't support it yet. -- Ticket URL: <https://trac.macports.org/ticket/35150#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35150: libunwind-headers: build fails with Xcode 4.4 ------------------------------+--------------------------------------------- Reporter: k.krauter@… | Owner: mfeiri@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: libunwind-headers ------------------------------+--------------------------------------------- Comment(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. -- Ticket URL: <https://trac.macports.org/ticket/35150#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35150: libunwind-headers: build fails with Xcode 4.4 ------------------------------+--------------------------------------------- Reporter: k.krauter@… | Owner: mfeiri@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: libunwind-headers ------------------------------+--------------------------------------------- Comment(by k.krauter@…): Replying to [comment:2 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. -- Ticket URL: <https://trac.macports.org/ticket/35150#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35150: libunwind-headers: build fails with Xcode 4.4 ------------------------------+--------------------------------------------- Reporter: k.krauter@… | Owner: mfeiri@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: libunwind-headers ------------------------------+--------------------------------------------- Comment(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 -- Ticket URL: <https://trac.macports.org/ticket/35150#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35150: libunwind-headers: build fails with Xcode 4.4 ------------------------------+--------------------------------------------- Reporter: k.krauter@… | Owner: mfeiri@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: libunwind-headers ------------------------------+--------------------------------------------- Comment(by k.krauter@…): Replying to [comment:7 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. -- Ticket URL: <https://trac.macports.org/ticket/35150#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35150: builds fail with Xcode 4.4 --------------------------------+------------------------------------------- Reporter: k.krauter@… | Owner: mfeiri@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: fixed | Keywords: Port: libunwind-headers | --------------------------------+------------------------------------------- Changes (by mfeiri@…): * status: new => closed * resolution: => fixed Comment: Good to hear your problem is solved. Applied the Xcode 4.4 support patch in r95552. Thanks dnedrow! -- Ticket URL: <https://trac.macports.org/ticket/35150#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35150: builds fail with Xcode 4.4 --------------------------------+------------------------------------------- Reporter: k.krauter@… | Owner: mfeiri@… Type: defect | Status: closed Priority: Normal | Milestone: MacPorts Future Component: base | Version: 2.1.1 Resolution: fixed | Keywords: Port: libunwind-headers | --------------------------------+------------------------------------------- Changes (by jmr@…): * component: ports => base * milestone: => MacPorts Future -- Ticket URL: <https://trac.macports.org/ticket/35150#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35150: builds fail with Xcode 4.4 --------------------------------+------------------------------------------- Reporter: k.krauter@… | Owner: mfeiri@… Type: defect | Status: closed Priority: Normal | Milestone: MacPorts 2.1.2 Component: base | Version: 2.1.1 Resolution: fixed | Keywords: Port: libunwind-headers | --------------------------------+------------------------------------------- Changes (by jmr@…): * milestone: MacPorts Future => MacPorts 2.1.2 -- Ticket URL: <https://trac.macports.org/ticket/35150#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts