Trying to convert a system to PkgBase right now and I'm getting the following error: freebsd@fbsd14-amd64 ~> pkg search -r FreeBSD-base -g FreeBSD-\* | grep -v dbg | awk '{print $1}' | rev | cut -d- -f2- | rev | xargs sudo pkg install -r FreeBSD-base Updating FreeBSD-base repository catalogue... FreeBSD-base repository is up to date. All repositories are up to date. pkg: FreeBSD-liby-dev has a missing dependency: FreeBSD-liby freebsd@fbsd14-amd64 ~ [0|0|0|0|0|0|1]> my repository is https://alpha.pkgbase.live/current/
yes confirm, old bug https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239806 and https://reviews.freebsd.org/D29883
I don't think so. This is more recent, so it should have all those supposed fixes. This is literally saying there's no liby and there isn't one in the repository: https://alpha.pkgbase.live/current/FreeBSD:14:amd64/latest/ only liby-dev and liby-dev-lib32
fun fact about these -dev packages: They contain no headers, only liby.a: freebsd@fbsd14-amd64 /v/c/pkg> for f in ./FreeBSD-liby-*dev-**.pkg; test -L $f ; or pkg info -l -F $f; end FreeBSD-liby-dev-14.snap20220628151320: /usr/lib/liby.a FreeBSD-liby-dev-lib32-14.snap20220628151320: /usr/lib32/liby.a freebsd@fbsd14-amd64 /v/c/pkg>
(In reply to Mina Galić from comment #3) Yes that's the problem, there is no non-dev version for them which is why we're failing here. We probably should make some exception for them somewhere.
Are there any cases except liby-dev (and liby-dev-lib32)?
Perhaps https://reviews.freebsd.org/D37429
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=1e9c9ab5957795acc0d436ce21ad07373081d990 commit 1e9c9ab5957795acc0d436ce21ad07373081d990 Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2022-11-17 19:22:33 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2022-11-18 18:08:46 +0000 pkgbase: do not record dependency on non-existent liby package liby-dev provides (only) liby.a. liby has no headers or man pages, and there is no liby package. Add a special case to record no dependency on the package that does not exist. PR: 266923 Reviewed by: bapt Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D37429 release/packages/generate-ucl.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+)
% tar -x -O -f .../FreeBSD:14:amd64/latest/FreeBSD-liby-dev-14.snap<date>.pkg +MANIFEST | jq now shows no "deps" entry
MFC 13?
A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=e9a573d29c5bd17174f87c5a3282c711c0806868 commit e9a573d29c5bd17174f87c5a3282c711c0806868 Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2022-11-17 19:22:33 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2022-12-16 15:04:51 +0000 pkgbase: do not record dependency on non-existent liby package liby-dev provides (only) liby.a. liby has no headers or man pages, and there is no liby package. Add a special case to record no dependency on the package that does not exist. PR: 266923 Reviewed by: bapt Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D37429 (cherry picked from commit 1e9c9ab5957795acc0d436ce21ad07373081d990) release/packages/generate-ucl.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+)
*** Bug 266536 has been marked as a duplicate of this bug. ***