Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 612924 - =sci-geosciences/qgis-2.18.3-r1 with dev-python/sip-4.19.1: error: 'QgsFileDownloader::~QgsFileDownloader()' is private
Summary: =sci-geosciences/qgis-2.18.3-r1 with dev-python/sip-4.19.1: error: 'QgsFileDo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sci-geo Project
URL: https://hub.qgis.org/issues/16071
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2017-03-17 15:39 UTC by Andrew Petelin
Modified: 2017-04-09 21:37 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,5.97 KB, text/plain)
2017-03-17 15:39 UTC, Andrew Petelin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Petelin 2017-03-17 15:39:25 UTC
Created attachment 467312 [details]
emerge --info

qgis build fails because of the private destructor.

See https://hub.qgis.org/issues/16071.

Using sip-4.19.1.

emerge log:

In file included from /var/tmp/portage/sci-geosciences/qgis-2.18.3-r1/work/qgis-2.18.3/python/gui/qgsfiledownloader.sip:33:0:
/var/tmp/portage/sci-geosciences/qgis-2.18.3-r1/work/qgis-2.18.3/python/../src/gui/qgsfiledownloader.h: In destructor ‘virtual sipQgsFileDownloader::~sipQgsFileDownloader()’:
/var/tmp/portage/sci-geosciences/qgis-2.18.3-r1/work/qgis-2.18.3/python/../src/gui/qgsfiledownloader.h:94:5: error: ‘QgsFileDownloader::~QgsFileDownloader()’ is private
     ~QgsFileDownloader();
     ^
/var/tmp/portage/sci-geosciences/qgis-2.18.3-r1/work/qgis-2.18.3_build/python/gui/sip_guipart3.cpp:5798:7: error: within this context
 }
       ^
/var/tmp/portage/sci-geosciences/qgis-2.18.3-r1/work/qgis-2.18.3_build/python/gui/sip_guipart3.cpp: In destructor ‘virtual sipQgsFileDownloader::~sipQgsFileDownloader()’:
/var/tmp/portage/sci-geosciences/qgis-2.18.3-r1/work/qgis-2.18.3_build/python/gui/sip_guipart3.cpp:5798:7: error: use of deleted function ‘virtual sipQgsFileDownloader::~sipQgsFil
eDownloader()’
/var/tmp/portage/sci-geosciences/qgis-2.18.3-r1/work/qgis-2.18.3_build/python/gui/sip_guipart3.cpp: At global scope:
/var/tmp/portage/sci-geosciences/qgis-2.18.3-r1/work/qgis-2.18.3_build/python/gui/sip_guipart3.cpp:5798:7: note: synthesized method ‘virtual sipQgsFileDownloader::~sipQgsFileDownl
oader()’ first required here
Comment 1 Andrew Petelin 2017-03-17 15:41:12 UTC
Possibly related to https://bugs.gentoo.org/show_bug.cgi?id=482644.
Comment 2 François Valenduc 2017-03-17 22:23:27 UTC
This can be solved by applying the following patch: 
https://github.com/qgis/QGIS/commit/2efb2a38f10a5f6c4f46266dbc86a302f2e5d373
Comment 3 Andreas Sturmlechner gentoo-dev 2017-03-17 22:24:21 UTC
I'm testing it already.
Comment 4 Andreas Sturmlechner gentoo-dev 2017-03-18 00:01:54 UTC
Patch fixes this particular build error, but I'm still stuck with runtime issues:

https://hub.qgis.org/issues/16343
Comment 5 François Valenduc 2017-03-18 18:40:54 UTC
With this additional patch, I can compile QGIS, except for the problem of sandbox access violation for which I use FEATURES=-sandbox -usersandbox as workaround, see #612956).
I don't encounter error at runtime and I can use plugins such as openlayers which if I am not mistaken uses python. I compiled PyQt4 and QGIS with webkit support.
Comment 6 Andreas Sturmlechner gentoo-dev 2017-04-09 21:37:11 UTC
Closing this as resolved, since you opened a separate bug for the new issue.