Re: [ANNOUNCE] mod_perl-2.0.4

2008-04-21 Thread Philippe M. Chiasson

Philip M. Gollucci wrote:

Philippe M. Chiasson wrote:
| Philip M. Gollucci wrote:
|> Philippe M. Chiasson wrote:
|> |>
|>
http://tinderbox-i386.p6m7g8.net/tb/errors/8.0-FreeBSD/mod_perl2-2.0.4,3.log

|>
|>
|> FWIW, also on 7.0
|>
http://tinderbox-i386.p6m7g8.net/tb/errors/7.0-FreeBSD/mod_perl2-2.0.4,3.log

|>
|> | What's in xs/modperl_xs_typedefs.h:67 ? (it's generated, so I can
|> easily
|> | tell)
|>
|> ~From the 8-current tree:
|> http://p6m7g8.com/modperl_xs_typedefs.h
|
| I don't have a FreeBSD machine handy, so, Philip, is there any chance you
| could try and figure out a little more about what's going on?
You do now, account info in offlist e-mail.

|
| Something is tripping up the compiler, so maybe
| apache/include/apr_thread_rwlock.h has something funky in there (or isn't
| even there)
My APR was compiled without Threads (/var/db/pkg/apr-nothr)


Sounds like a problem with APR without threads.


I'll look at tweaking the detection.


I think this patch to a bit of *magical* code should do the trick.

Index: lib/ModPerl/BuildMM.pm
===
--- lib/ModPerl/BuildMM.pm  (revision 648960)
+++ lib/ModPerl/BuildMM.pm  (working copy)
@@ -359,7 +359,7 @@

 $apr_config ||= $build->get_apr_config();

-if ($path =~ m/(Thread|Global)Mutex/) {
+if ($path =~ m/(Thread|Global)(Mutex|RWLock)/) {
 return unless $apr_config->{HAS_THREADS};
 }

Feels like something that doesn't belong in there, but rather in the
configuration somewhere in xs/maps...

--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/   m/gozer\@(apache|cpan|ectoplasm)\.org/



signature.asc
Description: OpenPGP digital signature


Re: [ANNOUNCE] mod_perl-2.0.4

2008-04-18 Thread Philip M. Gollucci

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Philippe M. Chiasson wrote:
| Philip M. Gollucci wrote:
|> Philippe M. Chiasson wrote:
|> |>
|>
http://tinderbox-i386.p6m7g8.net/tb/errors/8.0-FreeBSD/mod_perl2-2.0.4,3.log

|>
|>
|> FWIW, also on 7.0
|>
http://tinderbox-i386.p6m7g8.net/tb/errors/7.0-FreeBSD/mod_perl2-2.0.4,3.log

|>
|> | What's in xs/modperl_xs_typedefs.h:67 ? (it's generated, so I can
|> easily
|> | tell)
|>
|> ~From the 8-current tree:
|> http://p6m7g8.com/modperl_xs_typedefs.h
|
| I don't have a FreeBSD machine handy, so, Philip, is there any chance you
| could try and figure out a little more about what's going on?
You do now, account info in offlist e-mail.

|
| Something is tripping up the compiler, so maybe
| apache/include/apr_thread_rwlock.h has something funky in there (or isn't
| even there)
My APR was compiled without Threads (/var/db/pkg/apr-nothr)

I'll look at tweaking the detection.

|
| Any chance you could run that one compilation invocation with
| gcc -E instead ? That way, we can see the source _after_ macro
| expansion, and it might help a lot in figuring out what's going on.
Don't think I need to do this give above.



- --
- 
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.8 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD4DBQFICSNNdbiP+9ubjBwRAm9/AJUYYympzjwfqksgXT2jeCrvkMyMAJwPZWgg
8umPQGJo9HMiHz+/xDXTEA==
=5ME5
-END PGP SIGNATURE-
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [ANNOUNCE] mod_perl-2.0.4

2008-04-18 Thread Philippe M. Chiasson

Philip M. Gollucci wrote:

Philippe M. Chiasson wrote:
|>
http://tinderbox-i386.p6m7g8.net/tb/errors/8.0-FreeBSD/mod_perl2-2.0.4,3.log

FWIW, also on 7.0
http://tinderbox-i386.p6m7g8.net/tb/errors/7.0-FreeBSD/mod_perl2-2.0.4,3.log
| What's in xs/modperl_xs_typedefs.h:67 ? (it's generated, so I can easily
| tell)

~From the 8-current tree:
http://p6m7g8.com/modperl_xs_typedefs.h


I don't have a FreeBSD machine handy, so, Philip, is there any chance you
could try and figure out a little more about what's going on?

Something is tripping up the compiler, so maybe
apache/include/apr_thread_rwlock.h has something funky in there (or isn't
even there)

Any chance you could run that one compilation invocation with
gcc -E instead ? That way, we can see the source _after_ macro
expansion, and it might help a lot in figuring out what's going on.

--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/   m/gozer\@(apache|cpan|ectoplasm)\.org/



