ports and NO_STAGE: portmaster leaves port-system in corrupt state
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. I found that the port system is in a very bad shape when one is using CURRENT (10.0), where several things happened the same time like converters/libiconv ahs gone as required port, libstdc++ has gone in favour of libc++ and now ports that do not have this NO_STAGE= tag in the toplevel Makefile. About the last piece - I miss a warning/hint/information for those who has not the time following every second informations on the mailing lists! I regret that I forgot about three other ports I stumbled in where the missing NO_STAGE=yes obviously solved the problem after I put it into the Makefile - but that was simply a hunch - without knowing exactly what I do. Again, I miss some informations about that and googling didn't brought up deeper insight into that. If someone would be so kind an d delegate me to a proper official website where this NO_STAGE for the ports is explained a bit and further if someone tells me what to do when I stumble into the next port out of the 1200 I have to recompile, I would really appreciate that. Regards, O.H. signature.asc Description: PGP signature
Re: ports and NO_STAGE: portmaster leaves port-system in corrupt state
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) regards, Bapt pgptQMlpBJK78.pgp Description: PGP signature
Re: ports and NO_STAGE: portmaster leaves port-system in corrupt state
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 pgp25gKqYDwRs.pgp Description: PGP signature