[Bug 293817] ports-mgmt/pkg : pkgbase jail, pkg install ffmpeg pulls FreeBSD-clibs-lib32 when FreeBSD-base is enabled, but ffmpeg installs and runs without it if FreeBSD-base is disabled for the transaction

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 15 Mar 2026 14:22:15 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293817

--- Comment #3 from paul.le.gauret@gmail.com ---
Thanks for your reply and suggestions.

I tested your suggested variant on March 15, 2026 in a fresh pkgbase-managed
amd64 dummy jail with both repositories enabled:

- FreeBSD-ports
- FreeBSD-base

The pkg version in the reproducer is 2.6.2.

Results:

1. `ffmpeg`

Default solve:
`pkg install -n ffmpeg`

This includes:
- FreeBSD-clibs-lib32: 15.0 [FreeBSD-base]
- FreeBSD-devmatch: 15.0p2 [FreeBSD-base]
- FreeBSD-libexecinfo: 15.0 [FreeBSD-base]

Ports-only solve:
`pkg install -r FreeBSD-ports -n ffmpeg`

This does not include `FreeBSD-clibs-lib32` and does not pull any
`FreeBSD-base` package.

2. `postgresql18-server`

Default solve:
`pkg install -n postgresql18-server`

This includes:
- FreeBSD-clibs-lib32: 15.0 [FreeBSD-base]
- FreeBSD-libexecinfo: 15.0 [FreeBSD-base]

Ports-only solve:
`pkg install -r FreeBSD-ports -n postgresql18-server`

This does not include `FreeBSD-clibs-lib32` and does not pull any
`FreeBSD-base` package.

So yes, the `-r FreeBSD-ports` variation changes the result here: restricting
the solve to the ports repo avoids the pkgbase lib32 pull entirely.

Also, yes, this is an amd64 report. That matches your MULTILIB comment about
`gcc14`.

-- 
You are receiving this mail because:
You are the assignee for the bug.