Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 614660 - dev-perl/Authen-PAM fails install without '.' in @INC (Can't locate pam.cfg in @INC)
Summary: dev-perl/Authen-PAM fails install without '.' in @INC (Can't locate pam.cfg i...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL: https://rt.cpan.org/Ticket/Display.ht...
Whiteboard:
Keywords:
Depends on:
Blocks: perl-5.26-no-dot-inc perl-5.26-unmask
  Show dependency tree
 
Reported: 2017-04-04 15:46 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2017-06-14 08:45 UTC (History)
0 users

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 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-04-04 15:46:15 UTC
configure: creating ./config.status
config.status: creating pam.cfg
config.status: creating PAM.pm
config.status: creating PAM_config.h
Can't locate pam.cfg in @INC (@INC contains: /etc/perl /usr/local/lib64/perl5/5.25.11/x86_64-linux /usr/local/lib64/perl5/5.25.11 /usr/lib64/perl5/vendor_perl/5.25.11/x86_64-linux /usr/lib64/perl5/vendor_perl/5.25.11 /usr/local/lib64/perl5 /usr/lib64/perl5/vendor_perl/5.25.11 /usr/lib64/perl5/vendor_perl/5.22.3 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.25.11/x86_64-linux /usr/lib64/perl5/5.25.11) at Makefile.PL line 13.
 * ERROR: dev-perl/Authen-PAM-0.160.0-r1::gentoo failed (configure phase):
 *   Unable to build
Comment 1 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-06-14 08:45:12 UTC
commit:  c12611af0f7a824e7ad234e4ca3491ce74ab703d
author:  2017-06-14 20:43:57 +1200 Kent Fredric <kentnl@gentoo.org>
commit:  2017-06-14 20:43:57 +1200 Kent Fredric <kentnl@gentoo.org>
gpg-key: E854324B1366A820

    dev-perl/Authen-PAM: Fix for '.' in @INC re bug #614660

    require "foo.cfg"
    
    Relied on '.' being in @INC to work, and can be worked around by
    using explict
    
    require "./foo.cfg"
    
    Bug: https://bugs.gentoo.org/614660
    Package-Manager: Portage-2.3.6, Repoman-2.3.2


 dev-perl/Authen-PAM/Authen-PAM-0.160.0-r1.ebuild |  4 +-
 dev-perl/Authen-PAM/files/no-dot-inc.patch       | 32 +++++
 2 files changed, 34 insertions(+), 2 deletions(-)