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> References: <202407081639.468GdaKN022588@gitrepo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000075d664061dc0f527 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Jul 9, 2024 at 12:39=E2=80=AFAM Bryan Drewery <bdrewery@freebsd.org= > wrote: > The branch main has been updated by bdrewery: > > URL: > https://cgit.FreeBSD.org/ports/commit/?id=3Deef5ff69030c331452fea27a8cf18= ab47f634789 > > 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=3Dyes > 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 t= he > 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 consumer= s > 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 alway= s > 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 t= o > be done still to improve the reporting and display of this proce= ss > 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 generat= e > 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 an= d > 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 =3D 0) now. Could you please take a look? Thanks. Best regards, sunpoet --00000000000075d664061dc0f527 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr">On Tue, Jul 9, 2024 at 12:39=E2=80=AFAM B= ryan Drewery <<a href=3D"mailto:bdrewery@freebsd.org" target=3D"_blank">= bdrewery@freebsd.org</a>> wrote:<br></div><div class=3D"gmail_quote"><bl= ockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-lef= t:1px solid rgb(204,204,204);padding-left:1ex">The branch main has been upd= ated by bdrewery:<br> <br> URL: <a href=3D"https://cgit.FreeBSD.org/ports/commit/?id=3Deef5ff69030c331= 452fea27a8cf18ab47f634789" rel=3D"noreferrer" target=3D"_blank">https://cgi= t.FreeBSD.org/ports/commit/?id=3Deef5ff69030c331452fea27a8cf18ab47f634789</= a><br> <br> commit eef5ff69030c331452fea27a8cf18ab47f634789<br> Author:=C2=A0 =C2=A0 =C2=A0Bryan Drewery <bdrewery@FreeBSD.org><br> AuthorDate: 2024-07-08 16:25:31 +0000<br> Commit:=C2=A0 =C2=A0 =C2=A0Bryan Drewery <bdrewery@FreeBSD.org><br> CommitDate: 2024-07-08 16:38:31 +0000<br> <br> =C2=A0 =C2=A0 ports-mgmt/poudriere-devel: Update to 3.3.0-1760-g7dfd84bec9<= br> <br> =C2=A0 =C2=A0 Changes:<br> =C2=A0 =C2=A0 =C2=A0- bulk: Major changes for incremental build with PKG_NO= _VERSION_FOR_DEPS=3Dyes<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0o Off-by-default for now<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0o Poudriere will no longer force rebuild all rev= erse dependencies when a<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0dependency is updated.<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0o It will now only rebuild a port if pkg-upgrade= (8) would automatically<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0reinstall it. Cases such as changed dep l= ibraries, options, ABI.<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0o dependencies will be generated into the .pkg f= iles without a<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0version. You may see "-(null)" = in some places that is expected.<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0o Remote fetching will look for both versioned a= nd unversioned<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0dependencies that satisfy the current por= t build request.<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0o A recursive rebuild *will be done* if the invo= lved packages in the<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0set have versioned dependencies, until al= l packages involved use<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0the new unversioned dependency.<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0o Setting PKG_NO_VERSION_FOR_DEPS back to no wil= l recursively rebuild<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0all packages back to the previous behavio= r with versioned deps.<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0o PORTREVISION chases are critical to do in case= s like language<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0updates (ruby,perl,python,etc) or <sta= tic> library updates.<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0o Shared library version updates still require t= heir port consumers to be<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0rebuilt to link to the new shared library= . Porters are not used to<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0always PORTREVISION chasing when doing th= is, and it is not always<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0practical. Because of this Poudriere will= now "inspect" shared<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0library consuming packages *during the bu= ild* before deciding if<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0they need to be rebuilt. There is likely = a lot of room for<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0optimization here to avoid Poudriere rech= ecking packages every<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0build; currently a scale of seconds per p= ackage. Some metadata<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0tracking in Ports would help improve this= too. More work needs to<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0be done still to improve the reporting an= d display of this process<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0in the queue and web interface. Currently= they just get marked<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"ignored" after being checked.<= br> =C2=A0 =C2=A0 =C2=A0 =C2=A0o <a href=3D"https://github.com/freebsd/poudrier= e/issues/822" rel=3D"noreferrer" target=3D"_blank">https://github.com/freeb= sd/poudriere/issues/822</a> (link to generate<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0notification for interested people)<br> =C2=A0 =C2=A0 =C2=A0- bulk: -S was removed. The new PKG_NO_VERSION_FOR_DEPS= feature<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0replaces it and will become default after public= testing<br> =C2=A0 =C2=A0 =C2=A0- Support MAX_EXECUTION_TIME_$pkgbase in poudriere.conf= <br> =C2=A0 =C2=A0 =C2=A0- image: Use gptboot.efi in place of loader.efi to supp= ort bootme and bootonce<br> =C2=A0 =C2=A0 =C2=A0- image: Enable space optimisation and disable minfree = on read-only firmware images<br> =C2=A0 =C2=A0 =C2=A0- image: Set a GPT label for EFI partition<br> =C2=A0 =C2=A0 =C2=A0- image: Generate the upgrade image too<br></blockquote= ><div><br></div><div>Hello,</div><div><br></div><div>I noticed that many re= cent log files in the latest-per-pkg/ directory are destroyed.</div><div>It= seems that if a port is ignored after inspecting for=C2=A0shlib requiremen= ts, its log file in the latest-per-pkg/ becomes empty (size =3D 0) now.</di= v><div>Could you please take a look?</div><div>Thanks.</div><div><br></div>= <div>Best regards,</div><div>sunpoet</div></div></div> --00000000000075d664061dc0f527--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMHz58TDV3yoN%2BmQoAKz4%2B=mwPreuEfibxTqgT9Xz83SzU9BAw>