[MacPorts] #30262: qt4-mac fails on 10.7
#30262: qt4-mac fails on 10.7 -------------------------------------+-------------------------------------- Reporter: marc.schlaich@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: qt4-mac -------------------------------------+-------------------------------------- I cannot compile Qt after updated to OS X 10.7 Lion. -- Ticket URL: <https://trac.macports.org/ticket/30262> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30262: qt4-mac fails on 10.7 -------------------------------------+-------------------------------------- Reporter: marc.schlaich@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: qt4-mac -------------------------------------+-------------------------------------- Changes (by jmr@…): * owner: macports-tickets@… => michaelld@… Comment: Please remember to cc the maintainer. Are you really using 1.9.2? If so, please first install a newer version such as 2.0.0-rc1. -- Ticket URL: <https://trac.macports.org/ticket/30262#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30262: qt4-mac fails on 10.7 -------------------------------------+-------------------------------------- Reporter: marc.schlaich@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: qt4-mac -------------------------------------+-------------------------------------- Comment(by marc.schlaich@…): Same error with a new MacPorts installation and 2.0.0-rc1 -- Ticket URL: <https://trac.macports.org/ticket/30262#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30262: qt4-mac fails on 10.7 -------------------------------------+-------------------------------------- Reporter: marc.schlaich@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: lion | Port: qt4-mac -------------------------------------+-------------------------------------- Changes (by jmr@…): * keywords: => lion * version: 1.9.2 => 1.9.99 -- Ticket URL: <https://trac.macports.org/ticket/30262#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30262: qt4-mac fails on 10.7 -------------------------------------+-------------------------------------- Reporter: marc.schlaich@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: lion | Port: qt4-mac -------------------------------------+-------------------------------------- Comment(by jamesfmarshall@…): After having the same problem, I followed the instructions on the Migration page, deleted all my ports, cleaned everything, selfupdated MacPorts 2.0.0, and then reinstalled all my ports - except qt4-mac. I saw no problems with the building or installation of any of those ports. I then did a sudo port install qt4-mac. The build process ran for at least half an hour before the build failed. The main.log is attached. For whatever reason, this main.log is much, much longer than the one generated the first time I tried to build and install qt4-mac. I have no idea whether this is significant, but it seems odd. In any event, this much longer main.log file may provide more information of use to solving the problems that prevent qt4-mac from building under Lion. -- Ticket URL: <https://trac.macports.org/ticket/30262#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30262: qt4-mac fails on 10.7 -------------------------------------+-------------------------------------- Reporter: marc.schlaich@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: lion | Port: qt4-mac -------------------------------------+-------------------------------------- Comment(by jamesfmarshall@…): My main.log file was renamed main.2.log. -- Ticket URL: <https://trac.macports.org/ticket/30262#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30262: qt4-mac fails on 10.7 -------------------------------------+-------------------------------------- Reporter: marc.schlaich@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: lion | Port: qt4-mac -------------------------------------+-------------------------------------- Comment(by michaelld@…): Thank y'all for the logs; please compress the bigger ones first next time. I'm traveling right now, and probably won't be able to download / install Lion until early August. So, unless someone can come up with a patch in the interim, folks will just have to be patient for a few weeks. -- Ticket URL: <https://trac.macports.org/ticket/30262#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30262: qt4-mac fails on 10.7 -------------------------------------+-------------------------------------- Reporter: marc.schlaich@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: lion | Port: qt4-mac -------------------------------------+-------------------------------------- Comment(by carsomyr@…): Hi all, after some searching, I found out that 4.8.0-beta1 is indeed compatible with Lion! Please find Portfile patch archive attached for transitioning from qt4-mac @4.7.3 to qt4-mac-devel @4.8.0-beta1. I built it, and no problems so far. Some tweaks are necessary: 1. The CoreWLAN patch needs to be updated further. 2. Some names and lines of code have been shuffled around. -- Ticket URL: <https://trac.macports.org/ticket/30262#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30262: qt4-mac fails on 10.7 -------------------------------------+-------------------------------------- Reporter: marc.schlaich@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: lion | Port: qt4-mac -------------------------------------+-------------------------------------- Comment(by jamesfmarshall@…): How do we use patch-4.7.3-to-4.8.0-beta1.tgz? -- Ticket URL: <https://trac.macports.org/ticket/30262#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30262: qt4-mac fails on 10.7 -------------------------------------+-------------------------------------- Reporter: marc.schlaich@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: lion | Port: qt4-mac -------------------------------------+-------------------------------------- Comment(by pixilla@…): To download the patch I have to change /attachment/ to /raw-attachment/ in the url [https://trac.macports.org/raw- attachment/ticket/30262/patch-4.7.3-to-4.8.0-beta1.tgz patch-4.7.3-to-4.8.0-beta1.tgz] -- Ticket URL: <https://trac.macports.org/ticket/30262#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30262: qt4-mac fails on 10.7 -------------------------------------+-------------------------------------- Reporter: marc.schlaich@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: lion | Port: qt4-mac -------------------------------------+-------------------------------------- Comment(by jamesfmarshall@…): It's the "something similar" that gets me every time. :-) -- Ticket URL: <https://trac.macports.org/ticket/30262#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30262: qt4-mac fails on 10.7 -------------------------------------+-------------------------------------- Reporter: marc.schlaich@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: lion | Port: qt4-mac -------------------------------------+-------------------------------------- Comment(by raimue@…): [https://bugreports.qt.nokia.com/browse/QTBUG-20496 Upstream bug report] -- Ticket URL: <https://trac.macports.org/ticket/30262#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30262: qt4-mac fails on 10.7 with llvm-gcc-4.2 -------------------------------------+-------------------------------------- Reporter: marc.schlaich@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: lion | Port: qt4-mac -------------------------------------+-------------------------------------- Changes (by raimue@…): * cc: raimue@… (added) Comment: Here is a patch for the error related to NSDragOperation. Unfortunately qt4-mac still didn't compile for me due to the error described in #30271. Michael, may I commit this first patch which allows using llvm-gcc-4.2 and close this ticket? -- Ticket URL: <https://trac.macports.org/ticket/30262#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30262: qt4-mac fails on 10.7 with llvm-gcc-4.2 -------------------------------------+-------------------------------------- Reporter: marc.schlaich@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: lion | Port: qt4-mac -------------------------------------+-------------------------------------- Comment(by snc@…): GO for it: permission granted in comment 6 ;-) -- Ticket URL: <https://trac.macports.org/ticket/30262#comment:16> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30262: qt4-mac fails on 10.7 with llvm-gcc-4.2 -------------------------------------+-------------------------------------- Reporter: marc.schlaich@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: lion | Port: qt4-mac -------------------------------------+-------------------------------------- Comment(by jamesfmarshall@…): How can we tell when the patch has been applied/committed? -- Ticket URL: <https://trac.macports.org/ticket/30262#comment:17> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30262: qt4-mac fails on 10.7 with llvm-gcc-4.2 -------------------------------------+-------------------------------------- Reporter: marc.schlaich@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: lion | Port: qt4-mac -------------------------------------+-------------------------------------- Comment(by snc@…): After a `port selfupdate` or `port sync` the port will show as outdated when you do `port outdated`. -- Ticket URL: <https://trac.macports.org/ticket/30262#comment:18> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30262: qt4-mac fails on 10.7 with llvm-gcc-4.2 -------------------------------------+-------------------------------------- Reporter: marc.schlaich@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: lion | Port: qt4-mac -------------------------------------+-------------------------------------- Comment(by jamesfmarshall@…): Replying to [comment:18 snc@…]:
After a `port selfupdate` or `port sync` the port will show as outdated when you do `port outdated`.
But I don't have qt4-mac installed because I followed the Migration instructions. -- Ticket URL: <https://trac.macports.org/ticket/30262#comment:19> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30262: qt4-mac fails on 10.7 with llvm-gcc-4.2 -------------------------------------+-------------------------------------- Reporter: marc.schlaich@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: lion | Port: qt4-mac -------------------------------------+-------------------------------------- Comment(by snc@…): Ah, then check `port info …` periodically, and hopefully the change would be marked in this ticket. Another you can do is go to the browser section of the site and just watch if the Portfile is updated there. -- Ticket URL: <https://trac.macports.org/ticket/30262#comment:20> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30262: qt4-mac fails on 10.7 with llvm-gcc-4.2 -------------------------------------+-------------------------------------- Reporter: marc.schlaich@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: lion | Port: qt4-mac -------------------------------------+-------------------------------------- Comment(by michaelld@…): Replying to [comment:16 snc@…]:
GO for it: permission granted in comment 6 ;-)
What SNC said :) Yes, please do commit, if you haven't already. -- Ticket URL: <https://trac.macports.org/ticket/30262#comment:22> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30262: qt4-mac fails on 10.7 with llvm-gcc-4.2 --------------------------------------+------------------------------------- Reporter: marc.schlaich@… | Owner: michaelld@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Resolution: fixed | Keywords: lion Port: qt4-mac | --------------------------------------+------------------------------------- Changes (by raimue@…): * status: new => closed * resolution: => fixed Comment: Thanks! Patch committed in r81019. Please note that qt4-mac will still not build due to errors related to dbus, see #30271. -- Ticket URL: <https://trac.macports.org/ticket/30262#comment:23> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30262: qt4-mac fails on 10.7 with llvm-gcc-4.2 --------------------------------------+------------------------------------- Reporter: marc.schlaich@… | Owner: michaelld@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Resolution: fixed | Keywords: lion Port: qt4-mac | --------------------------------------+------------------------------------- Comment(by jamesfmarshall@…): Is this the same problem? https://bugreports.qt.nokia.com//browse/QTBUG-17869 Mike McQuaid commented on QTBUG-20496 (Qt does not compile under OSX Lion or llvm-gcc) saying: This can probable be closed, the merge request has been merged and commit included. https://qt.gitorious.org/qt/qt/merge_requests/1304 -- Ticket URL: <https://trac.macports.org/ticket/30262#comment:24> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30262: qt4-mac fails on 10.7 with llvm-gcc-4.2 --------------------------------------+------------------------------------- Reporter: marc.schlaich@… | Owner: michaelld@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Resolution: fixed | Keywords: lion Port: qt4-mac | --------------------------------------+------------------------------------- Comment(by raimue@…): Replying to [comment:24 jamesfmarshall@…]:
Is this the same problem?
No. The linked issue is about running Qt, not about building anything.
Mike McQuaid commented on QTBUG-20496 (Qt does not compile under OSX Lion or llvm-gcc) saying: This can probable be closed, the merge request has been merged and commit included.
As you could have found out reviewing the files added in r81019, this is exactly what I added as a local patch file to the qt4-mac port. -- Ticket URL: <https://trac.macports.org/ticket/30262#comment:25> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts