Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 56281

Summary: Compile fails on emerge of mod_perl 1.27-r4
Product: Gentoo Linux Reporter: Ryan Roland <tocano>
Component: Current packagesAssignee: Gentoo Perl team <perl>
Status: RESOLVED DUPLICATE    
Severity: normal CC: altstadt, anall, sascha-gentoo-bugzilla, tocano, zul
Priority: High    
Version: unspecified   
Hardware: x86   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ryan Roland 2004-07-06 15:06:58 UTC
When I try to emerge mod_perl-1.27-r4 I get a fatal error during compile.

System: x86 i686 PII 250MHz (Dell Optiplex GX1)
GCC v3.3.3-r6

I have tried both v5.8.4 and v5.8.2 as my version of perl.

I have also tried both linux-2.4.26-hardened-r1 and linux-2.4.25_pre7-gss-r7 as my kernels.

Error:
---------------------------------------------------
...
Connection.c: In function `XS_Apache__Connection_remote_addr':
Connection.c:124: error: incompatible types in assignment
make[1]: *** [Connection.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/mod_perl-1.27-r4/work/mod_perl-1.27/apaci'
make: *** [apxs_libperl] Error 2

!!! ERROR: dev-perl/mod_perl-1.27-r4 failed.
!!! Function src_compile, Line 48, Exitcode 2
!!! (no error message)
---------------------------------------------------
Comment 1 Sergiy Borodych 2004-07-07 01:00:29 UTC
apache version ?
do you use mod_ssl ?
also do you use ipv6 ?
Comment 2 Ryan Roland 2004-07-07 06:54:10 UTC
Apache v.1.3.31-r2

I don't have mod_ssl installed (though I will be trying to later) but I do currently have ssl in my USE variable.

Yes, I do use ipv6, though this is not a requirement in our environment.
Comment 3 Ryan Roland 2004-07-07 14:07:24 UTC
I removed "ipv6" from my USE variable and tried to re-emerge mod_perl - 

This time it successfully compiled.

Does mod_perl 1.27 on apache 1.3.31 not support ipv6?
Comment 5 Sascha Silbe 2004-12-14 19:31:48 UTC
Same problem on one of the hosts I help administering (rebuild was needed after security update of perl).
As I see it, USE=ipv6 only adds some build fix. Since building it works fine without the patch, just removing that code should fix this issue, doesn't it?

Comment 6 John Altstadt 2004-12-23 07:46:27 UTC
There is no string ipv6 in any of /etc/make.* /etc/make.profile/* as per the command:
  grep ipv6 /etc/make.* /etc/make.profile/*
but I cannot get mod_perl to build unless I explicitly remove ipv6 on the command line:
  USE="-ipv6" emerge -v mod_perl

I noticed when building apache2 that it insists on using ipv6, even though it isn't in the USE variables where I could have set it. Where is ipv6 being set?
Comment 7 John Altstadt 2004-12-23 08:08:10 UTC
Further notes:

emerge info clearly shows USE=ipv6 even though I have not set this anywhere.

Bug #75277 shows other problems caused by flags that have been added via an emerge sync. Among the added flags is ipv6.
Comment 8 Joshua Kinard gentoo-dev 2005-01-27 11:42:13 UTC

*** This bug has been marked as a duplicate of 32086 ***