Subject: Re: unpriviledged build + parallel builds
To: Jeremy C. Reed <firstname.lastname@example.org>
From: Hubert Feyrer <email@example.com>
Date: 06/03/2005 18:48:34
On Fri, 3 Jun 2005, Jeremy C. Reed wrote:
> Unprivileged builds basically is just doing bulk builds without superuser
> permission and then slowly fixing every package that is broken. I see this
> as a time consuming and tedious process, but definitely worth it.
Close: unprivileged builds are getting a "make install" done properly
first, probably by using the same tricks as NetBSD's build framework.
Then get a "make package" DTRT. Then do the bulk build as usual.
Things to consider:
* how/where to install dependencies? (esp. bulk build code uses
binary pkgs where possible!)
* how to install files with "special" permissions, e.g. setuid-root,
on "make install"?
* how to create proper binary pkgs on "make package"?
* How to handle files that are not installed by install(1), cp(1)
or similar, I'm esp. thinking of some pkgs that have fancy
do-install/post-install targets which run application code.
Firefox comes to mind.
Some research of all the challenges would be a good first step,
getting this all in a bulk build is probably the very last thing.
Genervt von Viren und von Viren versandten Spam-Mails? -> www.NetBSD.de
Fed up from viruses & virus-originated spam mail? -> www.NetBSD.org