Re: git: 513318c5d748 - main - ports-mgmt/pkg: update to 2.6.0

From: Fernando_Apesteguía <fernape_at_freebsd.org>
Date: Thu, 05 Mar 2026 09:35:25 UTC
On Thu, Mar 5, 2026 at 10:20 AM Daroussin <bapt@freebsd.org> wrote:

>
>
> Le 5 mars 2026 09:09:25 GMT+01:00, "Fernando Apesteguía" <
> fernape@freebsd.org> a écrit :
> >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.
> >
> no you are not, simply update your poudrière
>

Thanks


>
> Bapt
>