"postfix-current" broken on amd64 platform

olli hauer ohauer at gmx.de
Wed Nov 16 13:18:48 UTC 2011


On 2011-11-16 10:28, Pav Lucistnik wrote:
> On 2011/11/16 02:56, Sahil Tandon wrote:
>> On Tue, 2011-11-15 at 17:55:57 +0100, Pav Lucistnik wrote:
>>
>>> Jase Thew píše v út 15. 11. 2011 v 16:31 +0000:
>>>
>>>> What networking/DNS configuration is Pointyhat lacking (or have
>>>> sufficiently different to break the socket code inside of postconf)?
>>>
>>> It is a purposefully no-networking sandbox jail. What networking
>>> activity postconf wants to run?
>>
>> Wietse, in a post[1] on the Postfix mailing list, lends further credence
>> to a suspicion that this issue is particular to pointyhat:
>>
>>   Postconf opens a socket to determine the mynetworks value (it
>>   determines the local interfaces and their netmasks).
>>
>>   I have heard about bizarre errors on FreeBSD (jail) systems where the
>>   user-land library was out of sync with kernel-land, resulting in data
>>   structure mis-matches and system calls returning nonsensical results.
>>
>> [1] http://archives.neohapsis.com/archives/postfix/2011-11/0385.html
> 
> That's entirely possible.
> 
> Is it a clever idea to hardcode local interfaces on build machine into a package that will then be redistributed to other machines?
> 
> Sounds like postfix will have to do without official packages on FreeBSD from now on.


What about the attached diff until we found the exact issue.

Unbreak the port, and use MANUAL_PACKAGE_BUILD instead.

Additional bump to latest postfix-current.

Since postfix-current should be current and not months behind I see no issue if we
do not provide packages which are not updated regularly enough to reflect current.

--
Regards,
olli
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/mail/postfix-current/Makefile,v
retrieving revision 1.263
diff -u -r1.263 Makefile
--- Makefile	26 Oct 2011 22:44:50 -0000	1.263
+++ Makefile	16 Nov 2011 13:11:03 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	postfix
-DISTVERSION=	2.9-20111012
+DISTVERSION=	2.9-20111113
 PORTEPOCH=	4
 CATEGORIES=	mail ipv6
 MASTER_SITES=	ftp://ftp.porcupine.org/mirrors/postfix-release/experimental/ \
@@ -25,6 +25,7 @@
 		postfix-current-2.[0-8]* postfix-current-base-2.[0-8]* \
 		sendmail-8.* sendmail+*-8.* smail-3.* zmailer-2.*
 
+MANUAL_PACKAGE_BUILD=	build OK in tinderbox, broken on pointyhat (issue not identified)
 .if !defined(BATCH) && !defined(PACKAGE_BUILDING)
 IS_INTERACTIVE=	yes
 .endif
@@ -92,10 +93,6 @@
 HTML1=	body_checks.5.html bounce.5.html postfix-power.png \
 	scache.8.html tlsmgr.8.html
 
-.if ${ARCH} == "amd64"
-BROKEN=		fails during installation
-.endif
-
 .if !defined(DEBUG)
 MAKEFILEFLAGS+=	DEBUG=
 .endif
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/mail/postfix-current/distinfo,v
retrieving revision 1.196
diff -u -r1.196 distinfo
--- distinfo	18 Oct 2011 01:50:41 -0000	1.196
+++ distinfo	16 Nov 2011 13:11:03 -0000
@@ -1,2 +1,2 @@
-SHA256 (postfix/postfix-2.9-20111012.tar.gz) = fb3d55c8a16c687bcee7e7a26a84c69e8765cc19ba7ab47620e7ac6b19efd3be
-SIZE (postfix/postfix-2.9-20111012.tar.gz) = 3673596
+SHA256 (postfix/postfix-2.9-20111113.tar.gz) = c8f493b9206b4ac52fdfdae72fee214d22d29206d353a6110188305019d906e3
+SIZE (postfix/postfix-2.9-20111113.tar.gz) = 3685450


More information about the freebsd-ports mailing list