From owner-freebsd-stable@FreeBSD.ORG Wed Aug 20 22:29:23 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44E9A1065684 for ; Wed, 20 Aug 2008 22:29:23 +0000 (UTC) (envelope-from matthias.andree@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id A10C78FC13 for ; Wed, 20 Aug 2008 22:29:22 +0000 (UTC) (envelope-from matthias.andree@gmx.de) Received: (qmail invoked by alias); 20 Aug 2008 22:02:40 -0000 Received: from g227205215.adsl.alicedsl.de (EHLO m2a2.dyndns.org) [92.227.205.215] by mail.gmx.net (mp006) with SMTP; 21 Aug 2008 00:02:40 +0200 X-Authenticated: #428038 X-Provags-ID: V01U2FsdGVkX1+X5KMbXyaXSFnY6bhn1UYXBM9laNekgwl+wZ3zxa z0HdSm772+Ui1V Received: from localhost (localhost [127.0.0.1]) by merlin.emma.line.org (Postfix) with ESMTP id 1408520117E for ; Thu, 21 Aug 2008 00:02:39 +0200 (CEST) X-Virus-Scanned: amavisd-new at emma.line.org Received: from m2a2.dyndns.org ([127.0.0.1]) by localhost (m2a2.dyndns.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q0oCyAfqoe4p for ; Thu, 21 Aug 2008 00:02:38 +0200 (CEST) Received: by merlin.emma.line.org (Postfix, from userid 500) id 6E800201184; Thu, 21 Aug 2008 00:02:38 +0200 (CEST) From: Matthias Andree To: freebsd-stable@freebsd.org User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (gnu/linux) X-PGP-Key: http://home.pages.de/~mandree/keys/GPGKEY.asc Date: Thu, 21 Aug 2008 00:02:38 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-FuHaFi: 0.64 Subject: "make delete-old" misses files, breaking KRB5-related builds 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: Wed, 20 Aug 2008 22:29:23 -0000 Greetings, I am a long-time user of FreeBSD (I think my oldest installations used to be 4.0 and have been upgraded ever since). Not quite recently, the build targets for "make delete-old" and "make delete-old-libs" were added, and I thought there were sort of useful to get rid of crap after updates. However, something somehow somewhen dropped old gssapi_generic.h and related files into /usr/include/gssapi which sat there waiting to wreak havoc on port builds on later 6.X or 7.0 releases. Either some port installed outside $PREFIX, or these used to be part of the system and got removed before the "make delete-old" framework was put into place. "Wreak havoc" means mislead configure scripts of several packages (GNOME-related in my case) to believe some other installation was there, but it wouldn't work because some parts of the system were missing/changed... I ended up manually figuring out what got installed and kill everything that had no source... an enormous effort. What I would like to have is a means of "compare what gets installed into /bin /sbin /libexec /lib /usr/bin /usr/sbin /usr/include /usr/lib /usr/libexec and other standard system directories" to what's actually in those directories - such a comparison would have easily allowed me to spot the problem areas. Comparing file dates doesn't work properly, else a find /usr /lib* /*bin -name local -prune -or \( -mtime 30 -print \) after a "make installworld" would be the easiest thing to do... but some parts of the system use install -C (probably to avoid excessive recompiling or relinking). So what's the canonical way to "installworld" into a staging area so I can just compare or rsync --del system directories? -- Matthias Andree