Front page | perl.perl5.porters |
Postings from April 2010
Inline::C and 5.12
Thread Next
From:
H.Merijn Brand
Date:
April 26, 2010 01:23
Subject:
Inline::C and 5.12
Message ID:
20100426102338.0c59304f@pc09.procura.nl
I am preparing HP-UX depots, and Inline::C wasn't being nice to me:
This is perl 5, version 12, subversion 0 (v5.12.0) built for IA64.ARCHREV_0-LP64
Characteristics of this binary (from libperl):
Compile-time options: DEBUGGING PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP
USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES
USE_PERLIO USE_PERL_ATOF
Inline-0.45
t/01usages.t .. defined(%hash) is deprecated at blib/lib/Inline.pm (autosplit into
blib/lib/auto/Inline/check_config_file.al) line 671 (#1)
(D deprecated) defined() is not usually useful on hashes because it
checks for an undefined scalar value. If you want to see if the hash
is empty, just use if (%hash) { # not empty } for example.
(Maybe you should just omit the defined()?)
but all tests pass.
Inline-0.46
t/06parseregexp.t .... Subroutine Inline::C::get_parser redefined at ../blib/lib/Inline.pm line 312 (#1)
(W redefine) You redefined a subroutine. To suppress this warning, say
{
no warnings 'redefine';
eval "sub name { ... }";
}
t/06parseregexp.t .... ok
t/07typemap_multi.t .. Subroutine Inline::C::get_parser redefined at ../blib/lib/Inline.pm line 312 (#1)
(W redefine) You redefined a subroutine. To suppress this warning, say
{
no warnings 'redefine';
eval "sub name { ... }";
}
t/07typemap_multi.t .. ok
t/08taint.t .......... In Inline::env_untaint() : Blindly untainting tainted fields in %ENV.
In Inline::env_untaint() : Blindly untainting tainted fields in %ENV.
In Inline::obj_untaint() : Blindly untainting tainted fields in Inline object.
Uncaught exception from user code:
make[2]: Entering directory `/opt/perl64/.cpan/build/Inline-0.46-8ONSiC/C/_Inline_test/build/_08taint_t_6b3a'
/opt/perl64/bin/perl /opt/perl64/lib/5.12.0/ExtUtils/xsubpp -typemap /opt/perl64/lib/5.12.0/ExtUtils/typemap _08taint_t_6b3a.xs > _08taint_t_6b3a.xsc && mv _08taint_t_6b3a.xsc _08taint_t_6b3a.c
gcc -c -mlp64 -DPERL_DONT_CREATE_GVSV -D_HPUX_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/pro/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O -DVERSION=\"0.00\" -DXS_VERSION=\"0.00\" -fPIC "-I/opt/perl64/lib/5.12.0/IA64.ARCHREV_0-LP64/CORE" _08taint_t_6b3a.c
/bin/sh: gcc: not found.
make[2]: *** [_08taint_t_6b3a.o] Error 127
make[2]: Leaving directory `/opt/perl64/.cpan/build/Inline-0.46-8ONSiC/C/_Inline_test/build/_08taint_t_6b3a'
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:
/opt/perl64/.cpan/build/Inline-0.46-8ONSiC/C/_Inline_test/build/_08taint_t_6b3a
To debug the problem, cd to the build directory, and inspect the output files.
at t/08taint.t line 41
BEGIN failed--compilation aborted at t/08taint.t line 41.
at t/08taint.t line 41
One or more DATA sections were not processed by Inline.
t/08taint.t .......... Dubious, test returned 2 (wstat 512, 0x200)
Failed 5/5 subtests
Test Summary Report
-------------------
t/08taint.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 5 tests but ran 0.
Files=9, Tests=16, 27 wallclock secs ( 0.10 usr 0.04 sys + 20.87 cusr 3.29 csys = 24.30 CPU)
Result: FAIL
Failed 1/9 test programs. 0/16 subtests failed.
--
H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/
using 5.00307 through 5.12 and porting perl5.13.x on HP-UX 10.20, 11.00,
11.11, 11.23, and 11.31, OpenSuSE 10.3, 11.0, and 11.1, AIX 5.2 and 5.3.
http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/
http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/
Thread Next
-
Inline::C and 5.12
by H.Merijn Brand