Package Details: perl-inline-c 0.78-1

Git Clone URL: https://aur.archlinux.org/perl-inline-c.git (read-only)
Package Base: perl-inline-c
Description: Perl module providing a way to write Perl subroutines in C
Upstream URL: https://metacpan.org/release/Inline-C
Licenses: GPL, PerlArtistic
Submitter: bunder
Maintainer: bunder
Last Packager: bunder
Votes: 18
Popularity: 0.271652
First Submitted: 2015-02-14 15:21
Last Updated: 2017-06-10 19:56

Latest Comments

bunder commented on 2018-01-03 18:56

aabbcc1241, it works for me. I think you have some strange value of PATH so it doesn't pass security checks. Could you post your PATH value (stripping sensitive information)?

aabbcc1241 commented on 2017-12-27 06:33

Failed to install due to test failed, attached the full log:

==> Downloading perl-inline-c PKGBUILD from AUR...
x .SRCINFO
x .gitignore
x PKGBUILD
x PKGBUILD.tt
perl-inline-c 0.78-1  (2017-06-10 19:56)
( Unsupported package: Potentially dangerous ! )
==> perl-inline-c dependencies:
 - perl>=5.21.6 (already installed)
 - perl-inline>=0.79 (already installed)
 - perl-parse-recdescent>=1.967009 (already installed)
 - perl-pegex>=0.58 (already installed)
 - perl-file-copy-recursive (already installed)
 - perl-io-all (already installed)
 - perl-test-warn>=0.23 (already installed)
 - perl-yaml-libyaml (already installed)


==> Continue building perl-inline-c ? [Y/n]
==> ---------------------------------------
==> 
==> Building and installing package
==> Making package: perl-inline-c 0.78-1 (Wed Dec 27 14:15:58 HKT 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading Inline-C-0.78.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 73695  100 73695    0     0  73695      0  0:00:01 --:--:--  0:00:01 73695
==> Validating source files with md5sums...
    Inline-C-0.78.tar.gz ... Passed
==> Extracting sources...
  -> Extracting Inline-C-0.78.tar.gz with bsdtar
==> Starting build()...
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Inline::C
Writing MYMETA.yml and MYMETA.json
cp share/inline-c.pgx blib/lib/auto/share/dist/Inline-C/inline-c.pgx
cp lib/Inline/C/Parser/Pegex.pm blib/lib/Inline/C/Parser/Pegex.pm
cp lib/Inline/C/Parser.pm blib/lib/Inline/C/Parser.pm
cp lib/Inline/C/Parser/Pegex/AST.pm blib/lib/Inline/C/Parser/Pegex/AST.pm
cp lib/Inline/C.pod blib/lib/Inline/C.pod
cp lib/Inline/C/ParseRecDescent.pod blib/lib/Inline/C/ParseRecDescent.pod
cp lib/Inline/C/ParsePegex.pod blib/lib/Inline/C/ParsePegex.pod
cp lib/Inline/C/Parser/RegExp.pm blib/lib/Inline/C/Parser/RegExp.pm
cp lib/Inline/C.pm blib/lib/Inline/C.pm
cp lib/Inline/C/Parser/RecDescent.pm blib/lib/Inline/C/Parser/RecDescent.pm
cp lib/Inline/C/Parser/Pegex/Grammar.pm blib/lib/Inline/C/Parser/Pegex/Grammar.pm
cp lib/Inline/C/ParseRegExp.pod blib/lib/Inline/C/ParseRegExp.pod
cp lib/Inline/C/Cookbook.pod blib/lib/Inline/C/Cookbook.pod
Manifying 5 pod documents
==> Starting check()...
Skip blib/lib/auto/share/dist/Inline-C/inline-c.pgx (unchanged)
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/000-require-modules.t .. ok   
t/01syntax.t ............. ok   
t/02config.t ............. ok   
t/03typemap.t ............ ok   
t/04perlapi.t ............ ok   
t/05xsmode.t ............. ok   
t/06parseregexp.t ........ ok   
t/07typemap_multi.t ...... ok   
t/08taint.t .............. 1/10 Insecure directory in $ENV{PATH} while running with -T switch at /usr/share/perl5/vendor_perl/Inline.pm line 825.
BEGIN failed--compilation aborted at /tmp/yaourt-tmp-beenotung/aur-perl-inline-c/src/Inline-C-0.78/t/08taint_1.p line 6.
Compilation failed in require at t/08taint.t line 41 (#1)
    (F) You can't use system(), exec(), or a piped open in a setuid or
    setgid script if $ENV{PATH} contains a directory that is writable by
    the world.  Also, the PATH must not contain any relative directory.
    See perlsec.

Uncaught exception from user code:
    Insecure directory in $ENV{PATH} while running with -T switch at /usr/share/perl5/vendor_perl/Inline.pm line 825.
    BEGIN failed--compilation aborted at /tmp/yaourt-tmp-beenotung/aur-perl-inline-c/src/Inline-C-0.78/t/08taint_1.p line 6.
    Compilation failed in require at t/08taint.t line 41.
    main::require_taint_1() called at t/08taint.t line 36
    Test::Warn::warnings_like(CODE(0x55d646ba6068), ARRAY(0x55d646e00258), "warn_test 1") called at t/08taint.t line 36
# Looks like your test exited with 2 just after 1.
t/08taint.t .............. Dubious, test returned 2 (wstat 512, 0x200)
Failed 9/10 subtests 
t/09parser.t ............. This test could take a couple of minutes to run
t/09parser.t ............. ok    
t/10callback.t ........... ok   
t/11default_readonly.t ... ok   
t/14void_arg.t ........... ok    
t/14void_arg_PRD.t ....... ok    
t/15ccflags.t ............ ok   
t/16ccflagsex.t .......... ok   
t/17prehead.t ............ ok   
t/18quote_space.t ........ ok     
t/19INC.t ................ ok   
t/20eval.t ............... ok   
t/21read_DATA.t .......... ok   
t/22read_DATA_2.t ........ ok   
t/23validate.t ........... ok   
t/24prefix.t ............. ok   
t/25proto.t .............. ok   
t/26fork.t ............... ok   
t/27inline_maker.t ....... ok   
t/28autowrap.t ........... ok   
t/30cppflags.t ........... ok   
t/author-pod-syntax.t .... skipped: these tests are for testing by the author
t/parse-pegex.t .......... ok    
t/pegex-parser.t ......... skipped: $ENV{PERL_INLINE_DEVELOPER_TEST} not set

Test Summary Report
-------------------
t/08taint.t            (Wstat: 512 Tests: 1 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 10 tests but ran 1.
t/parse-pegex.t        (Wstat: 0 Tests: 24 Failed: 0)
  TODO passed:   4, 7-9
Files=32, Tests=145, 30 wallclock secs ( 0.08 usr  0.01 sys + 27.33 cusr  3.20 csys = 30.62 CPU)
Result: FAIL
Failed 1/32 test programs. 0/145 subtests failed.
make: *** [Makefile:898: test_dynamic] Error 255
==> ERROR: A failure occurred in check().
    Aborting...
==> ERROR: Makepkg was unable to build perl-inline-c.