Skip Menu |

This queue is for tickets about the Apache-Session CPAN distribution.

Report information
The Basics
Id: 240
Status: resolved
Priority: 0/
Queue: Apache-Session

People
Owner: CHORNY [...] cpan.org
Requestors: ericpeden [...] homemail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.82
Fixed in: (no value)



Date: Thu, 31 Jan 2002 23:58:41 -0600
Subject:
Cc: bug-apache-session [...] rt.cpan.org
To: cpan-testers [...] perl.org
From: Eric Peden <ericpeden [...] homemail.com>
This distribution has been tested as part of the cpan-testers effort to test as many new uploads to CPAN as possible. See http://testers.cpan.org/ Please cc any replies to cpan-testers@perl.org to keep other test volunteers informed and to prevent any duplicate effort. -- Fails from lack of semget(). Found the following information and a KEXT that might solve the problem, but haven't tested it yet: http://www-cse.ucsd.edu/~bellardo/xnu/sysvsem.html Including output of 'make test': PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib -I/System/Library/Perl/darwin -I/System/Library/Perl -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t t/99base64.........ok t/99dbfile.........ok t/99dbfilestore....ok t/99file...........ok t/99filelock.......ok t/99filestore......ok t/99flex...........semget not implemented at /System/Library/Perl/darwin/IPC/Semaphore.pm line 38. (in cleanup) semget not implemented at /System/Library/Perl/darwin/IPC/Semaphore.pm line 38. dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED test 2 Failed 1/2 tests, 50.00% okay t/99md5gen.........ok t/99moduniqgen.....ok t/99mysql..........skipped test on this platform t/99mysqllock......skipped test on this platform t/99mysqlstore.....skipped test on this platform t/99nulllock.......ok t/99oracle.........skipped test on this platform t/99postgres.......skipped test on this platform t/99semaphore......semget not implemented at /System/Library/Perl/darwin/IPC/Semaphore.pm line 38. dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 2-28 Failed 27/28 tests, 3.57% okay t/99storable.......ok t/99uue............ok Failed 2/18 test scripts, 88.89% okay. 28/100 subtests failed, 72.00% okay. Failed Test Stat Wstat Total Fail Failed List of Failed --------------------------------------------------------------------- t/99flex.t 255 65280 2 1 50.00% 2 t/99semaphore.t 255 65280 28 27 96.43% 2-28 5 tests skipped. make: *** [test_dynamic] Error 9 -- Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration: Platform: osname=darwin, osvers=5.1, archname=darwin uname='darwin cauldron.homeip.net 5.1 darwin kernel version 5.1: tue oct 30 00:06:34 pst 2001; root:xnuxnu-201.5.obj~1release_ppc power macintosh powerpc ' config_args='-des -Dfirstmakefile=GNUmakefile -Dldflags=-flat_namespace' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef Compiler: cc='cc', ccflags ='-pipe -fno-common -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -I/usr/local/include', optimize='-O3', cppflags='-pipe -fno-common -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -I/usr/local/include' ccversion='', gccversion='Apple devkit-based CPP 6.02', gccosandvers=' ' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, usemymalloc=n, prototype=define Linker and Libraries: ld='cc', ldflags ='-flat_namespace -L/usr/local/lib' libpth=/usr/local/lib /usr/lib libs=-lgdbm -ldl -lm -lc perllibs=-ldl -lm -lc libc=/System/Library/Frameworks/System.framework/System, 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 -L/usr/local/lib'
Subject: Re: [cpan #240]
From: "Jeffrey W. Baker" <jwbaker [...] acm.org>
To: bug-Apache-Session [...] rt.cpan.org
Cc: cpan-testers [...] perl.org
Date: 01 Feb 2002 08:57:41 -0800
Howdy, The test suite for Apache::Session exists for the convenience and peace of mind of the developer. It would be a miracle for the test suite to actually complete on any computer but my own. -jwb On Thu, 2002-01-31 at 21:58, Eric Peden via RT wrote: Show quoted text
> > > This message about Apache-Session was sent to you by ericpeden@homemail.com via rt.cpan.org > > <URL: https://rt.cpan.org/Ticket/Display.html?id=240 > > > This distribution has been tested as part of the cpan-testers > effort to test as many new uploads to CPAN as possible. See > http://testers.cpan.org/ > > Please cc any replies to cpan-testers@perl.org to keep other > test volunteers informed and to prevent any duplicate effort. > > -- > Fails from lack of semget(). Found the following information and a > KEXT that might solve the problem, but haven't tested it yet: > > http://www-cse.ucsd.edu/~bellardo/xnu/sysvsem.html > > Including output of 'make test': > > PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib > -I/System/Library/Perl/darwin -I/System/Library/Perl -e 'use Test::Harness > qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t > t/99base64.........ok > t/99dbfile.........ok > t/99dbfilestore....ok > t/99file...........ok > t/99filelock.......ok > t/99filestore......ok > t/99flex...........semget not implemented at > /System/Library/Perl/darwin/IPC/Semaphore.pm line 38. > (in cleanup) semget not implemented at > /System/Library/Perl/darwin/IPC/Semaphore.pm line 38. > dubious > Test returned status 255 (wstat 65280, 0xff00) > DIED. FAILED test 2 > Failed 1/2 tests, 50.00% okay > t/99md5gen.........ok > t/99moduniqgen.....ok > t/99mysql..........skipped test on this platform > t/99mysqllock......skipped test on this platform > t/99mysqlstore.....skipped test on this platform > t/99nulllock.......ok > t/99oracle.........skipped test on this platform > t/99postgres.......skipped test on this platform > t/99semaphore......semget not implemented at > /System/Library/Perl/darwin/IPC/Semaphore.pm line 38. > dubious > Test returned status 255 (wstat 65280, 0xff00) > DIED. FAILED tests 2-28 > Failed 27/28 tests, 3.57% okay > t/99storable.......ok > t/99uue............ok > Failed 2/18 test scripts, 88.89% okay. 28/100 subtests failed, 72.00% okay. > Failed Test Stat Wstat Total Fail Failed List of Failed > --------------------------------------------------------------------- > t/99flex.t 255 65280 2 1 50.00% 2 > t/99semaphore.t 255 65280 28 27 96.43% 2-28 > 5 tests skipped. > make: *** [test_dynamic] Error 9 > > -- > > Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration: > Platform: > osname=darwin, osvers=5.1, archname=darwin > uname='darwin cauldron.homeip.net 5.1 darwin kernel version 5.1: tue > oct 30 00:06:34 pst 2001; root:xnuxnu-201.5.obj~1release_ppc power > macintosh powerpc ' > config_args='-des -Dfirstmakefile=GNUmakefile > -Dldflags=-flat_namespace' > hint=recommended, useposix=true, d_sigaction=define > usethreads=undef use5005threads=undef useithreads=undef > usemultiplicity=undef > useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef > use64bitint=undef use64bitall=undef uselongdouble=undef > Compiler: > cc='cc', ccflags ='-pipe -fno-common -DHAS_TELLDIR_PROTOTYPE > -fno-strict-aliasing -I/usr/local/include', > optimize='-O3', > cppflags='-pipe -fno-common -DHAS_TELLDIR_PROTOTYPE > -fno-strict-aliasing -I/usr/local/include' > ccversion='', gccversion='Apple devkit-based CPP 6.02', gccosandvers=' > ' > intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 > d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8 > ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', > lseeksize=8 > alignbytes=8, usemymalloc=n, prototype=define > Linker and Libraries: > ld='cc', ldflags ='-flat_namespace -L/usr/local/lib' > libpth=/usr/local/lib /usr/lib > libs=-lgdbm -ldl -lm -lc > perllibs=-ldl -lm -lc > libc=/System/Library/Frameworks/System.framework/System, 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 > -L/usr/local/lib' > >
From: slaven [...] rezic.de
[jwbaker@acm.org - Fri Feb 1 11:57:48 2002]: Show quoted text
> Howdy, > > The test suite for Apache::Session exists for the convenience and > peace > of mind of the developer. It would be a miracle for the test suite to > actually complete on any computer but my own. >
Which does not mean that it is impossible to catch test errors on every platform --- see the efforts of the perl5 porters for perl's own test suite. The reported test failures may probably be prevented by checking $Config{d_semget}. Regards, Slaven Show quoted text
> -jwb > > On Thu, 2002-01-31 at 21:58, Eric Peden via RT wrote:
> > > > > > This message about Apache-Session was sent to you by
> ericpeden@homemail.com via rt.cpan.org
> > > > <URL: https://rt.cpan.org/Ticket/Display.html?id=240 > > > > > This distribution has been tested as part of the cpan-testers > > effort to test as many new uploads to CPAN as possible. See > > http://testers.cpan.org/ > > > > Please cc any replies to cpan-testers@perl.org to keep other > > test volunteers informed and to prevent any duplicate effort. > > > > -- > > Fails from lack of semget(). Found the following information and a > > KEXT that might solve the problem, but haven't tested it yet: > > > > http://www-cse.ucsd.edu/~bellardo/xnu/sysvsem.html > > > > Including output of 'make test': > > > > PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib > > -I/System/Library/Perl/darwin -I/System/Library/Perl -e 'use
> Test::Harness
> > qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t > > t/99base64.........ok > > t/99dbfile.........ok > > t/99dbfilestore....ok > > t/99file...........ok > > t/99filelock.......ok > > t/99filestore......ok > > t/99flex...........semget not implemented at > > /System/Library/Perl/darwin/IPC/Semaphore.pm line 38. > > (in cleanup) semget not implemented at > > /System/Library/Perl/darwin/IPC/Semaphore.pm line 38. > > dubious > > Test returned status 255 (wstat 65280, 0xff00) > > DIED. FAILED test 2 > > Failed 1/2 tests, 50.00% okay > > t/99md5gen.........ok > > t/99moduniqgen.....ok > > t/99mysql..........skipped test on this platform > > t/99mysqllock......skipped test on this platform > > t/99mysqlstore.....skipped test on this platform > > t/99nulllock.......ok > > t/99oracle.........skipped test on this platform > > t/99postgres.......skipped test on this platform > > t/99semaphore......semget not implemented at > > /System/Library/Perl/darwin/IPC/Semaphore.pm line 38. > > dubious > > Test returned status 255 (wstat 65280, 0xff00) > > DIED. FAILED tests 2-28 > > Failed 27/28 tests, 3.57% okay > > t/99storable.......ok > > t/99uue............ok > > Failed 2/18 test scripts, 88.89% okay. 28/100 subtests failed,
> 72.00% okay.
> > Failed Test Stat Wstat Total Fail Failed List of Failed > >
> ---------------------------------------------------------------------
> > t/99flex.t 255 65280 2 1 50.00% 2 > > t/99semaphore.t 255 65280 28 27 96.43% 2-28 > > 5 tests skipped. > > make: *** [test_dynamic] Error 9 > > > > -- > > > > Summary of my perl5 (revision 5.0 version 6 subversion 1)
> configuration:
> > Platform: > > osname=darwin, osvers=5.1, archname=darwin > > uname='darwin cauldron.homeip.net 5.1 darwin kernel version
> 5.1: tue
> > oct 30 00:06:34 pst 2001; root:xnuxnu-201.5.obj~1release_ppc power > > macintosh powerpc ' > > config_args='-des -Dfirstmakefile=GNUmakefile > > -Dldflags=-flat_namespace' > > hint=recommended, useposix=true, d_sigaction=define > > usethreads=undef use5005threads=undef useithreads=undef > > usemultiplicity=undef > > useperlio=undef d_sfio=undef uselargefiles=define
> usesocks=undef
> > use64bitint=undef use64bitall=undef uselongdouble=undef > > Compiler: > > cc='cc', ccflags ='-pipe -fno-common -DHAS_TELLDIR_PROTOTYPE > > -fno-strict-aliasing -I/usr/local/include', > > optimize='-O3', > > cppflags='-pipe -fno-common -DHAS_TELLDIR_PROTOTYPE > > -fno-strict-aliasing -I/usr/local/include' > > ccversion='', gccversion='Apple devkit-based CPP 6.02',
> gccosandvers='
> > ' > > intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 > > d_longlong=define, longlongsize=8, d_longdbl=define,
> longdblsize=8
> > ivtype='long', ivsize=4, nvtype='double', nvsize=8,
> Off_t='off_t',
> > lseeksize=8 > > alignbytes=8, usemymalloc=n, prototype=define > > Linker and Libraries: > > ld='cc', ldflags ='-flat_namespace -L/usr/local/lib' > > libpth=/usr/local/lib /usr/lib > > libs=-lgdbm -ldl -lm -lc > > perllibs=-ldl -lm -lc > > libc=/System/Library/Frameworks/System.framework/System,
> 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
> > -L/usr/local/lib' > > > >
> > >
Thanks for pointing to explanation. Added check in tests in 1.82_02 and in Apache::Session::Lock::Semaphore in future 1.82_03. -- Alexandr Ciornii, http://chorny.net