% t/TEST t/apr/finfo.t -v
    *** setting ulimit to allow core files
    ulimit -c unlimited; t/TEST 't/apr/finfo.t' -v
    *** root mode: changing the files ownership to 'nobody'
(4294967294:4294967294)

are you doing all this as root? that could be part of the problem.


please 't/TEST t/apr/finfo.t -v' as a non-root user and see if that changes
things.  you might need to change ownership of the files before things will
work at all (or just scratch it all and start fresh, building and making as
a non-root user).

--Geoff

geoff,


fair enuf!
(yeah, yeah -- RTFM ;-), altho for the life of me i can't find where it says run "make 
test" as non-root ...)

bottom line:

        http-2.0.48:
                All tests successful.
                Files=1, Tests=17,  2 wallclock secs ( 1.32 cusr +  0.35 csys =  1.67 
CPU)

        http-2.1.0(dev):
                All tests successful.
                Files=1, Tests=17,  2 wallclock secs ( 1.27 cusr +  0.41 csys =  1.68 
CPU)

i suppose this is good news?

richard

and awaaaay we go again ...


[root]/usr/ports> chown -R www:wheel modperl2048/ modperl-2.0/ [root]/usr/ports> login www ... [www]/usr/ports>


ps -ax | grep http 13640 std S+ 0:00.00 grep http

unsetenv CFLAGS CPPFLAGS CXX CXXFLAGS LDFLAGS LDDLFLAGS LD_PREBIND
setenv LDFLAGS "-L/usr/include/apache2 -ldl"

cd /usr/ports/modperl2048
perl Makefile.PL MP_APXS=/usr/local/httpd2048/sbin/apxs MP_INST_APACHE2=1
        Reading Makefile.PL args from @ARGV
           MP_APXS = /usr/local/httpd2048/sbin/apxs
           MP_INST_APACHE2 = 1
        Configuring Apache/2.0.48 mod_perl/1.99_12-dev Perl/v5.8.2
make
sudo make install

cd /usr/ports/modperl-2.0
perl Makefile.PL MP_APXS=/usr/sbin/apxs MP_INST_APACHE2=1
        Reading Makefile.PL args from @ARGV
           MP_APXS = /usr/sbin/apxs
           MP_INST_APACHE2 = 1
        Configuring Apache/2.1.0-dev mod_perl/1.99_12-dev Perl/v5.8.2
make
sudo make install

cd /usr/ports/modperl2048 && t/TEST t/apr/finfo.t -v

*** setting ulimit to allow core files
ulimit -c unlimited; t/TEST 't/apr/finfo.t' -v
/usr/local/httpd2048/sbin/httpd -d /Volumes/develop/ports/modperl2048/t -f /Volumes/develop/ports/modperl2048/t/conf/httpd.conf -DAPACHE2 -DPERL_USEITHREADS
using Apache/2.0.48 (worker MPM)

