[MacPorts] #40852: qt4-mac does not build on OS X 10.9 Mavericks or later
MacPorts
noreply at macports.org
Sun Oct 27 11:21:14 PDT 2013
#40852: qt4-mac does not build on OS X 10.9 Mavericks or later
--------------------------+-------------------------
Reporter: kolyosick@… | Owner: michaelld@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.99
Resolution: | Keywords: mavericks
Port: qt4-mac |
--------------------------+-------------------------
Comment (by benjamin.seppke@…):
Replying to [ticket:40852 kolyosick@…]:
> {{{
> Error: qt4-mac does not build on OS X 10.9 Mavericks or later.
> Error: org.macports.fetch for port qt4-mac returned: unsupported
platform
> }}}
Hi all!
I am not quite sure if this is the right place, maybe I'll also post about
my findings at the qt-project-page...
The fact that qt4-mac is not working under Mavericks is disgusting, since
nearly everything I use and build has a dependency to this port :(
It took me a few hours and ugly source code crawling to isolate and fix
the errors, which cause the build errors ot qt-4(.8.5)-mac:
1. The exections inside the portfile for 10.8: I made the Portfile to
accept the OS X Version and also applied patch-
src_corelib_corelib.pro.diff in case of darwin 13.
2. Errors of Qt not recognizing OS X 10.9: In order to introduce OS X
10.9, I aded a patch to update src/corelib/qglobal.h
3. Errors of plugins: The plugin "beaver" uses an old Interface to access
the CoreWiFi-Services. These have been "updated" in 10.9, which means that
a lot of former deprecated functions have been deleted. I extended the
existing patchfile to (hopefully correctly) use the new CoreWiFi-api.
4. Errors of 3rdparty-modules: The 3rdparty-module CLucene causes a
compiler error under the CLang-Version, which comes with OS X 10.9 (Apple
Clang 5.0). Luckily, this bug is widely known, so I found a quick fix and
wrote another patch-file.
I updated the PortSystem to 2.2.1 today - the system itself is build from
source under my MacBook with OS X 10.9.
After all the patches mentioned above, I was able to successfully compile
qt4-mac. I will append all the neccessary patches and the new version of
the portfile after posting this. And I'd highly appreciate, if anyone
could also test these, too.
Best wishes,
Benjamin
--
Ticket URL: <https://trac.macports.org/ticket/40852#comment:40>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list