Date: Thu, 5 Mar 2026 09:09:25 +0100 From: =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= <fernape@freebsd.org> To: Cy Schubert <Cy.Schubert@cschubert.com> Cc: Daroussin <bapt@freebsd.org>, Vladimir Druzenko <vvd@freebsd.org>, ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Subject: Re: git: 513318c5d748 - main - ports-mgmt/pkg: update to 2.6.0 Message-ID: <CAGwOe2biPUu3CSL2HHPAS_VgyYtmV5wiwX=7XcRwPAdrj76Low@mail.gmail.com> In-Reply-To: <20260303062924.1FB2112D@slippy.cwsent.com> References: <69a5c6d9.3c55e.b9459b1@gitrepo.freebsd.org> <9c9fa1eb-29fa-4d5d-a385-f7c134ff82ea@freebsd.org> <E1763356-B984-435B-93CC-FFAB6997FE43@FreeBSD.org> <20260303062924.1FB2112D@slippy.cwsent.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Tue, Mar 3, 2026 at 7:29 AM Cy Schubert <Cy.Schubert@cschubert.com> wrote: > In message <E1763356-B984-435B-93CC-FFAB6997FE43@FreeBSD.org>, Daroussin > writes > : > > > > > > Le 2 mars 2026 20:30:05 GMT+01:00, Vladimir Druzenko <vvd@freebsd=2Eorg> > a= > > =C3=A9crit=C2=A0: > > >Hello! > > > > > >02=2E03=2E2026 20:20, Baptiste Daroussin =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > > >> The branch main has been updated by bapt: > > >>=20 > > >> URL: https://cgit > =2EFreeBSD=2Eorg/ports/commit/?id=3D513318c5d7487c5d47= > > a91651bfbe8e08edc3ff42 > > >>=20 > > >> commit 513318c5d7487c5d47a91651bfbe8e08edc3ff42 > > >> Author: Baptiste Daroussin <bapt@FreeBSD=2Eorg> > > >> AuthorDate: 2026-03-02 17:18:16 +0000 > > >> Commit: Baptiste Daroussin <bapt@FreeBSD=2Eorg> > > >> CommitDate: 2026-03-02 17:20:16 +0000 > > >>=20 > > >> ports-mgmt/pkg: update to 2=2E6=2E0 > > >> Major Changes > > >> * create: use -t to specify the timestamp for the manifest > fi= > > le=2E > > >> * fetch: add -s/--sumlink option for mirror mode > > >> * triggers: only defer triggers when the need to execute an > extern= > > al program > > >> * db: enable WAL mode for local databases > > >> * query: add support for query evaluation of complex attributes > > >> * libpkg: store ignored shlibs in manifest and db > > >> * libpkg: respect ignred shlibs for BACKUP_LIBRARIES > > >> * drastically reduce memory usage for all operations > > >> * fix reproducible build issue > > >> * autoremove: fix deletion order > > >> * lots of documentation updates > > >> Other Changes > > >> * use C23 __has_include to reduce configure checks > > >> * fix issue hiding the unit in progress bar > > >> * if for anyreason the extraction rename failed, keep the file > aro= > > und with a =2Epkgnew suffix > > >> * plenty of fixes in the upgrade decision process > > >> * plenty of corner cases crash fixed > > >> * prevent fetching a file twice > > >> --- > > >> ports-mgmt/pkg/Makefile | 2 +- > > >> ports-mgmt/pkg/distinfo | 6 +++--- > > >> ports-mgmt/pkg/pkg-plist | 2 ++ > > >> 3 files changed, 6 insertions(+), 4 deletions(-) > > >>=20 > > >> diff --git a/ports-mgmt/pkg/Makefile b/ports-mgmt/pkg/Makefile > > >> index 9cea6e2a885b=2E=2Ee391d8a6759d 100644 > > >> --- a/ports-mgmt/pkg/Makefile > > >> +++ b/ports-mgmt/pkg/Makefile > > >> @@ -1,5 +1,5 @@ > > >> PORTNAME=3D pkg > > >> -DISTVERSION=3D 2=2E5=2E1 > > >> +DISTVERSION=3D 2=2E6=2E0 > > >> _PKG_VERSION=3D ${DISTVERSION} > > >> CATEGORIES=3D ports-mgmt > > >> diff --git a/ports-mgmt/pkg/distinfo b/ports-mgmt/pkg/distinfo > > >> index 00bfef22dd7d=2E=2E3ccd1a59316c 100644 > > >> --- a/ports-mgmt/pkg/distinfo > > >> +++ b/ports-mgmt/pkg/distinfo > > >> @@ -1,3 +1,3 @@ > > >> -TIMESTAMP =3D 1766485622 > > >> -SHA256 (freebsd-pkg-2=2E5=2E1_GH0=2Etar=2Egz) =3D > 05aa40cc01e48e4933b7= > > a96a996831b3215de18558a16f48859417b183b1c19b > > >> -SIZE (freebsd-pkg-2=2E5=2E1_GH0=2Etar=2Egz) =3D 16511454 > > >> +TIMESTAMP =3D 1772471682 > > >> +SHA256 (freebsd-pkg-2=2E6=2E0_GH0=2Etar=2Egz) =3D > 2a0f05a79e13cd7c996f= > > 93979eb3156ae96c32394cff1677394c6c3c6fdf6f92 > > >> +SIZE (freebsd-pkg-2=2E6=2E0_GH0=2Etar=2Egz) =3D 16517834 > > >> diff --git a/ports-mgmt/pkg/pkg-plist b/ports-mgmt/pkg/pkg-plist > > >> index 7b5f70ad6c94=2E=2E8f3ca495cb16 100644 > > >> --- a/ports-mgmt/pkg/pkg-plist > > >> +++ b/ports-mgmt/pkg/pkg-plist > > >> @@ -36,10 +36,12 @@ share/man/man8/pkg-config=2E8=2Egz > > >> share/man/man8/pkg-create=2E8=2Egz > > >> share/man/man8/pkg-delete=2E8=2Egz > > >> share/man/man8/pkg-fetch=2E8=2Egz > > >> +share/man/man8/pkg-help=2E8=2Egz > > >> share/man/man8/pkg-info=2E8=2Egz > > >> share/man/man8/pkg-install=2E8=2Egz > > >> share/man/man8/pkg-key=2E8=2Egz > > >> share/man/man8/pkg-lock=2E8=2Egz > > >> +share/man/man8/pkg-plugins=2E8=2Egz > > >> share/man/man8/pkg-query=2E8=2Egz > > >> share/man/man8/pkg-register=2E8=2Egz > > >> share/man/man8/pkg-remove=2E8=2Egz > > > > > >After this update portmaster is totally broken=2E > > >It removes a lot of ports instead of updated only one=2E > > >I tested with previous pkg 2=2E5=2E1 and just updated portmaster 3=2E33 > -= > > work as expected=2E > > >But pkg 2=2E6=2E0 breaks the system - look at example: > > > > > >> =3D=3D=3D>>> Creating a backup package for old version > bash-completion-= > > 2=2E17=2E0_1,2 > > >> Creating package for bash-completion-2=2E17=2E0_1,2 > > >> Checking integrity=2E=2E=2E done (0 conflicting) > > >> Deinstallation has been requested for the following 3 packages (of 0 > pa= > > ckages in the universe): > > >>=20 > > >> Installed packages to be REMOVED: > > >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 bash-completion: 2=2E17=2E0_1,2 > > >These lines shouldn't be here: { > > >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 lives: 3=2E2=2E0_26 > > >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 x264: 0=2E164=2E3095_3 > > >} > > >>=20 > > >> Number of packages to be removed: 3 > > >>=20 > > >> The operation will free 10 MiB=2E > > >> [1/3] Deinstalling lives-3=2E2=2E0_26=2E=2E=2E > > >> [1/3] Deleting files for lives-3=2E2=2E0_26: 100% > > >> [2/3] Deinstalling x264-0=2E164=2E3095_3=2E=2E=2E > > >> [2/3] Deleting files for x264-0=2E164=2E3095_3: 100% > > >> [3/3] Deinstalling bash-completion-2=2E17=2E0_1,2=2E=2E=2E > > >> [3/3] Deleting files for bash-completion-2=2E17=2E0_1,2: 100% > > >> =3D=3D> Running trigger: desktop-file-utils=2Eucl > > >> Building cache database of MIME types > > >> =3D=3D> Running trigger: gtk-update-icon-cache=2Eucl > > >> Generating GTK icon cache for /usr/local/share/icons/hicolor > > >>=20 > > >> =3D=3D=3D>=C2=A0 Installing for bash-completion-2=2E17=2E0_1,2 > > >> =3D=3D=3D>=C2=A0 Checking if bash-completion is already installed > > >> =3D=3D=3D>=C2=A0 =C2=A0Registering installation for bash-completion-2= > > =2E17=2E0_1,2 > > >> Installing bash-completion-2=2E17=2E0_1,2=2E=2E=2E > > >> To enable the bash completion library, add the following to > > >> your =2Ebashrc file: > > >>=20 > > >> [[ $PS1 && -f /usr/local/share/bash-completion/bash_completion=2Esh > ]] = > > && \ > > >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 source > /usr/local/share/bash-completion/bas= > > h_completion=2Esh > > >>=20 > > >> See /usr/local/share/doc/bash-completion/README=2Emd for more > informati= > > on=2E > > >>=20 > > >>=20 > > >> =3D=3D=3D>>> Waiting for background 'make clean' processes to finish > > >>=20 > > >> =3D=3D=3D>>> pkg-message for bash-completion-2=2E17=2E0_1,2 > > >> On install: > > >> To enable the bash completion library, add the following to > > >> your =2Ebashrc file: > > >>=20 > > >> [[ $PS1 && -f /usr/local/share/bash-completion/bash_completion=2Esh > ]] = > > && \ > > >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 source > /usr/local/share/bash-completion/bas= > > h_completion=2Esh > > >>=20 > > >> See /usr/local/share/doc/bash-completion/README=2Emd for more > informati= > > on=2E > > >>=20 > > >> =3D=3D=3D>>> Done displaying pkg-message files > > >>=20 > > >> =3D=3D=3D>>> Re-installation of bash-completion-2=2E17=2E0_1,2 > complete > > > > > > > > > thabks for the report, I may have an idea of what could cause this issue > b= > > ut I first need to check portmaster code to understand what it does > > The regression is with the -f / --force flag. The force flag now defaults > to recursive whereas before it did not. > Am I correct assuming I'm affected by this when running a poudriere testport? =>> Error: Filesystem touched during build: extra: var/db/pkg/local.sqlite-wal extra: var/db/pkg/local.sqlite-shm How can I fix/workaround it? Best regards. > > > > > best regards, > > Bapt > > > > > -- > Cheers, > Cy Schubert <Cy.Schubert@cschubert.com> > FreeBSD UNIX: <cy@FreeBSD.org> Web: https://FreeBSD.org > NTP: <cy@nwtime.org> Web: https://nwtime.org > > e**(i*pi)+1=0 > > > > [-- Attachment #2 --] <div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Tue, Mar 3, 2026 at 7:29 AM Cy Schubert <<a href="mailto:Cy.Schubert@cschubert.com">Cy.Schubert@cschubert.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">In message <E1763356-B984-435B-93CC-FFAB6997FE43@FreeBSD.org>, Daroussin <br> writes<br> :<br> > <br> ><br> > Le 2 mars 2026 20:30:05 GMT+01:00, Vladimir Druzenko <vvd@freebsd=2Eorg> a=<br> > =C3=A9crit=C2=A0:<br> > >Hello!<br> > ><br> > >02=2E03=2E2026 20:20, Baptiste Daroussin =D0=BF=D0=B8=D1=88=D0=B5=D1=82:<br> > >> The branch main has been updated by bapt:<br> > >>=20<br> > >> URL: <a href="https://cgit" rel="noreferrer" target="_blank">https://cgit</a>=2EFreeBSD=2Eorg/ports/commit/?id=3D513318c5d7487c5d47=<br> > a91651bfbe8e08edc3ff42<br> > >>=20<br> > >> commit 513318c5d7487c5d47a91651bfbe8e08edc3ff42<br> > >> Author: Baptiste Daroussin <bapt@FreeBSD=2Eorg><br> > >> AuthorDate: 2026-03-02 17:18:16 +0000<br> > >> Commit: Baptiste Daroussin <bapt@FreeBSD=2Eorg><br> > >> CommitDate: 2026-03-02 17:20:16 +0000<br> > >>=20<br> > >> ports-mgmt/pkg: update to 2=2E6=2E0<br> > >> Major Changes<br> > >> * create: use -t to specify the timestamp for the manifest fi=<br> > le=2E<br> > >> * fetch: add -s/--sumlink option for mirror mode<br> > >> * triggers: only defer triggers when the need to execute an extern=<br> > al program<br> > >> * db: enable WAL mode for local databases<br> > >> * query: add support for query evaluation of complex attributes<br> > >> * libpkg: store ignored shlibs in manifest and db<br> > >> * libpkg: respect ignred shlibs for BACKUP_LIBRARIES<br> > >> * drastically reduce memory usage for all operations<br> > >> * fix reproducible build issue<br> > >> * autoremove: fix deletion order<br> > >> * lots of documentation updates<br> > >> Other Changes<br> > >> * use C23 __has_include to reduce configure checks<br> > >> * fix issue hiding the unit in progress bar<br> > >> * if for anyreason the extraction rename failed, keep the file aro=<br> > und with a =2Epkgnew suffix<br> > >> * plenty of fixes in the upgrade decision process<br> > >> * plenty of corner cases crash fixed<br> > >> * prevent fetching a file twice<br> > >> ---<br> > >> ports-mgmt/pkg/Makefile | 2 +-<br> > >> ports-mgmt/pkg/distinfo | 6 +++---<br> > >> ports-mgmt/pkg/pkg-plist | 2 ++<br> > >> 3 files changed, 6 insertions(+), 4 deletions(-)<br> > >>=20<br> > >> diff --git a/ports-mgmt/pkg/Makefile b/ports-mgmt/pkg/Makefile<br> > >> index 9cea6e2a885b=2E=2Ee391d8a6759d 100644<br> > >> --- a/ports-mgmt/pkg/Makefile<br> > >> +++ b/ports-mgmt/pkg/Makefile<br> > >> @@ -1,5 +1,5 @@<br> > >> PORTNAME=3D pkg<br> > >> -DISTVERSION=3D 2=2E5=2E1<br> > >> +DISTVERSION=3D 2=2E6=2E0<br> > >> _PKG_VERSION=3D ${DISTVERSION}<br> > >> CATEGORIES=3D ports-mgmt<br> > >> diff --git a/ports-mgmt/pkg/distinfo b/ports-mgmt/pkg/distinfo<br> > >> index 00bfef22dd7d=2E=2E3ccd1a59316c 100644<br> > >> --- a/ports-mgmt/pkg/distinfo<br> > >> +++ b/ports-mgmt/pkg/distinfo<br> > >> @@ -1,3 +1,3 @@<br> > >> -TIMESTAMP =3D 1766485622<br> > >> -SHA256 (freebsd-pkg-2=2E5=2E1_GH0=2Etar=2Egz) =3D 05aa40cc01e48e4933b7=<br> > a96a996831b3215de18558a16f48859417b183b1c19b<br> > >> -SIZE (freebsd-pkg-2=2E5=2E1_GH0=2Etar=2Egz) =3D 16511454<br> > >> +TIMESTAMP =3D 1772471682<br> > >> +SHA256 (freebsd-pkg-2=2E6=2E0_GH0=2Etar=2Egz) =3D 2a0f05a79e13cd7c996f=<br> > 93979eb3156ae96c32394cff1677394c6c3c6fdf6f92<br> > >> +SIZE (freebsd-pkg-2=2E6=2E0_GH0=2Etar=2Egz) =3D 16517834<br> > >> diff --git a/ports-mgmt/pkg/pkg-plist b/ports-mgmt/pkg/pkg-plist<br> > >> index 7b5f70ad6c94=2E=2E8f3ca495cb16 100644<br> > >> --- a/ports-mgmt/pkg/pkg-plist<br> > >> +++ b/ports-mgmt/pkg/pkg-plist<br> > >> @@ -36,10 +36,12 @@ share/man/man8/pkg-config=2E8=2Egz<br> > >> share/man/man8/pkg-create=2E8=2Egz<br> > >> share/man/man8/pkg-delete=2E8=2Egz<br> > >> share/man/man8/pkg-fetch=2E8=2Egz<br> > >> +share/man/man8/pkg-help=2E8=2Egz<br> > >> share/man/man8/pkg-info=2E8=2Egz<br> > >> share/man/man8/pkg-install=2E8=2Egz<br> > >> share/man/man8/pkg-key=2E8=2Egz<br> > >> share/man/man8/pkg-lock=2E8=2Egz<br> > >> +share/man/man8/pkg-plugins=2E8=2Egz<br> > >> share/man/man8/pkg-query=2E8=2Egz<br> > >> share/man/man8/pkg-register=2E8=2Egz<br> > >> share/man/man8/pkg-remove=2E8=2Egz<br> > ><br> > >After this update portmaster is totally broken=2E<br> > >It removes a lot of ports instead of updated only one=2E<br> > >I tested with previous pkg 2=2E5=2E1 and just updated portmaster 3=2E33 -=<br> > work as expected=2E<br> > >But pkg 2=2E6=2E0 breaks the system - look at example:<br> > ><br> > >> =3D=3D=3D>>> Creating a backup package for old version bash-completion-=<br> > 2=2E17=2E0_1,2<br> > >> Creating package for bash-completion-2=2E17=2E0_1,2<br> > >> Checking integrity=2E=2E=2E done (0 conflicting)<br> > >> Deinstallation has been requested for the following 3 packages (of 0 pa=<br> > ckages in the universe):<br> > >>=20<br> > >> Installed packages to be REMOVED:<br> > >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 bash-completion: 2=2E17=2E0_1,2<br> > >These lines shouldn't be here: {<br> > >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 lives: 3=2E2=2E0_26<br> > >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 x264: 0=2E164=2E3095_3<br> > >}<br> > >>=20<br> > >> Number of packages to be removed: 3<br> > >>=20<br> > >> The operation will free 10 MiB=2E<br> > >> [1/3] Deinstalling lives-3=2E2=2E0_26=2E=2E=2E<br> > >> [1/3] Deleting files for lives-3=2E2=2E0_26: 100%<br> > >> [2/3] Deinstalling x264-0=2E164=2E3095_3=2E=2E=2E<br> > >> [2/3] Deleting files for x264-0=2E164=2E3095_3: 100%<br> > >> [3/3] Deinstalling bash-completion-2=2E17=2E0_1,2=2E=2E=2E<br> > >> [3/3] Deleting files for bash-completion-2=2E17=2E0_1,2: 100%<br> > >> =3D=3D> Running trigger: desktop-file-utils=2Eucl<br> > >> Building cache database of MIME types<br> > >> =3D=3D> Running trigger: gtk-update-icon-cache=2Eucl<br> > >> Generating GTK icon cache for /usr/local/share/icons/hicolor<br> > >>=20<br> > >> =3D=3D=3D>=C2=A0 Installing for bash-completion-2=2E17=2E0_1,2<br> > >> =3D=3D=3D>=C2=A0 Checking if bash-completion is already installed<br> > >> =3D=3D=3D>=C2=A0 =C2=A0Registering installation for bash-completion-2=<br> > =2E17=2E0_1,2<br> > >> Installing bash-completion-2=2E17=2E0_1,2=2E=2E=2E<br> > >> To enable the bash completion library, add the following to<br> > >> your =2Ebashrc file:<br> > >>=20<br> > >> [[ $PS1 && -f /usr/local/share/bash-completion/bash_completion=2Esh ]] =<br> > && \<br> > >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 source /usr/local/share/bash-completion/bas=<br> > h_completion=2Esh<br> > >>=20<br> > >> See /usr/local/share/doc/bash-completion/README=2Emd for more informati=<br> > on=2E<br> > >>=20<br> > >>=20<br> > >> =3D=3D=3D>>> Waiting for background 'make clean' processes to finish<br> > >>=20<br> > >> =3D=3D=3D>>> pkg-message for bash-completion-2=2E17=2E0_1,2<br> > >> On install:<br> > >> To enable the bash completion library, add the following to<br> > >> your =2Ebashrc file:<br> > >>=20<br> > >> [[ $PS1 && -f /usr/local/share/bash-completion/bash_completion=2Esh ]] =<br> > && \<br> > >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 source /usr/local/share/bash-completion/bas=<br> > h_completion=2Esh<br> > >>=20<br> > >> See /usr/local/share/doc/bash-completion/README=2Emd for more informati=<br> > on=2E<br> > >>=20<br> > >> =3D=3D=3D>>> Done displaying pkg-message files<br> > >>=20<br> > >> =3D=3D=3D>>> Re-installation of bash-completion-2=2E17=2E0_1,2 complete<br> > ><br> ><br> ><br> > thabks for the report, I may have an idea of what could cause this issue b=<br> > ut I first need to check portmaster code to understand what it does<br> <br> The regression is with the -f / --force flag. The force flag now defaults <br> to recursive whereas before it did not.<br></blockquote><div><br></div><div>Am I correct assuming I'm affected by this when running a poudriere testport?</div><div><br></div><div>=>> Error: Filesystem touched during build:<br>extra: var/db/pkg/local.sqlite-wal<br>extra: var/db/pkg/local.sqlite-shm<br><br></div><div>How can I fix/workaround it?</div><div><br></div><div>Best regards.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <br> ><br> > best regards,<br> > Bapt<br> ><br> <br> <br> -- <br> Cheers,<br> Cy Schubert <<a href="mailto:Cy.Schubert@cschubert.com" target="_blank">Cy.Schubert@cschubert.com</a>><br> FreeBSD UNIX: <cy@FreeBSD.org> Web: <a href="https://FreeBSD.org" rel="noreferrer" target="_blank">https://FreeBSD.org</a><br> NTP: <<a href="mailto:cy@nwtime.org" target="_blank">cy@nwtime.org</a>> Web: <a href="https://nwtime.org" rel="noreferrer" target="_blank">https://nwtime.org</a><br> <br> e**(i*pi)+1=0<br> <br> <br> <br> </blockquote></div></div>home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGwOe2biPUu3CSL2HHPAS_VgyYtmV5wiwX=7XcRwPAdrj76Low>
