From owner-freebsd-stable@freebsd.org  Fri Oct 27 15:24:47 2017
Return-Path: <owner-freebsd-stable@freebsd.org>
Delivered-To: freebsd-stable@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5EE84E4846E
 for <freebsd-stable@mailman.ysv.freebsd.org>;
 Fri, 27 Oct 2017 15:24:47 +0000 (UTC)
 (envelope-from freebsd@omnilan.de)
Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org
 [IPv6:2001:1900:2254:206a::50:5])
 by mx1.freebsd.org (Postfix) with ESMTP id 4593A6A24D
 for <freebsd-stable@freebsd.org>; Fri, 27 Oct 2017 15:24:47 +0000 (UTC)
 (envelope-from freebsd@omnilan.de)
Received: by mailman.ysv.freebsd.org (Postfix)
 id 41BDCE4846D; Fri, 27 Oct 2017 15:24:47 +0000 (UTC)
Delivered-To: stable@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 41608E4846C
 for <stable@mailman.ysv.freebsd.org>; Fri, 27 Oct 2017 15:24:47 +0000 (UTC)
 (envelope-from freebsd@omnilan.de)
Received: from mx0.gentlemail.de (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id D54996A24C;
 Fri, 27 Oct 2017 15:24:46 +0000 (UTC)
 (envelope-from freebsd@omnilan.de)
Received: from mh0.gentlemail.de (ezra.dcm1.omnilan.net
 [IPv6:2a00:e10:2800::a135])
 by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id v9RFOZCn068687;
 Fri, 27 Oct 2017 17:24:35 +0200 (CEST)
 (envelope-from freebsd@omnilan.de)
Received: from titan.inop.mo1.omnilan.net (s1.omnilan.de [217.91.127.234])
 (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by mh0.gentlemail.de (Postfix) with ESMTPSA id 756852A8;
 Fri, 27 Oct 2017 17:24:35 +0200 (CEST)
Message-ID: <59F34FB3.5000906@omnilan.de>
Date: Fri, 27 Oct 2017 17:24:35 +0200
From: Harry Schmalzbauer <freebsd@omnilan.de>
Organization: OmniLAN
User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-DE;
 rv:1.9.2.8) Gecko/20100906 Lightning/1.0b2 Thunderbird/3.1.2
MIME-Version: 1.0
To: David Wolfskill <david@catwhisker.org>, stable@FreeBSD.org,
 Bryan Drewery <bdrewery@FreeBSD.org>
Subject: Re: buildworld fail in stable/11 @r325033 -- r325029?
References: <20171027111254.GJ1159@albert.catwhisker.org>
In-Reply-To: <20171027111254.GJ1159@albert.catwhisker.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7
 (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]);
 Fri, 27 Oct 2017 17:24:35 +0200 (CEST)
X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: ;
 Sender-helo: mh0.gentlemail.de; )
X-BeenThere: freebsd-stable@freebsd.org
X-Mailman-Version: 2.1.23
Precedence: list
List-Id: Production branch of FreeBSD source code <freebsd-stable.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-stable>, 
 <mailto:freebsd-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-stable/>
List-Post: <mailto:freebsd-stable@freebsd.org>
List-Help: <mailto:freebsd-stable-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-stable>,
 <mailto:freebsd-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Oct 2017 15:24:47 -0000

 Bezüglich David Wolfskill's Nachricht vom 27.10.2017 13:12 (localtime):
> 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 know nothing about the code changes in r324932 (MFC r316286), but the
followup fix r325029 (MFC r320481) seems to have caused the early
buildworld failure in stable/11 – for me too.
Since clang reported the error referencing some include from obj/tmp
(tmp/usr/include/sys/ptrace.h), I found:
r316304
(https://svnweb.freebsd.org/base/head/lib/libprocstat/libprocstat.c?view=patch&r1=316304&r2=316303&pathrev=316304),
which I thought could explain the symptom.
Seems to be the solution (applies cleanly to stable/11, buildworld
succeded). Even a blind squirrel sometimes finds the nut ;-)

-harry