"Recommended test ordering" question.

Kris Kennaway kris at obsecurity.org
Sun Jan 14 21:56:18 UTC 2007


On Sun, Jan 14, 2007 at 10:33:07PM +0100, Julien Gabel wrote:
> Hello,
> 
> 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
>    => ok.
>  - make package
>    => ok.
>  - make deinstall
>    => ok.
>  - pkg_add package-name
>    => ok.
>  - make deinstall
>    => Errors about directories which can't be deleted.
>    => Directories _not_ present anymore, but were present after the
>       pkg_add step.
>    => ok (port seems deinstalled correctly).
>  - make reinstall
>    => ok.
>  - make package
>    => ok.
> 
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20070114/b009ebab/attachment.pgp


More information about the freebsd-ports mailing list