Le 2020-01-24 09:26, Jörn Clausen a écrit :
Hi!
In the last few days I saw this several times on NetBSD-8.1:
===> Creating toolchain wrappers for cmake-3.16.3
ERROR: heimdal>=0.4e heimdal>=0.6 is not installed; can't buildlink
files.
*** Error code 1
In this case deve/cmake fails, but I think I also had another package
that did not build. Neither package has a direct dependency on
heimdal, so I don't know where the actual mismatch comes from.
The problem is easily resolved by installing security/heimdal.
More importantly: What's the cause here? Will NetBSD 9 come with a
newer version of heimdal and some package maintainer is using
-current
and accidentally created a dependency?
I have the same problem on Netbsd 8.0 with devel/cmake and with
textproc/redland too.
I am investigating for devel/cmake (that breaks a lot of packages) but
I don't understand why heimdal is not added as an indirected
dependency.
When we look at the buildlink tree, we see that heimdal appears:
$ bmake show-var VARNAME=BUILDLINK_TREE
libarchive bzip2 -bzip2 xz -xz zlib -zlib -libarchive libexecinfo
-libexecinfo libuv -libuv rhash openssl -openssl -rhash expat -expat
curl heimdal sqlite3 -sqlite3 db1 -db1 -heimdal libidn2 iconv -iconv
gettext iconv -iconv -gettext libunistring -libunistring -libidn2
nghttp2 -nghttp2 gettext -gettext zlib -zlib openssl -openssl -curl
ncurses -ncurses pthread -pthread
It should be built as a dependency of curl, but surprisingly, it
doesn't.