[MacPorts] #52069: wxpython-3.0 is not building in 10.12 Sierra beta
#52069: wxpython-3.0 is not building in 10.12 Sierra beta ---------------------------+-------------------------------- Reporter: reactortrip@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: wxpython-3.0 ---------------------------+-------------------------------- I am attempting to install HackRF/GNURadio, wxpython-3.0 is failing to build. Appears to be quicktime.h as with python27. ---> Computing dependencies for wxPython-3.0 ---> Fetching archive for wxPython-3.0 ---> Attempting to fetch wxPython-3.0-3.0.2_5.darwin_16.x86_64.tbz2 from https://packages.macports.org/wxPython-3.0 ---> Attempting to fetch wxPython-3.0-3.0.2_5.darwin_16.x86_64.tbz2 from http://sea.us.packages.macports.org/macports/packages/wxPython-3.0 ---> Attempting to fetch wxPython-3.0-3.0.2_5.darwin_16.x86_64.tbz2 from http://lil.fr.packages.macports.org/wxPython-3.0 ---> Fetching distfiles for wxPython-3.0 ---> Verifying checksums for wxPython-3.0 ---> Extracting wxPython-3.0 ---> Applying patches to wxPython-3.0 ---> Configuring wxPython-3.0 ---> Building wxPython-3.0 Error: org.macports.build for port wxPython-3.0 returned: command execution failed Please see the log file for port wxPython-3.0 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_wxWidgets-3.0/wxPython-3.0/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port wxpython-3.0 failed -- Ticket URL: <https://trac.macports.org/ticket/52069> MacPorts <https://www.macports.org/> Ports system for OS X
#52069: wxWidgets-3.0: is not building in 10.12 Sierra beta due to missing QuickTime.h -----------------------------------------+--------------------- Reporter: reactortrip@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: sierra Port: wxWidgets-3.0 wxPython-3.0 | -----------------------------------------+--------------------- Changes (by mojca@…): * cc: mojca@… (removed) * owner: macports-tickets@… => mojca@… * version: 2.3.4 => * keywords: => sierra * port: wxpython-3.0 => wxWidgets-3.0 wxPython-3.0 Old description:
I am attempting to install HackRF/GNURadio, wxpython-3.0 is failing to build. Appears to be quicktime.h as with python27.
---> Computing dependencies for wxPython-3.0 ---> Fetching archive for wxPython-3.0 ---> Attempting to fetch wxPython-3.0-3.0.2_5.darwin_16.x86_64.tbz2 from https://packages.macports.org/wxPython-3.0 ---> Attempting to fetch wxPython-3.0-3.0.2_5.darwin_16.x86_64.tbz2 from http://sea.us.packages.macports.org/macports/packages/wxPython-3.0 ---> Attempting to fetch wxPython-3.0-3.0.2_5.darwin_16.x86_64.tbz2 from http://lil.fr.packages.macports.org/wxPython-3.0 ---> Fetching distfiles for wxPython-3.0 ---> Verifying checksums for wxPython-3.0 ---> Extracting wxPython-3.0 ---> Applying patches to wxPython-3.0 ---> Configuring wxPython-3.0 ---> Building wxPython-3.0 Error: org.macports.build for port wxPython-3.0 returned: command execution failed Please see the log file for port wxPython-3.0 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_wxWidgets-3.0/wxPython-3.0/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port wxpython-3.0 failed
New description: I am attempting to install HackRF/GNURadio, `wxPython-3.0` is failing to build. {{{ :info:build ../src/osx/core/bitmap.cpp:39:10: fatal error: 'QuickTime/QuickTime.h' file not found :info:build #include <QuickTime/QuickTime.h> :info:build ^ }}} -- Comment: I didn't install Sierra yet. Link to an upstream commit in master: * http://trac.wxwidgets.org/changeset/f6a2d1caef5c6d412c84aa900cb0d3990b350938 /git-wxWidgets plus a reference in HomeBrew fighting with the same problem: * https://github.com/Homebrew/homebrew-core/issues/1996 I guess we could test the upstream commit and apply it. -- Ticket URL: <https://trac.macports.org/ticket/52069#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#52069: wxWidgets-3.0: is not building in 10.12 Sierra beta due to missing QuickTime.h -----------------------------------------+--------------------- Reporter: reactortrip@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: sierra Port: wxWidgets-3.0 wxPython-3.0 | -----------------------------------------+--------------------- Comment (by mojca@…): ... and if that works, we should ask the upstream to backport the fix to the 3.0 and 3.1 branch. -- Ticket URL: <https://trac.macports.org/ticket/52069#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#52069: wxWidgets-3.0: is not building in 10.12 Sierra beta due to missing QuickTime.h -----------------------------------------+--------------------- Reporter: reactortrip@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: sierra Port: wxWidgets-3.0 wxPython-3.0 | -----------------------------------------+--------------------- Comment (by reactortrip@…): Attached another main.log, didn't work -- Ticket URL: <https://trac.macports.org/ticket/52069#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#52069: wxWidgets-3.0: is not building in 10.12 Sierra beta due to missing QuickTime.h -----------------------------------------+--------------------- Reporter: reactortrip@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: sierra Port: wxWidgets-3.0 wxPython-3.0 | -----------------------------------------+--------------------- Comment (by reactortrip@…): main.3.log should be correct, wxWidget-3.0 still didn't build for me with those changes. -- Ticket URL: <https://trac.macports.org/ticket/52069#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#52069: wxWidgets-3.0: is not building in 10.12 Sierra beta due to missing QuickTime.h -----------------------------------------+--------------------- Reporter: reactortrip@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: sierra Port: wxWidgets-3.0 wxPython-3.0 | -----------------------------------------+--------------------- Comment (by mojca@…): That's: {{{ ../src/osx/cocoa/mediactrl.mm:52:10: fatal error: 'QTKit/QTKit.h' file not found #include <QTKit/QTKit.h> ^ }}} See http://wxwidgets.10942.n7.nabble.com/Cannot-submit-app-using-wx-to- Mac-App-Store-due-to-QuickTime-API-usage-tp87235p87245.html The `master` branch can switch between the [https://developer.apple.com/library/mac/technotes/tn2300/_index.html deprecated QtKit] and AV Foundation, but that would require backporting quite a bit more code. As a temporary workaround maybe someting like `--disable-mediactrl` in `configure.flags` would help? -- Ticket URL: <https://trac.macports.org/ticket/52069#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#52069: wxWidgets-3.0: is not building in 10.12 Sierra beta due to missing QuickTime.h -----------------------------------------+--------------------- Reporter: reactortrip@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: sierra Port: wxWidgets-3.0 wxPython-3.0 | -----------------------------------------+--------------------- Comment (by reactortrip@…): Not sure how to do that through wxPython-3.0 -- Ticket URL: <https://trac.macports.org/ticket/52069#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#52069: wxWidgets-3.0: is not building in 10.12 Sierra beta due to missing QuickTime.h -----------------------------------------+--------------------- Reporter: reactortrip@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: sierra Port: wxWidgets-3.0 wxPython-3.0 | -----------------------------------------+--------------------- Comment (by mojca@…): In `graphics/wxWidgets-3.0/Portfile` try to apply the following patch (add that option to `configure.flags`): {{{ #!patch --- Portfile (revision 151558) +++ Portfile (working copy) @@ -117,6 +117,7 @@ --with-cocoa \ --without-sdl \ --enable-aui \ + --disable-mediactrl \ --disable-sdltest \ --enable-unicode \ --enable-display \ }}} -- Ticket URL: <https://trac.macports.org/ticket/52069#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#52069: wxWidgets-3.0: is not building in 10.12 Sierra beta due to missing QuickTime.h -----------------------------------------+--------------------- Reporter: reactortrip@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: sierra Port: wxWidgets-3.0 wxPython-3.0 | -----------------------------------------+--------------------- Comment (by reactortrip@…): that did it, thanks -- Ticket URL: <https://trac.macports.org/ticket/52069#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
#52069: wxWidgets-3.0: is not building in 10.12 Sierra beta due to missing QuickTime.h -----------------------------------------+--------------------- Reporter: reactortrip@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: sierra Port: wxWidgets-3.0 wxPython-3.0 | -----------------------------------------+--------------------- Comment (by mojca@…): I opened a new upstream ticket, but have to wait for moderation before they publish it. I guess we can disable mediactrl on 10.12 until someone needs it and comes up with a patch for it. -- Ticket URL: <https://trac.macports.org/ticket/52069#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
#52069: wxWidgets-3.0: is not building in 10.12 Sierra beta due to missing QuickTime.h -----------------------------------------+--------------------- Reporter: reactortrip@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: sierra Port: wxWidgets-3.0 wxPython-3.0 | -----------------------------------------+--------------------- Comment (by mojca@…): I attached the patch with a workaround. If someone on Sierra can double- check that the patch is ok (and that you can build both wxWidgets-3.0 and wxPython-3.0), I'll commit it. reactortrip: I'm unable to delete attachments (maybe the admin can), but a trick that works is to upload another file with the same name and tick the checkbox to replace the file. Next time you could rename `main.log` to `main.log.2` and upload that one. Or you could upload an empty file now. But at this moment it doesn't make any sense to worry about faulty uploads unless the file contains some sensitive information. -- Ticket URL: <https://trac.macports.org/ticket/52069#comment:10> MacPorts <https://www.macports.org/> Ports system for OS X
#52069: wxWidgets-3.0: is not building in 10.12 Sierra beta due to missing QuickTime.h -----------------------------------------+--------------------- Reporter: reactortrip@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: sierra Port: wxWidgets-3.0 wxPython-3.0 | -----------------------------------------+--------------------- Old description:
I am attempting to install HackRF/GNURadio, `wxPython-3.0` is failing to build.
{{{ :info:build ../src/osx/core/bitmap.cpp:39:10: fatal error: 'QuickTime/QuickTime.h' file not found :info:build #include <QuickTime/QuickTime.h> :info:build ^ }}}
New description: I am attempting to install HackRF/GNURadio, `wxPython-3.0` is failing to build. {{{ :info:build ../src/osx/core/bitmap.cpp:39:10: fatal error: 'QuickTime/QuickTime.h' file not found :info:build #include <QuickTime/QuickTime.h> :info:build ^ }}} Upstream ticket: http://trac.wxwidgets.org/ticket/17639 -- Comment (by mojca@…): I added a link to the [http://trac.wxwidgets.org/ticket/17639 upstream ticket]. -- Ticket URL: <https://trac.macports.org/ticket/52069#comment:11> MacPorts <https://www.macports.org/> Ports system for OS X
#52069: wxWidgets-3.0: is not building in 10.12 Sierra beta due to missing QuickTime.h -----------------------------------------+--------------------- Reporter: reactortrip@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: sierra Port: wxWidgets-3.0 wxPython-3.0 | -----------------------------------------+--------------------- Comment (by mojca@…): Once again, I would be grateful for some testers of the attached patch before I commit it. I would also like to ask for another check if there is some brave tester around. Please try to copy `src/osx/cocoa/mediactrl.mm` (and `mediactrl.h`) from the master branch and add `-DwxOSX_USE_QTKIT=0` to `configure.cflags-append` (I think). Make sure to remove `--disable- mediactrl`. I would like to have mediactrl eventually working on 10.12. -- Ticket URL: <https://trac.macports.org/ticket/52069#comment:13> MacPorts <https://www.macports.org/> Ports system for macOS
#52069: wxWidgets-3.0: is not building in 10.12 Sierra beta due to missing QuickTime.h -----------------------------------------+--------------------- Reporter: reactortrip@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: sierra Port: wxWidgets-3.0 wxPython-3.0 | -----------------------------------------+--------------------- Changes (by mojca@…): * cc: marcel@… (added) Comment: see also #45557 -- Ticket URL: <https://trac.macports.org/ticket/52069#comment:14> MacPorts <https://www.macports.org/> Ports system for macOS
#52069: wxWidgets-3.0: is not building in 10.12 Sierra beta due to missing QuickTime.h -----------------------------------------+--------------------- Reporter: reactortrip@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: sierra Port: wxWidgets-3.0 wxPython-3.0 | -----------------------------------------+--------------------- Comment (by stepini@…): Hi guys, the patch solve the problem! Thanks Stefano -- Ticket URL: <https://trac.macports.org/ticket/52069#comment:15> MacPorts <https://www.macports.org/> Ports system for macOS
#52069: wxWidgets-3.0: is not building in 10.12 Sierra beta due to missing QuickTime.h -----------------------------------------+--------------------- Reporter: reactortrip@… | Owner: mojca@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: sierra Port: wxWidgets-3.0 wxPython-3.0 | -----------------------------------------+--------------------- Changes (by mojca@…): * status: new => closed * resolution: => fixed Comment: r152616 -- Ticket URL: <https://trac.macports.org/ticket/52069#comment:16> MacPorts <https://www.macports.org/> Ports system for macOS
participants (1)
-
MacPorts