Summary: | sci-geosciences/qgis-3.10.3 w/ Qt 5.15: src/core/symbology/qgsmarkersymbollayer.h:982:18: er ror: field ‘mCachedPath’ has incomplete type ‘QPainterPath’ | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Daniel M. Weeks <dan> |
Component: | Current packages | Assignee: | Sci-geo Project <sci-geosciences> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | sac |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=729020 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 726178 |
Description
Daniel M. Weeks
2020-06-10 00:34:56 UTC
Upstream issue: https://github.com/qgis/QGIS/issues/37005 Patches mentioned there will both apply to 3.10.3, fixes the first error but python/sip fails later. (In reply to Stephen Cavilia from comment #1) > Upstream issue: https://github.com/qgis/QGIS/issues/37005 > > Patches mentioned there will both apply to 3.10.3, fixes the first error but > python/sip fails later. I found that bug report but I don't believe all the patches referenced are necessary here. That's for 3.12 and Gentoo has the LTR 3.10. I tested the single qt5.15 patch I mentioned previously and it builds without error and runs fine. Didn't see the patch in your original post but 31f586ec is the one I applied. I can build it but only with USE=-python. (In reply to Stephen Cavilia from comment #3) > Didn't see the patch in your original post but 31f586ec is the one I > applied. I can build it but only with USE=-python. I have it built with python 3.7. Which python version did you try to use? Also using 3.7. With python enabled I get: /var/tmp/portage/sci-geosciences/qgis-3.10.3/work/qgis-3.10.3_build/python/analysis/sip_analysispart1.cpp: In function ‘void assign_QgsGeometryCheckErrorSingle(void*, Py_ssize_t, void*)’: /var/tmp/portage/sci-geosciences/qgis-3.10.3/work/qgis-3.10.3_build/python/analysis/sip_analysispart1.cpp:1308:135: error: use of deleted function ‘QgsGeometryCheckErrorSingle& QgsGeometryCheckErrorSingle::operator=(const QgsGeometryCheckErrorSingle&)’ 1308 | static void dealloc_QgsGeometryCheckErrorSingle(sipSimpleWrapper *sipSelf) | ^ In file included from /var/tmp/portage/sci-geosciences/qgis-3.10.3/work/qgis-3.10.3_build/python/analysis/auto_generated/vector/geometry_checker/qgssinglegeometrycheck.sip:97: /var/tmp/portage/sci-geosciences/qgis-3.10.3/work/qgis-3.10.3/src/analysis/vector/geometry_checker/qgssinglegeometrycheck.h:115:23: note: ‘QgsGeometryCheckErrorSingle& QgsGeometryCheckErrorSingle::operator=(const QgsGeometryCheckErrorSingle&)’ is implicitly deleted because the default definition would be ill-formed: 115 | class ANALYSIS_EXPORT QgsGeometryCheckErrorSingle : public QgsGeometryCheckError | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/qgis-3.10.3/work/qgis-3.10.3/src/analysis/vector/geometry_checker/qgssinglegeometrycheck.h:115:23: error: use of deleted function ‘const QgsGeometryCheckError& QgsGeometryCheckError::operator=(const QgsGeometryCheckError&)’ In file included from /var/tmp/portage/sci-geosciences/qgis-3.10.3/work/qgis-3.10.3_build/python/analysis/auto_generated/vector/geometry_checker/qgsgeometrycheckerror.sip:27: /var/tmp/portage/sci-geosciences/qgis-3.10.3/work/qgis-3.10.3/src/analysis/vector/geometry_checker/qgsgeometrycheckerror.h:75:34: note: declared here 75 | const QgsGeometryCheckError &operator=( const QgsGeometryCheckError & ) = delete; | ^~~~~~~~ Python issue seems to be with sip 4.19.23. Downgrading to 4.19.22 allows qgis to build. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=292e1386ca002aa1bea44374924204e8ebd5c9fd commit 292e1386ca002aa1bea44374924204e8ebd5c9fd Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2020-06-21 13:06:40 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2020-06-21 15:24:48 +0000 sci-geosciences/qgis: 3.10.7 version bump Contains upstream fixes for build with Qt 5.15 and PyQt5 5.15. Closes: https://bugs.gentoo.org/712684 Closes: https://bugs.gentoo.org/716486 Closes: https://bugs.gentoo.org/727746 Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> sci-geosciences/qgis/Manifest | 1 + sci-geosciences/qgis/qgis-3.10.7.ebuild | 204 ++++++++++++++++++++++++++++++++ sci-geosciences/qgis/qgis-9999.ebuild | 40 +++---- 3 files changed, 224 insertions(+), 21 deletions(-) |