Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 935730 - sci-geosciences/qgis-3.36.3 fails to compile: qgsgpsinformationwidget.h:28:10: fatal error: qwt_polar_plot.h: No such file or directory
Summary: sci-geosciences/qgis-3.36.3 fails to compile: qgsgpsinformationwidget.h:28:10...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-08 05:49 UTC by Agostino Sarubbo
Modified: 2024-09-29 13:30 UTC (History)
3 users (show)

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


Attachments
build.log.xz (build.log.xz,174.95 KB, application/x-xz)
2024-07-08 05:50 UTC, Agostino Sarubbo
Details
Patch file for qgis 3.34.10 to prevent -DWITH_QWTPOLAR being added to compiler calls (qgis-3.34.10_no_qwtpolar.patch,7.05 KB, patch)
2024-09-29 13:30 UTC, Glenn Brauen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-07-08 05:49:56 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-geosciences/qgis-3.36.3 fails to compile.
Discovered on: amd64 (internal ref: ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-07-08 05:50:02 UTC
Created attachment 897313 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2024-07-08 05:50:04 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED: src/app/CMakeFiles/qgis_app.dir/qgis_app_autogen/mocs_compilation.cpp.o 
FAILED: src/app/CMakeFiles/qgis_app.dir/qgisapp.cpp.o 
/var/tmp/portage/sci-geosciences/qgis-3.36.3/work/qgis-3.36.3_build/src/app/qgis_app_autogen/D5BZ4OR6V3/../../../../../qgis-3.36.3/src/app/gps/qgsgpsinformationwidget.h:28:10: fatal error: qwt_polar_plot.h: No such file or directory
/var/tmp/portage/sci-geosciences/qgis-3.36.3/work/qgis-3.36.3/src/app/gps/qgsgpsinformationwidget.h:28: fatal error: qwt_polar_plot.h: No such file or directory
/var/tmp/portage/sci-geosciences/qgis-3.36.3/work/qgis-3.36.3_build/src/app/qgis_app_autogen/D5BZ4OR6V3/../../../../../qgis-3.36.3/src/app/gps/qgsgpsinformationwidget.h:28:10: fatal error: qwt_polar_plot.h: No such file or directory
Comment 3 Glenn Brauen 2024-09-29 13:30:05 UTC
Created attachment 904177 [details, diff]
Patch file for qgis 3.34.10 to prevent -DWITH_QWTPOLAR being added to compiler calls

Upstream QGIS seems to add -DWITH_QWTPOLAR to compiler invocation for several reasons and USE -polar does not override that. This patch comments out the contents of two files that are used in autogen to add the flag for CMake.

Successfully built QGIS 3.34.10 with QT5 from a local repository using this.