Opened 11 years ago
Closed 11 years ago
#42327 closed defect (fixed)
qgis fails to compile
Reported by: | jsm@… | Owned by: | Veence (Vincent) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | Cc: | cooljeanius (Eric Gallager), petrrr | |
Port: | qgis |
Description
Qgis fails to compile in a fresh installation of Macports (in Mavericks). The relevant part of the error is the following:
:info:build /opt/local/share/py27-sip/PyQt4/QtGui/qsyntaxhighlighter.sip:78:31: error: use of undeclared identifier 'qtgui_wrap_ancestors' :info:build PyObject *py_td = qtgui_wrap_ancestors(td, sipType_QTextDocument); :info:build
which was found by some people before (http://gis.stackexchange.com/questions/72243/compiling-qgis-2-0-1-on-centos-sip-problems, http://hub.qgis.org/issues/8826 and https://hub.qgis.org/issues/8507). The error seems to be related to the new versions of py-sip and it seems to be corrected in the development repository.
I have checked this by creating a new test port of qgis with the latest source from Github. After removing all the patches but the last one of the Portfile (probably they are already applied to the code ?), qgis compiled and now seems to be installed all right. I do not have the necessary skills to identify which commit or patch corrected the problem. The good news is that this problem should be corrected in the future versions of qgis. The bad news is that the current version of the port seems to be affected.
By the way, I also tried all the suggestions of reinstalling some ports found on the ticket #42083 because I had the same problem with the conflicting ports py27-pyqt4-devel and py27-pyqt4. But this seems to be unrelated to the problem that I report.
Change History (5)
comment:1 Changed 11 years ago by mf2k (Frank Schima)
Cc: | vince@… removed |
---|---|
Owner: | changed from macports-tickets@… to vince@… |
comment:2 Changed 11 years ago by cooljeanius (Eric Gallager)
Cc: | egall@… added |
---|
comment:4 Changed 11 years ago by jsm@…
The new version of the qgis port is working OK. I think this bug could be closed.
comment:5 Changed 11 years ago by mf2k (Frank Schima)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Cc Me!