[MacPorts] #50946: Build failure in qgis
#50946: Build failure in qgis ------------------------+-------------------------------- Reporter: hansen.m@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: qgis ------------------------+-------------------------------- Mac OS X 10.11.4 MacPorts 2.3.4 {{{ #port install qgis ---> Computing dependencies for qgis ---> Dependencies to be installed: spatialindex ---> Fetching archive for spatialindex ---> Attempting to fetch spatialindex-1.8.4_0.darwin_15.x86_64.tbz2 from http://packages.macports.org/spatialindex ---> Attempting to fetch spatialindex-1.8.4_0.darwin_15.x86_64.tbz2.rmd160 from http://packages.macports.org/spatialindex ---> Installing spatialindex @1.8.4_0 ---> Activating spatialindex @1.8.4_0 ---> Cleaning spatialindex ---> Fetching archive for qgis ---> Attempting to fetch qgis-2.14.0_0+postgresql94+qt4.darwin_15.x86_64.tbz2 from http://packages.macports.org/qgis ---> Attempting to fetch qgis-2.14.0_0+postgresql94+qt4.darwin_15.x86_64.tbz2 from http://sea.us.packages.macports.org/macports/packages/qgis ---> Attempting to fetch qgis-2.14.0_0+postgresql94+qt4.darwin_15.x86_64.tbz2 from http://lil.fr.packages.macports.org/qgis ---> Fetching distfiles for qgis ---> Verifying checksums for qgis ---> Extracting qgis ---> Applying patches to qgis ---> Configuring qgis ---> Building qgis Error: org.macports.build for port qgis returned: command execution failed Please see the log file for port qgis for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis/qgis/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port qgis failed }}} -- Ticket URL: <https://trac.macports.org/ticket/50946> MacPorts <https://www.macports.org/> Ports system for OS X
#50946: Build failure in qgis -------------------------+--------------------- Reporter: hansen.m@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: qgis | -------------------------+--------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => vince@… -- Ticket URL: <https://trac.macports.org/ticket/50946#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#50946: Build failure in qgis -------------------------+--------------------- Reporter: hansen.m@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: qgis | -------------------------+--------------------- Comment (by vince@…): Sorry I was a little swamped these last days. Going to dive into this. -- Ticket URL: <https://trac.macports.org/ticket/50946#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#50946: Build failure in qgis -------------------------+--------------------- Reporter: hansen.m@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: qgis | -------------------------+--------------------- Comment (by vince@…): You’ve a glitch with your PyQt4 install, the same as the buildbot. When you type: {{{ Air > python2.7 Python 2.7.11 (default, Mar 2 2016, 07:56:04) [GCC 4.2.1 Compatible Apple LLVM 7.0.2 (clang-700.1.81)] on darwin Type "help", "copyright", "credits" or "license" for more information.
import PyQt4.uic.pyuic }}}
What do you get? You should get: {{{ Error: one input ui-file must be specified }}} -- Ticket URL: <https://trac.macports.org/ticket/50946#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#50946: Build failure in qgis -------------------------+--------------------- Reporter: hansen.m@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: qgis | -------------------------+--------------------- Comment (by hansen.m@…): {{{ $ python2.7 Python 2.7.11 (default, Mar 15 2016, 20:31:45) [GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.72)] on darwin Type "help", "copyright", "credits" or "license" for more information.
import PyQt4.uic.pyuic Error: one input ui-file must be specified }}}
-- Ticket URL: <https://trac.macports.org/ticket/50946#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#50946: Build failure in qgis -------------------------+--------------------- Reporter: hansen.m@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: qgis | -------------------------+--------------------- Comment (by frank.ortmann@…): Replying to [comment:6 hansen.m@…]:
{{{ $ python2.7 Python 2.7.11 (default, Mar 15 2016, 20:31:45) [GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.72)] on darwin Type "help", "copyright", "credits" or "license" for more information.
import PyQt4.uic.pyuic Error: one input ui-file must be specified }}}
Same here. -- Ticket URL: <https://trac.macports.org/ticket/50946#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#50946: Build failure in qgis -------------------------+--------------------- Reporter: hansen.m@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: qgis | -------------------------+--------------------- Comment (by f.baart@…): Not sure if this helps, but I noticed that there is some cmake magic [1] going on that generates a wrapper script if the pyuic4 script is not present. The script was named pyuic4-2.7 instead of pyuic4. Another thing I noticed was that in another pyuic4 wrapper script [2] the executable python is called explicitly, which for me was referring to python35, without PyQt4 installed. To get qgis building I had made 2 changes: * I had to port select python27 and then set it back afterwards. * I also created a symbolic link from pyuic4 to pyuic4-2.7 (in /opt/local/bin), but I did not test it without this link. [1] in the file: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis//qgis/work/qgis-2.14.2/mac/cmake/1qt.cmake.in [2] the file /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis/qgis/work/qgis-2.14.2/scripts/pyuic4-wrapper.sh -- Ticket URL: <https://trac.macports.org/ticket/50946#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
#50946: Build failure in qgis -------------------------+--------------------- Reporter: hansen.m@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: qgis | -------------------------+--------------------- Comment (by frank.ortmann@…): Replying to [comment:9 f.baart@…]:
Not sure if this helps, but I noticed that there is some cmake magic [1] going on that generates a wrapper script if the pyuic4 script is not present. The script was named pyuic4-2.7 instead of pyuic4. Another thing I noticed was that in another pyuic4 wrapper script [2] the executable python is called explicitly, which for me was referring to python35, without PyQt4 installed.
To get qgis building I made 2 changes: * I had to port select python27 and then set it back afterwards. * I also created a symbolic link from pyuic4 to pyuic4-2.7 (in /opt/local/bin), but I did not test it without this link.
[1] in the file: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis//qgis/work/qgis-2.14.2/mac/cmake/1qt.cmake.in
[2] the file /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_qgis/qgis/work/qgis-2.14.2/scripts/pyuic4-wrapper.sh
I already had python27 as my default (and only) version installed. I made the symlink for pyuic4, but my build for 2.14.2 still fails :-( {{{ $ python --version Python 2.7.10 $ pyuic4 --version Python User Interface Compiler 4.11.4 for Qt version 4.8.7 }}} The last version that worked for me was 2.12.3. -- Ticket URL: <https://trac.macports.org/ticket/50946#comment:10> MacPorts <https://www.macports.org/> Ports system for OS X
#50946: Build failure in qgis -------------------------+--------------------- Reporter: hansen.m@… | Owner: vince@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: invalid | Keywords: Port: qgis | -------------------------+--------------------- Changes (by vince@…): * status: new => closed * resolution: => invalid Comment: Please retry with the 2.16 version and reopen a bug if necessary. -- Ticket URL: <https://trac.macports.org/ticket/50946#comment:11> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts