ports and NO_STAGE: portmaster leaves port-system in corrupt state
Baptiste Daroussin
bapt at FreeBSD.org
Thu Oct 3 13:40:22 UTC 2013
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20131003/db9f00a8/attachment.sig>
More information about the freebsd-current
mailing list