Package Details: perl-string-camelcase 0.04-1

Git Clone URL: (read-only, click to copy)
Package Base: perl-string-camelcase
Description: camelcase, de-camelcase
Upstream URL:
Licenses: GPL, PerlArtistic
Submitter: harleypig
Maintainer: BluePeril
Last Packager: BluePeril
Votes: 0
Popularity: 0.000000
First Submitted: 2012-06-12 04:30 (UTC)
Last Updated: 2021-04-11 09:48 (UTC)

Latest Comments

strupo commented on 2019-03-22 10:11 (UTC) (edited on 2019-03-22 10:27 (UTC) by strupo)

This package fails to build unless you add "$srcdir/$_destdir" to @INC:

$ makepkg -Ccs
    ==> Making package: perl-string-camelcase 0.02-1 (Fri 22 Mar 2019 11:08:11 CET)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving sources...
      -> Found String-CamelCase-0.02.tar.gz
    ==> Validating source files with md5sums...
        String-CamelCase-0.02.tar.gz ... Passed
    ==> Validating source files with sha512sums...
        String-CamelCase-0.02.tar.gz ... Passed
    ==> Removing existing $srcdir/ directory...
    ==> Extracting sources...
      -> Extracting String-CamelCase-0.02.tar.gz with bsdtar
    ==> Starting build()...
    Can't locate inc/ExtUtils/ in @INC (you may need to install the inc::ExtUtils::MY_Metafile module) (@INC contains: /usr/lib/perl5/5.28/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/5.28/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/5.28/core_perl /usr/share/perl5/core_perl) at Makefile.PL line 4.
    BEGIN failed--compilation aborted at Makefile.PL line 4.
    ==> ERROR: A failure occurred in build().

I was able to fix this using perl's -I flag:

diff --git a/PKGBUILD b/PKGBUILD
index [`c243579`]( 100644
@@ -24,7 +24,7 @@ build() {

     cd "$srcdir/$_distdir"
-    /usr/bin/perl Makefile.PL
+    /usr/bin/perl -I. Makefile.PL

Edit: fixed formatting.

Edit 2: It seems that this problem has been fixed in version 0.03, and the latetst version is 0.04. I flagged this package as out of date. Updating will fix this issue.