Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Feb 2024 23:38:51 +0000
From:      Pat <cli_junkie@protonmail.com>
To:        "questions@freebsd.org" <questions@freebsd.org>
Subject:   Re: A few questions about using Poudriere
Message-ID:  <xPziQZoAPD2xeXkQPvaue4gneUwd4WgCyAU4wtRSjMHy4w96DDft-k236NKwAd2OhlHdOitYPhmYB-UQu_Y5Pj2kv99yx0X5ruZFt5F_P84=@protonmail.com>
In-Reply-To: <20240215135819.4c694082@venus.private.rrbrussell.com>
References:  <o_KdXhMxQHMrSVLszZARTOQyOALo-dLkUHiFrFPlMeKYhH1btXOt4HsB3Wh7g7npRO52QNdkPvuf_AgSNOZOZGCVWwdjlLcpgZ_EljTVKMI=@protonmail.com> <dddb3133-09b3-4835-81a4-06aa615cda47@app.fastmail.com> <20240215135819.4c694082@venus.private.rrbrussell.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday, February 15th, 2024 at 19:58, Robert R. Russell <robert@rrbrus=
sell.com> wrote:

>=20
>=20
> On Thu, 15 Feb 2024 13:15:21 +0100
> "Dave Cottlehuber" dch@skunkwerks.at wrote:
>=20
> > On Thu, 15 Feb 2024, at 01:57, Pat wrote:
> >=20
> > > Hello, and please let me know if this is not the best place to ask
> > > some questions about Poudriere.
> >=20
> > Welcome and it=E2=80=99s a fine choice of list
> >=20
> > > I am learning about Pouderiere, and started with what I thought
> > > would be a simple package. But I have run into something somewhat
> > > surprising. I ran:
> > >=20
> > > poudriere options -j 01amd64 -p default ftp/curl
> >=20
> > > expecting to have to configure a few options for curl and be done.
> >=20
> > try adding =E2=80=98-cn=E2=80=99 options, it will not descend recursive=
ly
> >=20
> > > BTW, I did see in POUDRIERE(8) this hint:
> > >=20
> > > As a starter, you may want to copy an existing /var/db/ports/ to
> > > /usr/local/etc/poudriere.d/options.
> > >=20
> > > but that was afterwards. Would that have saved me some of this
> > > work?
> >=20
> > This helps if you=E2=80=99ve been using =E2=80=98make config=E2=80=
=99 with a local ports tree
> > already instead of via poudriere
> >=20
> > > Finally, if I now build curl, is it really going to build 192
> > > additional packages? That seems awful heavy for something that is
> > > supposed to be a simple tool for transferring data.
> >=20
> > Probably not, but curl has a surprisingly large amount of optional
> > dependencies.
> >=20
> > A+
> > Dave
>=20
>=20
> Buildtime dependencies often include tools for rebuilding extra
> documentation or example code. Many of these tools often have
> dependency trees with several dozen entries by themselves. You can try
> disabling options like DOCS or EXAMPLES and that should reduce the size
> of the build tree. If you never go looking into /usr/local/share/doc or
> /usr/local/share/examples, then disabling those options should be
> helpful.
>=20
> The runtime dependency tree is generally much smaller and pkg will only
> install them.
>=20
> -- Robert

That does make a lot of sense, and explains why some of those options
menus consisted of just one or both and nothing more. The ones that I did
deselect were ones that I figured I would not bother with locally. But I do
make use of both DOCS and EXAMPLES on occasion so having them there will
be important.

Thank you for the information. I did build curl today and it did not build
192 packages. :)

Regards,
Pat



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