You are not logged in.

#1 2017-03-21 22:23:33

rgta
Member
Registered: 2015-04-19
Posts: 4

[SOLVED] perl-devel-checklib - error building package

Hi there,

when trying to build perl-devel-checklib (which I need a a dep for slic3r-prusa3d-git) I run into an error. Not really sure what might be the problem, any help would be appreciated.


==> Starting package()...
Manifying 1 pod document
Manifying 1 pod document
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ERROR: Can't create '/usr/bin/site_perl'
mkdir /usr/bin/site_perl: Permission denied at /usr/share/perl5/core_perl/ExtUtils/Install.pm line 477.

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 at -e line 1.
make: *** [Makefile:742: pure_site_install] Error 13
==> ERROR: A failure occurred in package().
    Aborting...

Last edited by rgta (2017-03-22 09:36:21)

Offline

#2 2017-03-22 02:47:31

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

Re: [SOLVED] perl-devel-checklib - error building package

The moron who authored that AUR package needs to read the PKGBUILD manpage.

That prepare() function is being horrendously misused as an "export significant variables" function, which is both missing the point of a prepare() function, and extremely likely to break in anything but the most simple circumstances. In this case, a core makepkg feature -- separated `makepkg --nobuild` and `makepkg --noextract` runs -- is used by pacaur, so you probably use pacaur. smile


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

Offline

#3 2017-03-22 09:36:04

rgta
Member
Registered: 2015-04-19
Posts: 4

Re: [SOLVED] perl-devel-checklib - error building package

Thank you, it worked without problems building the package directly with makepgk.

Offline

#4 2017-03-22 10:48:06

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

Re: [SOLVED] perl-devel-checklib - error building package

Sure, but really you should post a comment on the AUR page asking the maintainer to fix their horrible PKGBUILD. tongue


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

Offline

Board footer

Powered by FluxBB