Opened 8 years ago

Closed 8 years ago

#51765 closed defect (fixed)

qgis @2.14.3 build error

Reported by: loris@… Owned by: Veence (Vincent)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: qgis

Description

Hello, I'm using a MacBook Pro (Retina, 15-inch, Late 2013), OSX 10.11.5, and Xcode 7.3.1

When I try to install qgis @2.14.3, I have this error:

$ sudo port install qgis
Portfile changed since last build; discarding previous state.
--->  Computing dependencies for qgis
--->  Fetching archive for qgis
--->  Attempting to fetch qgis-2.14.3_0+postgresql94+qt4.darwin_15.x86_64.tbz2 from https://packages.macports.org/qgis
--->  Attempting to fetch qgis-2.14.3_0+postgresql94+qt4.darwin_15.x86_64.tbz2 from http://nue.de.packages.macports.org/qgis
--->  Attempting to fetch qgis-2.14.3_0+postgresql94+qt4.darwin_15.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/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

Thanks for your assistance.

Best wishes, Loris

Attachments (2)

main.log (9.2 MB) - added by loris@… 8 years ago.
CMakeError.log (5.1 KB) - added by loris@… 8 years ago.

Change History (5)

Changed 8 years ago by loris@…

Attachment: main.log added

Changed 8 years ago by loris@…

Attachment: CMakeError.log added

comment:1 Changed 8 years ago by mf2k (Frank Schima)

Cc: vince@… removed
Owner: changed from macports-tickets@… to vince@…

comment:2 Changed 8 years ago by loris@…

Finally I found the solution: during installation of the dependencies I forgot to "select" the defaults version of python and cython:

$ sudo port select --set python python27
Selecting 'python27' for 'python' succeeded. 'python27' is now active.

$ sudo port select --set python2 python27
Selecting 'python27' for 'python2' succeeded. 'python27' is now active.

$ sudo port select --set cython cython27
Selecting 'cython27' for 'cython' succeeded. 'cython27' is now active.

To avoid another error during the startup of qgis I need to install an additional plugin:

$ sudo port install qt4-mac-sqlite3-plugin

I think it would be better to add it as a dependence in the qgis portfile!

Best wishes, Loris

comment:3 Changed 8 years ago by Veence (Vincent)

Resolution: fixed
Status: newclosed

Yeah, I've done that with the 2.16 upgrade (r150778). Thanks for pointing it out!

Note: See TracTickets for help on using tickets.