[MacPorts] #48129: Install qt4-mac on OSX El Capitan returned: unsupported platform

MacPorts noreply at macports.org
Fri Oct 2 01:56:17 PDT 2015


#48129: Install qt4-mac on OSX El Capitan returned: unsupported platform
------------------------+-------------------------
  Reporter:  SAssadi@…  |      Owner:  michaelld@…
      Type:  defect     |     Status:  new
  Priority:  Low        |  Milestone:
 Component:  ports      |    Version:  2.3.3
Resolution:             |   Keywords:  elcapitan
      Port:  qt4-mac    |
------------------------+-------------------------

Comment (by radoslaw@…):

 Replying to [comment:23 gsulsh57@…]:

 sudo rm -rf $(port dir qt4-mac)
 sudo port sync
 sudo port clean qt4-mac
 sudo patch -p0 < PATH_TO/qt4-mac.10.11.diff
 sudo port install qt4-mac

 Should fix it!

 > I had to use the sudo patch command as well but I had problem applying
 the patch.
 >
 > sudo patch -p0 <
 /Users/gregoryulsh/developer/macports/qt4-mac.10.11.diff
 >
 > patching file Portfolio
 >
 > Hunk #1 FAILED at 238.
 >
 > 1 out of 1 hunk FAILED -- saving rejects to file Portfile.rej
 >
 > patching file files/patch-src_gui_painting_qpaintengine_mac.diff
 >
 >
 >
 > here is the Portfile.rej
 >
 > ***************
 > *** 238,252 ****
 >   patchfiles-append   \
 >       patch-tools_macdeployqt_shared_shared.cpp.diff
 >
 > - # error out if trying to build on a new OSX version (> 10.10).
 >
 >   platform darwin {
 > -     if {${MINOR} > 10} {
 >           # This project needs to be updated to build with clang++
 against libc++
 >           depends_lib
 >           depends_run
 >           pre-fetch {
 > -             ui_error "$name does not currently build on OSX later than
 10.10 'Yosemite'."
 >               error "unsupported platform"
 >           }
 >       }
 > --- 238,263 ----
 >   patchfiles-append   \
 >       patch-tools_macdeployqt_shared_shared.cpp.diff
 >
 > + # (23) remove ColorSync usage from qpaintengine.
 >
 > + # This patch allows for building using the 10.11 SDK, and is also
 > + # backward compatible with prior OS versions since it just removes API
 > + # usage but does not otherwise add any. This patch does roughly the
 > + # same thing as that from Qt5 commit b06304e16:
 > + #
 http://code.qt.io/cgit/qt/qtbase.git/commit/?id=b06304e164ba47351fa292662c1e6383c081b5ca
 > +
 > + patchfiles-append   \
 > +     patch-src_gui_painting_qpaintengine_mac.diff
 > +
 > + # error out if trying to build on a new OSX version (> 10.11).
 > +
 >   platform darwin {
 > +     if {${MINOR} > 11} {
 >           # This project needs to be updated to build with clang++
 against libc++
 >           depends_lib
 >           depends_run
 >           pre-fetch {
 > +             ui_error "$name does not currently build on OSX later than
 10.11 'El Capitan'."
 >               error "unsupported platform"
 >           }
 >       }
 >

-- 
Ticket URL: <https://trac.macports.org/ticket/48129#comment:24>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list