From owner-freebsd-stable@FreeBSD.ORG Fri Jun 1 18:18:56 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8CFFD106564A for ; Fri, 1 Jun 2012 18:18:56 +0000 (UTC) (envelope-from kpaasial@gmail.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 411538FC08 for ; Fri, 1 Jun 2012 18:18:56 +0000 (UTC) Received: by vcbfy7 with SMTP id fy7so1811018vcb.13 for ; Fri, 01 Jun 2012 11:18:55 -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:content-transfer-encoding; bh=Mfk4JBvjUHmM/A2VRQpb/HfcTy7SOLEkL2p83hS2o9Y=; b=cRiVBR9gA2Th1PMtY4yprlQAtTAJErRZih2nryOBPkFR6AeX9SxAxNZcMXimAa7j2j 9iMJc35oS5HNb4IQm2qEtaHWBZYlAA9ym1e1NhsoW9wKLIZmklkor4GyavRY45t1+EWf 7p/7jAPUd9nK4qJtHyE8J82wmsM61SWVkAo+E5dZLJ8fVaD0ucjXMtnXUi2mi1jtc/ie y1Ha/7FrSxwcBS/gmiH/wMVksCaDYUaUfS03e2HfldM00JSjY6FqMswqfVGtVZxnz5Rv qYiIQqvB3KxqBe+pTUDes6990HWRGVoX3JjcpzMqbmB1686b7jXrtb6vgK4vRSyn39Ag e+gA== MIME-Version: 1.0 Received: by 10.52.64.146 with SMTP id o18mr3339379vds.55.1338574735570; Fri, 01 Jun 2012 11:18:55 -0700 (PDT) Received: by 10.52.37.136 with HTTP; Fri, 1 Jun 2012 11:18:55 -0700 (PDT) In-Reply-To: <44pq9j9b9c.fsf@lowell-desk.lan> References: <44pq9j9b9c.fsf@lowell-desk.lan> Date: Fri, 1 Jun 2012 21:18:55 +0300 Message-ID: From: Kimmo Paasiala To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Lowell Gilbert Subject: Re: Installworld and /usr/include/*.h modification times X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jun 2012 18:18:56 -0000 On Fri, Jun 1, 2012 at 8:45 PM, Lowell Gilbert wrote: > Kimmo Paasiala writes: > >> Why are /usr/include files installed with "install -C" during "make >> installworld" =C2=A0when almost everything else is installed without the= -C >> flag? This makes it harder to track which files were actually >> installed during the last "make installworld". One can easily find >> obsolete files =C2=A0(that are not covered with make delete-old(-libs)) >> with "find -x / -type f -mtime +suitable_time" but this doesn't work >> for /usr/include files because the modification times are not bumped >> on "make installworld". > > "make" uses timestamps to determine whether to trigger a rule. Changing > timestamps on source files without changing the contents is a bad idea. Yes, I'm aware of how make uses timestamps for figuring out out of date targets. However I would argue that after updating world with "make installworld" (which is done in single user mode there for requiring at least one reboot) you should start any compilations from scratch. The ports system does this by default and cleans up any previous work files before new compilation. I just don't see where bumping of mtimes for those files would have that great impact, does anyone?