From owner-freebsd-current@FreeBSD.ORG Sun Jun 2 03:43:26 2013 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 16A38A03; Sun, 2 Jun 2013 03:43:26 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: from mail-qa0-x22d.google.com (mail-qa0-x22d.google.com [IPv6:2607:f8b0:400d:c00::22d]) by mx1.freebsd.org (Postfix) with ESMTP id BB0B91626; Sun, 2 Jun 2013 03:43:25 +0000 (UTC) Received: by mail-qa0-f45.google.com with SMTP id o13so1236980qaj.11 for ; Sat, 01 Jun 2013 20:43:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:x-mailer:mime-version :content-type; bh=U1vgqrtt5nRS0khMaVipklJBvweV6PegmQxZgMZs4eQ=; b=kONmZYHv5e7vBHOVPCeeufV9aacOTYl+lgHB18mpWZ2laJvofYJenKtXsnPylL6606 vd8ysjVD5XybChgNuzc8kUn1uA2XVyeKeNhw0E8z8FZTwn69QHHpQS2toTwgVBQsbFkP Ia6KzRKBMp6VDOAZHLItO2bwb9PL7c+LQTXiFBw3+KVQ3haM7hD/cf3dSzhSt79emcAt HrSVNPc+mOtG6IlVvtSTSqloMM951o5gWPcmxRldolwA5TYL+G6uxVyFL41gQ/xtWji0 uTKnVW830J1ie+DxqHgiHRoKsWQL+cUul9Ufkj582B/emTte6jHM3B+EtE5fmAp9lVXs GNTA== X-Received: by 10.49.132.106 with SMTP id ot10mr15915431qeb.51.1370144605251; Sat, 01 Jun 2013 20:43:25 -0700 (PDT) Received: from kan.dyndns.org (c-24-63-226-98.hsd1.ma.comcast.net. [24.63.226.98]) by mx.google.com with ESMTPSA id c10sm41478583qag.2.2013.06.01.20.43.24 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Sat, 01 Jun 2013 20:43:24 -0700 (PDT) Date: Sat, 1 Jun 2013 23:43:10 -0400 From: Alexander Kabaev To: current@FreeBSD.ORG Subject: Undesirable bmake behavior Message-ID: <20130601234310.1ef241d5@kan.dyndns.org> X-Mailer: Claws Mail 3.9.1 (GTK+ 2.24.18; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/pNGQDABRMH9DKSF+xgBKJ9Q"; protocol="application/pgp-signature" Cc: "Simon J. Gerraty" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Jun 2013 03:43:26 -0000 --Sig_/pNGQDABRMH9DKSF+xgBKJ9Q Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi, today I got confronted with this little curiosity from bmake. I have built and installed the world, and after reboot I ran 'make delete-old' as root to get rid of accumulated stale files. This is what I got back: >>> Removing old files (only deletes safe to delete libs) .... >>> Old files removed >>> Removing old directories >>> Old directories removed To remove old libraries run '/usr/obj/usr/src/make.amd64/make delete-old-libs'. It turns out that somehow running make in src tree finds and tries to run a copy from .OBJDIR, if one is present, unconditionally now. I do not think this that is a particularly desirable and even sane behaviour - once buildworld has finished, no tool should ever try to run _anything_ from what is essentially a scratch space. Bootstrap and cross tools should only be used during corresponding stages of buildworld and by default. --=20 Alexander Kabaev --Sig_/pNGQDABRMH9DKSF+xgBKJ9Q Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iD8DBQFRqr9bQ6z1jMm+XZYRAp/eAJ9cWN7gtSZvw6KeP4J/+4OFB/B0cgCgykdv HAFRSxMCCuExHPs8AARbePA= =wXCS -----END PGP SIGNATURE----- --Sig_/pNGQDABRMH9DKSF+xgBKJ9Q--