Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Nov 2011 12:12:38 +0100
From:      olli hauer <ohauer@gmx.de>
To:        pav@FreeBSD.org
Cc:        swills@FreeBSD.org, freebsd@beardz.net, eadler@FreeBSD.org, freebsd-ports@FreeBSD.org, gjb@FreeBSD.org
Subject:   Re: "postfix-current" broken on amd64 platform
Message-ID:  <4EC24926.3090308@gmx.de>
In-Reply-To: <1321350319.84509.2.camel@hood.oook.cz>
References:  <20111114083713.29fbecda@scorpio> <20111115022430.GA19970@magic.hamla.org> <1321350319.84509.2.camel@hood.oook.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2011-11-15 10:45, Pav Lucistnik wrote:
> 1) The problem is not amd64 specific
> 
> 2) No point unmarking BROKEN, it currently fails on i386 pointyhat nodes
> too
> 
> 3) Diagnosis is hard because the postfix-install shell script prints no
> useful progress messages
> 
> Example failure log:
> http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.8.20111103071512/postfix-current-2.9.20111012,4.log


Seems It stops at the point where the ${WRKSRC}/conf/post-install script is executed

pointyhat:
...
Updating /usr/local/share/doc/postfix/scache.8.html...
Updating /usr/local/share/doc/postfix/tlsmgr.8.html...
*** Error code 1

Stop in /a/ports/mail/postfix-current.
*** Error code 1


tinderbox:
...
Updating /usr/local/share/doc/postfix/scache.8.html...
Updating /usr/local/share/doc/postfix/tlsmgr.8.html...

    Warning: you still need to edit myorigin/mydestination/mynetworks
    parameter settings in /usr/local/etc/postfix/main.cf.


Can you test this silly patch?

--- Makefile.orig       2011-11-15 11:26:05.000000000 +0100
+++ Makefile    2011-11-15 12:07:33.000000000 +0100
@@ -321,6 +321,7 @@
        @${ECHO} '$$html_directory/$f:f:root:-:644' \
                >> ${WRKSRC}/conf/postfix-files
 .endfor
+       ${ECHO} '#!/bin/sh' > ${WRKSRC}/conf/post-install && ${CHMOD} 755 ${WRKSRC}/conf/post-install

 do-configure:
        (cd ${WRKSRC} && ${MAKE} -f Makefile.init makefiles ${MAKEFILEFLAGS} \




--
Regards,
olli



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