buildworld fail in stable/11 @r325033 -- r325029?
Konstantin Belousov
kostikbel at gmail.com
Fri Oct 27 14:42:32 UTC 2017
On Fri, Oct 27, 2017 at 04:12:54AM -0700, David Wolfskill wrote:
> This is observed on systems (both my laptop & my build machine) running
> stable/11 @r325003, after updating sources to r325033:
>
> --- libprocstat.o ---
> In file included from /usr/src/lib/libprocstat/libprocstat.c:69:
> /usr/obj/usr/src/tmp/usr/include/sys/ptrace.h:148:19: error: field has incomplete type 'struct siginfo32'
> struct siginfo32 pl_siginfo; /* siginfo for signal */
> ^
> /usr/obj/usr/src/tmp/usr/include/sys/ptrace.h:148:9: note: forward declaration of 'struct siginfo32'
> struct siginfo32 pl_siginfo; /* siginfo for signal */
> ^
>
> I don't know that r325029 is to blame, but that was the last commit
> in that area (in the range r325003 - r325033). And there wwer not
> very many commits to stable/11 in that range:
Can you confirm that the following patch allows your system to build ?
Index: lib/libprocstat/libprocstat.c
===================================================================
--- lib/libprocstat/libprocstat.c (revision 325038)
+++ lib/libprocstat/libprocstat.c (working copy)
@@ -63,10 +63,10 @@
#include <sys/ksem.h>
#include <sys/mman.h>
#include <sys/capsicum.h>
+#include <sys/ptrace.h>
#define _KERNEL
#include <sys/mount.h>
#include <sys/pipe.h>
-#include <sys/ptrace.h>
#include <ufs/ufs/quota.h>
#include <ufs/ufs/inode.h>
#include <fs/devfs/devfs.h>
Index: .
===================================================================
--- . (revision 325038)
+++ . (working copy)
Property changes on: .
___________________________________________________________________
Modified: svn:mergeinfo
## -0,0 +0,1 ##
Merged /head:r316304
More information about the freebsd-stable
mailing list