Bug 68158

Summary: building mod_perl fails when apache13-modssl+ipv6 is installed
Product: Ports & Packages Reporter: SoD <sod>
Component: Individual Port(s)Assignee: freebsd-apache (Nobody) <apache>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
smime.p7s none

Description SoD 2004-06-21 00:00:42 UTC
===>  Building for mod_perl-1.29
(cd ./apaci && PERL5LIB=/usr/ports/www/mod_perl/work/mod_perl-1.29/lib: make)
cc -DPIC -fPIC -O -pipe -I/usr/local/lib/perl5/5.8.4/mach/CORE -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.4/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -I/usr/local/include  -DMOD_PERL_VERSION=\"1.29\" -DMOD_PERL_STRING_VERSION=\"mod_perl/1.29\" -DMOD_PERL_PREFIX=\"/usr/local/lib/perl5/site_perl/5.8.4/i386-freebsd-64int\" -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=208118 -DEAPI -DEAPI_MM -DUSE_EXPAT -I../lib/expat-lite -O -pipe -march=pentium -O -pipe -march=pentium -march=pentium -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.29/apaci.
*** Error code 1

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

Stop in /usr/ports/www/mod_perl.

How-To-Repeat: Install /usr/ports/www/apache13-modssl+ipv6 and then try: cd /usr/ports/www/mod_perl;make
Comment 1 Volker Stolz freebsd_committer freebsd_triage 2004-06-25 14:04:46 UTC
Indeed...Could you report this to the mod_perl team please? I guess the  
only thing we could do here ATM is marking this combination as BROKEN.
(Maybe Lars has an idea on what goes wrong)

Volker
Comment 2 Lars Eggert 2004-06-25 14:19:57 UTC
Volker Stolz wrote:

> Indeed...Could you report this to the mod_perl team please? I guess the  
> only thing we could do here ATM is marking this combination as BROKEN.
> (Maybe Lars has an idea on what goes wrong)

This PR is for mod_perl, not mod_perl2!

Lars
-- 
Lars Eggert                                     NEC Network Laboratories
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2004-08-18 19:40:04 UTC
Responsible Changed
From-To: freebsd-ports-bugs->apache

Over to maintainer(s).
Comment 4 Clement Laforet freebsd_committer freebsd_triage 2004-08-18 20:10:37 UTC
State Changed
From-To: open->closed


Fix committed, thanks. 
Please set APACHE_PORT or define WITH_APACHE_IPV6.