waiting 60 seconds for server to start: ....[Tue Dec 02 14:19:58 2003] [info] 22 Apache:: modules loaded
[Tue Dec 02 14:19:58 2003] [info] 5 APR:: modules loaded
[Tue Dec 02 14:19:58 2003] [info] base server + 12 vhosts ready to run tests
...........................................
waiting 60 seconds for server to start: ok (waited 46 secs)
server localhost:8529 started
server localhost:8530 listening (TestProtocol::echo)
server localhost:8531 listening (TestProtocol::echo_filter)
server localhost:8532 listening (TestProtocol::eliza)
server localhost:8533 listening (TestPreConnection::note)
server localhost:8534 listening (TestHooks::stacked_handlers2)
server localhost:8535 listening (TestFilter::both_str_con_add)
server localhost:8536 listening (TestFilter::in_bbs_inject_header)
server localhost:8537 listening (TestFilter::in_bbs_msg)
server localhost:8538 listening (TestFilter::in_str_msg)
server localhost:8539 listening (TestDirective::perlmodule)
server localhost:8540 listening (TestDirective::perlrequire)
server localhost:8541 listening (TestPerl::ithreads)
server localhost:8542 listening (TestDirective::perlloadmodule3)
server localhost:8543 listening (TestDirective::perlloadmodule4)
server localhost:8544 listening (TestDirective::perlloadmodule5)
server localhost:8545 listening (TestDirective::perlloadmodule6)
apr/finfo....1..17
# Running under perl version 5.008002 for darwin
# Current time local: Tue Dec 2 14:20:35 2003
# Current time GMT: Tue Dec 2 22:20:35 2003
# Using Test.pm version 1.24
# $r->finfo APR::Finfo=SCALAR(0x1d45a50)
ok 1
# $r->finfo->pool APR::Pool=SCALAR(0x2386bf8)
ok 2
# testing : stat /Volumes/develop/ports/modperl2048/t/htdocs/index.html
# expected: 0
# received: 0
ok 3
# testing : $r->finfo->device()
# expected: 234881045
# received: 234881045
ok 4
# testing : $r->finfo->inode()
# expected: 3384022
# received: 3384022
ok 5
# testing : $r->finfo->nlink()
# expected: 1
# received: 1
ok 6
# testing : $r->finfo->user()
# expected: 501
# received: 501
ok 7
# testing : $r->finfo->group()
# expected: 0
# received: 0
ok 8
# testing : $r->finfo->size()
# expected: 632
# received: 632
ok 9
# testing : $r->finfo->atime()
# expected: 1070403645
# received: 1070403645
ok 10
# testing : $r->finfo->mtime()
# expected: 1070396908
# received: 1070396908
ok 11
# testing : $r->finfo->ctime()
# expected: 1070401439
# received: 1070401439
ok 12
# testing : $r->finfo->protection() & APR::WREAD
# expected: 4
# received: 4
ok 13
# testing : $r->finfo->protection() & APR::WWRITE
# expected: 0
# received: 0
ok 14
# testing : $r->finfo->protection() & APR::WEXECUTE
# expected: 0
# received: 0
ok 15
# testing : $r->finfo->fname()
# expected: /Volumes/develop/ports/modperl2048/t/htdocs/index.html
# received: /Volumes/develop/ports/modperl2048/t/htdocs/index.html
ok 16
# testing : $r->finfo->filetype()
# expected: 1
# received: 1
ok 17
ok
All tests successful.
Files=1, Tests=17, 2 wallclock secs ( 1.32 cusr + 0.35 csys = 1.67 CPU)
*** server localhost:8529 shutdown


ps -ax | grep http
        23444 std  R+     0:00.00 grep http

## logoff + logon to ENSURE ports are release (8529 seems to wanna stick around after server quit ...)

cd /usr/ports/modperl-2.0 && t/TEST t/apr/finfo.t -v

[g4edgar:~] www% cd /usr/ports/modperl-2.0 && t/TEST t/apr/finfo.t -v
total 112
drwxrwxrwx 31 www wheel 1054 Dec 2 14:19 .
-rwxrwxrwx 1 www wheel 0 Dec 2 14:18 blibdirs
drwxr-xr-x 10 www wheel 340 Dec 2 14:13 WrapXS
-rwxrwxrwx 1 www wheel 0 Dec 2 14:13 pm_to_blib
-rw-r--r-- 1 www wheel 35828 Dec 2 14:11 Makefile
drwxrwxrwx 17 www wheel 578 Dec 2 14:11 xs
drwxrwxrwx 19 www wheel 646 Dec 2 14:10 Apache-Test
drwxrwxrwx 13 www wheel 442 Dec 2 14:10 ModPerl-Registry
drwxrwxrwx 11 www wheel 374 Dec 2 14:10 lib
drwxrwxr-x 312 www wheel 10608 Dec 2 11:51 ..
drwxrwxrwx 25 www wheel 850 Dec 2 08:58 t
-rwxrwxrwx 1 www wheel 0 Dec 2 08:15 glue_pods
drwxrwxrwx 8 www wheel 272 Dec 2 08:15 blib
drwxrwxrwx 12 www wheel 408 Dec 2 08:04 docs
*** setting ulimit to allow core files
ulimit -c unlimited; t/TEST 't/apr/finfo.t' -v
/usr/sbin/httpd -d /Volumes/develop/ports/modperl-2.0/t -f /Volumes/develop/ports/modperl-2.0/t/conf/httpd.conf -DAPACHE2 -DPERL_USEITHREADS
using Apache/2.1.0-dev (worker MPM)


