[MacPorts] #37874: qt4-mac fails to build on osx 10.8.2 with xcode 4.6
#37874: qt4-mac fails to build on osx 10.8.2 with xcode 4.6 ---------------------------------+-------------------------------- Reporter: mavaugha@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts 2.1.3 Component: ports | Version: 2.1.2 Keywords: mountain lion Xcode | Port: qt4-mac ---------------------------------+-------------------------------- I just tried a clean build of qt4-mac on my mac running mountain lion (10.8.2) after having updated xcode to 4.6, and the build fails: {{{ null-60334b211b03:~ Michelle$ sudo port install qt4-mac +debug +universal ---> Computing dependencies for qt4-mac ---> Fetching archive for qt4-mac ---> Attempting to fetch qt4-mac-4.8.4_3+debug+universal.darwin_12.i386-x86_64.tbz2 from http://packages.macports.org/qt4-mac ---> Attempting to fetch qt4-mac-4.8.4_3+debug+universal.darwin_12.i386-x86_64.tbz2 from http://lil.fr.packages.macports.org/qt4-mac ---> Attempting to fetch qt4-mac-4.8.4_3+debug+universal.darwin_12.i386-x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/qt4-mac ---> Fetching distfiles for qt4-mac ---> Verifying checksum(s) for qt4-mac ---> Extracting qt4-mac ---> Applying patches to qt4-mac ---> Configuring qt4-mac ---> Building qt4-mac Error: org.macports.build for port qt4-mac returned: command execution failed Please see the log file for port qt4-mac for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt4-mac/qt4-mac/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port qt4-mac failed }}} I attached the log (hope this might be a quick fix...) -- Ticket URL: <https://trac.macports.org/ticket/37874> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37874: qt4-mac @4.8.4_3: fails to build on osx 10.8.2 with xcode 4.6 -------------------------+------------------------- Reporter: mavaugha@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: qt4-mac | -------------------------+------------------------- Changes (by larryv@…): * keywords: mountain lion Xcode => * cc: michaelld@… (removed) * owner: macports-tickets@… => michaelld@… * milestone: MacPorts 2.1.3 => Comment: Thanks for the ticket. -- Ticket URL: <https://trac.macports.org/ticket/37874#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37874: qt4-mac @4.8.4_3: fails to build on osx 10.8.2 with xcode 4.6 -------------------------+------------------------- Reporter: mavaugha@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: qt4-mac | -------------------------+------------------------- Comment (by michaelld@…): What do the following return: {{{ /usr/bin/clang++ -v xcodebuild -version uname -a }}} -- Ticket URL: <https://trac.macports.org/ticket/37874#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37874: qt4-mac @4.8.4_3: fails to build on osx 10.8.2 with xcode 4.6 -------------------------+------------------------- Reporter: mavaugha@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: qt4-mac | -------------------------+------------------------- Comment (by mavaugha@…): Here's what I get: {{{ Michelles-MacBook-Pro:~ Michelle$ /usr/bin/clang++ -v Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn) Target: x86_64-apple-darwin12.2.0 Thread model: posix Michelles-MacBook-Pro:~ Michelle$ xcodebuild -version Xcode 4.6 Build version 4H127 Michelles-MacBook-Pro:~ Michelle$ uname -a Darwin Michelles-MacBook-Pro.local 12.2.0 Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64 x86_64 }}} -- Ticket URL: <https://trac.macports.org/ticket/37874#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37874: qt4-mac @4.8.4_3: fails to build on osx 10.8.2 with xcode 4.6 -------------------------+------------------------- Reporter: mavaugha@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: qt4-mac | -------------------------+------------------------- Comment (by michaelld@…): I'm compiling qt4-mac right now with (I think) the same OS, compiler, and variants as yours; hopefully it will break in the same way and I can figure a way around it quickly. The error is: {{{ :info:build In file included from kernel/qcursor_mac.mm:52: :info:build In file included from ../../include/QtGui/private/qt_cocoa_helpers_mac_p.h:1: :info:build ../../include/QtGui/private/../../../src/gui/kernel/qt_cocoa_helpers_mac_p.h:158:10: error: extra qualification on member 'TabletProximityRec' :info:build struct ::TabletProximityRec; :info:build ~~^ }}} which is odd. It seems like the new CLANG is not liking the syntax that the prior CLANG was OK with. This struct is defined in CarbonEvents.h:14277, which is part of the HIToolbox, which is part of Carbon. There's nothing special about the way this struct is defined, in either header. I'll post back once I know more. -- Ticket URL: <https://trac.macports.org/ticket/37874#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37874: qt4-mac @4.8.4_3: fails to build on osx 10.8.2 with xcode 4.6 -------------------------+------------------------- Reporter: mavaugha@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: qt4-mac | -------------------------+------------------------- Comment (by michaelld@…): I have replicated this error; yay! Now, trying to fix it ... -- Ticket URL: <https://trac.macports.org/ticket/37874#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37874: qt4-mac @4.8.4_3: fails to build on osx 10.8.2 with xcode 4.6 -------------------------+------------------------- Reporter: mavaugha@… | Owner: michaelld@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: qt4-mac | -------------------------+------------------------- Changes (by michaelld@…): * status: new => closed * resolution: => fixed Comment: Fixed in r102396. You'll need to do a "sudo port selfupdate" or whatever command you do to get updates. -- Ticket URL: <https://trac.macports.org/ticket/37874#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts