Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Mar 2006 10:15:54 +0100
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Paul Beard <paulbeard@gmail.com>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: ports/94714: linux-pango fails to install: failed dependency?
Message-ID:  <20060321101554.ivrhu3r1w8kg0ww0@netchild.homeip.net>
In-Reply-To: <6E0DAE3E-BB65-4D71-89E0-4EAD37846C22@gmail.com>
References:  <200603202020.k2KKKI9G023668@freefall.freebsd.org> <20060320212536.483e2788.albi@scii.nl> <E5E1B486-9BB6-472D-B5AA-1447B9200B47@gmail.com> <84482510@ho.ipt.ru> <4C01D499-CD6B-4038-B0E4-88CC8B284481@gmail.com> <52321078@ho.ipt.ru> <71B3E104-3C9C-470A-A841-AE1F445A3061@gmail.com> <70244839@ho.ipt.ru> <346FB0BB-1D1C-4110-B4AC-5CBC2CC84915@gmail.com> <82723535@ho.ipt.ru> <D30C342C-9DB7-45F5-91CA-3E148AEE686A@gmail.com> <16647345@ho.ipt.ru> <6E0DAE3E-BB65-4D71-89E0-4EAD37846C22@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Paul Beard <paulbeard@gmail.com> wrote:

> On Mar 20, 2006, at 4:03 PM, Boris Samorodov wrote:
>
>> You did intsall it by hand!
>
> Um, yeah, I expect "linux_base" to be whatever the current version  
> is: I didn't specify 7.x or 8 or 9 or SuSE. Again, why is 7.3 the  
> default if 8.0 is the currently-supported version?

Typically you don't need to install a linux_base by hand. Typically an user
is interested in a leaf port like acroread or a linux game or whatever, but
not on a plain stripped down linux userland (linux_base is just an
infrastructure port to satisfy dependecies, in case you need unix-tools, use
the native ones).

A little bit of history: "linux_base" was the traditional default port. A lot
of different ports based upon different linux distributions appeared over
time.

Since the linux_base port is critical to the linuxolator infrastructure, and
because it is a complex part to handle, you can't just change it inplace and
hope everything works. You have to develop seperately and test a lot. And
typically one person doesn't use or has access to all linux ports, so the
testing has to be done "in public". For this reason I introduced the
OVERRIDE_LINUX_BASE_PORT switch (and some other stuff to be able to switch
the default linux_base port easily) more than a year ago to be able to
switch to any linux_base-X port.

Doing the development in a seperate port and then "moving over" to linux_base
will lose the development history (more correctly: it makes it hard for
anyone to look up the history some months later).

The goal is to get rid of the linux_base (without any "-X") port/directory.
We may be able to achieve this in the near future.

> If a naive user installs linux_base to satisfy a dependency, how do  
> they know which one to choose (or which one(s) not to)?

You don't need to do it by hand, it's one of the goals of the ports
collection to automate this.

A linux port has to use "USE_LINUX" which results in a dependency on the
default linux base port of the day (or to the port specified by
OVERRIDE_LINUX_BASE_PORT). So when you install e.g. acroread, the default
linux base port (and some other linux ports) will be installed
automatically. If this isn't the case, you found a bug and it would be nice
if you report it with send-pr or the corresponding webinterface on
freebsd.org.

Bye,
Alexander.

-- 
http://www.Leidinger.net  Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org     netchild @ FreeBSD.org  : PGP ID = 72077137
Youth had been a habit of hers so long that she could not part with it.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060321101554.ivrhu3r1w8kg0ww0>