Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 932387 - sci-geosciences/qgis-3.36.2: version bump
Summary: sci-geosciences/qgis-3.36.2: version bump
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-21 20:34 UTC by John L. Poole
Modified: 2024-06-16 15:03 UTC (History)
4 users (show)

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


Attachments
portion of build log at Step 7450/10047 (qgis_3.36.3_failure.txt,34.88 KB, text/plain)
2024-05-21 20:37 UTC, John L. Poole
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John L. Poole 2024-05-21 20:34:48 UTC
sci-geosciences/qgis has released 3.36.2.  Currently, Gentoo only offers 3.36.1.







Reproducible: Always




I took the ebuild for 3.36.1 and changed the file name to 3.36.2 and attempted to build 3.36.2 from my local repository.  The build failed with: 

     fatal error: qwt_polar_plot.h

"polar" is a USE flag for Qgis that "Enable[s] support for the polar coordinate system via x11-libs/qwtpolar".  On my system, "polar" was not enabled for my Qgis 3.36.1 build.  In order to overcome the above error, I activated "polar" in my USE flags file and successfully built 3.36.2.  So, "polar" may no longer be optional unless a patch is prepared.  

Adding "polar" to Qgis' USE flags causes the following:

	ryzdesk /etc/portage/package.use # emerge -p qgis

	These are the packages that would be merged, in order:

	Calculating dependencies... done!
	Dependency resolution took 8.13 s (backtrack: 0/20).

	[ebuild     UD ] x11-libs/qwt-6.1.5 [6.2.0-r3] USE="designer* -mathml%"
	[ebuild  N     ] x11-libs/qwtpolar-1.1.1-r3
	[ebuild     U ~] sci-geosciences/qgis-3.36.2 [3.36.1] USE="polar*"
	--- /etc/portage/package.use/xorg-server        2024-04-17 07:21:48.624165578 -0700
	+++ /etc/portage/package.use/._cfg0000_xorg-server      2024-05-21 12:17:51.859591303 -0700
	@@ -87,3 +87,8 @@
	# required by @selected
	# required by @world (argument)
	>=dev-python/PyQt5-5.15.10-r1 serialport
	+# required by x11-libs/qwtpolar-1.1.1-r3::gentoo
	+# required by sci-geosciences/qgis-3.36.2::local[polar]
	+# required by @selected
	+# required by @world (argument)
	+=x11-libs/qwt-6.1.5 designer

	>> (1 of 1) -- /etc/portage/package.use/xorg-server
	>> q quit, h help, n next, e edit-new, z zap-new, u use-new
	m merge, t toggle-merge, l look-merge:
	ryzdesk /etc/portage/package.use # 

I have a script of the entire build failure (w/o "polar" activated), but it is a large file, so I'm not clogging this Bug system with it.  I will be attaching qgis_3.36.3_failure.txt as the output from the following:

     tail -n 59 qgis_3.36.3_20240521_Tue_114704.script |head -n 35 >qgis_3.36.3_failure.txt

Qgis is a large program to compile, building on a VM with 8 CPUs of a Ryzen 7950+ with 64GB ram took:

real    45m49.997s
user    182m24.250s
sys     22m28.428s
.

In conclusion, Qgis has a new version, but it requires using the "polar" USE flag in order to compile.  The build file that successfully built with "polar" is identical to 36.2.1 except for the version number.
Comment 1 John L. Poole 2024-05-21 20:37:55 UTC
Created attachment 893688 [details]
portion of build log at Step 7450/10047

This attachment was derived by extracting from the larger build log:

     tail -n 59 qgis_3.36.3_20240521_Tue_114704.script |head -n 35 >qgis_3.36.3_failure.txt