Date: Sun, 21 Jul 2024 20:20:12 +0800 From: Po-Chuan Hsieh <sunpoet@freebsd.org> To: Bryan Drewery <bdrewery@freebsd.org> Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Subject: Re: git: eef5ff69030c - main - ports-mgmt/poudriere-devel: Update to 3.3.0-1760-g7dfd84bec9 Message-ID: <CAMHz58TDV3yoN%2BmQoAKz4%2B=mwPreuEfibxTqgT9Xz83SzU9BAw@mail.gmail.com> In-Reply-To: <202407081639.468GdaKN022588@gitrepo.freebsd.org>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Tue, Jul 9, 2024 at 12:39 AM Bryan Drewery <bdrewery@freebsd.org> wrote: > The branch main has been updated by bdrewery: > > URL: > https://cgit.FreeBSD.org/ports/commit/?id=eef5ff69030c331452fea27a8cf18ab47f634789 > > commit eef5ff69030c331452fea27a8cf18ab47f634789 > Author: Bryan Drewery <bdrewery@FreeBSD.org> > AuthorDate: 2024-07-08 16:25:31 +0000 > Commit: Bryan Drewery <bdrewery@FreeBSD.org> > CommitDate: 2024-07-08 16:38:31 +0000 > > ports-mgmt/poudriere-devel: Update to 3.3.0-1760-g7dfd84bec9 > > Changes: > - bulk: Major changes for incremental build with > PKG_NO_VERSION_FOR_DEPS=yes > o Off-by-default for now > o Poudriere will no longer force rebuild all reverse dependencies > when a > dependency is updated. > o It will now only rebuild a port if pkg-upgrade(8) would > automatically > reinstall it. Cases such as changed dep libraries, options, ABI. > o dependencies will be generated into the .pkg files without a > version. You may see "-(null)" in some places that is expected. > o Remote fetching will look for both versioned and unversioned > dependencies that satisfy the current port build request. > o A recursive rebuild *will be done* if the involved packages in the > set have versioned dependencies, until all packages involved use > the new unversioned dependency. > o Setting PKG_NO_VERSION_FOR_DEPS back to no will recursively > rebuild > all packages back to the previous behavior with versioned deps. > o PORTREVISION chases are critical to do in cases like language > updates (ruby,perl,python,etc) or <static> library updates. > o Shared library version updates still require their port consumers > to be > rebuilt to link to the new shared library. Porters are not used to > always PORTREVISION chasing when doing this, and it is not always > practical. Because of this Poudriere will now "inspect" shared > library consuming packages *during the build* before deciding if > they need to be rebuilt. There is likely a lot of room for > optimization here to avoid Poudriere rechecking packages every > build; currently a scale of seconds per package. Some metadata > tracking in Ports would help improve this too. More work needs to > be done still to improve the reporting and display of this process > in the queue and web interface. Currently they just get marked > "ignored" after being checked. > o https://github.com/freebsd/poudriere/issues/822 (link to generate > notification for interested people) > - bulk: -S was removed. The new PKG_NO_VERSION_FOR_DEPS feature > replaces it and will become default after public testing > - Support MAX_EXECUTION_TIME_$pkgbase in poudriere.conf > - image: Use gptboot.efi in place of loader.efi to support bootme and > bootonce > - image: Enable space optimisation and disable minfree on read-only > firmware images > - image: Set a GPT label for EFI partition > - image: Generate the upgrade image too > Hello, I noticed that many recent log files in the latest-per-pkg/ directory are destroyed. It seems that if a port is ignored after inspecting for shlib requirements, its log file in the latest-per-pkg/ becomes empty (size = 0) now. Could you please take a look? Thanks. Best regards, sunpoet [-- Attachment #2 --] <div dir="ltr"><div dir="ltr">On Tue, Jul 9, 2024 at 12:39 AM Bryan Drewery <<a href="mailto:bdrewery@freebsd.org" target="_blank">bdrewery@freebsd.org</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">The branch main has been updated by bdrewery:<br> <br> URL: <a href="https://cgit.FreeBSD.org/ports/commit/?id=eef5ff69030c331452fea27a8cf18ab47f634789" rel="noreferrer" target="_blank">https://cgit.FreeBSD.org/ports/commit/?id=eef5ff69030c331452fea27a8cf18ab47f634789</a><br> <br> commit eef5ff69030c331452fea27a8cf18ab47f634789<br> Author: Bryan Drewery <bdrewery@FreeBSD.org><br> AuthorDate: 2024-07-08 16:25:31 +0000<br> Commit: Bryan Drewery <bdrewery@FreeBSD.org><br> CommitDate: 2024-07-08 16:38:31 +0000<br> <br> ports-mgmt/poudriere-devel: Update to 3.3.0-1760-g7dfd84bec9<br> <br> Changes:<br> - bulk: Major changes for incremental build with PKG_NO_VERSION_FOR_DEPS=yes<br> o Off-by-default for now<br> o Poudriere will no longer force rebuild all reverse dependencies when a<br> dependency is updated.<br> o It will now only rebuild a port if pkg-upgrade(8) would automatically<br> reinstall it. Cases such as changed dep libraries, options, ABI.<br> o dependencies will be generated into the .pkg files without a<br> version. You may see "-(null)" in some places that is expected.<br> o Remote fetching will look for both versioned and unversioned<br> dependencies that satisfy the current port build request.<br> o A recursive rebuild *will be done* if the involved packages in the<br> set have versioned dependencies, until all packages involved use<br> the new unversioned dependency.<br> o Setting PKG_NO_VERSION_FOR_DEPS back to no will recursively rebuild<br> all packages back to the previous behavior with versioned deps.<br> o PORTREVISION chases are critical to do in cases like language<br> updates (ruby,perl,python,etc) or <static> library updates.<br> o Shared library version updates still require their port consumers to be<br> rebuilt to link to the new shared library. Porters are not used to<br> always PORTREVISION chasing when doing this, and it is not always<br> practical. Because of this Poudriere will now "inspect" shared<br> library consuming packages *during the build* before deciding if<br> they need to be rebuilt. There is likely a lot of room for<br> optimization here to avoid Poudriere rechecking packages every<br> build; currently a scale of seconds per package. Some metadata<br> tracking in Ports would help improve this too. More work needs to<br> be done still to improve the reporting and display of this process<br> in the queue and web interface. Currently they just get marked<br> "ignored" after being checked.<br> o <a href="https://github.com/freebsd/poudriere/issues/822" rel="noreferrer" target="_blank">https://github.com/freebsd/poudriere/issues/822</a> (link to generate<br> notification for interested people)<br> - bulk: -S was removed. The new PKG_NO_VERSION_FOR_DEPS feature<br> replaces it and will become default after public testing<br> - Support MAX_EXECUTION_TIME_$pkgbase in poudriere.conf<br> - image: Use gptboot.efi in place of loader.efi to support bootme and bootonce<br> - image: Enable space optimisation and disable minfree on read-only firmware images<br> - image: Set a GPT label for EFI partition<br> - image: Generate the upgrade image too<br></blockquote><div><br></div><div>Hello,</div><div><br></div><div>I noticed that many recent log files in the latest-per-pkg/ directory are destroyed.</div><div>It seems that if a port is ignored after inspecting for shlib requirements, its log file in the latest-per-pkg/ becomes empty (size = 0) now.</div><div>Could you please take a look?</div><div>Thanks.</div><div><br></div><div>Best regards,</div><div>sunpoet</div></div></div>home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMHz58TDV3yoN%2BmQoAKz4%2B=mwPreuEfibxTqgT9Xz83SzU9BAw>
