Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 820401 - sci-geosciences/qgis-3.22.0: sip-build: Unable to find file "QtPositioning/QtPositioningmod.sip"
Summary: sci-geosciences/qgis-3.22.0: sip-build: Unable to find file "QtPositioning/Qt...
Status: RESOLVED FIXED
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: 2021-10-26 18:45 UTC by Marco Genasci
Modified: 2021-10-27 05:57 UTC (History)
1 user (show)

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


Attachments
build.tar.gz (build.tar.gz,38.92 KB, application/gzip)
2021-10-26 18:45 UTC, Marco Genasci
Details
emerge-info.txt (emerge-info.txt,17.69 KB, text/plain)
2021-10-26 18:45 UTC, Marco Genasci
Details
emerge-pvq.txt (emerge-pvq.txt,218 bytes, text/plain)
2021-10-26 18:46 UTC, Marco Genasci
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Genasci 2021-10-26 18:45:13 UTC
The sci-geosciences/qgis-3.22.0 fails to build with error:

Querying qmake about your Qt installation...
These bindings will be built: core.
Generating the core bindings...
sip-build: Unable to find file "QtPositioning/QtPositioningmod.sip"

Reproducible: Always
Comment 1 Marco Genasci 2021-10-26 18:45:41 UTC
Created attachment 746868 [details]
build.tar.gz
Comment 2 Marco Genasci 2021-10-26 18:45:55 UTC
Created attachment 746871 [details]
emerge-info.txt
Comment 3 Marco Genasci 2021-10-26 18:46:06 UTC
Created attachment 746874 [details]
emerge-pvq.txt
Comment 4 Bernd Feige 2021-10-26 20:07:46 UTC
Seems to be this upstream issue: https://github.com/qgis/QGIS/issues/43791
Reason is that QtPositioning was removed from dev-python/PyQt5-5.15
FreeBSD solved it by providing a PyQt5 QtPositioning module:
https://cgit.freebsd.org/ports/commit/?id=06e8213fe96f7d5b8049667d303155da66907650

Probably we should have a PyQtPositioning package?
Comment 5 Bernd Feige 2021-10-26 20:29:42 UTC
(In reply to Bernd Feige from comment #4)
> Seems to be this upstream issue: https://github.com/qgis/QGIS/issues/43791
> Reason is that QtPositioning was removed from dev-python/PyQt5-5.15
> FreeBSD solved it by providing a PyQt5 QtPositioning module:
> https://cgit.freebsd.org/ports/commit/
> ?id=06e8213fe96f7d5b8049667d303155da66907650
> 
> Probably we should have a PyQtPositioning package?

Correction: Reason is https://github.com/qgis/QGIS/pull/43731:
"We now have (usable) bindings for QgsQtLocationConnection and therefore require python3-pyqt5.qtpositioning."

-> The only fix necessary is for qgis-3.22.0 to depend upon dev-python/PyQt5[positioning]
Comment 6 Larry the Git Cow gentoo-dev 2021-10-27 05:57:31 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=362a4d1bbe6d8731b422e3055d032c110f70dccc

commit 362a4d1bbe6d8731b422e3055d032c110f70dccc
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-10-27 05:56:50 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-10-27 05:57:23 +0000

    sci-geosciences/qgis: depend on dev-python/PyQt5[positioning]
    
    Thanks-to: Bernd Feige <Bernd.Feige@gmx.net>
    Closes: https://bugs.gentoo.org/820401
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-geosciences/qgis/{qgis-3.22.0.ebuild => qgis-3.22.0-r1.ebuild} | 2 +-
 sci-geosciences/qgis/qgis-9999.ebuild                              | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)