🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: muc.lists.freebsd.ports
3 messages
3 total messages Started by void Sat, 31 Oct 2026 05:38
Re: updating a single port: www/chromium
#129
Author: void
Date: Sat, 31 Oct 2026 05:38
44 lines
8730 bytes
--qNRJk+kRJ0O2hkZY
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,
On Fri, Oct 30, 2026 at 03:52:51PM +0100, Matthias Apitz wrote:

>What would be the best/correct way to update such a port and not risking
>that poudriere re-builds a big amount of the 2300 ports?

I'd just run a build (after updating the ports tree) with

'poudriere bulk -j buildername -J-numberofcores www/chromium'
that way chromium plus any updated dependencies it needs gets
rebuilt. I'd expect a number of ports to get rebuilt but
would be surprised if it's even a quarter of your total number.

note: ports-mgmt/poudriere-dsh2dsh is better at skipping needless
rebuilds than standard poudriere the last time I looked. This is what
I use.
--=20
void<at>f-m.fm | GPG fingerprint: BD97 5B52 1B78 B7A9 AFFE  7DD4 FD32 D1F9 =
0814 DECD
Please don't Cc: as I'm already subscribed to the list.

--qNRJk+kRJ0O2hkZY
Content-Type: application/pgp-signature; name=signature.asc

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

iJEEABYKADkWIQS9l1tSG3i3qa/+fdT9MtH5CBTezQUCauV+yBsUgAAAAAAEAA5t
YW51MiwyLjUrMS4xMiwyLDMACgkQ/TLR+QgU3s1OOwD+PdIMvcdCieACidvTFt+l
QqNOGg2JoE7LRdtER3ZDac0BAL/ZGfVhzLc6e+8+IUMhyQGJEczCnoh/9/AzWIow
wkML
=fUne
-----END PGP SIGNATURE-----

--qNRJk+kRJ0O2hkZY--


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: updating a single port: www/chromium
#131
Author: Mark Millard
Date: Sat, 31 Oct 2026 15:40
48 lines
8624 bytes
On 10/30/26 22:38, void wrote:
> Hi,
> On Fri, Oct 30, 2026 at 03:52:51PM +0100, Matthias Apitz wrote:
> 
>> What would be the best/correct way to update such a port and not risking
>> that poudriere re-builds a big amount of the 2300 ports?
> 
> I'd just run a build (after updating the ports tree) with
> 
> 'poudriere bulk -j buildername -J-numberofcores www/chromium'
> that way chromium plus any updated dependencies it needs gets
> rebuilt. I'd expect a number of ports to get rebuilt but
> would be surprised if it's even a quarter of your total number.
> 
> note: ports-mgmt/poudriere-dsh2dsh is better at skipping needless
> rebuilds than standard poudriere the last time I looked. This is what
> I use.

For poudriere-devel there is also PKG_NO_VERSION_FOR_DEPS=yes for use in
poudriere.conf types of files. With that, poudriere only rebuilds what
pkg would upgrade. Historically poudriere-devel also did various
rebuilds that pkg would not later upgrade to, such as: if the major
version for a .so dependency had not actually changed.

In essence, various builds actually end up being a quick inspection
activity instead that leads to avoiding the actual build. So the actual
build count ends up being smaller (when not counting the inspections).

If the inspection finds a .so major version change is involved in the
dependencies, that was not otherwise noticed, it leads to the build
being done as pkg would do the upgrade.

This does mean that bulk -n results do not report the improvement, as
later inspections are dependent on prior rebuilds that do happen to
occur in the bulk build so the actual build count is not known up front.

PKG_NO_VERSION_FOR_DEPS is not listed in poudriere.conf.sample yet and
"man -K PKG_NO_VERSION_FOR_DEPS" output is empty still.

-- 
===
Mark Millard
marklmi at yahoo.com


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: updating a single port: www/chromium
#133
Author: Mark Millard
Date: Sat, 31 Oct 2026 19:12
59 lines
9037 bytes
On 10/31/26 08:40, Mark Millard wrote:
> On 10/30/26 22:38, void wrote:
>> Hi,
>> On Fri, Oct 30, 2026 at 03:52:51PM +0100, Matthias Apitz wrote:
>>
>>> What would be the best/correct way to update such a port and not risking
>>> that poudriere re-builds a big amount of the 2300 ports?
>>
>> I'd just run a build (after updating the ports tree) with
>>
>> 'poudriere bulk -j buildername -J-numberofcores www/chromium'
>> that way chromium plus any updated dependencies it needs gets
>> rebuilt. I'd expect a number of ports to get rebuilt but
>> would be surprised if it's even a quarter of your total number.
>>
>> note: ports-mgmt/poudriere-dsh2dsh is better at skipping needless
>> rebuilds than standard poudriere the last time I looked. This is what
>> I use.
> 
> For poudriere-devel there is also PKG_NO_VERSION_FOR_DEPS=yes for use in
> poudriere.conf types of files. With that, poudriere only rebuilds what
> pkg would upgrade. Historically poudriere-devel also did various
> rebuilds that pkg would not later upgrade to, such as: if the major
> version for a .so dependency had not actually changed.
> 
> In essence, various builds actually end up being a quick inspection
> activity instead that leads to avoiding the actual build. So the actual
> build count ends up being smaller (when not counting the inspections).
> 
> If the inspection finds a .so major version change is involved in the
> dependencies, that was not otherwise noticed, it leads to the build
> being done as pkg would do the upgrade.
> 
> This does mean that bulk -n results do not report the improvement, as
> later inspections are dependent on prior rebuilds that do happen to
> occur in the bulk build so the actual build count is not known up front.
> 
> PKG_NO_VERSION_FOR_DEPS is not listed in poudriere.conf.sample yet and
> "man -K PKG_NO_VERSION_FOR_DEPS" output is empty still.
> 

Turns out there is some public documentation:

<https://github.com/freebsd/poudriere/blob/master/docs/pkg_no_version_for_deps.md>

and there is some related background information:

<https://github.com/freebsd/poudriere/blob/master/docs/shlib_tracking.md>


-- 
===
Mark Millard
marklmi at yahoo.com


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads