Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jan 2007 16:56:11 -0500
From:      Kris Kennaway <kris@obsecurity.org>
To:        Julien Gabel <julien.gabel@thilelli.net>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: "Recommended test ordering" question.
Message-ID:  <20070114215610.GA1019@xor.obsecurity.org>
In-Reply-To: <41278.192.168.1.101.1168810387.squirrel@webmail.thilelli.net>
References:  <41278.192.168.1.101.1168810387.squirrel@webmail.thilelli.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070114215610.GA1019>