dependency explosions

Mathieu Arnold mat at FreeBSD.org
Mon Oct 3 14:48:15 UTC 2016


Le 03/10/2016 à 16:29, Grzegorz Junka a écrit :
>
> On 03/10/2016 14:11, Mike Clarke wrote:
>> On Mon, 3 Oct 2016 13:11:43 +0000
>> Grzegorz Junka <list1 at gjunka.com> wrote:
>>
>>> Shouldn't all packages default to noX dependencies? If I am not
>>> mistaken
>>> FreeBSD is predominantly a server-side system, with X running only
>>> occasionally
>> I'd disagree with that. I don't know whether or not the majority of
>> FreeBSD installations are servers or personal computers but the chances
>> are that the majority of server installations will have relatively few
>> packages installed whereas most PC's are likely to make use of far
>> more packages and are also likely to be using X. Building from ports
>> to get the required options would be a much bigger task for these
>> installations than it would be for the servers.
>>
>
> I have been wondering if it would be possible to have two distinct set
> of packages compiled automatically, one tailored for X and one for the
> console. It seems that requirements of both environment are quite
> opposite. The server-side requires small amount of packages without X
> because it wants to run the system headless, as long as possible and
> without interruptions and restarts. Whereas the X/PC environment
> always wants to have everything latest and newest. In the Linux world
> they would just create a new distribution, even in the BSD world there
> is PC-BSD/TrueOS. But we have ports and can re-use the same base for
> two distinctive set of packages. I don't believe we can create
> pre-compiled packages for FreeBSD in such a way, that both camps are
> happy (which this thread is one of many signs of).

The FreeBSD project cannot provide more than one set of packages. If we
went that way, we would end up having to provide, say, [with X, without
X]x[apache 2.2, apache 2.4]x[php56, php70]x[postgresql 9.3, 9.4, 9.5,
9.6]x[insert 5 flavors of mysql]x[openssl, libressl]... I'm sure I can
find other kind of options, and that is already 320 sets.
Right now, we build packages for
[9,10,11,12]x[amd64,i386]x[head,quarterly], that's 16 different sets,
and we mostly manage to build them over and over again, every two days.
Imagine how long it would take to build 320 sets.

-- 
Mathieu Arnold


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20161003/ff201a90/attachment.sig>


More information about the freebsd-ports mailing list