Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 787419 - app-office/gnucash[python] should RDEPEND dev-python/pygobject
Summary: app-office/gnucash[python] should RDEPEND dev-python/pygobject
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Aaron W. Swenson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-01 15:03 UTC by Erik Mackdanz
Modified: 2021-11-18 14:47 UTC (History)
1 user (show)

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


Attachments
emerge --info (file_787419.txt,10.05 KB, text/plain)
2021-05-01 15:06 UTC, Erik Mackdanz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Mackdanz gentoo-dev 2021-05-01 15:03:09 UTC
Steps to reproduce:
1. Ensure pygobject isn't installed
2. Ensure gnucash[python] is installed
3. Open gnucash from a terminal: 'gnucash foo.gnc &'
Expect: Silent or unimportant output to the terminal
Actual:

Traceback (most recent call last):
  File "/usr/share/gnucash/python/init.py", line 6, in <module>
    from gi import require_version
ModuleNotFoundError: No module named 'gi'                                                                                                                                                                         

4. Install pygobject
5. Restart gnucash
Actual: Output no longer contains the 'no module' exception

I haven't seen any real consequences of missing the lib.  I saw this while troubleshooting an apparently-unrelated issue.
Comment 1 Erik Mackdanz gentoo-dev 2021-05-01 15:06:16 UTC
Created attachment 704985 [details]
emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2021-05-05 10:19:23 UTC
The bug has been referenced in the following commit(s):

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

commit 339984e5b6814d282362d2090491dc198480babb
Author:     Aaron W. Swenson <titanofold@gentoo.org>
AuthorDate: 2021-05-05 10:16:54 +0000
Commit:     Aaron W. Swenson <titanofold@gentoo.org>
CommitDate: 2021-05-05 10:18:31 +0000

    app-office/gnucash: Bump to 4.5
    
    Thanks to Giuseppe Foti and Adrian Bassett.
    
    Closes: https://bugs.gentoo.org/780501
    Bug: https://bugs.gentoo.org/787419
    Signed-off-by: Aaron W. Swenson <titanofold@gentoo.org>

 app-office/gnucash/Manifest           |   1 +
 app-office/gnucash/gnucash-4.5.ebuild | 238 ++++++++++++++++++++++++++++++++++
 2 files changed, 239 insertions(+)
Comment 3 Larry the Git Cow gentoo-dev 2021-11-18 14:47:14 UTC
The bug has been closed via the following commit(s):

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

commit b40a6d4ba54b379f354a166163d279048d983c75
Author:     Aaron W. Swenson <titanofold@gentoo.org>
AuthorDate: 2021-11-18 14:46:16 +0000
Commit:     Aaron W. Swenson <titanofold@gentoo.org>
CommitDate: 2021-11-18 14:46:16 +0000

    app-office/gnucash: Re-fix RDEPEND
    
    Closes: https://bugs.gentoo.org/787419
    Signed-off-by: Aaron W. Swenson <titanofold@gentoo.org>

 app-office/gnucash/gnucash-4.8.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)