Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 927630 - sys-apps/pcsc-tools-1.7.1 Can't locate Locale/TextDomain.pm
Summary: sys-apps/pcsc-tools-1.7.1 Can't locate Locale/TextDomain.pm
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-23 13:47 UTC by Esteve Varela Colominas
Modified: 2025-05-01 03:47 UTC (History)
2 users (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 Esteve Varela Colominas 2024-03-23 13:47:12 UTC
I get the following error when running scriptor:

$ /usr/bin/gscriptor
Can't locate Locale/TextDomain.pm in @INC (you may need to install the Locale::TextDomain module) (@INC entries checked: /etc/perl /usr/local/lib64/perl5/5.38/x86_64-linux /usr/local/lib64/perl5/5.38 /usr/lib64/perl5/vendor_perl/5.38/x86_64-linux /usr/lib64/perl5/vendor_perl/5.38 /usr/lib64/perl5/5.38/x86_64-linux /usr/lib64/perl5/5.38) at /usr/bin/gscriptor line 36.
BEGIN failed--compilation aborted at /usr/bin/gscriptor line 36.

It goes away after installing "dev-perl/libintl-perl"
Comment 1 Anton Bolshakov 2024-07-01 12:49:34 UTC
I also hit the same bug.

dev-perl/libintl-perl did help. Thanks for the hint
Comment 2 Larry the Git Cow gentoo-dev 2025-05-01 03:43:14 UTC
The bug has been closed via the following commit(s):

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

commit 9ab2ac6e2ef72ff3a8d9a7130dd297b2511b28df
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-05-01 03:34:07 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-05-01 03:41:48 +0000

    sys-apps/pcsc-tools: add 1.7.3
    
    * Port to Meson
    * Retain USE=gui, at least for now. It was added for bug #323229
      with which I sympathise, but dunno if we should add some option for it
      in the build system. I think we probably should as it's more robust
      and means we're less likely to miss files that changed in future.
    * Add a comment in pkg_postrm as I nearly removed it until I realised
      why it's not conditional there.
    * Add unconditional dev-perl/libintl-perl dep. It's `use`'d by both
      gscriptor and scriptor unconditionally.
    
    Bug: https://bugs.gentoo.org/323229
    Closes: https://bugs.gentoo.org/927630
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-apps/pcsc-tools/Manifest                |  1 +
 sys-apps/pcsc-tools/pcsc-tools-1.7.3.ebuild | 49 +++++++++++++++++++++++++++++
 2 files changed, 50 insertions(+)
Comment 3 Larry the Git Cow gentoo-dev 2025-05-01 03:47:50 UTC
The bug has been referenced in the following commit(s):

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

commit bba743d4990ed38f9b2fec7f9618ca62725e62f9
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-05-01 03:46:42 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-05-01 03:46:42 +0000

    sys-apps/pcsc-tools: drop USE=nls, fix Perl deps
    
    As I remarked in 9ab2ac6e2ef72ff3a8d9a7130dd297b2511b28df, we really
    need dev-perl/libintl-perl for {g,}scriptor. USe=nls goes away w/
    the meson port in 1.7.3 anyway, so let's drop it here while fixing
    the Perl dependency.
    
    Bug: https://bugs.gentoo.org/927630
    Signed-off-by: Sam James <sam@gentoo.org>

 .../{pcsc-tools-1.7.2.ebuild => pcsc-tools-1.7.2-r1.ebuild}        | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)