Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 683358 - sys-auth/authenticator-0.2.4 - authenticator: ValueError: Namespace Gd not available
Summary: sys-auth/authenticator-0.2.4 - authenticator: ValueError: Namespace Gd not av...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2019-04-14 23:30 UTC by Marco Clocchiatti
Modified: 2021-03-30 09:24 UTC (History)
2 users (show)

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


Attachments
emerge.info (emerge.info,10.40 KB, application/x-info)
2019-04-14 23:30 UTC, Marco Clocchiatti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Clocchiatti 2019-04-14 23:30:26 UTC
Created attachment 572850 [details]
emerge.info

cloc3@cloc3Lnv ~ $ authenticator
Traceback (most recent call last):
  File "/usr/bin/authenticator", line 58, in <module>
    from Authenticator.models import Logger
  File "/usr/lib64/python3.6/site-packages/Authenticator/__init__.py", line 19, in <module>
    from .application import Application
  File "/usr/lib64/python3.6/site-packages/Authenticator/application.py", line 25, in <module>
    from .widgets import Window, AboutDialog
  File "/usr/lib64/python3.6/site-packages/Authenticator/widgets/__init__.py", line 20, in <module>
    from .accounts import AccountsList, AccountRow, AccountsListState
  File "/usr/lib64/python3.6/site-packages/Authenticator/widgets/accounts/__init__.py", line 19, in <module>
    from .add import AddAccountWindow
  File "/usr/lib64/python3.6/site-packages/Authenticator/widgets/accounts/add.py", line 25, in <module>
    require_version('Gd', '1.0')
  File "/usr/lib64/python3.6/site-packages/gi/__init__.py", line 129, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Gd not available
Comment 1 Sander Sweers 2019-12-30 15:40:41 UTC
There is confusion what gd library is required. Currently it removes subprojects/libgd thinking this is media-libs/gd but this is not what it needs. It actually needs https://gitlab.gnome.org/GNOME/libgd which is, rightly so, not packaged.

Also, got wrong line endings in the shebang line and had to dos2unix it.
>bash: /usr/bin/authenticator: /usr/bin/python3.6^M: bad interpreter: No such file or directory

But just removing the removing does not make it work because gi does not appear to find Gd in a non standard location. There is an attempt in "authenticator.py.in" but it looks like it is not sufficient.

I am not interested enough in this to continue my investigation and provide fixes. I am happy to test things, just ping me here.
Comment 2 Larry the Git Cow gentoo-dev 2021-02-25 19:02:14 UTC
The bug has been referenced in the following commit(s):

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

commit 2b1b18d905753fd03692ff02da1744ef5ba50397
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2021-02-25 19:02:00 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2021-02-25 19:02:00 +0000

    package.mask: Last-rite sys-auth/authenticator
    
    Bug: https://bugs.gentoo.org/683358
    Bug: https://bugs.gentoo.org/696476
    Bug: https://bugs.gentoo.org/741936
    Signed-off-by: David Seifert <soap@gentoo.org>

 profiles/package.mask | 5 +++++
 1 file changed, 5 insertions(+)
Comment 3 Larry the Git Cow gentoo-dev 2021-03-30 09:24:52 UTC
The bug has been closed via the following commit(s):

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

commit e1e4d40dd9be94315390db4bdffcc697197e5890
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-03-30 09:24:16 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2021-03-30 09:24:16 +0000

    sys-auth/authenticator: Remove last-rited pkg
    
    Closes: https://github.com/gentoo/gentoo/pull/20163
    Closes: https://bugs.gentoo.org/683358
    Closes: https://bugs.gentoo.org/696476
    Closes: https://bugs.gentoo.org/741936
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: David Seifert <soap@gentoo.org>

 profiles/package.mask                              |  5 --
 profiles/updates/3Q-2018                           |  1 -
 sys-auth/authenticator/Manifest                    |  1 -
 .../authenticator/authenticator-0.2.4-r1.ebuild    | 73 ----------------------
 sys-auth/authenticator/authenticator-9999.ebuild   | 69 --------------------
 ...authenticator-0.2.4-disable-failing-tests.patch | 16 -----
 ...or-0.2.4-support-use-of-gdlib-from-system.patch | 23 -------
 sys-auth/authenticator/metadata.xml                | 11 ----
 8 files changed, 199 deletions(-)