The P_KTHREADP never works in DragonflyBSD. In its 4.0 kernel, the marco has been removed. It should use P_SYSTEM instead.
Created attachment 150617 [details] patch
Created attachment 150618 [details] patch
Created attachment 150619 [details] patch
*** Bug 196007 has been marked as a duplicate of this bug. ***
A commit references this bug: Author: marino Date: Tue Dec 16 12:41:56 UTC 2014 New revision: 374802 URL: https://svnweb.freebsd.org/changeset/ports/374802 Log: net-mgmt/seafile: Fix kernel thread support on DragonFly PR: 196008 Submitted by: maintainer Changes: head/net-mgmt/seafile/Makefile head/net-mgmt/seafile/files/patch-lib_utils.c
Thanks!
(In reply to John Marino from comment #6) > Thanks! Welcome, Do you commit the similar thing for 196006 (ccnet)?
no, i haven't fixed ccnet yet. If you could give me a patch, I'll do it right away. :)
(In reply to John Marino from comment #8) > no, i haven't fixed ccnet yet. If you could give me a patch, I'll do it > right away. :) https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196006
(In reply to Jingfeng Yan from comment #9) > (In reply to John Marino from comment #8) > > no, i haven't fixed ccnet yet. If you could give me a patch, I'll do it > > right away. :) > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196006 For this commit, it triggers some odd format issue maybe. I did not hit them during normal build in FreeBSD 9.1-p22 (build from scratch in virtual machine), and FreeBSD 9.3-p?. I am reproducing the issue in pouderier. Hopefully, I can catch it.