Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 813522 - =net-vpn/riseup-vpn-0.21.6 cannot find QtQuick Dialogs class
Summary: =net-vpn/riseup-vpn-0.21.6 cannot find QtQuick Dialogs class
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Nowa Ammerlaan
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2021-09-18 05:26 UTC by Brian Waters
Modified: 2021-09-20 08:46 UTC (History)
0 users

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


Attachments
patched ebuild (riseup-vpn-0.21.6.ebuild,4.54 KB, text/plain)
2021-09-18 05:26 UTC, Brian Waters
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Waters 2021-09-18 05:26:33 UTC
Created attachment 739740 [details]
patched ebuild

On my system, running riseup-vpn yields:

QQmlApplicationEngine failed to load component
qrc:/qml/main.qml:2:1: module "QtQuick.Dialogs" is not installed
2021/09/18 01:15:59 Client expects anon auth
2021/09/18 01:15:59 firewall stop
2021/09/18 01:15:59 Fetching gateways...
2021/09/18 01:16:00 Got sorted gateways: [starling.riseup.net yal.riseup.net gaei.riseup.net limpkin.riseup.net crane.riseup.net garza.riseup.net fournier.riseup.net hirondelle.riseup.net hoatzin.riseup.net mouette.riseup.net zarapito.riseup.net pie.riseup.net shag.riseup.net redshank.riseup.net mockingjay.riseup.net hornero.riseup.net]

The GUI never opens and the VPN doesn't connect.

I don't know what these libraries do or why they have two versions, but I found that adding dev-qt/qtquickcontrols:5[widgets] (yes, I tested it, and the widgets USE flag is required) to DEPENDS in the ebuild, so that both versions are installed simultaneously, fixes the issue (see attached ebuild).
Comment 1 Larry the Git Cow gentoo-dev 2021-09-20 08:46:56 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28d116a8b381c4b073cc25ea53a89166e685c910

commit 28d116a8b381c4b073cc25ea53a89166e685c910
Author:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
AuthorDate: 2021-09-20 08:46:38 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2021-09-20 08:46:38 +0000

    net-vpn/riseup-vpn: add missing dep, EAPI bump
    
    appeareantly this requires both qtquickcontrols
    *and* qtquickcontrols2. Also do an EAPI bump
    while we are touching this ebuild anyway
    
    Closes: https://bugs.gentoo.org/813522
    Package-Manager: Portage-3.0.23, Repoman-3.0.3
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 .../{riseup-vpn-0.21.6.ebuild => riseup-vpn-0.21.6-r1.ebuild}          | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)