From owner-freebsd-arch@FreeBSD.ORG Mon Jun 22 07:38:22 2015 Return-Path: Delivered-To: freebsd-arch@nevdull.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DA4BD53C for ; Mon, 22 Jun 2015 07:38:22 +0000 (UTC) (envelope-from uebayasi@gmail.com) Received: from mail-qg0-x22f.google.com (mail-qg0-x22f.google.com [IPv6:2607:f8b0:400d:c04::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 97AE8BF8; Mon, 22 Jun 2015 07:38:22 +0000 (UTC) (envelope-from uebayasi@gmail.com) Received: by qgal13 with SMTP id l13so49962476qga.3; Mon, 22 Jun 2015 00:38:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=GuOxxyQOYIjicsxrhDVTjXOJvE55z62hBX6dddjkuZk=; b=nCrBJSBpNJUFI1CbFVyCxh/tIUQSsM10n3mbMyTmxLtDDwdU3KcKHo4mpPff7wFf4S rK02UJar9VXlYRlOJylmVbBmm34NXu3GStP+XtYI/XdNUBPEsAIq0weLZYXJCWdCE/on dafTM34mSqs6U5+/L4GJCL84F8KYnZNRG+j8V28npD+hG34cHIQ+M1FfOJIrmdqvUB2S lTBFXHCwifWW4BuxrZnYPci2SGtK9ZiuOzorIvl2h12BvunpZuKxXkPH5vPpGWh59TgK XQqxtGug9HaK+FkGwGiZf3gTv1ALgdZQc9HW+T2S6gcrSUGzO7Llw07Qz+zZb0v24gvL 2yMA== MIME-Version: 1.0 X-Received: by 10.140.135.80 with SMTP id 77mr38473744qhh.8.1434958701617; Mon, 22 Jun 2015 00:38:21 -0700 (PDT) Received: by 10.96.108.70 with HTTP; Mon, 22 Jun 2015 00:38:21 -0700 (PDT) In-Reply-To: <19927.1434727307@chaos> References: <19927.1434727307@chaos> Date: Mon, 22 Jun 2015 16:38:21 +0900 Message-ID: Subject: Re: stale .depend during -HEAD builds? From: Masao Uebayashi To: "Simon J. Gerraty" Cc: Adrian Chadd , "freebsd-arch@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jun 2015 07:38:22 -0000 On Sat, Jun 20, 2015 at 12:21 AM, Simon J. Gerraty wrote: > Adrian Chadd wrote: >> Is this a fallout from the meta mode changes? > > Without more detail, its hard to be certain. > >> make[4]: /home/adrian/work/freebsd/head-embedded-2/src/../obj/mips//mips.mips/usr/home/adrian/work/freebsd/head-embedded-2/src/usr.sbin/praliases/.depend, >> 78: ignoring stale .depend for >> /home/adrian/work/freebsd/head-embedded-2/src/../obj/mips//mips.mips/usr/home/adrian/work/freebsd/head-embedded-2/src/lib/libsmdb/libsmutil.a >> > > Is that what your objdirs normally look like? > > The message from make is standard bmake behavior. > An unresolved and unresolvable dependency learned from .depend > is ignored, in case it is just stale data. > If it really is needed the build will fail anyway, but in 90% of cases > it is just stale data and the build sails happily on. I wish make(1) had a flag, like cc's warning level, that controls strictness, and failed when a stale depend is found.