From owner-freebsd-current@FreeBSD.ORG Fri Jan 22 12:09:03 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1F11D106566B for ; Fri, 22 Jan 2010 12:09:03 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (skuns.zoral.com.ua [91.193.166.194]) by mx1.freebsd.org (Postfix) with ESMTP id 6D5CF8FC17 for ; Fri, 22 Jan 2010 12:09:01 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id o0MC8uI0058678 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 22 Jan 2010 14:08:56 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3) with ESMTP id o0MC8uac021615; Fri, 22 Jan 2010 14:08:56 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3/Submit) id o0MC8uGL021614; Fri, 22 Jan 2010 14:08:56 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 22 Jan 2010 14:08:56 +0200 From: Kostik Belousov To: Dag-Erling Sm??rgrav Message-ID: <20100122120856.GD59590@deviant.kiev.zoral.com.ua> References: <4B595D56.8030408@omnilan.de> <86d412gxxa.fsf@ds4.des.no> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OAsA6xQjj2jRKPG2" Content-Disposition: inline In-Reply-To: <86d412gxxa.fsf@ds4.des.no> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: Harald Schmalzbauer , freebsd-current@freebsd.org Subject: Re: single (debug) binaries from base source tree install fails (/usr/bin/true) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Fri, 22 Jan 2010 12:09:03 -0000 --OAsA6xQjj2jRKPG2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 22, 2010 at 12:51:29PM +0100, Dag-Erling Sm??rgrav wrote: > Harald Schmalzbauer writes: > > I try to install a DEBUG_FLAGS=3D-g version of top since it core dumps > > on my 8.0-RELEASE box. >=20 > How? >=20 > > Compiling works with warnings, but installing fails with superfluous > > "/usr/bin/true" after install: > > > > install /usr/bin/true -o root -g wheel -m 555 top /usr/bin > > install: -o: No such file or director >=20 > You screwed up somewhere... built in the wrong directory or something. > The correct procedure is simply: >=20 > % cd /usr/src/usr.bin/top > % make clean > % make DEBUG_FLAGS=3D-g > % make install make install shall be done with DEBUG_FLAGS=3D-g too, otherwise installed binary will be stripped. --OAsA6xQjj2jRKPG2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAktZlVgACgkQC3+MBN1Mb4hsiACfQSiGG4+aYeuy0mETVSqPygRc Ei4AoJbSO8L/5+OVs5L06Vi6+irVywpF =uleA -----END PGP SIGNATURE----- --OAsA6xQjj2jRKPG2--