Date: Fri, 27 Oct 2017 17:27:42 +0200 From: Harry Schmalzbauer <freebsd@omnilan.de> To: Konstantin Belousov <kostikbel@gmail.com> Cc: David Wolfskill <david@catwhisker.org>, stable@freebsd.org, Bryan Drewery <bdrewery@freebsd.org> Subject: Re: buildworld fail in stable/11 @r325033 -- r325029? Message-ID: <59F3506E.1030206@omnilan.de> In-Reply-To: <20171027144218.GG2566@kib.kiev.ua> References: <20171027111254.GJ1159@albert.catwhisker.org> <20171027144218.GG2566@kib.kiev.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
Bezüglich Konstantin Belousov's Nachricht vom 27.10.2017 16:42 (localtime): > 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) > Confirmed. Sorry for the obsolete last post. It's been in the pipeline for build time and haven't checked that you already posted the solution! -harry
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?59F3506E.1030206>