Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QGIS 3.10.6 does not build with GCC 10 and qt 5.15 #37072

Closed
buzo-ffm opened this issue Jun 9, 2020 · 8 comments
Closed

QGIS 3.10.6 does not build with GCC 10 and qt 5.15 #37072

buzo-ffm opened this issue Jun 9, 2020 · 8 comments
Assignees
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Build/Install Related to compiling or installing QGIS

Comments

@buzo-ffm
Copy link

buzo-ffm commented Jun 9, 2020

Describe the bug

QGIS 3.10.6 does not build with GCC 10 and qt 5.15. See attached output of make -k (second try).

How to Reproduce
Build with gcc 10.

QGIS and OS versions
QGIS 3.10.6 on Arch Linux (rolling release)

Additional context

I am trying to build this package for Arch Linux.

@buzo-ffm buzo-ffm added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Jun 9, 2020
@buzo-ffm
Copy link
Author

buzo-ffm commented Jun 9, 2020

make.log.gz

@pblottiere pblottiere self-assigned this Jun 9, 2020
@gioman gioman added the Build/Install Related to compiling or installing QGIS label Jun 9, 2020
@pblottiere
Copy link
Member

For now I tried to compile QGIS master with GCC 10 and qt 5.15 and I have some errors to fix:

[ 79%] Built target translations
[ 79%] Generating gui/sip_guipart0.cpp, gui/sip_guipart1.cpp, gui/sip_guipart2.cpp, gui/sip_guipart3.cpp, gui/sip_guipart4.cpp, gui/sip_guipart5.cpp

sip: core/conversions.sip:1440: %MappedType template for this type has already been defined
make[2]: *** [python/CMakeFiles/python_module_qgis__gui_autogen.dir/build.make:1068: python/gui/sip_guipart0.cpp] Error 1
make[2]: *** Deleting file 'python/gui/sip_guipart0.cpp'
make[2]: Target 'python/CMakeFiles/python_module_qgis__gui_autogen.dir/build' not remade because of errors.
make[1]: *** [CMakeFiles/Makefile2:7364: python/CMakeFiles/python_module_qgis__gui_autogen.dir/all] Error 2
[ 79%] Generating analysis/sip_analysispart0.cpp, analysis/sip_analysispart1.cpp, analysis/sip_analysispart2.cpp, analysis/sip_analysispart3.cpp, analysis/sip_analysispart4.cpp, analysis/sip_analysispart5.cpp

sip: core/conversions.sip:1440: %MappedType template for this type has already been defined
make[2]: *** [python/CMakeFiles/python_module_qgis__analysis_autogen.dir/build.make:730: python/analysis/sip_analysispart0.cpp] Error 1
make[2]: *** Deleting file 'python/analysis/sip_analysispart0.cpp'
make[2]: Target 'python/CMakeFiles/python_module_qgis__analysis_autogen.dir/build' not remade because of errors.
make[1]: *** [CMakeFiles/Makefile2:7336: python/CMakeFiles/python_module_qgis__analysis_autogen.dir/all] Error 2
[ 79%] Generating core/sip_corepart0.cpp, core/sip_corepart1.cpp, core/sip_corepart2.cpp, core/sip_corepart3.cpp, core/sip_corepart4.cpp, core/sip_corepart5.cpp

sip: /home/pblottiere/devel/qgis/qgis_pbl_fix_compil_arch/build/python/core/conversions.sip:1440: %MappedType template for this type has already been defined
make[2]: *** [python/CMakeFiles/python_module_qgis__core_autogen.dir/build.make:676: python/core/sip_corepart0.cpp] Error 1
make[2]: *** Deleting file 'python/core/sip_corepart0.cpp'
make[2]: Target 'python/CMakeFiles/python_module_qgis__core_autogen.dir/build' not remade because of errors.
make[1]: *** [CMakeFiles/Makefile2:7391: python/CMakeFiles/python_module_qgis__core_autogen.dir/all] Error 2
[ 79%] Built target zzz-MetaSearch-48-depend

I'll take a look to QGIS 3.10 after.

@pblottiere
Copy link
Member

Master is fixed with #37116. I'm taking a look to 3.10.

@rduivenvoorde
Copy link
Contributor

@pblottiere 3.10 still has this issue. Is it difficult/dangerous to backport this fixes?

@pblottiere
Copy link
Member

Hi @rduivenvoorde,

Is it difficult/dangerous to backport this fixes?

I take a look this afternoon.

@pblottiere
Copy link
Member

3.10 branch should be fixed with #37250.

@pblottiere
Copy link
Member

Backport has been merged, so we can close this issue.

@buzo-ffm
Copy link
Author

Still does not build on Arch Linux. See my comment in #37250.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Build/Install Related to compiling or installing QGIS
Projects
None yet
Development

No branches or pull requests

4 participants