ports/62510: mod_perl doesnt build with ipv6 enabled apache13-modssl port

Suresh Ramasubramanian suresh at frodo.hserus.net
Sun Feb 8 04:00:41 UTC 2004


>Number:         62510
>Category:       ports
>Synopsis:       mod_perl doesnt build with ipv6 enabled apache13-modssl port
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 07 20:00:40 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Suresh Ramasubramanian
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
-ENOENT
>Environment:
System: FreeBSD frodo.hserus.net 4.9-STABLE FreeBSD 4.9-STABLE #0: Fri Dec 5 05:29:37 IST 2003 suresh at frodo.hserus.net:/usr/obj/usr/src/sys/FRODO i386

perl58 from ports, apache13-mod_ssl with APACHE_WITH_IPV6 set (and up and
running on an ipv6 interface), mod_perl from ports.
>Description:
This is a resubmission of my earlier PR ports/62473

As I recently recompiled my apache with IPV6 support, I thought I'd rebuild all
the modules that I used.  Started with mod_perl.  making the port bombs because mod_perl does not have ipv6 support in this port.

>How-To-Repeat:
Just compile the apache13-mod_ssl port using the APACHE_WITH_IPV6 flag.
Then cd /usr/ports/www/mod_perl, and do a make there.  This is what you get -

Error message goes -

/usr/bin/perl5.8.2 /usr/local/lib/perl5/5.8.2/ExtUtils/xsubpp -nolinenumbers -typemap /usr/local/lib/perl5/5.8.2/ExtUtils/typemap Connection.xs >Connection.c
cc -DPIC -fPIC -O -pipe -I/usr/local/lib/perl5/5.8.2/mach/CORE -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.2/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -I/usr/local/include  -DMOD_PERL_VERSION=\"1.28\" -DMOD_PERL_STRING_VERSION=\"mod_perl/1.28\" -DMOD_PERL_PREFIX=\"/usr/local/lib/perl5/site_perl/5.8.2/i386-freebsd\" -I/usr/local/include/apache -DMOD_PERL -DHARD_SERVER_LIMIT=512  -DDOCUMENT_LOCATION=\"/usr/local/www/data/\"  -DDEFAULT_PATH=\"/usr/local/bin:/bin:/usr/bin\"  -DACCEPT_FILTER_NAME=\"httpready\" -DFD_SETSIZE=1024 -funsigned-char -DINET6 -Dss_family=__ss_family -Dss_len=__ss_len -DHAVE_SOCKADDR_LEN -DMOD_SSL=208116 -DEAPI -DEAPI_MM -DUSE_EXPAT -I../lib/expat-lite -O -pipe -O -pipe   -c Connection.c && mv Connection.o Connection.lo
Connection.c: In function `XS_Apache__Connection_remote_addr':
Connection.c:123: incompatible types in assignment
Connection.c: In function `XS_Apache__Connection_remote_ip':
Connection.c:159: structure has no member named `sin_addr'
*** Error code 1

Stop in /usr/ports/www/mod_perl/work/mod_perl-1.28/apaci.
*** Error code 1

Stop in /usr/ports/www/mod_perl/work/mod_perl-1.28.
*** Error code 1

Stop in /usr/ports/www/mod_perl.
>Fix:

Similar to the fix described in
http://mail-index.netbsd.org/netbsd-bugs/2001/11/23/0007.html
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list