Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Sep 2012 14:46:40 +1000
From:      John Marshall <john.marshall@riverwillow.com.au>
To:        apache@freebsd.org, freebsd-ports@freebsd.org
Subject:   www/apache22 2.2.22_8 broken on IPv4-only system
Message-ID:  <20120905044640.GC43255@rwpc15.mby.riverwillow.net.au>

next in thread | raw e-mail | index | archive | help

--opJtzjQTFsWo+cga
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

The new options provided with 2.2.22_8 blow away existing IPv4/IPv6
knobs and the port tries to build with IPv6 on a system which is IPv4
only.  The ending is not happy.

config.c: In function 'init_server_config':
config.c:1984: error: 'APR_INET6' undeclared (first use in this function)
config.c:1984: error: (Each undeclared identifier is reported only once
config.c:1984: error: for each function it appears in.)
/usr/local/share/apr/build-1/libtool --silent --mode=3Dcompile cc -g -O2 -I=
/usr/local/include  -O -pipe -march=3Dcore2 -I/usr/include      -I. -I/buil=
d/ports/www/apache22/work/httpd-2.2.22/os/unix -I/build/ports/www/apache22/=
work/httpd-2.2.22/server/mpm/prefork -I/build/ports/www/apache22/work/httpd=
-2.2.22/modules/http -I/build/ports/www/apache22/work/httpd-2.2.22/modules/=
filters -I/build/ports/www/apache22/work/httpd-2.2.22/modules/proxy -I/buil=
d/ports/www/apache22/work/httpd-2.2.22/include -I/build/ports/www/apache22/=
work/httpd-2.2.22/modules/generators -I/build/ports/www/apache22/work/httpd=
-2.2.22/modules/mappers -I/build/ports/www/apache22/work/httpd-2.2.22/modul=
es/database -I/usr/local/include/apr-1 -I/usr/local/include -I/build/ports/=
www/apache22/work/httpd-2.2.22/modules/proxy/../generators -I/usr/include -=
I/build/ports/www/apache22/work/httpd-2.2.22/modules/ssl -I/build/ports/www=
/apache22/work/httpd-2.2.22/modules/dav/main -prefer-non-pic -static -c lis=
ten.c && touch listen.lo
*** [config.lo] Error code 1
1 error
*** [all-recursive] Error code 1
1 error
*** [all-recursive] Error code 1
1 error
*** [do-build] Error code 1

Stop in /build/ports/www/apache22.
*** [build] Error code 1

Stop in /build/ports/www/apache22.

I tried being creative and inserting --disable=3Dipv6 in a couple of
different places but to no avail.  Reverting to 2.2.22_7, where I could
select IPv4 only, got me out of trouble.

--=20
John Marshall

--opJtzjQTFsWo+cga
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAlBG2TAACgkQw/tAaKKahKJkNwCgnK3WpZkkcRWBSoWB+7UfXK5W
HukAn1bWiKxC+HPF3IKPX5nFUQxcs8sB
=FYUw
-----END PGP SIGNATURE-----

--opJtzjQTFsWo+cga--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120905044640.GC43255>