Package Details: perl-extutils-cchecker 0.09-2

Git Clone URL: https://aur.archlinux.org/perl-extutils-cchecker.git (read-only, click to copy)
Package Base: perl-extutils-cchecker
Description: CPAN/ExtUtils::CChecker - configure-time utilities for using C headers, libraries, or OS features
Upstream URL: https://metacpan.org/release/ExtUtils-CChecker
Licenses: GPL, PerlArtistic
Submitter: None
Maintainer: bidulock
Last Packager: bidulock
Votes: 11
Popularity: 0.006373
First Submitted: 2011-03-16 08:00
Last Updated: 2018-08-22 07:06

Latest Comments

milki commented on 2020-11-28 22:48

This package is installing files in the wrong place:

==> Continue installing perl-extutils-cchecker ? [Y/n]
==> [v]iew package contents [c]heck package with namcap
==> ---------------------------------------------------
==> c

perl-extutils-cchecker W: File (home/) exists in a non-standard directory.
perl-extutils-cchecker W: File (home/milki/) exists in a non-standard directory.
perl-extutils-cchecker W: File (home/milki/perl5/) exists in a non-standard directory.
perl-extutils-cchecker W: File (home/milki/perl5/lib/) exists in a non-standard directory.
perl-extutils-cchecker W: File (home/milki/perl5/lib/perl5/) exists in a non-standard directory.
perl-extutils-cchecker W: File (home/milki/perl5/lib/perl5/ExtUtils/) exists in a non-standard directory.
perl-extutils-cchecker W: File (home/milki/perl5/lib/perl5/ExtUtils/CChecker.pm) exists in a non-standard directory.
perl-extutils-cchecker W: File (home/milki/perl5/man/) exists in a non-standard directory.
perl-extutils-cchecker W: File (home/milki/perl5/man/man3/) exists in a non-standard directory.
perl-extutils-cchecker W: File (home/milki/perl5/man/man3/ExtUtils::CChecker.3pm) exists in a non-standard directory.
perl-extutils-cchecker W: Potential non-FHS man page (home/milki/perl5/man/man3/ExtUtils::CChecker.3pm) found.
perl-extutils-cchecker W: Dependency included and not needed ('perl')

I believe the install commands need to be changed. Looking at a related package perl-test-cchecker, there's things like

unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps MODULEBUILDRC=/dev/null
perl Makefile.PL
make install INSTALLDIRS=vendor DESTDIR="$pkgdir"

I suspect perl building changed at some point so some adjustments need to be made to PKGBUILD.

alukichev commented on 2020-03-12 08:30

Please add perl-module-build to the list of dependencies. Otherwise the build step complains (Warning: prerequisite Module::Build 0 not found.) and the test step fails on t/04module_build.t.