Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Mar 2024 17:45:27 +1100
From:      Greg 'groggy' Lehey <grog@freebsd.org>
To:        "lain." <lain@fair.moe>
Cc:        questions@freebsd.org
Subject:   Re: Why Does bind Have So Many Dependencies
Message-ID:  <ZfaRh6nottFkJQod@hydra.lemis.com>
In-Reply-To: <o22tb2fx2ld4f5voxzyhwo55nyfvscscnwepmvetmzmlbuqcwq@evn63a4surhc>
References:  <d3eb7a53-666d-4885-9c28-46750d915041@tundraware.com> <44bk7ff70i.fsf@be-well.ilk.org> <18e4819d3e0.2890.0b331fcf0b21179f1640bd439e3f4a1e@tundraware.com> <af6d7f7c-7c44-4f68-ae40-419efb9873c3@app.fastmail.com> <c26dc744-7740-40a2-a0ad-329339a4766d@tundraware.com> <o22tb2fx2ld4f5voxzyhwo55nyfvscscnwepmvetmzmlbuqcwq@evn63a4surhc>

next in thread | previous in thread | raw e-mail | index | archive | help

--mWlTPohHeyjhAJRn
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sunday, 17 March 2024 at 15:13:47 +0900, lain. wrote:
> On 2024=E5=B9=B403=E6=9C=8816=E6=97=A5 16:36, the silly Tim Daneliuk clai=
med to have said:
>> On 3/16/24 15:54, robert@rrbrussell.com wrote:
>> .
>>>
>>> To rebuild the manpages and other documentation from source requires gr=
off and a few other tools. Portmaster can uninstall build dependencies that=
 aren=E2=80=99t in the run dependencies list after installation of the port=
=2E ```pkg autoremove``` will also remove unneeded build dependencies. The =
last option is using poudri=C3=A8re. ```pkg install``` will only pull in th=
e needed runtime dependencies.
>>>
>>> I am assuming don=E2=80=99t want to use the default package repository.
>>
>> Yes, I've deleted the offending unneeded dependencies with "pgk autoremo=
ve".
>>
>> I think my central question is really why the port installation even att=
empts
>> to install these if I indicate that I do not want docs in the initial co=
nfig menu.
>
> The simple answer to any software with a lot of dependencies is very
> simple: because this software is made by amateurs who don't understand
> software development.

Yes, this is a very simple answer.  It reminds me of a couple of
quotes, but not well:

  "Nothing is difficult for somebody who doesn't have to solve the
  problem himself".

  "For every difficult problem there is an answer that is simple,
  elegant, and wrong".

In this case, it seems that you have no solution to offer, but you
know details of one of the central pieces of software that keeps the
Internet running, in particular that it was written by amateurs.

> In general, unless it's something massive like a 3D modelling tool,
> there's always a more lightweight and less buggy alternative that
> (obviously) require way fewer dependencies.

Which, of course, you neglect to mention.

My take on this issue (also, admittedly, without looking at the port)
is that there are two issues:

1.  Relatively harmless things like the documentation pull in a tree
    of dependencies which may not even be needed in this context, but
    the way the Ports Collection works means that they get pulled in
    anyway.

2.  In this particular case, this even happens if the primary
    dependency isn't needed.

The second issue is relatively easy to fix, while the first might be
more difficult.  But you have access to the sources.  Can we expect
patches soon?

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
Sent from my desktop computer.
See complete headers for address and phone numbers.
This message is digitally signed.  If your Microsoft mail program
reports problems, please read http://lemis.com/broken-MUA.php

--mWlTPohHeyjhAJRn
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iF0EARECAB0WIQSaG4ICvM64RvkvCawi5vKQUHpCIwUCZfaRewAKCRAi5vKQUHpC
I6LuAJ4uVKlT3q3qlMx9SipOizhmsQdWvACdFEoNbPlb4JKy8JsmcoFidY69G1c=
=BACo
-----END PGP SIGNATURE-----

--mWlTPohHeyjhAJRn--



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