Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Apr 2026 20:15:18 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        Tatsuki Makino <tatsuki_makino@hotmail.com>, "freebsd-ports@FreeBSD.org" <freebsd-ports@FreeBSD.org>
Subject:   Re: Poudriere: when fetching a package with porttree from a git source, the generation of logs is slow
Message-ID:  <e5ca9ec5-a625-4013-aa40-4d94873ace39@yahoo.com>
In-Reply-To: <TYZPR01MB50372CCFE94287D1468E1302FA582@TYZPR01MB5037.apcprd01.prod.exchangelabs.com>

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

On 4/9/26 02:26, Tatsuki Makino wrote:
> Hello.
> This contains the hope that it will be fixed, but it is mostly like a
> memorandum :)
> 
> As stated in the subject, it is slow :)
> For example, the following log will be generated at the beginning.
> 
> build started at Thu Apr  9 08:38:58 UTC 2026
> port directory: /usr/ports/graphics/py-pycairo
> package name: py314-pycairo-1.29.0
> building for: FreeBSD src-git-fetch 14.4-STABLE FreeBSD 14.4-STABLE
> 1404500 amd64
> maintained by: desktop@
> Makefile datestamp: -rw-r--r--  1 root wheel 1269 Feb 13 05:07 /usr/
> ports/graphics/py-pycairo/Makefile
> Ports top last git commit: 86aef581b030dd8330093557ff2c40474fc72f92
> Ports top unclean checkout: yes
> Port dir last git commit: b01ea745e968cda7c20fab0502c5119bdf533fb4
> Port dir unclean checkout: no
> Poudriere version: poudriere-git-3.4.6
> Host OSVERSION: 1404500
> Jail OSVERSION: 1404500
> Job Id:
> 
> Among these logs, the 'Port dir last git commit' line may take time to
> obtain the commit hash, but it does not necessarily match the package
> that was fetched when it was built.
> Therefore, when the package is fetched, it seems preferable that the
> operation of that part is omitted.

My understanding was that when the ports tree ( /usr/ports/ above ) does
not match the upstream version that can be fetched, including for any
dependency mismatches or option mismatches, poudriere uses the the port
tree based source to do that package's build --instead of installing and
using the mismatched upstream build.

Presuming that for the below . . .

Testing if there is a match vs. not could involve checking for local
changes: "Port dir unclean checkout: yes" would indicate a mismatch that
would avoid using a mismatched fetch.


(The command used to do the bulk build was not shown so I could not
reference it. If I've made bad assumptions about it, let me know.)

> 
> Regards.
> 
> 
> 


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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e5ca9ec5-a625-4013-aa40-4d94873ace39>