You are not logged in.

#1 2018-12-10 20:31:18

kenneth_h93
Member
Registered: 2017-07-24
Posts: 6

Webmin broken after perl 5.28 upgrade

Hi
It seems that this issue keeps coming back whenever perl is upgraded.
When we build perl-authen-pam from the AUR, to install webmin, then it is built inside ~/perl5
So when we start webmin it will fail as it cannot find it.

Running "perl -e 'use Authen::PAM;'" as the account who installed the perl-authen-pam package does not show any error. Running it as root does however give an error.

How can this be fixed, as it does not seem to work by simply copying the ~/perl5/lib/perl5/x86_64-linux-thread-multi/Authen folder to any of the locations in the perl @INC.

Offline

#2 2018-12-10 20:34:52

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Webmin broken after perl 5.28 upgrade

Moving to AUR Issues...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2018-12-10 20:54:50

loqs
Member
Registered: 2014-03-06
Posts: 17,314

Re: Webmin broken after perl 5.28 upgrade

What is the output of `pacman -Ql perl-authen-pam`
Edit:
Also what perl related environment variables are set for the build user?

Last edited by loqs (2018-12-10 21:18:43)

Online

#4 2018-12-10 21:42:37

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: Webmin broken after perl 5.28 upgrade

kenneth_h93 wrote:

When we build perl-authen-pam from the AUR, to install webmin, then it is built inside ~/perl5

If it is built inside ~/ at all, then your environment is quite broken and the package is totally broken as well.

Last edited by eschwartz (2018-12-10 21:42:57)


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#5 2018-12-10 22:04:55

loqs
Member
Registered: 2014-03-06
Posts: 17,314

Re: Webmin broken after perl 5.28 upgrade

@eschwartz this discussion seems to be happening in three places at once https://aur.archlinux.org/packages/perl-authen-pam/ https://aur.archlinux.org/packages/perl-encode-detect/

Online

#6 2018-12-11 06:08:25

amish
Member
Registered: 2014-05-10
Posts: 470

Re: Webmin broken after perl 5.28 upgrade

Dont know if OP (kenneth_h93) is same user as one who complained (mr_nuub) on AUR page:
https://aur.archlinux.org/packages/perl-encode-detect/

In any case just reporting that I have updated perl-encode-detect as per perl package guidelines. So try again and check.

May be maintainer of perl-authen-pam needs do the same.

Offline

#7 2018-12-11 17:30:50

loqs
Member
Registered: 2014-03-06
Posts: 17,314

Re: Webmin broken after perl 5.28 upgrade

amish wrote:

May be maintainer of perl-authen-pam needs do the same.

Or users could change their environment.

Online

#8 2018-12-12 02:42:08

amish
Member
Registered: 2014-05-10
Posts: 470

Re: Webmin broken after perl 5.28 upgrade

Well maintainers are expected and advised to follow the perl packaging guidelines.

https://wiki.archlinux.org/index.php/Pe … guidelines

The target audience of this document is intended to be packagers of perl modules.

Offline

Board footer

Powered by FluxBB