QGIS 2.0.1 ("Dufour") has been released. See: http://lists.osgeo.org/pipermail/qgis-user/2013-September/023958.html BTW, its name has changed from "Quantum GIS" to "QGIS". Reproducible: Always
Please, test ebuild from rion-overlay https://code.google.com/p/rion-overlay/source/detail?r=95b5db2d76a3e41cc5ccea84af60b6cacf0fe45c
(In reply to Egor Y. Egorov from comment #1) sci-geosciences/qgis-2.0.1 was built with the following: USE="grass gsl postgres python spatialite -examples -gps -test" PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6" Great, Qgis 2.0.1 is now running, at least I'm able to view spatialite db...
This ebuild fails on my PC : CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: QWTPOLAR_INCLUDE_DIR used as include directory in directory /var/tmp/portage/sci-geosciences/qgis-2.0.1/work/qgis-2.0.1/src/app QWTPOLAR_LIBRARY linked by target "qgis" in directory /var/tmp/portage/sci-geosciences/qgis-2.0.1/work/qgis-2.0.1/src/app I think this is because qwtpolar is needed, and the dependance to qwtpolar has been commented out in the ebuild. BTW, QGIS should now be compatible with qwtpolar-1.0 .
(In reply to Jean-Claude Repetto from comment #3) > This ebuild fails on my PC : > > CMake Error: The following variables are used in this project, but they are > set to NOTFOUND. > Please set them or make sure they are set and tested correctly in the CMake > files: > QWTPOLAR_INCLUDE_DIR > used as include directory in directory > /var/tmp/portage/sci-geosciences/qgis-2.0.1/work/qgis-2.0.1/src/app > QWTPOLAR_LIBRARY > linked by target "qgis" in directory > /var/tmp/portage/sci-geosciences/qgis-2.0.1/work/qgis-2.0.1/src/app > > > I think this is because qwtpolar is needed, and the dependance to qwtpolar > has been commented out in the ebuild. > BTW, QGIS should now be compatible with qwtpolar-1.0 . Thanks for testing. Which version x11-libs/qwt you have installed? QGIS required Qwt >= 5.0 & (< 6.1 with internal QwtPolar) for build. I will test it soon.
I have installed qwt-5.2.1. After manual installation of qwtpolar-0.1.0-r1, I can compile and install QGIS 2.0.1.
(In reply to Jean-Claude Repetto from comment #5) > I have installed qwt-5.2.1. > > After manual installation of qwtpolar-0.1.0-r1, I can compile and install > QGIS 2.0.1. Please test. Should be compiled with every version qwtpolar https://code.google.com/p/rion-overlay/source/detail?r=3dafba7559ebb5bba190c4887f47bd0dee9d96c0
Is GdalTools plugin a plugin that come with QGIS installation? How to fix this? "Unable to load GdalTools plugin. The required "osgeo [python-gdal]" module is missing. Install it and try again."
(In reply to Jaska K from comment #7) > Is GdalTools plugin a plugin that come with QGIS installation? How to fix > this? > > "Unable to load GdalTools plugin. The required "osgeo [python-gdal]" module > is missing. Install it and try again." Please show emerge -pv sci-libs/gdal
[ebuild R ~] sci-libs/gdal-1.10.0-r1 USE="aux_xml curl ecwj2k geos gif gml jpeg jpeg2k netcdf opencl perl png postgres python spatialite sqlite threads xls -armadillo -debug -doc -fits -hdf5 -java -mdb -mysql -odbc -ogdi -pdf -ruby" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB Also: /etc/portage/package.keywords:12:sci-libs/gdal ~amd64
(In reply to Jaska K from comment #9) > [ebuild R ~] sci-libs/gdal-1.10.0-r1 USE="aux_xml curl ecwj2k geos gif > gml jpeg jpeg2k netcdf opencl perl png postgres python spatialite sqlite > threads xls -armadillo -debug -doc -fits -hdf5 -java -mdb -mysql -odbc -ogdi > -pdf -ruby" 0 kB > > Total: 1 package (1 reinstall), Size of downloads: 0 kB > > Also: > /etc/portage/package.keywords:12:sci-libs/gdal ~amd64 Hmmm. In my case plugin is loaded. How to I can check work of this module?
(In reply to Egor Y. Egorov from comment #10) > Hmmm. In my case plugin is loaded. How to I can check work of this module? Does this help? http://docs.qgis.org/2.0/html/en/docs/user_manual/plugins/plugins_gdaltools.html
http://gis.stackexchange.com/questions/72456/qgis-2-0-plugin-error-unable-to-load-gdaltools-plugin
(In reply to Jaska K from comment #11) > (In reply to Egor Y. Egorov from comment #10) > > > Hmmm. In my case plugin is loaded. How to I can check work of this module? > > Does this help? > > http://docs.qgis.org/2.0/html/en/docs/user_manual/plugins/plugins_gdaltools. > html Thanks. I'll see.
I just noticed that Processing plugin (Spatial data processing framework for QGIS) also requires a missing module: osgeo Installed version: 1.1 (in /usr/share/qgis/python/plugins/processing)
In my case all work fine: localhost qgis # qfile /usr/lib64/python2.7/site-packages/osgeo sci-libs/gdal (/usr/lib64/python2.7/site-packages/osgeo) localhost qgis # emerge -pv gdal These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ~] sci-libs/gdal-1.10.0-r1 USE="aux_xml geos gif hdf5 jpeg mysql odbc pdf png postgres python sqlite threads -armadillo -curl -debug -doc -ecwj2k -fits -gml -java -jpeg2k -mdb -netcdf -ogdi -opencl -perl -ruby -spatialite -xls" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB localhost qgis #
(In reply to Egor Y. Egorov from comment #15) > In my case all work fine: Hm!? Is this something to related python settings? eselect python list Available Python interpreters: [1] python2.7 [2] python3.2 *
Python2.7 was selected when building QGIS. But after toggle python to 3.2 QGIS working fine.
Can you please rebuild qgis? I pushed to rion-overlay ebuild with some depends changed today.
@python Please, test subj
Well, I switched to python 2.7, recompiled GDAL at first and then Qgis. Now plugins are ok! Note: I did not yet tried your last dependen chages you pushed to rion-overlay!
Thanks for testing. I'll try to fix this soon.
Created attachment 360402 [details] Build log Doesn't work for me on x86. Complains about the setting of the SPATIALITE_INCLUDE_DIR variable, which is set to NOTFOUND. I have the USE flag for spatialite *off*, so spatialite is not on my system. See the attached build log.
Doesn't work for me on x86. Complains about the setting of the SPATIALITE_INCLUDE_DIR variable, which is set to NOTFOUND. I have the USE flag for spatialite *off*, so spatialite is not on my system. See the attached build log.
Doing USE='spatialite' emerge -auvD qgis gets around the problem in comment 23, so it looks like an issue with the handling of the spatialite USE flag.
Please update rion-overlay and try again. I force use internal spatilite if USE=-statialite. Unfortunately, I do not know how to build qgis entirely without spatialite
I create upstream bug: http://hub.qgis.org/issues/8797
Bug 487222 may be the blocker for version bump?
(In reply to Milos Popovic from comment #27) > Bug 487222 may be the blocker for version bump? Please test 2.0.1 from rion-overlay
Hi, I don't have problems during compilation, but when I launch QGIS, there are two error messages : 1st error : Impossible de charger l'extension GdalTools provoque une erreur lors de l'appel de sa méthode classFactory() Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/qgis/utils.py", line 204, in startPlugin plugins[packageName] = package.classFactory(iface) File "/usr/share/qgis/python/plugins/GdalTools/__init__.py", line 22, in classFactory from GdalTools import GdalTools File "/usr/lib64/python2.7/site-packages/qgis/utils.py", line 453, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "/usr/share/qgis/python/plugins/GdalTools/GdalTools.py", line 47, in QMessageBox.warning( qgis.utils.iface.mainWindow(), title, message.format( "GdalTools", req_mods["osgeo"] ) ) ValueError: unmatched '{' in format Version de Python : 2.7.5 (default, Sep 24 2013, 15:46:11) [GCC 4.6.3] Version de QGIS : 2.0.1-Dufour Dufour, exported Chemin vers Python : ['/usr/share/qgis/python', '/home/jcr/.qgis2/python', '/home/jcr/.qgis2/python/plugins', '/usr/share/qgis/python/plugins', '/usr/lib64/python27.zip', '/usr/lib64/python2.7', '/usr/lib64/python2.7/plat-linux2', '/usr/lib64/python2.7/lib-tk', '/usr/lib64/python2.7/lib-old', '/usr/lib64/python2.7/lib-dynload', '/usr/lib64/python2.7/site-packages', '/usr/lib64/python2.7/site-packages/geos', '/usr/lib64/python2.7/site-packages/gtk-2.0'] 2nd error : mpossible de charger l'extension 'processing' depuis ['/usr/share/qgis/python', '/home/jcr/.qgis2/python', '/home/jcr/.qgis2/python/plugins', '/usr/share/qgis/python/plugins', '/usr/lib64/python27.zip', '/usr/lib64/python2.7', '/usr/lib64/python2.7/plat-linux2', '/usr/lib64/python2.7/lib-tk', '/usr/lib64/python2.7/lib-old', '/usr/lib64/python2.7/lib-dynload', '/usr/lib64/python2.7/site-packages', '/usr/lib64/python2.7/site-packages/geos', '/usr/lib64/python2.7/site-packages/gtk-2.0'] Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/qgis/utils.py", line 182, in loadPlugin __import__(packageName) File "/usr/lib64/python2.7/site-packages/qgis/utils.py", line 453, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "/usr/share/qgis/python/plugins/processing/__init__.py", line 20, in from processing.tools.general import runalg, runandload, alghelp, alglist, algoptions, load, extent, getobject File "/usr/lib64/python2.7/site-packages/qgis/utils.py", line 453, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "/usr/share/qgis/python/plugins/processing/tools/general.py", line 29, in from processing.core.Processing import Processing File "/usr/lib64/python2.7/site-packages/qgis/utils.py", line 453, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "/usr/share/qgis/python/plugins/processing/core/Processing.py", line 43, in from processing.algs.QGISAlgorithmProvider import QGISAlgorithmProvider File "/usr/lib64/python2.7/site-packages/qgis/utils.py", line 453, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "/usr/share/qgis/python/plugins/processing/algs/QGISAlgorithmProvider.py", line 76, in from processing.algs.RasterLayerStatistics import RasterLayerStatistics File "/usr/lib64/python2.7/site-packages/qgis/utils.py", line 453, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "/usr/share/qgis/python/plugins/processing/algs/RasterLayerStatistics.py", line 33, in from processing.tools import raster File "/usr/lib64/python2.7/site-packages/qgis/utils.py", line 453, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "/usr/share/qgis/python/plugins/processing/tools/raster.py", line 26, in from osgeo import gdal File "/usr/lib64/python2.7/site-packages/qgis/utils.py", line 453, in _import mod = _builtin_import(name, globals, locals, fromlist, level) ImportError: No module named osgeo Version de Python : 2.7.5 (default, Sep 24 2013, 15:46:11) [GCC 4.6.3] Version de QGIS : 2.0.1-Dufour Dufour, exported Chemin vers Python : ['/usr/share/qgis/python', '/home/jcr/.qgis2/python', '/home/jcr/.qgis2/python/plugins', '/usr/share/qgis/python/plugins', '/usr/lib64/python27.zip', '/usr/lib64/python2.7', '/usr/lib64/python2.7/plat-linux2', '/usr/lib64/python2.7/lib-tk', '/usr/lib64/python2.7/lib-old', '/usr/lib64/python2.7/lib-dynload', '/usr/lib64/python2.7/site-packages', '/usr/lib64/python2.7/site-packages/geos', '/usr/lib64/python2.7/site-packages/gtk-2.0'] I have noticed that the module osgeo exists only for Python 3.2, may be it explains the error. # qfile /usr/lib/python2.7/site-packages/osgeo # qfile /usr/lib/python3.2/site-packages/osgeo sci-libs/gdal (/usr/lib64/python3.2/site-packages/osgeo)
(In reply to Jean-Claude Repetto from comment #29) > Hi, > I don't have problems during compilation, but when I launch QGIS, there are > two error messages : In my case $ qlist sci-libs/gdal | grep osgeo /usr/lib64/python2.7/site-packages/osgeo/_gdal_array.so /usr/lib64/python2.7/site-packages/osgeo/_ogr.so /usr/lib64/python2.7/site-packages/osgeo/_osr.so /usr/lib64/python2.7/site-packages/osgeo/_gdalconst.so /usr/lib64/python2.7/site-packages/osgeo/_gdal.so /usr/lib64/python2.7/site-packages/osgeo/ogr.py /usr/lib64/python2.7/site-packages/osgeo/gdal_array.py /usr/lib64/python2.7/site-packages/osgeo/__init__.py /usr/lib64/python2.7/site-packages/osgeo/gdalconst.py /usr/lib64/python2.7/site-packages/osgeo/gdal.py /usr/lib64/python2.7/site-packages/osgeo/gdalnumeric.py /usr/lib64/python2.7/site-packages/osgeo/osr.py Please, rebuild sci-libs/gdal
or simple run python-updater
python-updater did nothing : # python-updater * Starting Python Updater... * Main active version of Python: 3.2 * Active version of Python 2: 2.7 * Active version of Python 3: 3.2 * Globally supported Python ABIs in installed repositories: * gentoo: 2.4 2.5 2.6 2.7 3.1 3.2 3.3 2.5-jython 2.7-jython 2.7-pypy-1.7 2.7-pypy-1.8 2.7-pypy-1.9 2.7-pypy-2.0 * java: 2.4 2.5 2.6 2.7 3.1 3.2 3.3 2.5-jython 2.7-jython 2.7-pypy-1.7 2.7-pypy-1.8 2.7-pypy-1.9 2.7-pypy-2.0 * rion: 2.4 2.5 2.6 2.7 3.1 3.2 3.3 2.5-jython 2.7-jython 2.7-pypy-1.7 2.7-pypy-1.8 2.7-pypy-1.9 2.7-pypy-2.0 * seden: 2.4 2.5 2.6 2.7 3.1 3.2 3.3 2.5-jython 2.7-jython 2.7-pypy-1.7 2.7-pypy-1.8 2.7-pypy-1.9 2.7-pypy-2.0 * x-portage: 2.4 2.5 2.6 2.7 3.1 3.2 3.3 2.5-jython 2.7-jython 2.7-pypy-1.7 2.7-pypy-1.8 2.7-pypy-1.9 2.7-pypy-2.0 * No packages need to be reinstalled. So I re-emerged GDAL manually, but it changed nothing ...
# qlist sci-libs/gdal | grep osgeo /usr/lib64/python3.2/site-packages/osgeo/_osr.cpython-32.so /usr/lib64/python3.2/site-packages/osgeo/_ogr.cpython-32.so /usr/lib64/python3.2/site-packages/osgeo/__init__.py /usr/lib64/python3.2/site-packages/osgeo/gdal.py /usr/lib64/python3.2/site-packages/osgeo/gdalnumeric.py /usr/lib64/python3.2/site-packages/osgeo/_gdal.cpython-32.so /usr/lib64/python3.2/site-packages/osgeo/ogr.py /usr/lib64/python3.2/site-packages/osgeo/gdalconst.py /usr/lib64/python3.2/site-packages/osgeo/_gdalconst.cpython-32.so /usr/lib64/python3.2/site-packages/osgeo/gdal_array.py /usr/lib64/python3.2/site-packages/osgeo/_gdal_array.cpython-32.so /usr/lib64/python3.2/site-packages/osgeo/osr.py
Please show emerge -pv gdal && eselect python list
See also https://bugs.gentoo.org/show_bug.cgi?id=485868#c20
Tested qgis-2.0.1 from newly updated rion-overlay with same result as in https://bugs.gentoo.org/show_bug.cgi?id=487222#c15 /usr/share/sip/QtGui/qsyntaxhighlighter.sip:78:77: error: ‘qtgui_wrap_ancestors’ was not declared in this scope PyObject *py_td = qtgui_wrap_ancestors(td, sipType_QTextDocument); As mentioned in http://hub.qgis.org/issues/8601 problem is probably with PyQt? emerge -pv dev-python/PyQt4-4 [ebuild R ] dev-python/PyQt4-4.10.3 USE="X dbus declarative help kde opengl phonon script sql svg webkit -debug -doc -examples -multimedia -scripttools -xmlpatterns" PYTHON_TARGETS="python2_7 python3_2 python3_3 -python2_6" 10,926 kB eselect python list Available Python interpreters: [1] python2.7 [2] python3.2 * [3] python3.3
(In reply to Tomáš Chaloupka from comment #36) > Tested qgis-2.0.1 from newly updated rion-overlay with same result as in > https://bugs.gentoo.org/show_bug.cgi?id=487222#c15 > > /usr/share/sip/QtGui/qsyntaxhighlighter.sip:78:77: error: > ‘qtgui_wrap_ancestors’ was not declared in this scope > PyObject *py_td = qtgui_wrap_ancestors(td, > sipType_QTextDocument); > > > As mentioned in http://hub.qgis.org/issues/8601 problem is probably with > PyQt? > > emerge -pv dev-python/PyQt4-4 > [ebuild R ] dev-python/PyQt4-4.10.3 USE="X dbus declarative help kde > opengl phonon script sql svg webkit -debug -doc -examples -multimedia > -scripttools -xmlpatterns" PYTHON_TARGETS="python2_7 python3_2 python3_3 > -python2_6" 10,926 kB > > eselect python list > Available Python interpreters: > [1] python2.7 > [2] python3.2 * > [3] python3.3 I backport patches from http://hub.qgis.org/issues/8601 some time ago. But I not test this with unstable PyQt4 and sip. I make this soon.
(In reply to Tomáš Chaloupka from comment #36) > As mentioned in http://hub.qgis.org/issues/8601 problem is probably with > PyQt? My bee this patch? https://github.com/qgis/QGIS/commit/8385386493d3b19223825ce2ac9137d6d079a1c2
*maybe
# emerge -pv gdal && eselect python list These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ~] sci-libs/gdal-1.10.0-r1 USE="aux_xml ecwj2k geos gif jpeg pdf png python spatialite sqlite -armadillo -curl -debug -doc -fits -gml -hdf5 -java -jpeg2k -mdb -mysql -netcdf -odbc -ogdi -opencl -perl -postgres -ruby -threads -xls" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB Available Python interpreters: [1] python2.7 [2] python3.2 *
(In reply to Jean-Claude Repetto from comment #40) > # emerge -pv gdal && eselect python list > > These are the packages that would be merged, in order: > > Calculating dependencies... done! > [ebuild R ~] sci-libs/gdal-1.10.0-r1 USE="aux_xml ecwj2k geos gif jpeg > pdf png python spatialite sqlite -armadillo -curl -debug -doc -fits -gml > -hdf5 -java -jpeg2k -mdb -mysql -netcdf -odbc -ogdi -opencl -perl -postgres > -ruby -threads -xls" 0 kB > > Total: 1 package (1 reinstall), Size of downloads: 0 kB > Available Python interpreters: > [1] python2.7 > [2] python3.2 * This is sci-libs/gdal issue. You need to select python2.7 and rebuild gdal.
#487534
or #483074. So I re-emerged GDAL with Python-2.7. The previous errors in QGIS disappeared, but now there is an error about psycopg (the postgres USE flag is not set). # emerge -pv qgis These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ~] sci-geosciences/qgis-2.0.1::rion USE="python spatialite -examples -gps -grass -gsl -mapserver -postgres {-test}" PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB QGIS error message : Impossible de charger l'extension 'processing' depuis ['/usr/share/qgis/python', '/home/jcr/.qgis2/python', '/home/jcr/.qgis2/python/plugins', '/usr/share/qgis/python/plugins', '/usr/lib64/python27.zip', '/usr/lib64/python2.7', '/usr/lib64/python2.7/plat-linux2', '/usr/lib64/python2.7/lib-tk', '/usr/lib64/python2.7/lib-old', '/usr/lib64/python2.7/lib-dynload', '/usr/lib64/python2.7/site-packages', '/usr/lib64/python2.7/site-packages/geos', '/usr/lib64/python2.7/site-packages/gtk-2.0'] Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/qgis/utils.py", line 182, in loadPlugin __import__(packageName) File "/usr/lib64/python2.7/site-packages/qgis/utils.py", line 453, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "/usr/share/qgis/python/plugins/processing/__init__.py", line 20, in from processing.tools.general import runalg, runandload, alghelp, alglist, algoptions, load, extent, getobject File "/usr/lib64/python2.7/site-packages/qgis/utils.py", line 453, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "/usr/share/qgis/python/plugins/processing/tools/general.py", line 29, in from processing.core.Processing import Processing File "/usr/lib64/python2.7/site-packages/qgis/utils.py", line 453, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "/usr/share/qgis/python/plugins/processing/core/Processing.py", line 52, in from processing.admintools.AdminToolsAlgorithmProvider import AdminToolsAlgorithmProvider File "/usr/lib64/python2.7/site-packages/qgis/utils.py", line 453, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "/usr/share/qgis/python/plugins/processing/admintools/AdminToolsAlgorithmProvider.py", line 19, in from processing.admintools.PostGISExecuteSQL import PostGISExecuteSQL File "/usr/lib64/python2.7/site-packages/qgis/utils.py", line 453, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "/usr/share/qgis/python/plugins/processing/admintools/PostGISExecuteSQL.py", line 32, in from processing.admintools import postgis_utils File "/usr/lib64/python2.7/site-packages/qgis/utils.py", line 453, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "/usr/share/qgis/python/plugins/processing/admintools/postgis_utils.py", line 39, in import psycopg2 File "/usr/lib64/python2.7/site-packages/qgis/utils.py", line 453, in _import mod = _builtin_import(name, globals, locals, fromlist, level) ImportError: No module named psycopg2 Version de Python : 2.7.5 (default, Sep 24 2013, 15:46:11) [GCC 4.6.3] Version de QGIS : 2.0.1-Dufour Dufour, exported Chemin vers Python : ['/usr/share/qgis/python', '/home/jcr/.qgis2/python', '/home/jcr/.qgis2/python/plugins', '/usr/share/qgis/python/plugins', '/usr/lib64/python27.zip', '/usr/lib64/python2.7', '/usr/lib64/python2.7/plat-linux2', '/usr/lib64/python2.7/lib-tk', '/usr/lib64/python2.7/lib-old', '/usr/lib64/python2.7/lib-dynload', '/usr/lib64/python2.7/site-packages', '/usr/lib64/python2.7/site-packages/geos', '/usr/lib64/python2.7/site-packages/gtk-2.0']
* Failed Patch: qgis-2.0.1-fix-build-with-sip-4.15_part1.patch ! *
(In reply to Jean-Claude Repetto from comment #43) > or #483074. > > So I re-emerged GDAL with Python-2.7. > The previous errors in QGIS disappeared, but now there is an error about > psycopg (the postgres USE flag is not set). I can enable deps on pycopg regardless USE=postgres. Always when USE=python enabled
But this will cause installation dev-db/postgresql-base when USE=python is set
Please test new ebuild 11 Oct 2013; eegorov <egor.y.egorov@gmail.com> qgis-2.0.1.ebuild, +files/qgis-2.0.1-fix-build-with-sip-4.15_part3.patch: Fix depend for sci-libs/gdal with PYTHON_USEDEP
qgis-2.0.1 compiled fne with latst changes in rion-overlay But on start, there is a problem with processing plugin ImportError: No module named psycopg2 Otherwise it seems ok I have installed qgis with these use flags: [ebuild R ] sci-geosciences/qgis-2.0.1::rion USE="examples gps gsl python spatialite -grass -mapserver -postgres {-test}" PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6" So no postgres whitch means no psycopg installed. Processing can be disabled in installed modules and then it seems ok.
--- a/sci-geosciences/qgis/ChangeLog Fri Oct 11 13:22:14 2013 +0700 +++ b/sci-geosciences/qgis/ChangeLog Fri Oct 11 14:56:00 2013 +0700 @@ -2,6 +2,9 @@ # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 11 Oct 2013; eegorov <egor.y.egorov@gmail.com> qgis-2.0.1.ebuild: + Add the notice when USE="-postgres python" +
2.0.1 from rion works for me now. Thanks everyone!
Please move the qgis-2.0.1 ebuild to the main portage tree.
*** Bug 502150 has been marked as a duplicate of this bug. ***
Why did you changed the title of this ticket ? The ticket was about qgis 2.0.1, not 2.2.0. It is not the same version ! Now, we have an ebuild for 2.0.1, that should go immediately into portage main tree, but we have no ebuild for 2.2.0. I 'm afraid that we'll have a wait again for a very long time.
I'll try bump soon
For me, the SpatiaLite database I created with QGIS 2 in another distribution does not open properly on Gentoo. QGIS says "obsolete libspatialite: connecting to this DB requires using v.4.0 (or any subsequent)", but that version is not packaged in Gentoo yet, nor is it in the rion overlay... The "spatialite" USE flag doesn't make any difference, the same error is shown either way.
https://code.google.com/p/rion-overlay/source/detail?r=e0dbd57be89db4f080e0e3393dec17ed4141beb7
https://code.google.com/p/rion-overlay/source/detail?r=96101e84981e05e77fc55bf459ea11954762969c +*qgis-2.2.0 (24 Feb 2014) + + 24 Feb 2014; eegorov <egor.y.egorov@gmail.com> +qgis-2.2.0.ebuild: + Bump to version 2.2.0 +
Tried sci-geosciences/qgis-2.2.0 taken from the link in the previous comment. It emerged fine, when started i have ---------------------------------------------------------------- Impossibile caricare il plugin 'processing' da ['/usr/share/qgis/python', '/home/orzel/.qgis2/python', '/home/orzel/.qgis2/python/plugins', '/usr/share/qgis/python/plugins', '/usr/lib64/python27.zip', '/usr/lib64/python2.7', '/usr/lib64/python2.7/plat-linux2', '/usr/lib64/python2.7/lib-tk', '/usr/lib64/python2.7/lib-old', '/usr/lib64/python2.7/lib-dynload', '/usr/lib64/python2.7/site-packages', '/usr/lib64/python2.7/site-packages/geos', '/usr/lib64/python2.7/site-packages/gtk-2.0', '/usr/lib64/python2.7/site-packages/wx-2.9.4-gtk2', '/usr/share/qgis/python/plugins/fTools/tools'] Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/qgis/utils.py", line 182, in loadPlugin __import__(packageName) File "/usr/lib64/python2.7/site-packages/qgis/utils.py", line 453, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "/usr/share/qgis/python/plugins/processing/__init__.py", line 29, in from processing.tools.general import * File "/usr/lib64/python2.7/site-packages/qgis/utils.py", line 453, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "/usr/share/qgis/python/plugins/processing/tools/general.py", line 29, in from processing.core.Processing import Processing File "/usr/lib64/python2.7/site-packages/qgis/utils.py", line 453, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "/usr/share/qgis/python/plugins/processing/core/Processing.py", line 59, in from processing.admintools.AdminToolsAlgorithmProvider import \ File "/usr/lib64/python2.7/site-packages/qgis/utils.py", line 453, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "/usr/share/qgis/python/plugins/processing/admintools/AdminToolsAlgorithmProvider.py", line 32, in from processing.admintools.PostGISExecuteSQL import PostGISExecuteSQL File "/usr/lib64/python2.7/site-packages/qgis/utils.py", line 453, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "/usr/share/qgis/python/plugins/processing/admintools/PostGISExecuteSQL.py", line 36, in from processing.admintools import postgis_utils File "/usr/lib64/python2.7/site-packages/qgis/utils.py", line 453, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "/usr/share/qgis/python/plugins/processing/admintools/postgis_utils.py", line 28, in import psycopg2 File "/usr/lib64/python2.7/site-packages/qgis/utils.py", line 453, in _import mod = _builtin_import(name, globals, locals, fromlist, level) ImportError: No module named psycopg2 ---------------------------------------------------------------- (and indeed dev-python/psycopg is not emerged on my system) But after this, i got the main window and it seems to work.
Is the requirement on qwtpolar <= 1.0 absolutely necessary ? I removed it, and it seems that QGIS 2.2 is compiling correctly with qwtpolar-1.1 installed.
(In reply to Jean-Claude Repetto from comment #59) > Is the requirement on qwtpolar <= 1.0 absolutely necessary ? I removed it, > and it seems that QGIS 2.2 is compiling correctly with qwtpolar-1.1 > installed. || ( ( =x11-libs/qwt-6.0*[svg] >=x11-libs/qwtpolar-1 ) ( x11-libs/qwt:5[svg] <x11-libs/qwtpolar-1 ) Or =x11-libs/qwt-6.0*[svg] and >=x11-libs/qwtpolar-1, or x11-libs/qwt:5[svg] and <x11-libs/qwtpolar-1 Your first option.
Sorry, I don't understand your answer. I changed : ( =x11-libs/qwt-6.0*[svg] >=x11-libs/qwtpolar-1 ) to ( >=x11-libs/qwt-6[svg] >=x11-libs/qwtpolar-1 ) to avoid blocking qwt-6.1 .
I get this when running qgis-2.2.0 from rion overlay (using gdal-1.10-1 from portage): > qgis Warning: loading of qt translation failed [/usr/share/qt4/translations/qt_en_US] QGIS died on signal 11 warning: Could not load shared library symbols for linux-vdso.so.1. Do you need "set solib-search-path" or "set sysroot"? [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". 0x00007f001e0c068a in waitpid () from /lib64/libpthread.so.0 [Current thread is 1 (Thread 0x7f0024443780 (LWP 16265))] #0 0x00007f001e0c068a in waitpid () from /lib64/libpthread.so.0 No symbol table info available. #1 0x00000000004f78fd in qgisCrash(int) () No symbol table info available. #2 <signal handler called> No symbol table info available. #3 0x00007f001faed72a in QMetaObject::normalizedSignature(char const*) () from /usr/lib64/qt4/libQtCore.so.4 No symbol table info available. #4 0x00007f0005990b93 in ?? () from /usr/lib64/python2.7/site-packages/PyQt4/QtCore.so No symbol table info available. #5 0x00007f0005990ec0 in ?? () from /usr/lib64/python2.7/site-packages/PyQt4/QtCore.so No symbol table info available. #6 0x00007f0005c7bc1d in ?? () from /usr/lib64/python2.7/site-packages/sip.so No symbol table info available. #7 0x00007f0005c7c018 in ?? () from /usr/lib64/python2.7/site-packages/sip.so No symbol table info available. #8 0x00007f00061192eb in PyObject_GetAttrString () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #9 0x00007f000616d5dd in PyEval_EvalFrameEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #10 0x00007f0006172492 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #11 0x00007f00061725a2 in PyEval_EvalCode () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #12 0x00007f0006181a2d in PyImport_ExecCodeModuleEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #13 0x00007f0006181cb9 in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #14 0x00007f0006182cc3 in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #15 0x00007f0006182f17 in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #16 0x00007f00061834f9 in PyImport_ImportModuleLevel () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #17 0x00007f000616a0df in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #18 0x00007f000617173b in PyEval_EvalFrameEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #19 0x00007f0006172492 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #20 0x00007f000610395e in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #21 0x00007f00060df2be in PyObject_Call () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #22 0x00007f000616bca7 in PyEval_CallObjectWithKeywords () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #23 0x00007f000616e331 in PyEval_EvalFrameEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #24 0x00007f0006172492 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #25 0x00007f00061725a2 in PyEval_EvalCode () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #26 0x00007f0006181a2d in PyImport_ExecCodeModuleEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #27 0x00007f0006181cb9 in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #28 0x00007f0006182cc3 in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #29 0x00007f0006182f17 in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #30 0x00007f00061834f9 in PyImport_ImportModuleLevel () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #31 0x00007f000616a0df in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #32 0x00007f000617173b in PyEval_EvalFrameEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #33 0x00007f0006172492 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #34 0x00007f000610395e in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #35 0x00007f00060df2be in PyObject_Call () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #36 0x00007f000616bca7 in PyEval_CallObjectWithKeywords () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #37 0x00007f000616e331 in PyEval_EvalFrameEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #38 0x00007f0006172492 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #39 0x00007f00061725a2 in PyEval_EvalCode () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #40 0x00007f0006181a2d in PyImport_ExecCodeModuleEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #41 0x00007f0006181cb9 in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #42 0x00007f0006182cc3 in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #43 0x00007f0006182f17 in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #44 0x00007f00061834f9 in PyImport_ImportModuleLevel () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #45 0x00007f000616a0df in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #46 0x00007f000617173b in PyEval_EvalFrameEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #47 0x00007f0006172492 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #48 0x00007f000610395e in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #49 0x00007f00060df2be in PyObject_Call () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #50 0x00007f000616bca7 in PyEval_CallObjectWithKeywords () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #51 0x00007f000616e331 in PyEval_EvalFrameEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #52 0x00007f0006172492 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #53 0x00007f00061725a2 in PyEval_EvalCode () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #54 0x00007f0006181a2d in PyImport_ExecCodeModuleEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #55 0x00007f0006181cb9 in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #56 0x00007f0006182cc3 in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #57 0x00007f0006182f17 in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #58 0x00007f00061834f9 in PyImport_ImportModuleLevel () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #59 0x00007f000616a0df in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #60 0x00007f000617173b in PyEval_EvalFrameEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #61 0x00007f0006172492 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #62 0x00007f000610395e in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #63 0x00007f00060df2be in PyObject_Call () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #64 0x00007f000616bca7 in PyEval_CallObjectWithKeywords () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #65 0x00007f000616e331 in PyEval_EvalFrameEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #66 0x00007f0006172492 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #67 0x00007f00061725a2 in PyEval_EvalCode () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #68 0x00007f0006181a2d in PyImport_ExecCodeModuleEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #69 0x00007f0006181cb9 in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #70 0x00007f0006182cc3 in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #71 0x00007f0006182f17 in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #72 0x00007f00061834f9 in PyImport_ImportModuleLevel () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #73 0x00007f000616a0df in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #74 0x00007f000617173b in PyEval_EvalFrameEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #75 0x00007f0006172492 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #76 0x00007f000610395e in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #77 0x00007f00060df2be in PyObject_Call () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #78 0x00007f000616bca7 in PyEval_CallObjectWithKeywords () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #79 0x00007f000616e331 in PyEval_EvalFrameEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #80 0x00007f0006172492 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #81 0x00007f00061725a2 in PyEval_EvalCode () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #82 0x00007f0006181a2d in PyImport_ExecCodeModuleEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #83 0x00007f0006181cb9 in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #84 0x00007f0006182cc3 in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #85 0x00007f0006182f17 in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #86 0x00007f00061834f9 in PyImport_ImportModuleLevel () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #87 0x00007f000616a0df in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #88 0x00007f000617173b in PyEval_EvalFrameEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #89 0x00007f0006172492 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #90 0x00007f000610395e in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #91 0x00007f00060df2be in PyObject_Call () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #92 0x00007f000616bca7 in PyEval_CallObjectWithKeywords () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #93 0x00007f000616e331 in PyEval_EvalFrameEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #94 0x00007f0006172492 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #95 0x00007f00061725a2 in PyEval_EvalCode () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #96 0x00007f0006181a2d in PyImport_ExecCodeModuleEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #97 0x00007f0006181cb9 in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #98 0x00007f0006182cc3 in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #99 0x00007f0006182f17 in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #100 0x00007f00061834f9 in PyImport_ImportModuleLevel () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #101 0x00007f000616a0df in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #102 0x00007f000617173b in PyEval_EvalFrameEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #103 0x00007f0006172492 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #104 0x00007f000610395e in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #105 0x00007f00060df2be in PyObject_Call () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #106 0x00007f000616bca7 in PyEval_CallObjectWithKeywords () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #107 0x00007f000616e331 in PyEval_EvalFrameEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #108 0x00007f0006172492 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #109 0x00007f00061725a2 in PyEval_EvalCode () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #110 0x00007f0006181a2d in PyImport_ExecCodeModuleEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #111 0x00007f0006181cb9 in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #112 0x00007f00061829c2 in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #113 0x00007f0006182cc3 in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #114 0x00007f0006182f17 in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #115 0x00007f00061834bd in PyImport_ImportModuleLevel () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #116 0x00007f000616a0df in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #117 0x00007f000617173b in PyEval_EvalFrameEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #118 0x00007f0006172492 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #119 0x00007f00061709eb in PyEval_EvalFrameEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #120 0x00007f00061712fe in PyEval_EvalFrameEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #121 0x00007f0006172492 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #122 0x00007f00061725a2 in PyEval_EvalCode () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #123 0x00007f000618b21a in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #124 0x00007f000618be08 in PyRun_StringFlags () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #125 0x00007f00064552d2 in QgsPythonUtilsImpl::evalString(QString const&, QString&) () from /usr/lib64/libqgispython.so.2.2.0 No symbol table info available. #126 0x00007f0006452b77 in QgsPythonUtilsImpl::loadPlugin(QString) () from /usr/lib64/libqgispython.so.2.2.0 No symbol table info available. #127 0x00000000006bc14b in QgsPluginRegistry::loadPythonPlugin(QString) () No symbol table info available. #128 0x00000000006bec26 in QgsPluginRegistry::restoreSessionPlugins(QString) () No symbol table info available. #129 0x0000000000539762 in QgisApp::QgisApp(QSplashScreen*, bool, QWidget*, QFlags<Qt::WindowType>) () No symbol table info available. #130 0x00000000004f1679 in main () No symbol table info available. gdb returned 0 Any ideas what could be done to fix this?
Try to run with empty user home dir (for example from another/new user)
I have the same crash as #62, even after having wiped out the ~/.qgis2 and ~/.config/QGIS directories.
(In reply to Soren Harward from comment #64) > I have the same crash as #62, even after having wiped out the ~/.qgis2 and > ~/.config/QGIS directories. The problem appears to be related to the processing plugin when PostGreSQL is not present (ie, qgis is emerged with USE="-postgres"). qgis-2.0.1 would start up, and throw a warning that the processing module couldn't be loaded because psycopg2 could not be found. qgis 2.2.0 segfaults instead. I would recommend that for now, the ebuild wipe out the processing plugin directory (/usr/share/qgis/python/plugins/processing) if USE="-postgres", because the processing plugin isn't going to work anyway. I will file a bug upstream so that the processing plugin doesn't get built unless WITH_POSTGRESQL is specified. In the meantime, you can work around this bug by removing (or making unreadable) the /usr/share/qgis/python/plugins/processing directory.
(In reply to Soren Harward from comment #65) > (In reply to Soren Harward from comment #64) > > I have the same crash as #62, even after having wiped out the ~/.qgis2 and > > ~/.config/QGIS directories. > > The problem appears to be related to the processing plugin when PostGreSQL > is not present (ie, qgis is emerged with USE="-postgres"). qgis-2.0.1 would > start up, and throw a warning that the processing module couldn't be loaded > because psycopg2 could not be found. qgis 2.2.0 segfaults instead. > > I would recommend that for now, the ebuild wipe out the processing plugin > directory (/usr/share/qgis/python/plugins/processing) if USE="-postgres", > because the processing plugin isn't going to work anyway. I will file a bug > upstream so that the processing plugin doesn't get built unless > WITH_POSTGRESQL is specified. > > In the meantime, you can work around this bug by removing (or making > unreadable) the /usr/share/qgis/python/plugins/processing directory. I have sci-geosciences/qgis-2.0.1, dev-db/postgresql-server-9.4.3 and dev-python/psycopg-2.5.1 installed, and i get the same error as comment #62 unless i make /usr/share/qgis/python/plugins/processing unreadable for me. So this seems not a qgis-2.2.x specific problem to me.
@sci-geosciences: Why hasn't this been bumped yet? Are there any issues the community could help with, or is the herd just lacking enough time?
Are you trying to use qgis-2.2.0 from rion overlay, right? Just to note, 2.0.1 was working in my pc, but 2.2.0 not. My steps: 1) I open qgis with: ~ $ qgis 2) A warnig apears in the terminal: Warning: loading of qt translation failed [/usr/share/qt4/translations/qt_en_US] 3) A qgis startup window opens and shows the following (in order of apperance): Checking database Setting up the GUI Starting up python Restoring loaded plugins 4) Then the window is closed and this rror apears in terminal: QGIS died on signal 11Aborted
@rudregues: That could be a problem with one of the installed plugins; have you tried "rm -rf ~/.qgis2"?
The ebuild from rion-overlay has incorrect dependencies. It specifies "=x11-libs/qwt-6.0*", therefore excluding qwt-6.1. This causes a build failure when building with qwt-6.0.0 and qwtpolar-1.1.0 because those are incompatible. You probably haven't noticed because it builds fine with qwt:5. QGIS' INSTALL file mentions an incompatibility with qwt-6.1, which likely is the cause of that dependency declaration. However, this incompatibility only applies when building with the *bundled* version of qwtpolar, which we don't do. In short: the dependency "=x11-libs/qwt-6.0*" should be changed to "x11-libs/qwt:6".
@Luis Ressel I altered the ebuild just like you said, excluded ~/.qgis2 but didn't worked too.
Maybe it's a good idea to contact rion team and ask the reason they've made this way?
(In reply to Luis Ressel from comment #70) > The ebuild from rion-overlay has incorrect dependencies. It specifies > "=x11-libs/qwt-6.0*", therefore excluding qwt-6.1. This causes a build > failure when building with qwt-6.0.0 and qwtpolar-1.1.0 because those are > incompatible. You probably haven't noticed because it builds fine with qwt:5. > > QGIS' INSTALL file mentions an incompatibility with qwt-6.1, which likely is > the cause of that dependency declaration. However, this incompatibility only > applies when building with the *bundled* version of qwtpolar, which we don't > do. > > In short: the dependency "=x11-libs/qwt-6.0*" should be changed to > "x11-libs/qwt:6". + 21 Apr 2014; eegorov <egor.y.egorov@gmail.com> qgis-2.2.0.ebuild: + Fix x11-libs/qwt dependency. Thanks to Luis Ressel + *qgis-2.2.0 (24 Feb 2014) In rion-overlay
Note: The bugs #476460 and #508320 also apply to the new ebuild.
> Note: The bugs #476460 and #508320 also apply to the new ebuild. http://code.google.com/p/rion-overlay/source/detail?r=83339e1684d71490c487f3d1f9d898c1e4af6576 But https://raw.github.com/qgis/QGIS/master/INSTALL say: Optional dependencies: - for GRASS plugin - GRASS >= 6.0.0 (libraries compiled with exceptions support on Linux 32bit) - for georeferencer - GSL >= 1.8 - for postgis support and SPIT plugin - PostgreSQL >= 8.0.x - for gps plugin - gpsbabel I removed the USE=gps because gbsbabel is hard dependency now, but I can not test this in this moment. Please test.
It still crashes: $ qgis Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated. Warning: loading of qt translation failed [/usr/share/qt4/translations/qt_en_IE] QGIS died on signal 11 warning: Could not load shared library symbols for linux-vdso.so.1. Do you need "set solib-search-path" or "set sysroot"? [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". 0x00007fe27a8b5c3a in waitpid () from /lib64/libc.so.6 [Current thread is 1 (Thread 0x7fe28182f780 (LWP 30965))] #0 0x00007fe27a8b5c3a in waitpid () from /lib64/libc.so.6 No symbol table info available. #1 0x00000000004fbea7 in qgisCrash(int) () No symbol table info available. #2 <signal handler called> No symbol table info available. #3 0x00007fe27d3311ca in QMetaObject::normalizedSignature(char const*) () from /usr/lib64/qt4/libQtCore.so.4 No symbol table info available. #4 0x00007fe25fcb7aac in ?? () from /usr/lib64/python2.7/site-packages/PyQt4/QtCore.so No symbol table info available. #5 0x00007fe25fcb7db7 in ?? () from /usr/lib64/python2.7/site-packages/PyQt4/QtCore.so No symbol table info available. #6 0x00007fe25ff89ead in ?? () from /usr/lib64/python2.7/site-packages/sip.so No symbol table info available. #7 0x00007fe25ff8a000 in ?? () from /usr/lib64/python2.7/site-packages/sip.so No symbol table info available. #8 0x00007fe26042934b in PyObject_GetAttrString () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #9 0x00007fe26047d63d in PyEval_EvalFrameEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #10 0x00007fe2604824f2 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #11 0x00007fe260482602 in PyEval_EvalCode () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #12 0x00007fe260491a8d in PyImport_ExecCodeModuleEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #13 0x00007fe260491d19 in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #14 0x00007fe260492d23 in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #15 0x00007fe260492f77 in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #16 0x00007fe260493559 in PyImport_ImportModuleLevel () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #17 0x00007fe26047a13f in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #18 0x00007fe26048179b in PyEval_EvalFrameEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #19 0x00007fe2604824f2 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #20 0x00007fe2604139be in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #21 0x00007fe2603ef31e in PyObject_Call () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #22 0x00007fe26047bd07 in PyEval_CallObjectWithKeywords () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #23 0x00007fe26047e391 in PyEval_EvalFrameEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #24 0x00007fe2604824f2 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #25 0x00007fe260482602 in PyEval_EvalCode () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #26 0x00007fe260491a8d in PyImport_ExecCodeModuleEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #27 0x00007fe260491d19 in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #28 0x00007fe260492d23 in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #29 0x00007fe260492f77 in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #30 0x00007fe260493559 in PyImport_ImportModuleLevel () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #31 0x00007fe26047a13f in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #32 0x00007fe26048179b in PyEval_EvalFrameEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #33 0x00007fe2604824f2 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #34 0x00007fe2604139be in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #35 0x00007fe2603ef31e in PyObject_Call () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #36 0x00007fe26047bd07 in PyEval_CallObjectWithKeywords () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #37 0x00007fe26047e391 in PyEval_EvalFrameEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #38 0x00007fe2604824f2 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #39 0x00007fe260482602 in PyEval_EvalCode () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #40 0x00007fe260491a8d in PyImport_ExecCodeModuleEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #41 0x00007fe260491d19 in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #42 0x00007fe260492d23 in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #43 0x00007fe260492f77 in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #44 0x00007fe260493559 in PyImport_ImportModuleLevel () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #45 0x00007fe26047a13f in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #46 0x00007fe26048179b in PyEval_EvalFrameEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #47 0x00007fe2604824f2 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #48 0x00007fe2604139be in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #49 0x00007fe2603ef31e in PyObject_Call () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #50 0x00007fe26047bd07 in PyEval_CallObjectWithKeywords () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #51 0x00007fe26047e391 in PyEval_EvalFrameEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #52 0x00007fe2604824f2 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #53 0x00007fe260482602 in PyEval_EvalCode () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #54 0x00007fe260491a8d in PyImport_ExecCodeModuleEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #55 0x00007fe260491d19 in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #56 0x00007fe260492d23 in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #57 0x00007fe260492f77 in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #58 0x00007fe260493559 in PyImport_ImportModuleLevel () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #59 0x00007fe26047a13f in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #60 0x00007fe26048179b in PyEval_EvalFrameEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #61 0x00007fe2604824f2 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #62 0x00007fe2604139be in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #63 0x00007fe2603ef31e in PyObject_Call () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #64 0x00007fe26047bd07 in PyEval_CallObjectWithKeywords () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #65 0x00007fe26047e391 in PyEval_EvalFrameEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #66 0x00007fe2604824f2 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #67 0x00007fe260482602 in PyEval_EvalCode () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #68 0x00007fe260491a8d in PyImport_ExecCodeModuleEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #69 0x00007fe260491d19 in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #70 0x00007fe260492d23 in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #71 0x00007fe260492f77 in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #72 0x00007fe260493559 in PyImport_ImportModuleLevel () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #73 0x00007fe26047a13f in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #74 0x00007fe26048179b in PyEval_EvalFrameEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #75 0x00007fe2604824f2 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #76 0x00007fe2604139be in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #77 0x00007fe2603ef31e in PyObject_Call () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #78 0x00007fe26047bd07 in PyEval_CallObjectWithKeywords () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #79 0x00007fe26047e391 in PyEval_EvalFrameEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #80 0x00007fe2604824f2 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #81 0x00007fe260482602 in PyEval_EvalCode () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #82 0x00007fe260491a8d in PyImport_ExecCodeModuleEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #83 0x00007fe260491d19 in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #84 0x00007fe260492d23 in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #85 0x00007fe260492f77 in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #86 0x00007fe260493559 in PyImport_ImportModuleLevel () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #87 0x00007fe26047a13f in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #88 0x00007fe26048179b in PyEval_EvalFrameEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #89 0x00007fe2604824f2 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #90 0x00007fe2604139be in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #91 0x00007fe2603ef31e in PyObject_Call () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #92 0x00007fe26047bd07 in PyEval_CallObjectWithKeywords () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #93 0x00007fe26047e391 in PyEval_EvalFrameEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #94 0x00007fe2604824f2 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #95 0x00007fe260482602 in PyEval_EvalCode () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #96 0x00007fe260491a8d in PyImport_ExecCodeModuleEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #97 0x00007fe260491d19 in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #98 0x00007fe260492d23 in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #99 0x00007fe260492f77 in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #100 0x00007fe260493559 in PyImport_ImportModuleLevel () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #101 0x00007fe26047a13f in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #102 0x00007fe26048179b in PyEval_EvalFrameEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #103 0x00007fe2604824f2 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #104 0x00007fe2604139be in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #105 0x00007fe2603ef31e in PyObject_Call () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #106 0x00007fe26047bd07 in PyEval_CallObjectWithKeywords () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #107 0x00007fe26047e391 in PyEval_EvalFrameEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #108 0x00007fe2604824f2 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #109 0x00007fe260482602 in PyEval_EvalCode () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #110 0x00007fe260491a8d in PyImport_ExecCodeModuleEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #111 0x00007fe260491d19 in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #112 0x00007fe260492a22 in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #113 0x00007fe260492d23 in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #114 0x00007fe260492f77 in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #115 0x00007fe26049351d in PyImport_ImportModuleLevel () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #116 0x00007fe26047a13f in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #117 0x00007fe26048179b in PyEval_EvalFrameEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #118 0x00007fe2604824f2 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #119 0x00007fe260480a4b in PyEval_EvalFrameEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #120 0x00007fe26048135e in PyEval_EvalFrameEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #121 0x00007fe2604824f2 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #122 0x00007fe260482602 in PyEval_EvalCode () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #123 0x00007fe26049b27a in ?? () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #124 0x00007fe26049be68 in PyRun_StringFlags () from /usr/lib64/libpython2.7.so.1.0 No symbol table info available. #125 0x00007fe2607653b4 in QgsPythonUtilsImpl::evalString(QString const&, QString&) () from /usr/lib64/libqgispython.so.2.2.0 No symbol table info available. #126 0x00007fe260762497 in QgsPythonUtilsImpl::loadPlugin(QString) () from /usr/lib64/libqgispython.so.2.2.0 No symbol table info available. #127 0x00000000006afb5c in QgsPluginRegistry::loadPythonPlugin(QString) () No symbol table info available. #128 0x00000000006b0d36 in QgsPluginRegistry::restoreSessionPlugins(QString) () No symbol table info available. #129 0x000000000053b1da in QgisApp::QgisApp(QSplashScreen*, bool, QWidget*, QFlags<Qt::WindowType>) () No symbol table info available. #130 0x00000000004f5ecd in main () No symbol table info available. gdb returned 0 Aborted
Sorry, I can not reproduce this crashe. In any case you should open separate issue.
*** Bug 528220 has been marked as a duplicate of this bug. ***
*** Bug 511998 has been marked as a duplicate of this bug. ***
*** Bug 515832 has been marked as a duplicate of this bug. ***
https://code.google.com/p/rion-overlay/source/detail?r=55c31c1d3c45f0738695684befa89339cb0ded16 QGIS-2.6 in rion overlay now
(In reply to Egor Y. Egorov from comment #81) > https://code.google.com/p/rion-overlay/source/ > detail?r=55c31c1d3c45f0738695684befa89339cb0ded16 > > QGIS-2.6 in rion overlay now Compiles and runs after applying the patch from bug #525700. Thanks!
Qgis 2.6 requires package app-text/txt2tags. Thanks for the ebuild!
(In reply to Milos Popovic from comment #83) > Qgis 2.6 requires package app-text/txt2tags. Thanks for the ebuild! In my case build fine without app-text/txt2tags. Can you show build.log? (In reply to Martin von Gagern from comment #82) > Compiles and runs after applying the patch from bug #525700. Thanks! https://code.google.com/p/rion-overlay/source/detail?r=f13d1a456fe224f03b58b5059916bf3f1125ef92
Sorry for not being clear. Due to bug 525700 I tried to install QGIS 2.6 with USE="-python" and without app-text/txt2tags. It failed in configure phase, before compiling.
In my case all fine Can you show build.log?
Strange, but I can’t reproduce this now.
Fails to configure for me due to a missing x11-libs/qscintilla dependency: CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: QSCINTILLA_INCLUDE_DIR used as include directory in directory /var/tmp/portage/sci-geosciences/qgis-2.6.0/work/qgis-2.6.0/src/gui used as include directory in directory /var/tmp/portage/sci-geosciences/qgis-2.6.0/work/qgis-2.6.0/src/providers/mssql used as include directory in directory /var/tmp/portage/sci-geosciences/qgis-2.6.0/work/qgis-2.6.0/src/providers/wfs used as include directory in directory /var/tmp/portage/sci-geosciences/qgis-2.6.0/work/qgis-2.6.0/src/providers/spatialite used as include directory in directory /var/tmp/portage/sci-geosciences/qgis-2.6.0/work/qgis-2.6.0/src/app used as include directory in directory /var/tmp/portage/sci-geosciences/qgis-2.6.0/work/qgis-2.6.0/src/app used as include directory in directory /var/tmp/portage/sci-geosciences/qgis-2.6.0/work/qgis-2.6.0/src/app QSCINTILLA_LIBRARY linked by target "qgis_core" in directory /var/tmp/portage/sci-geosciences/qgis-2.6.0/work/qgis-2.6.0/src/core linked by target "qgis_gui" in directory /var/tmp/portage/sci-geosciences/qgis-2.6.0/work/qgis-2.6.0/src/gui Sure enough, if I manually emerge x11-libs/qscintilla, the problem goes away.
(In reply to Jeremy Murphy from comment #88) > Fails to configure for me due to a missing x11-libs/qscintilla dependency: > > CMake Error: The following variables are used in this project, but they are > set to NOTFOUND. > Please set them or make sure they are set and tested correctly in the CMake > files: > QSCINTILLA_INCLUDE_DIR > used as include directory in directory > /var/tmp/portage/sci-geosciences/qgis-2.6.0/work/qgis-2.6.0/src/gui > used as include directory in directory > /var/tmp/portage/sci-geosciences/qgis-2.6.0/work/qgis-2.6.0/src/providers/ > mssql > used as include directory in directory > /var/tmp/portage/sci-geosciences/qgis-2.6.0/work/qgis-2.6.0/src/providers/wfs > used as include directory in directory > /var/tmp/portage/sci-geosciences/qgis-2.6.0/work/qgis-2.6.0/src/providers/ > spatialite > used as include directory in directory > /var/tmp/portage/sci-geosciences/qgis-2.6.0/work/qgis-2.6.0/src/app > used as include directory in directory > /var/tmp/portage/sci-geosciences/qgis-2.6.0/work/qgis-2.6.0/src/app > used as include directory in directory > /var/tmp/portage/sci-geosciences/qgis-2.6.0/work/qgis-2.6.0/src/app > QSCINTILLA_LIBRARY > linked by target "qgis_core" in directory > /var/tmp/portage/sci-geosciences/qgis-2.6.0/work/qgis-2.6.0/src/core > linked by target "qgis_gui" in directory > /var/tmp/portage/sci-geosciences/qgis-2.6.0/work/qgis-2.6.0/src/gui > > > Sure enough, if I manually emerge x11-libs/qscintilla, the problem goes away. Can you show full build.log?
Created attachment 390084 [details] build log, fails without qscintilla As requested, build.log wherein qscintilla is not present causes build to fail.
After install "x11-libs/qscintilla", qgis-2.6 was installed successfully.
https://code.google.com/p/rion-overlay/source/detail?r=f1d26302faecb8e888aa1f85bc96b0ffed2f5e80
According to http://www.qgis.org/en/site/forusers/download.html: "The current version is QGIS 2.6.1 'Brighton' and was released in November 2014."
https://code.google.com/p/rion-overlay/source/detail?r=49c6ff3e1db8f8d8544d4d142795279f55c7af20
Created attachment 391514 [details] Ebuild for QGIS 2.6.1
Created attachment 391516 [details, diff] Patch for "QtCore/QtCoremod.sip" problem
Here is an ebuild for QGIS 2.6.1, together with a patch (slightly modified from Martin von Gagern's patch at http://hub.qgis.org/issues/11465) which solves the Unable to find file "QtCore/QtCoremod.sip" problem.
(In reply to Dave Favis-Mortlock from comment #97) > Here is an ebuild for QGIS 2.6.1, together with a patch (slightly modified > from Martin von Gagern's patch at http://hub.qgis.org/issues/11465) which > solves the Unable to find file "QtCore/QtCoremod.sip" problem. ebuild from rion affected by this issue?
News: 2.8.0 is out.
2.8.0 In rion overlay now. Please test.
The ebuild fails when the spatialite USEFLAG is not set : # emerge -av qgis [ebuild N ~] sci-geosciences/qgis-2.8.0::rion USE="python -examples -grass -gsl -mapserver -postgres -spatialite {-test}" PYTHON_TARGETS="python2_7" 0 KiB >>> Emerging (1 of 1) sci-geosciences/qgis-2.8.0::rion * qgis-2.8.0.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking qgis-2.8.0.tar.bz2 to /var/tmp/portage/sci-geosciences/qgis-2.8.0/work >>> Source unpacked in /var/tmp/portage/sci-geosciences/qgis-2.8.0/work >>> Preparing source in /var/tmp/portage/sci-geosciences/qgis-2.8.0/work/qgis-2.8.0 ... * Applying qgis-1.7.0-avoid-deprecated-pyqtconfig.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/sci-geosciences/qgis-2.8.0/work/qgis-2.8.0 ... >>> Working in BUILD_DIR: "/var/tmp/portage/sci-geosciences/qgis-2.8.0/work/qgis-2.8.0_build" cmake --no-warn-unused-cli -C /var/tmp/portage/sci-geosciences/qgis-2.8.0/work/qgis-2.8.0_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DQGIS_MANUAL_SUBDIR=/share/man/ -DBUILD_SHARED_LIBS=ON -DQGIS_LIB_SUBDIR=lib64 -DQGIS_PLUGIN_SUBDIR=lib64/qgis -DWITH_INTERNAL_QWTPOLAR=OFF -DPEDANTIC=OFF -DWITH_APIDOC=OFF -DWITH_POSTGRESQL=OFF -DWITH_GRASS=OFF -DWITH_MAPSERVER=OFF -DWITH_BINDINGS=ON -DBINDINGS_GLOBAL_INSTALL=ON -DWITH_SPATIALITE=OFF -DWITH_PYSPATIALITE=OFF -DWITH_GSL=OFF -DENABLE_TESTS=OFF -DWITH_INTERNAL_SPATIALITE=ON -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/sci-geosciences/qgis-2.8.0/work/qgis-2.8.0_build/gentoo_rules.cmake -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/sci-geosciences/qgis-2.8.0/work/qgis-2.8.0_build/gentoo_toolchain.cmake /var/tmp/portage/sci-geosciences/qgis-2.8.0/work/qgis-2.8.0 Not searching for unused variables given on the command line. loading initial cache file /var/tmp/portage/sci-geosciences/qgis-2.8.0/work/qgis-2.8.0_build/gentoo_common_config.cmake -- The C compiler identification is GNU 4.8.3 -- The CXX compiler identification is GNU 4.8.3 -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- QGIS version: 2.8.0 Wien (20800) -- Looking for openpty -- Looking for openpty - not found -- Looking for openpty -- Looking for openpty - found -- Found Proj: /usr/lib64/libproj.so -- Found GEOS: /usr/lib64/libgeos_c.so (3.4.1) -- Found GDAL: /usr/lib64/libgdal.so (1.10.1) -- Found Expat: /usr/lib64/libexpat.so -- Found Spatialindex: /usr/lib64/libspatialindex.so -- Found Qwt: /usr/lib64/libqwt.so (5.2.3) -- Found Sqlite3: /usr/lib64/libsqlite3.so CMake Error at cmake/FindSPATIALITE.cmake:77 (MESSAGE): Could not find SpatiaLite Call Stack (most recent call first): CMakeLists.txt:200 (FIND_PACKAGE)
(In reply to Jean-Claude Repetto from comment #101) > The ebuild fails when the spatialite USEFLAG is not set : > > # emerge -av qgis > [ebuild N ~] sci-geosciences/qgis-2.8.0::rion USE="python -examples > -grass -gsl -mapserver -postgres -spatialite {-test}" > PYTHON_TARGETS="python2_7" 0 KiB > > >>> Emerging (1 of 1) sci-geosciences/qgis-2.8.0::rion > * qgis-2.8.0.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ... > [ ok ] > >>> Unpacking source... > >>> Unpacking qgis-2.8.0.tar.bz2 to /var/tmp/portage/sci-geosciences/qgis-2.8.0/work > >>> Source unpacked in /var/tmp/portage/sci-geosciences/qgis-2.8.0/work > >>> Preparing source in /var/tmp/portage/sci-geosciences/qgis-2.8.0/work/qgis-2.8.0 ... > * Applying qgis-1.7.0-avoid-deprecated-pyqtconfig.patch ... > [ ok ] > >>> Source prepared. > >>> Configuring source in /var/tmp/portage/sci-geosciences/qgis-2.8.0/work/qgis-2.8.0 ... > >>> Working in BUILD_DIR: "/var/tmp/portage/sci-geosciences/qgis-2.8.0/work/qgis-2.8.0_build" > cmake --no-warn-unused-cli -C > /var/tmp/portage/sci-geosciences/qgis-2.8.0/work/qgis-2.8.0_build/ > gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr > -DQGIS_MANUAL_SUBDIR=/share/man/ -DBUILD_SHARED_LIBS=ON > -DQGIS_LIB_SUBDIR=lib64 -DQGIS_PLUGIN_SUBDIR=lib64/qgis > -DWITH_INTERNAL_QWTPOLAR=OFF -DPEDANTIC=OFF -DWITH_APIDOC=OFF > -DWITH_POSTGRESQL=OFF -DWITH_GRASS=OFF -DWITH_MAPSERVER=OFF > -DWITH_BINDINGS=ON -DBINDINGS_GLOBAL_INSTALL=ON -DWITH_SPATIALITE=OFF > -DWITH_PYSPATIALITE=OFF -DWITH_GSL=OFF -DENABLE_TESTS=OFF > -DWITH_INTERNAL_SPATIALITE=ON -DCMAKE_BUILD_TYPE=Gentoo > -DCMAKE_INSTALL_DO_STRIP=OFF > -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/sci-geosciences/qgis-2.8.0/ > work/qgis-2.8.0_build/gentoo_rules.cmake > -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/sci-geosciences/qgis-2.8.0/work/qgis- > 2.8.0_build/gentoo_toolchain.cmake > /var/tmp/portage/sci-geosciences/qgis-2.8.0/work/qgis-2.8.0 > Not searching for unused variables given on the command line. > loading initial cache file > /var/tmp/portage/sci-geosciences/qgis-2.8.0/work/qgis-2.8.0_build/ > gentoo_common_config.cmake > -- The C compiler identification is GNU 4.8.3 > -- The CXX compiler identification is GNU 4.8.3 > -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc > -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works > -- Detecting C compiler ABI info > -- Detecting C compiler ABI info - done > -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ > -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works > -- Detecting CXX compiler ABI info > -- Detecting CXX compiler ABI info - done > -- QGIS version: 2.8.0 Wien (20800) > -- Looking for openpty > -- Looking for openpty - not found > -- Looking for openpty > -- Looking for openpty - found > -- Found Proj: /usr/lib64/libproj.so > -- Found GEOS: /usr/lib64/libgeos_c.so (3.4.1) > -- Found GDAL: /usr/lib64/libgdal.so (1.10.1) > -- Found Expat: /usr/lib64/libexpat.so > -- Found Spatialindex: /usr/lib64/libspatialindex.so > -- Found Qwt: /usr/lib64/libqwt.so (5.2.3) > -- Found Sqlite3: /usr/lib64/libsqlite3.so > CMake Error at cmake/FindSPATIALITE.cmake:77 (MESSAGE): > Could not find SpatiaLite > Call Stack (most recent call first): > CMakeLists.txt:200 (FIND_PACKAGE) Now if USE=spatialite qgis is built with internal spatialite support. Maybe always disable internal spatialite bulld independently from USE=spatialite? I do not know supported this upstream or not.
In my case USE="python -examples -grass -gsl -mapserver -postgres -spatialite" emerge -av1 =qgis-2.6.0 built fine but USE="python -examples -grass -gsl -mapserver -postgres -spatialite" emerge -av1 =qgis-2.8.0 not. This is look like upstream issue. Please report upstream.
2.8.1 released. I had some problem with rasters in 2.8.0.
https://github.com/rion-overlay/rion-overlay/commit/cb9ce729623dab2e5abb078b1c19fd4109c9a363 p.s. rion-overlay now in github Please make
(In reply to Egor Y. Egorov from comment #105) > https://github.com/rion-overlay/rion-overlay/commit/ > cb9ce729623dab2e5abb078b1c19fd4109c9a363 > > p.s. rion-overlay now in github > Please make *Please run layman -d rion && layman -a rion
Have problem with 2.8.1 ebuild: CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: QWT_LIBRARY Problem is, that I have installed x11-libs/qwt-6.1.2-r1, but for some reason it is not added to cmake args: cmake --no-warn-unused-cli -C /var/tmp/portage/sci-geosciences/qgis-2.8.1/work/qgis-2.8.1_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DQGIS_MANUAL_SUBDIR=/share/man/ -DBUILD_SHARED_LIBS=ON -DQGIS_LIB_SUBDIR=lib64 -DQGIS_PLUGIN_SUBDIR=lib64/qgis -DWITH_INTERNAL_QWTPOLAR=OFF -DPEDANTIC=OFF -DWITH_APIDOC=OFF -DWITH_POSTGRESQL=OFF -DWITH_GRASS=OFF -DWITH_MAPSERVER=OFF -DWITH_BINDINGS=ON -DBINDINGS_GLOBAL_INSTALL=ON -DWITH_SPATIALITE=ON -DWITH_PYSPATIALITE=ON -DWITH_GSL=ON -DENABLE_TESTS=OFF -DWITH_INTERNAL_SPATIALITE=OFF -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/sci-geosciences/qgis-2.8.1/work/qgis-2.8.1_build/gentoo_rules.cmake -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/sci-geosciences/qgis-2.8.1/work/qgis-2.8.1_build/gentoo_toolchain.cmake /var/tmp/portage/sci-geosciences/qgis-2.8.1/work/qgis-2.8.1 If I install x11-libs/qwt:5 manually, qgis compiles ok, but according to the ebuild: if has_version '>=x11-libs/qwt-6.1.2' ; then mycmakeargs+=( "-DQWT_INCLUDE_DIR=/usr/include/qwt6" "-DQWT_LIBRARY=/usr/$(get_libdir)/libqwt6-qt4.so" ) -DQWT_INCLUDE_DIR and -DQWT_LIBRARY should be added to cmake args, right?
If <x11-libs/qwtpolar-1 and x11-libs/qwt:5 are not installed in your system, then no need to specify -DQWT_INCLUDE_DIR and -DQWT_LIBRARY Please, show full build.log
I have installed x11-libs/qwtpolar-1.1.1 * Package: sci-geosciences/qgis-2.8.1 * Repository: rion * Maintainer: sci-geosciences@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc examples gsl kernel_linux python python_targets_python2_7 spatialite userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking qgis-2.8.1.tar.bz2 to /var/tmp/portage/sci-geosciences/qgis-2.8.1/work >>> Unpacking qgis_sample_data.tar.gz to /var/tmp/portage/sci-geosciences/qgis-2.8.1/work >>> Source unpacked in /var/tmp/portage/sci-geosciences/qgis-2.8.1/work >>> Preparing source in /var/tmp/portage/sci-geosciences/qgis-2.8.1/work/qgis-2.8.1 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/sci-geosciences/qgis-2.8.1/work/qgis-2.8.1 ... >>> Working in BUILD_DIR: "/var/tmp/portage/sci-geosciences/qgis-2.8.1/work/qgis-2.8.1_build" cmake --no-warn-unused-cli -C /var/tmp/portage/sci-geosciences/qgis-2.8.1/work/qgis-2.8.1_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DQGIS_MANUAL_SUBDIR=/share/man/ -DBUILD_SHARED_LIBS=ON -DQGIS_LIB_SUBDIR=lib64 -DQGIS_PLUGIN_SUBDIR=lib64/qgis -DWITH_INTERNAL_QWTPOLAR=OFF -DPEDANTIC=OFF -DWITH_APIDOC=OFF -DWITH_POSTGRESQL=OFF -DWITH_GRASS=OFF -DWITH_MAPSERVER=OFF -DWITH_BINDINGS=ON -DBINDINGS_GLOBAL_INSTALL=ON -DWITH_SPATIALITE=ON -DWITH_PYSPATIALITE=ON -DWITH_GSL=ON -DENABLE_TESTS=OFF -DWITH_INTERNAL_SPATIALITE=OFF -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/sci-geosciences/qgis-2.8.1/work/qgis-2.8.1_build/gentoo_rules.cmake -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/sci-geosciences/qgis-2.8.1/work/qgis-2.8.1_build/gentoo_toolchain.cmake /var/tmp/portage/sci-geosciences/qgis-2.8.1/work/qgis-2.8.1 Not searching for unused variables given on the command line. loading initial cache file /var/tmp/portage/sci-geosciences/qgis-2.8.1/work/qgis-2.8.1_build/gentoo_common_config.cmake -- The C compiler identification is GNU 4.8.3 -- The CXX compiler identification is GNU 4.8.3 -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- QGIS version: 2.8.1 Wien (20801) -- Looking for openpty -- Looking for openpty - not found -- Looking for openpty -- Looking for openpty - found -- Found Proj: /usr/lib64/libproj.so -- Found GEOS: /usr/lib64/libgeos_c.so (3.4.2) -- Found GDAL: /usr/lib64/libgdal.so (1.11.1) -- Found Expat: /usr/lib64/libexpat.so -- Found Spatialindex: /usr/lib64/libspatialindex.so -- Found Sqlite3: /usr/lib64/libsqlite3.so -- Found SpatiaLite: /usr/lib64/libspatialite.so -- Looking for gaiaDropTable in /usr/lib64/libspatialite.so -- Looking for gaiaDropTable in /usr/lib64/libspatialite.so - found -- Looking for gaiaStatisticsInvalidate in /usr/lib64/libspatialite.so -- Looking for gaiaStatisticsInvalidate in /usr/lib64/libspatialite.so - not found -- Looking for Q_WS_X11 -- Looking for Q_WS_X11 - found -- Looking for Q_WS_WIN -- Looking for Q_WS_WIN - not found -- Looking for Q_WS_QWS -- Looking for Q_WS_QWS - not found -- Looking for Q_WS_MAC -- Looking for Q_WS_MAC - not found -- Found Qt4: /usr/bin/qmake (found suitable version "4.8.6", minimum required is "4.7.0") -- Found Qt version: 4.8.6 -- Touch support disabled -- Found QScintilla2: /usr/lib64/qt4/libqscintilla2.so (2.8.4) -- Found PythonInterp: /var/tmp/portage/sci-geosciences/qgis-2.8.1/temp/python2.7/bin/python (found version "2.7.9") -- Found Python executable: /var/tmp/portage/sci-geosciences/qgis-2.8.1/temp/python2.7/bin/python -- Found Python version: 2.7.9 -- Found Python library: /usr/lib64/libpython2.7.so -- Found SIP version: 4.16.6 -- Found PyQt4 version: 4.11.3 -- Found QScintilla2 PyQt4 module: 2.8.4 -- Found QwtPolar: /usr/lib64/libqwtpolar.so -- Found GSL: -L/usr/lib64 -lgsl -lgslcblas -lm -- txt2tags not found - disabled -- <<< Gentoo configuration >>> Build type Gentoo Install path /usr Compiler flags: C -march=native -O2 -pipe C++ -march=native -O2 -pipe -std=c++11 Linker flags: Executable -Wl,-O1 -Wl,--as-needed Module -Wl,-O1 -Wl,--as-needed Shared -Wl,-O1 -Wl,--as-needed CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: QWT_LIBRARY linked by target "qgis_gui" in directory /var/tmp/portage/sci-geosciences/qgis-2.8.1/work/qgis-2.8.1/src/gui linked by target "qgis_app" in directory /var/tmp/portage/sci-geosciences/qgis-2.8.1/work/qgis-2.8.1/src/app linked by target "qgis" in directory /var/tmp/portage/sci-geosciences/qgis-2.8.1/work/qgis-2.8.1/src/app -- Configuring incomplete, errors occurred! See also "/var/tmp/portage/sci-geosciences/qgis-2.8.1/work/qgis-2.8.1_build/CMakeFiles/CMakeOutput.log". See also "/var/tmp/portage/sci-geosciences/qgis-2.8.1/work/qgis-2.8.1_build/CMakeFiles/CMakeError.log". * ERROR: sci-geosciences/qgis-2.8.1::rion failed (configure phase): * cmake failed * * Call stack: * ebuild.sh, line 93: Called src_configure * environment, line 3951: Called cmake-utils_src_configure * environment, line 906: Called _execute_optionally 'src_configure' * environment, line 338: Called enable_cmake-utils_src_configure * environment, line 1226: Called die * The specific snippet of code: * "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed"; * * If you need support, post the output of `emerge --info '=sci-geosciences/qgis-2.8.1::rion'`, * the complete build log and the output of `emerge -pqv '=sci-geosciences/qgis-2.8.1::rion'`. * The complete build log is located at '/var/tmp/portage/sci-geosciences/qgis-2.8.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-geosciences/qgis-2.8.1/temp/environment'. * Working directory: '/var/tmp/portage/sci-geosciences/qgis-2.8.1/work/qgis-2.8.1_build' * S: '/var/tmp/portage/sci-geosciences/qgis-2.8.1/work/qgis-2.8.1'
if downgrade x11-libs/qwt to version 6.1.2 (not 6.1.2-r1), this error still exist?
https://github.com/rion-overlay/rion-overlay/commit/dfe56a7abf86779ef0661ddc5d5571c392a1cd9c Please test
I can confirm, that with the latest fix qgis compiles ok for me, thanks.
The ebuild for QGIS 2.6.1 from Dave Favis-Mortlock as of 2014-12-12 needs two minor modifications: 1) s/postgresql-base/postgresql/ 2) s/qgis-2.4.0-FindPyQt.patch/qgis-2.6.1-FindPyQt.patch/ After applying these two modifications, I could build and run QGIS without problems.
Is there a need to 2.6.1? Since even relevant 2.8.1, I want to remove the old ebuild.
For qgis 2.10.1 renaming old 2.8.0 ebuild from rions overlay and coment # PATCHES= lines is enough to succeffuull compile for me...
(In reply to karpi from comment #115) > For qgis 2.10.1 renaming old 2.8.0 ebuild from rions overlay and coment # > PATCHES= lines is enough to succeffuull compile for me... Thanks for testing. In rion now. https://github.com/rion-overlay/rion-overlay/commit/3d870185e6bc0ea2fc9cde76c717630dd88ef2c3
attached a working ebuild. It is set to amd64 and x86 KEYWORDS only.
Created attachment 413862 [details] ebuild for 2.10.1
(In reply to Oleg from comment #118) > Created attachment 413862 [details] > ebuild for 2.10.1 > KEYWORDS="amd64 x86" ? Your ebuild is subject for this https://github.com/rion-overlay/rion-overlay/issues/201 Is a problem with ebuild from rion-overlay?
i'm unaware of any rion overlays. It is ebuild that is merged in Funtoo Linux, just giving it back
any progress?
QGIS 2.12.0 released : http://changelog.qgis.org/qgis/version/2.12.0/
2.12 in rion-overlay https://github.com/rion-overlay/rion-overlay/commit/aa2288d1092706af3a0d0900c7c8c811f0548f03 Please test.
Hi, Thanks for the new ebuild in rion overlay. On my system, it failed in the configuration phase : CMake Error at cmake/FindQCA.cmake:58 (message): Could not find QCA
Compiled ok, thx.
(In reply to Jean-Claude Repetto from comment #124) > Hi, > > Thanks for the new ebuild in rion overlay. > On my system, it failed in the configuration phase : > > CMake Error at cmake/FindQCA.cmake:58 (message): > Could not find QCA Please show build.log.
(In reply to Jean-Claude Repetto from comment #124) > Hi, > > Thanks for the new ebuild in rion overlay. > On my system, it failed in the configuration phase : > > CMake Error at cmake/FindQCA.cmake:58 (message): > Could not find QCA Try install app-crypt/qca first.
Works after installation of qca. New dependancy ? If so, should be added to the ebuild.
(In reply to Jean-Claude Repetto from comment #128) > Works after installation of qca. New dependancy ? If so, should be added to > the ebuild. Very likely so: http://www.qgis.org/en/site/forusers/visualchangelog212/index.html#feature-encrypted-password-management
QGIS-2.12: added missing dependency from app-crypt/qca https://github.com/rion-overlay/rion-overlay/commit/1b5c349f8baf2231ff4baf0e7dd4add6ecb43094
Just fyi: qgis-2.12 from the rion overlay with USE="grass python" has trouble since grass-6 got masked[1] and grass-7 doesn't have a python flag any more. I wonder whether we really need to pass the python flag along here, or whether qgis could work with both grass and python even if grass couldn't work with python. Or perhaps grass-7 has python support as a non-conditional component these days? I certainly see a lot of python files in its package content. [1] https://gitweb.gentoo.org/repo/gentoo.git/commit/profiles/package.mask?id=abadc2f99095598b6d0a62a56701ed64d3a9d01c
Just unmask grass-6.
2.12.1 is out, btw.
(In reply to Jeremy Murphy from comment #133) > 2.12.1 is out, btw. https://github.com/rion-overlay/rion-overlay/commit/027e6bbec0bde40892e98024db5c03c8fa2797c3
QGIS does not install with grass USE flag if GRASS 7.x version is used: emerge: there are no ebuilds built with USE flags to satisfy ">=sci-geosciences/grass-6.4.0_rc6[python?]". !!! One of the following packages is required to complete your request: - sci-geosciences/grass-7.0.1-r4::gentoo (Missing IUSE: python) (dependency required by "sci-geosciences/qgis-2.12.1::rion" [ebuild]) (dependency required by "qgis" [argument]) Solution: If GRASS 6.x is installed, ask for python use flag. If GRASS 7.x is installed, do not ask for python use flag, as it is included.
I not tested build with grass-7. Is built fine with this?
Build went fine. I just need to test if it runs fine.
(In reply to Milos Popovic from comment #137) > Build went fine. I just need to test if it runs fine. https://github.com/rion-overlay/rion-overlay/commit/86f1e41725752db24fb434f98df7c63df4e0befb Please test
committer Amy Winston <amynka@gentoo.org> 2015-12-28 19:53:48 (GMT) commit 5509c0eecdd713de3c148e0eaae5e2b7e55ee42d https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5509c0eecdd713de3c148e0eaae5e2b7e55ee42d