[oi-dev] Desktop Illumos Still Matters

Joerg Schilling Joerg.Schilling at fokus.fraunhofer.de
Wed Sep 5 20:58:59 UTC 2012


Alasdair Lumsden <alasdairrr at gmail.com> wrote:

> On 05/09/2012 19:49, Joerg Schilling wrote:
> > The buildsystem for sfw is a nightmare:
> >
> > -	It only works if the whole set of tools has already been
> > 	installed in /usr on the compiling system before with exactly
> > 	the same version as the one that is going to be compiled.
> >
> > 	This causes that you need an unknown number of iteration to
> > 	compile and install on the build machine before you are able
> > 	to compile everything at all.
> >
> > 	You need at least one additional install/compile cycle before you
> > 	can be sure that the compile/link results will no longer change.
>
> It sounds like what you want is a completely self contained build 
> system, like pkgsrc, which bootstraps itself, requires only a compiler, 
> knows how to build things in the correct order, and installs everything 
> to a custom destination prefix.
>
> That approach is fine for building 3rd party software, but not for 
> maintaining system software which ships to /usr.

It seems that you missunderstand the problem.

The main issue is that the build system linked against /usr instead of linking 
against something like: /home/user/proto/usr

> > -	It may be that you would need to manually install at least older
> > 	versions of strategic tools before you may start to compile at all.
> > 	The programs in question are gmake, bash, gm4, ...
>
> That is not an issue with userland-gate or oi-build. You do have to 
> install gmake, bash and a bunch of dependencies, but they're all 
> available in the package repo.

It is not a real issue with SchilliX either but for a looking at a 
self-contained system it would.

> > -	It installs unmodified autoconf results in /usr/include with the
> > 	effect that you cannot compile depending other software using
> > 	an older version of the compilers than the one you used to compile
> > 	sfw.
>
> Can you supply an example? I'm not sure I understand this complaint.

Check e.g. the notes about sfw in:

	ftp://ftp.berlios.de/pub/schillix/AN-0.8

Jörg

-- 
 EMail:joerg at schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js at cs.tu-berlin.de                (uni)  
       joerg.schilling at fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily




More information about the oi-dev mailing list