Mailing List Archive

[perl #114312] perl 5.17.2 test/install failure on OSX in op/stat.t
I'm replying to this ticket for the sake of visibility, as I mistakenly
attached the build.log in the body rather than an attachment, and it got
filtered...

https://rt.perl.org:443/rt3/Ticket/Display.html?id=114312

Compilation of perl-5.17.2 on darwin (OSX version 10.6.8) fails:

Test Summary Report
-------------------
op/stat.t (Wstat: 0 Tests: 113 Failed: 1)
Failed test: 37
../cpan/CGI/t/tmpdir.t (Wstat: 0 Tests: 9 Failed: 0)
TODO passed: 3-9
Files=2325, Tests=546953, 888 wallclock secs (67.10 usr 23.36 sys + 489.47 cusr 88.58 csys = 668.51 CPU)
Result: FAIL
make: *** [test_harness] Error 1

The build process was started via perlbrew (App::perlbrew/0.45).

op/stash.t ........................................................ ok
# Failed test 37 - ls and -c agreeing on /dev (315 314) at op/stat.t line 295
# got "315"
# expected "314"
op/stat.t .........................................................
Failed 1/113 subtests
(less 2 skipped subtests: 110 okay)

The full log is in the ticket.

-Karen Etheridge, ether@cpan.org
Re: [perl #114312] perl 5.17.2 test/install failure on OSX in op/stat.t [ In reply to ]
On Tue, Jul 31, 2012 at 08:44:48AM -0700, Karen Etheridge wrote:
>
> I'm replying to this ticket for the sake of visibility, as I mistakenly
> attached the build.log in the body rather than an attachment, and it got
> filtered...

Yes, they are very big.

> https://rt.perl.org:443/rt3/Ticket/Display.html?id=114312
>
> Compilation of perl-5.17.2 on darwin (OSX version 10.6.8) fails:
>
> Test Summary Report
> -------------------
> op/stat.t (Wstat: 0 Tests: 113 Failed: 1)
> Failed test: 37
> ../cpan/CGI/t/tmpdir.t (Wstat: 0 Tests: 9 Failed: 0)
> TODO passed: 3-9
> Files=2325, Tests=546953, 888 wallclock secs (67.10 usr 23.36 sys + 489.47 cusr 88.58 csys = 668.51 CPU)
> Result: FAIL
> make: *** [test_harness] Error 1
>
> The build process was started via perlbrew (App::perlbrew/0.45).
>
> op/stash.t ........................................................ ok
> # Failed test 37 - ls and -c agreeing on /dev (315 314) at op/stat.t line 295
> # got "315"
> # expected "314"
> op/stat.t .........................................................
> Failed 1/113 subtests
> (less 2 skipped subtests: 110 okay)
>
> The full log is in the ticket.

That diagnostic is a useful clue.

What's your locale? What's the output of ls -l /dev | head

In that this looks like the same problem as reported in RT #113472
(see https://rt.perl.org/rt3/Ticket/Display.html?id=113472 )
but I thought that that was fixed before 5.17.2 was released.

Nicholas Clark
Re: [perl #114312] perl 5.17.2 test/install failure on OSX in op/stat.t [ In reply to ]
On Tue, Jul 31, 2012 at 10:44 AM, Karen Etheridge <ether@cpan.org> wrote:
>
> I'm replying to this ticket for the sake of visibility, as I mistakenly
> attached the build.log in the body rather than an attachment, and it got
> filtered...
>
> https://rt.perl.org:443/rt3/Ticket/Display.html?id=114312
>
> Compilation of perl-5.17.2 on darwin (OSX version 10.6.8) fails:

The configuration log says 10.8.0 -- which is it really? Not sure if
we've seen any real testing on Mountain Lion yet.

> The full log is in the ticket.

You seem to have reconfigured and rebuilt in a dirty build tree (i.e.,
one that had a build done in it before). I guess that should work,
but it would be worth finding out if the same thing happens starting
from a clean source tree.
Re: [perl #114312] perl 5.17.2 test/install failure on OSX in op/stat.t [ In reply to ]
* "Craig A. Berry" <craig.a.berry@gmail.com> [2012-08-01T12:33:32]
> The configuration log says 10.8.0 -- which is it really? Not sure if
> we've seen any real testing on Mountain Lion yet.

FWIW, I've been grinding perl on Mountain Lion for a few days now.

--
rjbs
Re: [perl #114312] perl 5.17.2 test/install failure on OSX in op/stat.t [ In reply to ]
On Wed, Aug 01, 2012 at 11:33:32AM -0500, Craig A. Berry wrote:
> The configuration log says 10.8.0 -- which is it really? Not sure if
> we've seen any real testing on Mountain Lion yet.

10.8.0 from uname is Snow Leopard 10.6.8
11.x is Lion (11.4.0 for 10.7.4)
12.x is Mountain Lion (12.0.0 for 10.8.0)

Tony
Re: [perl #114312] perl 5.17.2 test/install failure on OSX in op/stat.t [ In reply to ]
On Wed, Aug 1, 2012 at 7:55 PM, Tony Cook <tony@develop-help.com> wrote:
> On Wed, Aug 01, 2012 at 11:33:32AM -0500, Craig A. Berry wrote:
>> The configuration log says 10.8.0 -- which is it really? Not sure if
>> we've seen any real testing on Mountain Lion yet.
>
> 10.8.0 from uname is Snow Leopard 10.6.8
> 11.x is Lion (11.4.0 for 10.7.4)
> 12.x is Mountain Lion (12.0.0 for 10.8.0)

Oops, sorry. I didn't realize the darwin version has nothing to do
with the OS X version.
Re: [perl #114312] perl 5.17.2 test/install failure on OSX in op/stat.t [ In reply to ]
On Wed, Aug 01, 2012 at 05:24:15PM +0100, Nicholas Clark wrote:
> That diagnostic is a useful clue.
>
> What's your locale? What's the output of ls -l /dev | head

I should be on english US or english Canadian - what specific setting
should I be looking for? `printenv` doesn't list any variables that appear
relevant to locales.

: [ether@tequila ~].5$; ls -l /dev | head
total 0
crw------- 1 root wheel 1, 0 Dec 31 2000 auditpipe
crw------- 1 root wheel 13, 0 Dec 31 2000 autofs
crw------- 1 root wheel 18, 0 Dec 31 2000 autofs_control
crw-rw-rw- 1 root wheel 17, 1 Dec 31 2000 autofs_nowait
crw------- 1 root wheel 23, 0 Aug 3 09:16 bpf0
crw------- 1 root wheel 23, 1 Jul 10 12:41 bpf1
crw------- 1 root wheel 23, 2 Dec 31 2000 bpf2
crw------- 1 root wheel 23, 3 Dec 31 2000 bpf3
crw------- 1 ether staff 0, 0 Dec 31 2000 console
Re: [perl #114312] perl 5.17.2 test/install failure on OSX in op/stat.t [ In reply to ]
On Wed, Aug 01, 2012 at 11:33:32AM -0500, Craig A. Berry wrote:
> > Compilation of perl-5.17.2 on darwin (OSX version 10.6.8) fails:
>
> The configuration log says 10.8.0 -- which is it really? Not sure if
> we've seen any real testing on Mountain Lion yet.

It's really OS 10.6.8 (I don't think the kernel versions always line up
with the OS version), as I haven't upgraded since 2010.

> You seem to have reconfigured and rebuilt in a dirty build tree (i.e.,
> one that had a build done in it before). I guess that should work,
> but it would be worth finding out if the same thing happens starting
> from a clean source tree.

I'm pretty sure, but I will attempt once more to make certain.
RE: [perl #114312] perl 5.17.2 test/install failure on OSX in op/stat.t [ In reply to ]
On Fri, 03 Aug 2012, Karen Etheridge wrote:
> On Wed, Aug 01, 2012 at 11:33:32AM -0500, Craig A. Berry wrote:
> > > Compilation of perl-5.17.2 on darwin (OSX version 10.6.8) fails:
> >
> > The configuration log says 10.8.0 -- which is it really? Not sure if
> > we've seen any real testing on Mountain Lion yet.
>
> It's really OS 10.6.8 (I don't think the kernel versions always line
> up with the OS version), as I haven't upgraded since 2010.

No, the kernel and OS version are independent. On Mountain Lion:

$ uname -r
12.0.0
$ sw_vers -productVersion
10.8

On Snow Leopard:

$ uname -r
10.8.0
$ sw_vers -productVersion
10.6.8

Cheers,
-Jan