tumbler configure.ac shouldn't check for sched.h header, but directly the functions it needs in there (using some ac_check_func voodoo ?). OpenBSD has sched.h (with declarations for the given funcs, as posix requires it) but there is no implementation of the functions, hence tumblerd fails to link with undefined refs to sched_getparam/sched_setscheduler.
Good point. I'll get that fixed.
Created attachment 2773 Possible fix of the problem Can you check whether the attached patch fixes the issue?
That does the trick, but you also have to wrap the declaration of struct sched_param sp in line 342 between #if defined (HAVE_sched_getparam) && defined (HAVE_sched_setscheduler) / #endif guards otherwise it fails to compile with -Werror / debug=full as sp is declared but unused :) As a sidenote (yeah, sorry for hijacking this bz), in plugins/jpeg-thumbnailer/jpeg-thumbnailer.c you might want to add #include <sys/types.h> between #ifdef HAVE_SYS_MMAN_H and #include <sys/mman.h>, as here mmap() requires both headers.
This should be fixed in master. Please re-open if this is not the case. commit edad4f4a34e9c0c61ba6f09415b6b892583a7fda Author: Jannis Pohlmann <jannis@xfce.org> Date: Sun Nov 7 14:49:18 2010 +0100 Fix sched_getparam/sched_setscheduler code on OpenBSD (bug #6061). The check for sched.h and linux/sched.h is not enough. We also need to check for sched_getparam() and sched_setscheduler(), as on OpenBSD has no implementation of these functions.