From owner-freebsd-security@freebsd.org Tue Oct 27 12:59:24 2015 Return-Path: Delivered-To: freebsd-security@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 1BDAEA1E77C for ; Tue, 27 Oct 2015 12:59:24 +0000 (UTC) (envelope-from herbert@oslo.ath.cx) Received: from oslo.ath.cx (oslo.ath.cx [IPv6:2a01:4f8:200:42e4::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D7B621F2A for ; Tue, 27 Oct 2015 12:59:23 +0000 (UTC) (envelope-from herbert@oslo.ath.cx) Received: from oslo.ath.cx (localhost [IPv6:::1]) by oslo.ath.cx (Postfix) with ESMTP id CB86D144D; Tue, 27 Oct 2015 13:59:13 +0100 (CET) Date: Tue, 27 Oct 2015 13:59:13 +0100 From: "Herbert J. Skuhra" To: Guillaume Bibaut Cc: freebsd-security@freebsd.org Subject: Re: Compilation problem since SA-15:25 for FreeBSD 10.2-RELEASE Message-ID: <20151027125913.GB7848@oslo.ath.cx> References: <4D69BAFF-7447-4A1F-ABB8-686CA34090F3@iaelu.net> <20151027114642.GA7848@oslo.ath.cx> <4043BA45-F5A5-4218-93F2-C320DE65EB6D@iaelu.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4043BA45-F5A5-4218-93F2-C320DE65EB6D@iaelu.net> User-Agent: Mutt/1.5.24+24 (41af5a753d6f) (2015-08-30) X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Security issues \[members-only posting\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Oct 2015 12:59:24 -0000 On Tue, Oct 27, 2015 at 01:35:56PM +0100, Guillaume Bibaut wrote: > > > Le 27 oct. 2015 à 12:46, Herbert J. Skuhra a écrit : > > > > On Tue, Oct 27, 2015 at 11:48:24AM +0100, Guillaume Bibaut wrote: > >> Hello, > >> > >> I’ve been applying NTP patches successfully recently, but when I try > >> to compile once patches applied, the make fails badly on ntp folders. > >> I’ve tried to download FreeBSD 10.2-RELEASE sources, and to reapply > >> patches since that release to be up to date, but the compilation fails > >> in the same folder: > >> > >> # make -j 10 buildworld > >> […] > > > > Did the patch apply cleanly? Or do you have some *.rej files in the > > source tree? Somehow I don't manage to do this. > > > > Does the build complete if you do: > > > > # svnlite co https://svn.freebsd.org/base/releng/10.2/ src > > # cd src > > # make -j 10 buildworld > > > > -- > > Herbert > > _______________________________________________ > > freebsd-security@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-security > > To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org" > > > > Here is what I’ve done: > cd /usr > mv src src-bak > mkdir src > cd > # src.txz is the tarball for FreeBSD 10.2-RELEASE sources > tar —unlink -xvpJf src.txz -C / > cd /usr/src > # for all patches since 10.2-RELEASE (taking shortcuts here because I don’t want to spam) > patch patch > For this last patch, I’m getting some question from the patch command about 2 files that are in some test folder, telling they are reversed or something like that, assumes yes per default. > After the patch, here is what looks like my /usr/src folder: > > # ls -al > total 1167 > [...] > > > So there are 2 files marked .rej, but I think it’s the ones from the reversed messages during the patch command, and there are also quite a few files that get into the /usr/src folder, I just do not understand why. > I’ve only applied patches just like it’s adviced in the security advisories. I had the same issue. > I guess that checking out releng/10.2 and compiling it would succeed, because it’s a clean pull, but I’m not sure that releng/10.2 and applying patches to 10.2-RELEASE is the same. Check https://www.freebsd.org/releng/ : releng/10.2 | Frozen | security-officer@ | FreeBSD 10.2 supported errata fix branch. So I would say it's the same: release + security fixes. -- Herbert