From owner-freebsd-ports@FreeBSD.ORG Sat Nov 19 18:42:09 2011 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C843106564A; Sat, 19 Nov 2011 18:42:09 +0000 (UTC) (envelope-from pav@FreeBSD.org) Received: from sup.oook.cz (sup.oook.cz [94.23.0.135]) by mx1.freebsd.org (Postfix) with ESMTP id C753C8FC15; Sat, 19 Nov 2011 18:42:08 +0000 (UTC) Received: from [192.168.0.23] (ip-78-102-160-251.net.upcbroadband.cz [78.102.160.251]) (authenticated bits=0) by sup.oook.cz (8.14.4/8.14.4) with ESMTP id pAJIg3jC042405; Sat, 19 Nov 2011 19:42:04 +0100 (CET) (envelope-from pav@FreeBSD.org) From: Pav Lucistnik To: Wietse Venema In-Reply-To: <3SkvVw2ZYzzk2RT@spike.porcupine.org> References: <3SkvVw2ZYzzk2RT@spike.porcupine.org> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-vRdVSo67+iaC6XOYw+5A" Date: Sat, 19 Nov 2011 19:42:02 +0100 Message-ID: <1321728122.46494.0.camel@hood.oook.cz> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port X-Scanned-By: MIMEDefang 2.68 on 94.23.0.135 X-Milter: Spamilter (Reciever: sup.oook.cz; Sender-ip: 78.102.160.251; Sender-helo: [192.168.0.23]; ) Cc: Sahil Tandon , Renato Botelho , Jase Thew , Kurt Jaeger , freebsd-ports@FreeBSD.org, Chris Rees Subject: Re: "postfix-current" broken on amd64 platform X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pav@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Nov 2011 18:42:09 -0000 --=-vRdVSo67+iaC6XOYw+5A Content-Type: text/plain; charset="ISO-8859-2" Content-Transfer-Encoding: quoted-printable Wietse Venema p=ED=B9e v =E8t 17. 11. 2011 v 15:41 -0500: > Pav Lucistnik: > > Wietse Venema p??e v ?t 17. 11. 2011 v 13:23 -0500: > > > Actually, a Postfix built-in default setting changed on 20110918. > > >=20 > > > It now enables IPv6 unless this is turned off in a configuration > > > file. I can fix that at compile time, and thereby not trigger > > > the error on build systems with unexpected IPv6 configurations. > >=20 > > This is interesting. > >=20 > > The build jails are configured to have only IPv4 address on lo0, > > but the host have both IPv4 and IPv6 configured on its lo0. > >=20 > > Changing the jail configuration is possible but if a reasonable > > workaround can be made in postfix-current port I'd prefer not to touch > > pointyhat configuration (unexpected consequences and all that...) >=20 > I can competely fix this specific error instance with a one-line > config file change, but I don't want to end up in the same boat > again when some other program needs to be run during build time. >=20 > A more proactive workaround would be to treat "protocol not supported" > as a non-fatal error, just like "address family not supported" is. >=20 > Please let me know if this works in the build cluster. It will log > a warning but that should be justfied, because the system does have > an abnormal configuration. Yes, this works on the build cluster. Sahil, can I commit it to the port? > Wietse >=20 > *** src/util/inet_proto.c- Tue Jan 8 15:36:13 2008 > --- src/util/inet_proto.c Thu Nov 17 08:49:31 2011 > *************** > *** 219,225 **** > pf->dns_atype_list =3D make_unsigned_vector(3, T_A, T_AAAA, 0); > pf->sa_family_list =3D make_uchar_vector(3, AF_INET, AF_INET6, 0); > break; > ! } else if (errno =3D=3D EAFNOSUPPORT) { > msg_warn("%s: IPv6 support is disabled: %m", context); > msg_warn("%s: configuring for IPv4 support only", context); > /* FALLTHROUGH */ > --- 219,225 ---- > pf->dns_atype_list =3D make_unsigned_vector(3, T_A, T_AAAA, 0); > pf->sa_family_list =3D make_uchar_vector(3, AF_INET, AF_INET6, 0); > break; > ! } else if (errno =3D=3D EAFNOSUPPORT || errno =3D=3D EPROTONOSUPPORT) = { > msg_warn("%s: IPv6 support is disabled: %m", context); > msg_warn("%s: configuring for IPv4 support only", context); > /* FALLTHROUGH */ --=20 --=20 Pav Lucistnik Why does the Earth have colors? --=-vRdVSo67+iaC6XOYw+5A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEABECAAYFAk7H+GcACgkQntdYP8FOsoIo8gCfdMSyNbMTwt+VsPwOo/DAO8QY +yMAniB3ZPZPzuPivrqF0EvKHZ7wgfnh =2WKD -----END PGP SIGNATURE----- --=-vRdVSo67+iaC6XOYw+5A--