Tue May 06 09:14:24 2014: Request 65703 was acted upon.
Transaction: Correspondence added by CHM
       Queue: Inline
     Subject: Build Problem - Inline::C fails at t/08taint.t
   Broken in: (no value)
    Severity: (no value)
       Owner: Nobody
  Requestors: alexander.haec...@web.de
      Status: open
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=65703 >


I hit the same error with my cygwin64. In my specific
case, the issue is that I have all of the added perl
modules installed into a separate non-system location
and PERL5LIB is set so that works.

With -T PERL5LIB is not consulted. A look at the pod
for taint in perlrun suggests to add

use lib '/my/perl5/lib/dir';

When I did that, it all works. I'm not sure if this is related
to the other failures but it is definitely the problem for
a non-system perl install with INSTALL_BASE and the
use of PERL5LIB.

--Chris


On Wed Apr 30 05:11:58 2014, PLICEASE wrote:
> I got this (I believe related) error trying to install Inline
> (+Inline::C)
>
> t/08taint.t ............. 1/10 Running Mkbootstrap for
> _08taint_1_p_0965 ()
> chmod 644 _08taint_1_p_0965.bs
> /home/ollisg/perl5/perlbrew/perls/perl-5.18.2c/bin/perl
> /home/ollisg/.perlbrew/libs/perl-5.18.2c@dev/lib/perl5/ExtUtils/xsubpp
> -typemap "/home/ollisg/perl5/perlbrew/perls/perl-
> 5.18.2c/lib/5.18.2/ExtUtils/typemap" _08taint_1_p_0965.xs >
> _08taint_1_p_0965.xsc && mv _08taint_1_p_0965.xsc _08taint_1_p_0965.c
> clang -c -fno-strict-aliasing -pipe -fstack-protector
> -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2
> -DVERSION=\"0.00\" -DXS_VERSION=\"0.00\" -fPIC "-
> I/home/ollisg/perl5/perlbrew/perls/perl-5.18.2c/lib/5.18.2/x86_64-
> linux/CORE" _08taint_1_p_0965.c
> /bin/sh: 1: clang: not found
> make: *** [_08taint_1_p_0965.o] Error 127
>
> A problem was encountered while attempting to compile and install your
> Inline
> C code. The command that failed was:
> make > out.make 2>&1
>
> The build directory was:
> /home/ollisg/.cpanm/work/1398847813.20092/Inline-
> 0.55/C/_Inline_test/build/_08taint_1_p_0965
>
> To debug the problem, cd to the build directory, and inspect the
> output files.
>
> at ./t/08taint_1.p line 7.
> ...propagated at /home/ollisg/.perlbrew/libs/perl-
> 5.18.2c@dev/lib/perl5/Inline/C.pm line 797.
> BEGIN failed--compilation aborted at ./t/08taint_1.p line 7.
> Compilation failed in require at t/08taint.t line 45.
> # Looks like you planned 10 tests but ran 1.
> # Looks like your test exited with 2 just after 1.
> t/08taint.t ............. Dubious, test returned 2 (wstat 512, 0x200)
> Failed 9/10 subtests
>
> I've installed clang into my home directory because the version that
> comes with my OS is very old. I feel like this configuration should
> be supported, but perhaps not? As a work around I chmod -R -x the
> appropriate directorys in my clang install and the then install
> worked.

Reply via email to