From owner-freebsd-ports@FreeBSD.ORG Sun Jan 14 21:56:18 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CF52016A47E for ; Sun, 14 Jan 2007 21:56:18 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 9A2B413C45E for ; Sun, 14 Jan 2007 21:56:18 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 1DAB91A4D82; Sun, 14 Jan 2007 13:56:18 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 2828651E81; Sun, 14 Jan 2007 16:56:11 -0500 (EST) Date: Sun, 14 Jan 2007 16:56:11 -0500 From: Kris Kennaway To: Julien Gabel Message-ID: <20070114215610.GA1019@xor.obsecurity.org> References: <41278.192.168.1.101.1168810387.squirrel@webmail.thilelli.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0F1p//8PRICkK4MW" Content-Disposition: inline In-Reply-To: <41278.192.168.1.101.1168810387.squirrel@webmail.thilelli.net> User-Agent: Mutt/1.4.2.2i Cc: freebsd-ports@freebsd.org Subject: Re: "Recommended test ordering" question. X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Jan 2007 21:56:18 -0000 --0F1p//8PRICkK4MW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jan 14, 2007 at 10:33:07PM +0100, Julien Gabel wrote: > Hello, >=20 > I just updated the patch for a little port i maintained, and encountered > a curious error following the "Recommended test ordering" found in the > FreeBSD Porter's Handbook to test it properly. Here are the steps: > - make install > =3D> ok. > - make package > =3D> ok. > - make deinstall > =3D> ok. > - pkg_add package-name > =3D> ok. > - make deinstall > =3D> Errors about directories which can't be deleted. > =3D> Directories _not_ present anymore, but were present after the > pkg_add step. > =3D> ok (port seems deinstalled correctly). > - make reinstall > =3D> ok. > - make package > =3D> ok. >=20 > Any suggestion on why i get these errors, although all "seems" fine? Your pkg-plist is incorrect. Perhaps you are doing things in your post-install script that are only executed when the port makefile is run, but do not have a corresponding @exec statement in your pkg-plist. Kris --0F1p//8PRICkK4MW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFqqb6Wry0BWjoQKURAsEHAJ9ZC8lGuvi93pk4CvtM3NlubXH/9ACgg/mX 9IQLEO+KYbTc9E95jTDlR0o= =iKOp -----END PGP SIGNATURE----- --0F1p//8PRICkK4MW--