Package Details: qgis 2.18.3-2

Git Clone URL: (read-only)
Package Base: qgis
Description: Geographic Information System (GIS) that supports vector, raster & database formats
Upstream URL:
Licenses: GPL
Submitter: td123
Maintainer: Scimmia
Last Packager: Scimmia
Votes: 186
Popularity: 4.959941
First Submitted: 2011-07-22 15:23
Last Updated: 2017-02-12 05:31

Dependencies (25)

Required by (1)

Sources (2)

Pinned Comments

Scimmia commented on 2016-05-20 13:03

I've moved most of the plugin deps to optional deps. Please pay attention to them. Let me know if I missed something.

Latest Comments

greenisagoodcolo commented on 2017-02-24 15:16

Thanks Chips for listing the packages to downgrade. I got it to build once, but couldn't load processing module. Followed DL0's suggestion of comment the patch, rebuilt. Was getting errors " ImportError: No module named owslib.csw " and " ImportError: No module named psycopg2". Installed psycopg2 and then oswlib from aur (using --force because there were lots of links to other python programs that pcaman wouldn't upgrade). Rebooted. Same errors. Any suggestions to get plugins to load properly?

Thanks in advance.

Scimmia commented on 2017-02-21 09:49

The error is specific to sip/python2-sip 4.19.1, it builds fine with 4.19. I have to do more checking to see if it's a sip issue or a qgis issue, but I'll likely put the hard version requirement in the makedeps for the update this Friday

Scimmia commented on 2017-02-21 06:15

Well chips, I'm now able to recreate your error. Looking into it.

Scimmia commented on 2017-02-21 00:34

simon04, I was under the impression it broke more than that. I'll check it out, thanks.

DL0 commented on 2017-02-21 00:16

Thanks chips!

I've tried multiple configurations, even doing a clean Arch install on a virtual machine, and could not get QGIS to compile. I experienced the same errors you listed when attempting to compile it on my main machine or the virtual clean one using SIP 4.19.1.

When trying to compile using SIP 4.18 in the past I first recompiled all the dependencies in AUR with SIP 4.18 (and its related files). QGIS sometimes compiled, but key plugins like processing didn't work.

This time, I left the packages installed from AUR when SIP 4.19.1 was installed alone, reinstalled from cache only the packages chips mentioned, and commented out the patch in PKGBUILD before compiling. It compiled, and everything, including processing, works!

(edited to reflect use of 4.19.1, not 4.19)

simon04 commented on 2017-02-20 21:06

The dependency can [1] and probably should [2] be dropped.


chips commented on 2017-02-20 07:28

ok, so I downgraded sip and built the 2.18.3 without the patch. all went well and I have qgis up and running. still segfaults with sip 4.19, and still gives me the deleted destructor error with sip 4.19.1.

i had downgraded the following:

$ pacman -Q sip python2-sip python2-pyqt4 qscintilla-qt4 python2-qscintilla-qt4 pyqt4-common python2-pyqt4
sip 4.18.1-2
python2-sip 4.18.1-2
python2-pyqt4 4.11.4-5
qscintilla-qt4 2.9.3-1
python2-qscintilla-qt4 2.9.3-1
pyqt4-common 4.11.4-5
python2-pyqt4 4.11.4-5

should I report this upstream? it seams like one of the early reporters of #16071 is having the same issue with 4.19.1
I would try fixing it, but I have zero experience with sip :/

chips commented on 2017-02-18 17:12

well karolinali, I have the same package versions :(.
not sure what exactly is the problem, it seams like the code has some bug in it now. but again, it compiles for others, so it must be something wrong with my setup. and then, it used to compile without any issues before, and the update broke it. i am confused here...

karolinali commented on 2017-02-18 14:33

I rebuilt 2.18.3-2 expecting all kinds of problem, but got surprised when it just worked. I did not even have to remove qt5 this time.

QGIS version
QGIS code branch
Release 2.18
Compiled against Qt
Running against Qt
Compiled against GDAL/OGR
Running against GDAL/OGR
Compiled against GEOS
Running against GEOS
3.5.0-CAPI-1.9.0 r4084
PostgreSQL Client Version
SpatiaLite Version
QWT Version
PROJ.4 Version
QScintilla2 Version

chips commented on 2017-02-18 11:14

ok, I updated to sip 4.19.1. no segfaults but compilation fails. it is complaining about a private destructor!! here is what I got:

Scanning dependencies of target python_module_qgis__gui
[ 97%] Building CXX object python/CMakeFiles/python_module_qgis__gui.dir/gui/sip_guipart0.cpp.o
[ 97%] Building CXX object python/CMakeFiles/python_module_qgis__gui.dir/gui/sip_guipart1.cpp.o
[ 97%] Building CXX object python/CMakeFiles/python_module_qgis__gui.dir/gui/sip_guipart2.cpp.o
[ 97%] Building CXX object python/CMakeFiles/python_module_qgis__gui.dir/gui/sip_guipart3.cpp.o
/tmp/yaourt-tmp-auc/aur-qgis/src/qgis-2.18.3/build/python/gui/sip_guipart3.cpp:5798:7: error: deleted function ‘virtual sipQgsFileDownloader::~sipQgsFileDownloader()’
In file included from /tmp/yaourt-tmp-auc/aur-qgis/src/qgis-2.18.3/python/gui/qgsfiledownloader.sip:33:0:
/tmp/yaourt-tmp-auc/aur-qgis/src/qgis-2.18.3/python/../src/gui/qgsfiledownloader.h:94:5: error: overriding non-deleted function ‘virtual QgsFileDownloader::~QgsFileDownloader()’
/tmp/yaourt-tmp-auc/aur-qgis/src/qgis-2.18.3/build/python/gui/sip_guipart3.cpp:5798:7: note: ‘virtual sipQgsFileDownloader::~sipQgsFileDownloader()’ is implicitly deleted because the default definition would be ill-formed:
/tmp/yaourt-tmp-auc/aur-qgis/src/qgis-2.18.3/build/python/gui/sip_guipart3.cpp:5798:7: error: ‘virtual QgsFileDownloader::~QgsFileDownloader()’ is private within this context
In file included from /tmp/yaourt-tmp-auc/aur-qgis/src/qgis-2.18.3/python/gui/qgsfiledownloader.sip:33:0:
/tmp/yaourt-tmp-auc/aur-qgis/src/qgis-2.18.3/python/../src/gui/qgsfiledownloader.h:94:5: note: declared private here
/tmp/yaourt-tmp-auc/aur-qgis/src/qgis-2.18.3/build/python/gui/sip_guipart3.cpp: In constructor ‘sipQgsFileDownloader::sipQgsFileDownloader(QUrl, QString, bool)’:
/tmp/yaourt-tmp-auc/aur-qgis/src/qgis-2.18.3/build/python/gui/sip_guipart3.cpp:5830:122: error: ‘QgsFileDownloader::~QgsFileDownloader()’ is private within this context
bool sipQgsFileDownloader::eventFilter( ::QObject*a0, ::QEvent*a1)
In file included from /tmp/yaourt-tmp-auc/aur-qgis/src/qgis-2.18.3/python/gui/qgsfiledownloader.sip:33:0:
/tmp/yaourt-tmp-auc/aur-qgis/src/qgis-2.18.3/python/../src/gui/qgsfiledownloader.h:94:5: note: declared private here
/tmp/yaourt-tmp-auc/aur-qgis/src/qgis-2.18.3/build/python/gui/sip_guipart3.cpp: In function ‘void release_QgsFileDownloader(void*, int)’:
/tmp/yaourt-tmp-auc/aur-qgis/src/qgis-2.18.3/build/python/gui/sip_guipart3.cpp:6028:64: error: use of deleted function ‘virtual sipQgsFileDownloader::~sipQgsFileDownloader()’
return NULL;
make[2]: *** [python/CMakeFiles/python_module_qgis__gui.dir/build.make:719: python/CMakeFiles/python_module_qgis__gui.dir/gui/sip_guipart3.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:3439: python/CMakeFiles/python_module_qgis__gui.dir/all] Error 2
make: *** [Makefile:150: all] Error 2
==> ERROR: A failure occurred in build().
==> ERROR: Makepkg was unable to build qgis.
==> Restart building qgis ? [y/N]
==> -----------------------------

All comments