Re: ports and NO_STAGE: portmaster leaves port-system in corrupt state

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Thu, 3 Oct 2013 15:40:16 +0200
On Thu, Oct 03, 2013 at 10:11:42AM -0300, Nilton Jose Rizzo wrote:
> Em Thu, 3 Oct 2013 14:38:57 +0200, Baptiste Daroussin escreveu
> > On Thu, Oct 03, 2013 at 02:17:34PM +0200, O. Hartmann wrote:
> > > When NO_STAGE=yes is missing in the port's Makefile, as it is for a
> > > couple of ports like  lang/perl5.16, then portmaster compiles, installs
> > > and - corrupt the port-system, because it tries to "lstat" files it can
> > > not find and ends up at the end of an unfinished installation. This
> > > leaves the entry in the installed-port database corrupted. The port got
> > > installed, but the database hasn't an entry anymore.
> > 
> > NO_STAGE is not missing, and the system is not corrupted. Try to 
> > make sure you have the latest ports-mgmt/pkg installed (1.1.4_6)
> 
>   It's solve my problems with portupgrade ( see my last message about
> portupgrade/portmaster)
> 

Those bugs concerned portupgrade/portmaster which should always update
ports-mgmt/pkg first.

Building packages in a clean room with a tool like ports-mgmt/poudriere, will
have make sure to use the proper version of pkg.

Last thanks to stage and that is one of the main purpose of stage, NOTHING was
corrupted!

regards,
Bapt

Received on Thu Oct 03 2013 - 11:40:22 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:42 UTC