[Bug 292240] pkgbase: spurious dependencies
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 292240] pkgbase: spurious dependencies"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 07 Jan 2026 20:16:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292240
--- Comment #3 from topical <topical@gmx.net> ---
@bap Thank you for the swift reply
I tried to tackle down why FreeBSD-openssl-lib is on leaf-list.
As I understand, autoremove looks at "info -r" (file dependencies) but leaf
looks at "info -d" (official package dependencies).
So starting with set-minimal-jail I get
# pkg -r /usr/jails/test info -d FreeBSD-set-minimal-jail
FreeBSD-set-minimal-jail-15.0:
FreeBSD-zoneinfo-15.0
FreeBSD-zlib-15.0
FreeBSD-vi-15.0
FreeBSD-utilities-15.0p1
FreeBSD-syslogd-15.0
FreeBSD-runtime-15.0p1
FreeBSD-rc-15.0
FreeBSD-pkg-bootstrap-15.0
FreeBSD-periodic-15.0
FreeBSD-newsyslog-15.0
FreeBSD-ncurses-lib-15.0
FreeBSD-ncurses-15.0
FreeBSD-mandoc-15.0
FreeBSD-locales-15.0
FreeBSD-kernel-man-15.0
FreeBSD-fetch-15.0
FreeBSD-dhclient-15.0
FreeBSD-devd-15.0
FreeBSD-cron-15.0
FreeBSD-clibs-15.0
FreeBSD-certctl-15.0
FreeBSD-caroot-15.0
FreeBSD-bzip2-lib-15.0
FreeBSD-bzip2-15.0
FreeBSD-at-15.0
I pick fetch:
# pkg -r /usr/jails/test info -d FreeBSD-fetch
FreeBSD-fetch-15.0:
FreeBSD-clibs-15.0 (libc.so.7)
FreeBSD-openssl-lib-15.0 (libcrypto.so.35)
FreeBSD-openssl-lib-15.0 (libssl.so.35)
You see a direct trace from set-minimal-base to openssl-lib.
So why is FreeBSD-openssl-lib returned by "query -e '%#r == 0'"?
In terms of FreeBSD-clibs-lib32: you are right, its a clang dependency.
But: if I install FreeBSD-set-base, I get clang installed but not
FreeBSD-clibs-lib32. Checking state show missing file:
# pkg check -d
Checking all packages: 100%
FreeBSD-clang is missing a required shared library: libc.so.7:32
FreeBSD-clang is missing a required shared library: libgcc_s.so.1:32
How can this happen?
Further, trying to fix it by "pkg upgrade" doesn't work: nothing is done.
I am confused again.
(As a side node: I've never had such problems before using pkgbase)
--
You are receiving this mail because:
You are the assignee for the bug.