Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 701492 - sci-astronomy/kstars-3.2.3 and sci-astronomy/kstars-3.3.8 missing runtime dependency to dev-qt/qtquickcontrols
Summary: sci-astronomy/kstars-3.2.3 and sci-astronomy/kstars-3.3.8 missing runtime dep...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2019-11-29 16:18 UTC by James Bates
Modified: 2019-12-04 00:44 UTC (History)
1 user (show)

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


Attachments
terminal output from kstars, showing the expected dependency, and segmentation fault (kstars.stderr,2.78 KB, text/plain)
2019-11-29 16:19 UTC, James Bates
Details
patch to add runtime dependency to dev-qt/qtquickcontrols (kstars-3.3.8.ebuild.patch,252 bytes, patch)
2019-11-29 16:20 UTC, James Bates
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description James Bates 2019-11-29 16:18:27 UTC
Both sci-astronomy/kstars-3.2.3 (stable) and sci-astronomy/kstars-3.3.8 (~amd64) show the same problem, when dev-qt/qtquickcontrols is not emerged:

The package builds, installs and merges without problems. Program starts fine. But when the "What's interesting?" feature is activated from the UI, the program segfaults (see attached kstars.stderr log). The reason appears to be a runtime dependency on dev-qt/qtquickcontrols (as evidenced in kstars.stderr logs).

After emerging dev-qt/qtquickcontrols (in my case 5.12.5, current stable), and restarting kstars (both 3.2.3 and 3.3.8), the "What's interesting?" feature works fine.

I would suggest adding dev-qt/qtquickcontrols as a runtime dependency. I've attached a patch to that effect (kstars-3.3.8.ebuild.patch)

Reproducible: Always

Steps to Reproduce:
1. emerge kstars (either amd64 or ~amd64, doesn't matter)
2. start kstars
3. right-click on some celestial object, and select "View in What's interesting"
Actual Results:  
kstars segfaults, and the stderr dump shows it expects qtquickcontrols (see attached kstars.stderr)

Expected Results:  
The "What's interesting" panel should open to the right of the main view, and show basic data and some information about the selected celestial object.
Comment 1 James Bates 2019-11-29 16:19:29 UTC
Created attachment 597908 [details]
terminal output from kstars, showing the expected dependency, and segmentation fault
Comment 2 James Bates 2019-11-29 16:20:32 UTC
Created attachment 597910 [details, diff]
patch to add runtime dependency to dev-qt/qtquickcontrols
Comment 3 Larry the Git Cow gentoo-dev 2019-12-04 00:44:18 UTC
The bug has been closed via the following commit(s):

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

commit dc5a832d3bf2e6572369ce01876d2fee21a6034f
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-12-04 00:05:47 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-12-04 00:43:55 +0000

    sci-astronomy/kstars: Add missing RDEPENDs
    
    Reported-by: James Bates <james.h.bates@gmail.com>
    Closes: https://bugs.gentoo.org/701492
    Package-Manager: Portage-2.3.80, Repoman-2.3.19
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 sci-astronomy/kstars/kstars-3.3.8-r1.ebuild | 99 +++++++++++++++++++++++++++++
 1 file changed, 99 insertions(+)