develooper Front page | perl.perl5.porters | Postings from October 2001

MacOS X.1 build w/some problems

Thread Next
From:
schwern
Date:
October 26, 2001 01:28
Subject:
MacOS X.1 build w/some problems
Message ID:
20011026042832.A8878@magnonel.guild.net
I just installed MacOS X 10.1, and boy is it perdy.  I've got rootless
X working, Xemacs, gimp...  Except for the fact that everytime it
pronounces "Schwern" there's a loud buzzing noise.  You'd think Apple
had a personal vandetta against me.

Anyhow, here's the interesting parts from a perl-current test.  I'm
using 64-bit ints and perl's malloc just to be difficult.


op/lfs................................skipped: no sparse files?

Darwin doesn't have sparse files?

op/pat................................dubious                                
        Test returned status 0 (wstat 11, 0xb)

This is simply segfaulting.  I got it to dump core, but now I can't
find the core file!  This being MacOS, it couldn't possibly do
something so brutish as make a file called 'core'.  Ideas anyone?
(Yes, ulimit -c is unlimited).

../ext/DB_File/t/db-btree.............*** malloc[23513]: error for object 0x8a830: Incorrect check sum for freed object - object was probably modified after beeing freed; break at szone_error
../ext/DB_File/t/db-btree.............ok                                     
../ext/DB_File/t/db-hash..............ok                                     
../ext/DB_File/t/db-recno.............#
# Some older versions of Berkeley DB version 1 will fail tests 51,
# 53 and 55.
#
# You can safely ignore the errors if you're never going to use the
# broken functionality (recno databases with a modified bval). 
# Otherwise you'll have to upgrade your DB library.
#
# If you want to use Berkeley DB version 1, then 1.85 and 1.86 are the
# last versions that were released. Berkeley DB version 2 is continually
# being updated -- Check out http://www.sleepycat.com/ for more details.
#
../ext/DB_File/t/db-recno.............FAILED tests 61, 63, 65                
        Failed 3/149 tests, 97.99% okay

../ext/Encode/Encode/Tcl..............dubious                                
        Test returned status 0 (wstat 11, 0xb)
DIED. FAILED tests 8-632
        Failed 625/632 tests, 1.11% okay

Segfault after test #7.  Again, can't find the damned thing.

../ext/Fcntl/t/syslfs.................skipped: no sparse files?
../ext/I18N/Langinfo/Langinfo.........skipped: I18N::Langinfo or POSIX unavailable

../ext/IPC/SysV/ipcsysv...............skipped: $Config{d_sem} undefined
../ext/IPC/SysV/t/msg.................skipped: $Config{d_sem} undefined
../ext/IPC/SysV/t/sem.................skipped: $Config{d_sem} undefined

This supposed to happen?


../ext/POSIX/t/posix..................ok 11/29Test output counter mismatch [test 11]
../ext/POSIX/t/posix..................FAILED test 10                         
        Failed 1/29 tests, 96.55% okay

Test #10 never shows up.  That's SIGINT.  A little test program works:

	perl -wle '$SIG{INT} = sub { print "Foo!\n" };  kill "INT", $$'
	Foo!

So something must be wrong with POSIX::SigSet.


../lib/IPC/SysV.......................skipped: $Config{d_sem} undefined

../lib/Unicode/Collate/t/test.........dubious                                
        Test returned status 0 (wstat 11, 0xb)
DIED. FAILED tests 20-22
        Failed 3/22 tests, 86.36% okay

Another segfault.

../lib/warnings.......................ok 314/448PROG:                        
# pp_hot.c [pp_print]
use warnings 'io' ;
print STDIN "anc";
print <STDOUT>;
print <STDERR>;
open(FOO, ">&STDOUT") and print <FOO>;
print getc(STDERR);
print getc(FOO);
####################################################################
# The next test is known to fail on some systems (Linux+old glibc, #
# some *BSDs (including Mac OS X and NeXT), among others.          #
# We skip it for now (on the grounds that it is "just" a warning). #
####################################################################
#read(FOO,$_,1);
no warnings 'io' ;
print STDIN "anc";
EXPECTED:
Filehandle STDIN opened only for input at - line 3.
Filehandle STDOUT opened only for output at - line 4.
Filehandle STDERR opened only for output at - line 5.
Filehandle FOO opened only for output at - line 6.
Filehandle STDERR opened only for output at - line 7.
Filehandle FOO opened only for output at - line 8.
GOT:
Filehandle STDIN opened only for input at - line 3.
Filehandle STDOUT opened only for output at - line 4.
../lib/warnings.......................FAILED test 315                        
        Failed 1/448 tests, 99.78% okay

That's from inside lib/warnings/pp_hot.  I think that message about
skipping refers to the commented out read(), not the rest.

If I run that snippet of pp_hot from the command line I get the full
expected output.


Failed Test                     Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
../ext/DB_File/t/db-recno.t                  149    3   2.01%  61 63 65
../ext/Encode/Encode/Tcl.t         0    11   632  625  98.89%  8-632
../ext/POSIX/t/posix.t                        29    1   3.45%  10
../lib/Unicode/Collate/t/test.t    0    11    22    3  13.64%  20-22
../lib/warnings.t                            448    1   0.22%  315
op/pat.t                           0    11    ??   ??       %  ??
22 tests and 112 subtests skipped.
Failed 6/492 test scripts, 98.78% okay. 633/27928 subtests failed, 97.73% okay.


bash-2.05$ cat /tmp/bleadperl_V 
Summary of my perl5 (revision 5.0 version 7 subversion 2 patch 12666) configuration:
  Platform:
    osname=darwin, osvers=1.4, archname=darwin-64int
    uname='darwin localhost 1.4 darwin kernel version 1.4: sun sep 9 15:39:59 pdt 2001; root:xnuxnu-201.obj~1release_ppc power macintosh powerpc '
    config_args=''
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=define use64bitall=undef uselongdouble=undef
    usemymalloc=y, bincompat5005=define
  Compiler:
    cc='cc', ccflags ='-pipe -fno-common -DINT32_MIN_BROKEN -DINT64_MIN_BROKEN -fno-strict-aliasing',
    optimize='-O3',
    cppflags='-traditional-cpp -pipe -fno-common -DINT32_MIN_BROKEN -DINT64_MIN_BROKEN -fno-strict-aliasing'
    ccversion='', gccversion='Apple devkit-based CPP 6.0', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=87654321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
    ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -flat_namespace'
    libpth=/usr/lib
    libs=-lm -lc
    perllibs=-lm -lc
    libc=/usr/lib/libc.dylib, so=dylib, useshrplib=true, libperl=libperl.dylib
  Dynamic Linking:
    dlsrc=dl_dyld.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags=' -flat_namespace -bundle -undefined suppress'


Characteristics of this binary (from libperl): 
  Compile-time options: USE_64_BIT_INT USE_LARGE_FILES
  Locally applied patches:
        DEVEL12646
  Built under darwin
  Compiled at 10/26/01 00:57:20
  %ENV:
    PERL5LIB="/sw/lib/perl5"
  @INC:
    ../lib
    /sw/lib/perl5
    /Library/Perl/darwin-64int
    /Library/Perl
    /Library/Perl/darwin-64int
    /Library/Perl
    /Library/Perl
    /Network/Library/Perl/darwin-64int
    /Network/Library/Perl
    /Network/Library/Perl
    .


-- 
Michael G Schwern   <schwern@pobox.com>   http://www.pobox.com/~schwern/
Perl6 Quality Assurance     <perl-qa@perl.org>       Kwalitee Is Job One

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