Date: Thu, 3 Oct 2013 15:40:16 +0200 From: Baptiste Daroussin <bapt@FreeBSD.org> To: freebsd-current@freebsd.org Subject: Re: ports and NO_STAGE: portmaster leaves port-system in corrupt state Message-ID: <20131003134016.GF9150@ithaqua.etoilebsd.net> In-Reply-To: <20131003131046.M75870@i805.com.br> References: <20131003141734.605758c4@thor.walstatt.dyndns.org> <20131003123857.GC9150@ithaqua.etoilebsd.net> <20131003131046.M75870@i805.com.br>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] 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 [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlJNc8AACgkQ8kTtMUmk6EwgvgCfaiv8gYlKZaBQIhmXv+rBF6S/ ILwAn0RJZ1RN0xgnga2/6DuZASu1N+jd =z6XL -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131003134016.GF9150>
