perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: [mp2] t/apr-ext/finfo and t/apr-ext/perlio failures on Linux
Date Sat, 04 Dec 2004 16:39:49 GMT
Markus Wichitill wrote:
> Stas Bekman wrote:
> 
>>> t/apr-ext/finfo....Insecure dependency in require while running with 
>>> -T switch at /usr/src/modperl-2.0/t/lib/TestAPRlib/finfo.pm line 24.
>>>  at /usr/src/modperl-2.0/t/lib/TestAPRlib/finfo.pm line 24
>>>   TestAPRlib::finfo::BEGIN() called at 
>>> /usr/src/modperl-2.0/t/lib/TestAPRlib/finfo.pm line 24
>>
>>
>> There is nothing on line 24 in that file. besides 'use APR::Const', 
>> but 2 lines earlier. Try to add:
> 
> 
> Line 24 is the last line of the multiline 'use APR::Const' on my systems.
> 
> use APR::Const -compile => qw(SUCCESS FINFO_NORM FILETYPE_REG
>                               FILEPROT_WREAD FILEPROT_WWRITE
>                               FILEPROT_WEXECUTE);

Yup.

>>> Insecure dependency in mkdir while running with -T switch at 
>>> /usr/local/perl/lib/File/Path.pm line 159.
>>>  at /usr/local/perl/lib/File/Path.pm line 159
>>>   File::Path::mkpath('/usr/src/modperl-2.0/t/htdocs/perlio-ext', 0, 
>>> 493) called at /usr/src/modperl-2.0/blib/lib/Apache/TestUtil.pm line 250
>>
>>
>> Strange, can you reproduce it outside the script?
>>
>> perl -T -MFile::Path -le 'File::Path::mkpath("/tmp/xxx", 0, 0755)'
> 
> 
> Nope.

Strange. I've updated my svn and now I can see these and one more issue:

t/apr-ext/util......Insecure dependency in piped open while running with 
-T switch at /home/stas/apache.org/mp2-svn/blib/lib/Apache/TestConfig.pm 
line 1046.
Compilation failed in require at t/apr-ext/util.t line 7.
BEGIN failed--compilation aborted at t/apr-ext/util.t line 7.
dubious
         Test returned status 2 (wstat 512, 0x200)
Failed Test        Stat Wstat Total Fail  Failed  List of Failed

So it must be some change in the last day or so. Now that I can reproduce 
it, I'll work on fixing it.

-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message