waiting 60 seconds for server to start: ......[Tue Dec 02 14:24:14 2003] [info] 22 
Apache:: modules loaded
[Tue Dec 02 14:24:14 2003] [info] 5 APR:: modules loaded
[Tue Dec 02 14:24:14 2003] [info] base server + 12 vhosts ready to run tests
................
waiting 60 seconds for server to start: ok (waited 21 secs)
server localhost:8529 started
server localhost:8530 listening (TestProtocol::echo)
server localhost:8531 listening (TestProtocol::echo_filter)
server localhost:8532 listening (TestProtocol::eliza)
server localhost:8533 listening (TestPreConnection::note)
server localhost:8534 listening (TestHooks::stacked_handlers2)
server localhost:8535 listening (TestFilter::both_str_con_add)
server localhost:8536 listening (TestFilter::in_bbs_inject_header)
server localhost:8537 listening (TestFilter::in_bbs_msg)
server localhost:8538 listening (TestFilter::in_str_msg)
server localhost:8539 listening (TestDirective::perlmodule)
server localhost:8540 listening (TestDirective::perlrequire)
server localhost:8541 listening (TestPerl::ithreads)
server localhost:8542 listening (TestDirective::perlloadmodule3)
server localhost:8543 listening (TestDirective::perlloadmodule4)
server localhost:8544 listening (TestDirective::perlloadmodule5)
server localhost:8545 listening (TestDirective::perlloadmodule6)
apr/finfo....1..17
# Running under perl version 5.008002 for darwin
# Current time local: Tue Dec  2 14:24:22 2003
# Current time GMT:   Tue Dec  2 22:24:22 2003
# Using Test.pm version 1.24
# $r->finfo APR::Finfo=SCALAR(0xf9a7b0)
ok 1
# $r->finfo->pool APR::Pool=SCALAR(0x1245ed8)
ok 2
# testing : stat /Volumes/develop/ports/modperl-2.0/t/htdocs/index.html
# expected: 0
# received: 0
ok 3
# testing : $r->finfo->device()
# expected: 234881045
# received: 234881045
ok 4
# testing : $r->finfo->inode()
# expected: 3376188
# received: 3376188
ok 5
# testing : $r->finfo->nlink()
# expected: 1
# received: 1
ok 6
# testing : $r->finfo->user()
# expected: 501
# received: 501
ok 7
# testing : $r->finfo->group()
# expected: 0
# received: 0
ok 8
# testing : $r->finfo->size()
# expected: 632
# received: 632
ok 9
# testing : $r->finfo->atime()
# expected: 1070403873
# received: 1070403873
ok 10
# testing : $r->finfo->mtime()
# expected: 1070384308
# received: 1070384308
ok 11
# testing : $r->finfo->ctime()
# expected: 1070401439
# received: 1070401439
ok 12
# testing : $r->finfo->protection() & APR::WREAD
# expected: 4
# received: 4
ok 13
# testing : $r->finfo->protection() & APR::WWRITE
# expected: 2
# received: 2
ok 14
# testing : $r->finfo->protection() & APR::WEXECUTE
# expected: 1
# received: 1
ok 15
# testing : $r->finfo->fname()
# expected: /Volumes/develop/ports/modperl-2.0/t/htdocs/index.html
# received: /Volumes/develop/ports/modperl-2.0/t/htdocs/index.html
ok 16
# testing : $r->finfo->filetype()
# expected: 1
# received: 1
ok 17
ok
All tests successful.
Files=1, Tests=17,  2 wallclock secs ( 1.27 cusr +  0.41 csys =  1.68 CPU)
*** server localhost:8529 shutdown



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to