signature.asc
Description: OpenPGP digital signature


Re: [ANNOUNCE] mod_perl-2.0.4

2008-04-17 Thread Philippe M. Chiasson

Philip M. Gollucci wrote:

Philippe M. Chiasson wrote:
| Finally, it's here and it works with Perl 5.10!
|
| http://apache.org/dist/perl/mod_perl-2.0.4.tar.gz
| http://apache.org/dist/perl/mod_perl-2.0.4.tar.gz.asc (pgp sig)
|
| The package is also available on CPAN:
|
|   file: $CPAN/authors/id/G/GO/GOZER/mod_perl-2.0.4.tar.gz
|   size: 3727717 bytes
|md5: 1a05625ae6843085f985f5da8214502a
|   sha1: 65299a16ec414a690a48a2bbe63acaa3c6bb897b
[Please drop CC's to ports  fbsd.org in replies.]

Hey, sorry, I didn't around to testing this before it came out :(

Default ports build on FreeBSD is broken

http://tinderbox-i386.p6m7g8.net/tb/errors/8.0-FreeBSD/mod_perl2-2.0.4,3.log


From that log:

/usr/local/bin/perl /usr/local/lib/perl5/5.8.8/ExtUtils/xsubpp  -typemap 
/usr/local/lib/perl5/5.8.8/ExtUtils/typemap -typemap 
/work/a/ports/www/mod_perl2/work/mod_perl-2.0.4/xs/typemap  Base64.xs > Base64.xsc 
&& mv Base64.xsc Base64.c
cc -c  -I/work/a/ports/www/mod_perl2/work/mod_perl-2.0.4/src/modules/perl 
-I/work/a/ports/www/mod_perl2/work/mod_perl-2.0.4/xs -I/usr/local/include/apache2 -I/usr/local/include/apache2 
-I/usr/local/include -I/usr/local/include/apache2  -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.8/BSDPAN" 
-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include 
-DMOD_PERL -DMP_COMPAT_1X -D_REENTRANT -D_THREAD_SAFE -DAP_HAVE_DESIGNATED_INITIALIZER -O2 -fno-strict-aliasing -pipe   
 -DVERSION=\"0.009000\"  -DXS_VERSION=\"0.009000\" -DPIC -fPIC 
"-I/usr/local/lib/perl5/5.8.8/mach/CORE"  -DMP_HAVE_APR_LIBS Base64.c
In file included from Base64.xs:25:
/work/a/ports/www/mod_perl2/work/mod_perl-2.0.4/xs/modperl_xs_typedefs.h:67: 
error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
*** Error code 1

What's in xs/modperl_xs_typedefs.h:67 ? (it's generated, so I can easily tell)

--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/   m/gozer\@(apache|cpan|ectoplasm)\.org/



signature.asc
Description: OpenPGP digital signature


Re: [ANNOUNCE] mod_perl-2.0.4

2008-04-17 Thread Philip M. Gollucci

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Philippe M. Chiasson wrote:
|>
http://tinderbox-i386.p6m7g8.net/tb/errors/8.0-FreeBSD/mod_perl2-2.0.4,3.log

FWIW, also on 7.0
http://tinderbox-i386.p6m7g8.net/tb/errors/7.0-FreeBSD/mod_perl2-2.0.4,3.log
| What's in xs/modperl_xs_typedefs.h:67 ? (it's generated, so I can easily
| tell)

~From the 8-current tree:
http://p6m7g8.com/modperl_xs_typedefs.h

- --
- 
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.8 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIB+lBdbiP+9ubjBwRAhNNAJ4/zpLJQhWkwxO405J9UI0Mg1H+0gCdEdGl
zFAPHHbS41aquX/2VWvA8/Y=
=p84q
-END PGP SIGNATURE-
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [ANNOUNCE] mod_perl-2.0.4

2008-04-17 Thread Philip M. Gollucci

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Philippe M. Chiasson wrote:
| Finally, it's here and it works with Perl 5.10!
|
| http://apache.org/dist/perl/mod_perl-2.0.4.tar.gz
| http://apache.org/dist/perl/mod_perl-2.0.4.tar.gz.asc (pgp sig)
|
| The package is also available on CPAN:
|
|   file: $CPAN/authors/id/G/GO/GOZER/mod_perl-2.0.4.tar.gz
|   size: 3727717 bytes
|md5: 1a05625ae6843085f985f5da8214502a
|   sha1: 65299a16ec414a690a48a2bbe63acaa3c6bb897b
[Please drop CC's to ports  fbsd.org in replies.]

Hey, sorry, I didn't around to testing this before it came out :(

Default ports build on FreeBSD is broken

http://tinderbox-i386.p6m7g8.net/tb/errors/8.0-FreeBSD/mod_perl2-2.0.4,3.log



- --
- 
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.8 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIB9NzdbiP+9ubjBwRAj/uAJ9fEC/70cY4jXzbpVEGlapQYriEewCdHCxA
cGlr1UBHAP5r46LEsFu+afE=
=1vig
-END PGP SIGNATURE-
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"