[MacPorts] #29141: doxygen on 10.7 - qglobal.h:93:6: error: #error "This version of Mac OS X is unsupported"
#29141: doxygen on 10.7 - qglobal.h:93:6: error: #error "This version of Mac OS X is unsupported" -------------------------------------+-------------------------------------- Reporter: sorin.sbarnea@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: MacPorts 2.0.0 Component: ports | Version: 1.9.99 Keywords: | Port: doxygen -------------------------------------+-------------------------------------- doxygen fails to install on 10.7, svn macports qglobal.h:93:6: error: #error "This version of Mac OS X is unsupported" -- Ticket URL: <https://trac.macports.org/ticket/29141> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29141: doxygen on 10.7 - qglobal.h:93:6: error: #error "This version of Mac OS X is unsupported" -------------------------------------+-------------------------------------- Reporter: sorin.sbarnea@… | Owner: css@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: | Port: doxygen -------------------------------------+-------------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => css@… * priority: High => Normal * milestone: MacPorts 2.0.0 => Old description:
doxygen fails to install on 10.7, svn macports
qglobal.h:93:6: error: #error "This version of Mac OS X is unsupported"
New description: doxygen fails to install on 10.7, svn macports {{{ qglobal.h:93:6: error: #error "This version of Mac OS X is unsupported" }}} -- Comment: MacPorts on Mac OS X 10.7 is unsupported in general, until Mac OS X 10.7 is released by Apple to the general public and we've had a chance to play with it. -- Ticket URL: <https://trac.macports.org/ticket/29141#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29141: doxygen on 10.7 - qglobal.h:93:6: error: #error "This version of Mac OS X is unsupported" -------------------------------------+-------------------------------------- Reporter: sorin.sbarnea@… | Owner: css@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: | Port: doxygen -------------------------------------+-------------------------------------- Comment(by sorin.sbarnea@…): I read that for 10.7 we are supposed to use trunk, which I did and worked pretty well because there are no major changes. And as developers we are supposed to use prerelease versions because this is the only way of preparing macports to be ready for normal users. But this is not the problem. I found that the issue is trivial because original qt developer wrote some code with a silly enforced lifetime limitation. It was enough to comment the line that throws the error to make doxygen to work! Please comment line #96, it will solve the issue, or better replace it with an warning. -- Ticket URL: <https://trac.macports.org/ticket/29141#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29141: qt4-mac dependents on 10.7 - qglobal.h:93:6: error: #error "This version of Mac OS X is unsupported" -------------------------------------+-------------------------------------- Reporter: sorin.sbarnea@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: | Port: qt4-mac doxygen -------------------------------------+-------------------------------------- Changes (by jmr@…): * owner: css@… => michaelld@… * cc: css@… (added) * port: doxygen => qt4-mac doxygen Comment: So presumably this only happens with +wizard, and should actually be against qt4-mac. -- Ticket URL: <https://trac.macports.org/ticket/29141#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29141: qt4-mac dependents on 10.7 - qglobal.h:93:6: error: #error "This version of Mac OS X is unsupported" -------------------------------------+-------------------------------------- Reporter: sorin.sbarnea@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: lion | Port: qt4-mac doxygen -------------------------------------+-------------------------------------- Changes (by snc@…): * keywords: => lion * cc: snc@… (added) -- Ticket URL: <https://trac.macports.org/ticket/29141#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29141: qt4-mac dependents on 10.7 - qglobal.h:93:6: error: #error "This version of Mac OS X is unsupported" -------------------------------------+-------------------------------------- Reporter: sorin.sbarnea@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: lion | Port: qt4-mac doxygen -------------------------------------+-------------------------------------- Comment(by snc@…): This patch build successfully on 10.6. -- Ticket URL: <https://trac.macports.org/ticket/29141#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29141: qt4-mac dependents on 10.7 - qglobal.h:93:6: error: #error "This version of Mac OS X is unsupported" -------------------------------------+-------------------------------------- Reporter: sorin.sbarnea@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: lion | Port: qt4-mac doxygen -------------------------------------+-------------------------------------- Comment(by m.haller@…): /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/qt4-mac/work /qt-everywhere-opensource-src-4.7.3/src/corelib/global/qglobal.h (md5: 351810032e11221cff61def243eea975) of qt4-mac 4.7.3 has to be patched {{{ 319,322c319 < # if !defined(MAC_OS_X_VERSION_10_7) < # define MAC_OS_X_VERSION_10_7 MAC_OS_X_VERSION_10_6 + 1 < # endif < # if (MAC_OS_X_VERSION_MAX_ALLOWED > MAC_OS_X_VERSION_10_7) ---
# if (MAC_OS_X_VERSION_MAX_ALLOWED > MAC_OS_X_VERSION_10_6) }}}
-- Ticket URL: <https://trac.macports.org/ticket/29141#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29141: qt4-mac dependents on 10.7 - qglobal.h:93:6: error: #error "This version of Mac OS X is unsupported" -------------------------------------+-------------------------------------- Reporter: sorin.sbarnea@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: lion | Port: qt4-mac doxygen -------------------------------------+-------------------------------------- Comment(by michaelld@…): 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 until I can get to this ticket. I grant permission for others to checkin fixes for this ticket, if/as appropriate. -- Ticket URL: <https://trac.macports.org/ticket/29141#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29141: qt4-mac dependents on 10.7 - qglobal.h:93:6: error: #error "This version of Mac OS X is unsupported" -------------------------------------+-------------------------------------- Reporter: sorin.sbarnea@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: lion | Port: qt4-mac doxygen -------------------------------------+-------------------------------------- Comment(by snc@…): Replying to [comment:7 m.haller@…]:
src/corelib/global/qglobal.h has to be patched
Have you come across any other files that need patched? I'm testing this one presently and will commit it after a successful build. -- Ticket URL: <https://trac.macports.org/ticket/29141#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29141: qt4-mac dependents on 10.7 - qglobal.h:93:6: error: #error "This version of Mac OS X is unsupported" -------------------------------------+-------------------------------------- Reporter: sorin.sbarnea@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: lion | Port: qt4-mac doxygen -------------------------------------+-------------------------------------- Comment(by craig+macports@…): Please see also ticket:30346 which is another required patch for qt4 on 10.7 -- Ticket URL: <https://trac.macports.org/ticket/29141#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29141: qt4-mac dependents on 10.7 - qglobal.h:93:6: error: #error "This version of Mac OS X is unsupported" -------------------------------------+-------------------------------------- Reporter: sorin.sbarnea@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: lion | Port: qt4-mac doxygen -------------------------------------+-------------------------------------- Changes (by snc@…): * cc: mk@… (added) Comment: Duplicate: #30402 -- Ticket URL: <https://trac.macports.org/ticket/29141#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29141: qt4-mac dependents on 10.7 - qglobal.h:93:6: error: #error "This version of Mac OS X is unsupported" -------------------------------------+-------------------------------------- Reporter: sorin.sbarnea@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: lion | Port: qt4-mac doxygen -------------------------------------+-------------------------------------- Comment(by obutovich@…): I have attached to ticket:30346 Portfile and patches, wich work for me... Hope it helps -- Ticket URL: <https://trac.macports.org/ticket/29141#comment:23> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29141: qt4-mac dependents on 10.7 - qglobal.h:93:6: error: #error "This version of Mac OS X is unsupported" -------------------------------------+-------------------------------------- Reporter: sorin.sbarnea@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: lion | Port: qt4-mac doxygen -------------------------------------+-------------------------------------- Comment(by michaelld@…): Committed in r81844. Please do a selfupdate & see if the changes work. -- Ticket URL: <https://trac.macports.org/ticket/29141#comment:25> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29141: qt4-mac dependents on 10.7 - qglobal.h:93:6: error: #error "This version of Mac OS X is unsupported" -------------------------------------+-------------------------------------- Reporter: sorin.sbarnea@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: lion | Port: qt4-mac doxygen -------------------------------------+-------------------------------------- Comment(by soehn@…): Replying to [comment:25 michaelld@…]:
Committed in r81844. Please do a selfupdate & see if the changes work.
I tried and have attached the result. -- Ticket URL: <https://trac.macports.org/ticket/29141#comment:26> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29141: qt4-mac dependents on 10.7 - qglobal.h:93:6: error: #error "This version of Mac OS X is unsupported" -------------------------------------+-------------------------------------- Reporter: sorin.sbarnea@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: lion | Port: qt4-mac doxygen -------------------------------------+-------------------------------------- Comment(by michaelld@…): Hmm ... looks like the patch to qglobal.h isn't working for 10.7 (it does for 10.6). I'll be installing 10.7 over this weekend & will figure out the issue then. -- Ticket URL: <https://trac.macports.org/ticket/29141#comment:27> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29141: qt4-mac dependents on 10.7 - qglobal.h:93:6: error: #error "This version of Mac OS X is unsupported" -------------------------------------+-------------------------------------- Reporter: sorin.sbarnea@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: lion | Port: qt4-mac doxygen -------------------------------------+-------------------------------------- Comment(by michaelld@…): Did you do a "clean" before trying to "install qt4-mac"? Sometimes back makes a difference. Another user on 10.7 reports success building using these latest changes. -- Ticket URL: <https://trac.macports.org/ticket/29141#comment:28> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29141: qt4-mac dependents on 10.7 - qglobal.h:93:6: error: #error "This version of Mac OS X is unsupported" -------------------------------------+-------------------------------------- Reporter: sorin.sbarnea@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: lion | Port: qt4-mac doxygen -------------------------------------+-------------------------------------- Comment(by soehn@…): Replying to [comment:28 michaelld@…]:
Did you do a "clean" before trying to "install qt4-mac"? Sometimes back makes a difference. Another user on 10.7 reports success building using these latest changes.
Before I try to install a port, that could not be build before, I always clean that port, run self update and upgrade outdated. I gave this another try today (the whole procedure as described above). It worked this time. (?) Thank you! -- Ticket URL: <https://trac.macports.org/ticket/29141#comment:29> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29141: qt4-mac dependents on 10.7 - qglobal.h:93:6: error: #error "This version of Mac OS X is unsupported" -------------------------------------+-------------------------------------- Reporter: sorin.sbarnea@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: lion | Port: qt4-mac doxygen -------------------------------------+-------------------------------------- Comment(by michaelld@…): I'm glad you take those steps for installing a broken port -- not everyone does. I does happen sometimes, that things break & then work; I'm glad it's working for you now. Before closing this ticket: I'll wait to either hear back from someone else that it works for them; or, that it works for me on my almost done 10.7 install (I'm testing on 10.6 still, but the code looks solid). -- Ticket URL: <https://trac.macports.org/ticket/29141#comment:30> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29141: qt4-mac dependents on 10.7 - qglobal.h:93:6: error: #error "This version of Mac OS X is unsupported" -------------------------------------+-------------------------------------- Reporter: sorin.sbarnea@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Keywords: lion | Port: qt4-mac doxygen -------------------------------------+-------------------------------------- Comment(by swinbank@…): Replying to [comment:30 michaelld@…]:
Before closing this ticket: I'll wait to either hear back from someone else that it works for them
Now builds for me on 10.7. Many thanks! -- Ticket URL: <https://trac.macports.org/ticket/29141#comment:31> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29141: qt4-mac dependents on 10.7 - qglobal.h:93:6: error: #error "This version of Mac OS X is unsupported" --------------------------------------+------------------------------------- Reporter: sorin.sbarnea@… | Owner: michaelld@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.99 Resolution: fixed | Keywords: lion Port: qt4-mac doxygen | --------------------------------------+------------------------------------- Changes (by michaelld@…): * status: new => closed * resolution: => fixed Comment: Thanks for the replies. I'll close out the ticket since I think this issue is now fixed. -- Ticket URL: <https://trac.macports.org/ticket/29141#comment:32> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts