Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 928867 - [guru] gnome-extra/junction-1.7: needs rdep dev-libs/libportal[introspection,gtk]
Summary: [guru] gnome-extra/junction-1.7: needs rdep dev-libs/libportal[introspection,...
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: GURU project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-06 23:39 UTC by Lucio Sauer
Modified: 2024-04-07 15:46 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lucio Sauer 2024-04-06 23:39:09 UTC
junction crashes at start, if dev-libs/libportal lacks USE gtk:

$ re.sonny.Junction
(re.sonny.Junction:21877): Gjs-CRITICAL **: 23:25:40.180: JS ERROR: Error: Requiring XdpGtk4, version none: Typelib file for namespace 'XdpGtk4' (any version) not found
require@resource:///org/gnome/gjs/modules/esm/gi.js:16:28
@gi://XdpGtk4:3:25


(re.sonny.Junction:21877): Gjs-CRITICAL **: 23:25:40.180: Module file:///usr/bin/re.sonny.Junction threw an exception

Fix:
Add USE gtk to runtime dependency dev-libs/libportal


Reproducible: Always

Steps to Reproduce:
1. emerge -1 dev-libs/libportal[-gtk]
2. emerge '=gnome-extra/junction-1.7'
3. $ re.sonny.Junction
Actual Results:  
Program runs.

Expected Results:  
Program complains about missing lib and crashes.

junction-1.6-r1 is not affected.
Comment 1 Larry the Git Cow gentoo-dev 2024-04-07 15:46:31 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3297a17695e363513e0f5857142d56c31fe377a9

commit 3297a17695e363513e0f5857142d56c31fe377a9
Author:     Lucio Sauer <watermanpaint@posteo.net>
AuthorDate: 2024-04-06 23:43:09 +0000
Commit:     Lucio Sauer <watermanpaint@posteo.net>
CommitDate: 2024-04-06 23:43:09 +0000

    gnome-extra/junction: fix startup issues
    
    - missing library (928867)
    - upstream doesn't honor fallback for XDG_DATA_DIRS
    https://github.com/sonnyp/Junction/issues/115#issuecomment-2041227264
    
    Closes: https://bugs.gentoo.org/928867
    Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>

 gnome-extra/junction/junction-1.7-r1.ebuild | 67 +++++++++++++++++++++++++++++
 1 file changed, 67 insertions(+)