On h, máj 12, 2014 at 22:35:50 -0400, Brad Smith wrote:
On 12/05/14 2:59 PM, LEVAI Daniel wrote:
On h, máj 12, 2014 at 10:26:57 +0300, Timo Sirainen wrote:
On 12.5.2014, at 10.07, Renaud Allard <renaud@allard.it> wrote:
checking whether fd passing works... no configure: error: fd passing is required for Dovecot to work
What does config.log say about it?
configure:21046: checking whether fd passing works configure:21120: gcc -o conftest -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -I./src/lib ./src/lib/fdpass.c -I/usr/local/include conftest.c >&5 conftest.c:122: warning: no previous prototype for 'nopen' configure:21120: $? = 0 configure:21120: ./conftest configure:21120: $? = 2 configure: program exited with status 2
It seems that if I put src/lib/fdpass.c from 2.2.12, the test succeeds.
Oh. I finally fixed a broken sanity check there: http://hg.dovecot.org/dovecot-2.2/rev/bedecd5b6bab
I wonder if the check is still somewhat broken or if OpenBSD (and BSD in general?) even attempts to set it correctly..
FWIW, it configures and compiles fine here on OpenBSD 5.5. What are the configure options you are using Renaud?
It fails for me with 5.5 and -current both just dropping .13 in for the port and simply running the autoconf script without any command line parameters.
Ah; details, details... The OP failed to mention that it failed on amd64. On i386, it works perfectly.
Danie
-- LÉVAI Dániel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F