Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Oct 2017 17:42:18 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        David Wolfskill <david@catwhisker.org>, stable@freebsd.org, Bryan Drewery <bdrewery@FreeBSD.org>
Subject:   Re: buildworld fail in stable/11 @r325033 -- r325029?
Message-ID:  <20171027144218.GG2566@kib.kiev.ua>
In-Reply-To: <20171027111254.GJ1159@albert.catwhisker.org>
References:  <20171027111254.GJ1159@albert.catwhisker.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20171027144218.GG2566>