Opened 15 years ago

Closed 4 months ago

#19744 closed defect (fixed)

dovecot port needs configure.args="--with-ioloop=select"

Reported by: dave@… Owned by: jdberry
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
Port: dovecot

Description

despite what [46949] says, at least the darwin9 variant of dovecot can't use the kqueue ioloop because of http://lists.apple.com/archives/Darwin-userlevel/2008/Dec/msg00010.html

I reproduce the problem easily with:

#!/bin/sh
$ /opt/local/sbin/dovecot --exec-mail imap
Fatal: kevent(EV_ADD, 0) failed: Operation not supported

Seeing the output there presumes you've got log_path = /dev/stderr in dovecot.conf.

Change History (13)

comment:1 Changed 15 years ago by dave@…

Actually, that setting seems to fail also in a different way :(

I also tried substituting dovecot-1.2, to no avail Now trying dovecot-1.3

comment:2 Changed 15 years ago by tobypeterson

If kqueue doesn't work, neither will poll - they are based on the same mechanism.

select should work, assuming that's an option.

comment:3 in reply to:  2 ; Changed 15 years ago by dave@…

Replying to toby@…:

If kqueue doesn't work, neither will poll - they are based on the same mechanism.

It's true that poll doesn't seem to work either, although it does get further before failing.

select should work, assuming that's an option.

I didn't see that as one of the configure options, but dovecot dot darwinports dot com seems to indicate that it has been used, so trying it now. At least the configure step hasn't failed yet.

comment:4 in reply to:  3 Changed 15 years ago by dave@…

Replying to dave@…:

select should work, assuming that's an option.

I didn't see that as one of the configure options, but dovecot dot darwinports dot com seems to indicate that it has been used, so trying it now. At least the configure step hasn't failed yet.

Yep, it works! So I guess I had the wrong prescription: port should be changed to use "configure.args=--with-ioloop=select"

comment:5 Changed 15 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to jberry@…
Port: dovecot added

comment:6 Changed 15 years ago by tobypeterson

btw, darwinports dot com is a domain squatter - do not give them ad revenue

comment:7 Changed 15 years ago by dave@…

I was just broken by an upgrade :(. I holpe this gets fixed soon!

comment:8 Changed 15 years ago by dave@…

Note this other weird thing: when I build with "configure.args=--with-ioloop=select," dovecot expects its configuration file to be /opt/local/etc/dovecot.conf, but otherwise it expects /opt/local/etc/dovecot/dovecot.conf

comment:9 Changed 14 years ago by jberry@…

Dave: Do you know if this is still an issue with Mac OS 10.6 and darwin kernel 10.4.0? I'm not duplicating your described error in that environment.

comment:10 Changed 13 years ago by dave@…

I don't know, sorry. Not running dovecot at the moment.

comment:11 Changed 9 years ago by jmroot (Joshua Root)

Summary: dovecot port needs configure.args="--with-ioloop=poll"dovecot port needs configure.args="--with-ioloop=select"

comment:12 Changed 4 years ago by mf2k (Frank Schima)

Owner: changed from jberry@… to jdberry
Status: newassigned

comment:13 Changed 4 months ago by jmroot (Joshua Root)

Resolution: fixed
Status: assignedclosed

Long since fixed.

Note: See TracTickets for help on using tickets.