develooper Front page | perl.perl5.porters | Postings from July 2008

Re: t/op/exec.t fails on Fedora

Thread Previous | Thread Next
From:
Rafael Garcia-Suarez
Date:
July 6, 2008 08:08
Subject:
Re: t/op/exec.t fails on Fedora
Message ID:
b77c1dce0807060808n3fd73d1h38188dc24c0eca06@mail.gmail.com
2008/7/6 Amir E. Aharoni <amir.aharoni@gmail.com>:
> On Fri, Jul 4, 2008 at 12:20 PM, Rafael Garcia-Suarez
> <rgarciasuarez@gmail.com> wrote:
>> 2008/7/3 Amir E. Aharoni <amir.aharoni@gmail.com>:
>>> I am trying to build Perl (
>>> rsync://public.activestate.com/perl-current/ ) on Fedora 8,
>>> 2.6.24.7-92.fc8.
>>>
>>> The test t/op/exec.t is failing on line 97. Apparently, running the
>>> following code:
>>>
>>> system { "lskdfj" } "lskdfj"';
>>> [download]
>>>
>>> ... on Fedora sets $! to "Not a directory". Perl 5.8 on Ubuntu and
>>> Perl 5.10 on Cygwin both set $! to "No such file or directory", which
>>> would make the test pass.
>>>
>>> Is it the expected behavior on Fedora?
>>
>> Does Fedora's SRPM for perl contain a patch for that problem ?
>>
>
> If you are asking me, then i don't know - i am very new on p5p and i
> don't know how to look for it in the SRPM.

The SRPM is provided by Fedora. It's basically a bundle of the
sources, some patches and a build script. Since the build script is
most likely to contain a "make test" that succeeds, I wonder if
they've patched the problem without telling us.

> I can tell you that the same thing happens with the stable Perl 5.8.8 RPM:
>
> $ perl -e 'system q(lskdfj); printf qq(\$! - Num: %d, Str: %s\n), $!, $!;'
>
> prints:
>
> $! - Num: 20, Str: Not a directory

That might be a problem on your system. On the other hand I don't see
why we could not include ENOTDIR in this test. How exactly do you
build perl ?

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About