On 12.5.2014, at 10.07, Renaud Allard <[email protected]> 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..
