[kde-freebsd] maintainer-feedback requested: [Bug 205915] x11/kde4-runtime: LIB_DEPENDS on ssh never gets pulled in due to bad specification

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jan 5 07:51:13 UTC 2016


John Marino <marino at FreeBSD.org> has reassigned Bugzilla Automation
<bugzilla at FreeBSD.org>'s request for maintainer-feedback to kde at FreeBSD.org:
Bug 205915: x11/kde4-runtime: LIB_DEPENDS on ssh never gets pulled in due to
bad specification
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205915



--- Description ---
On DragonFly, but the same must be happening to FreeBSD:

In x11/kde4-runtime makefile:

LIB_DEPENDS=   libssh.so:${PORTSDIR}/security/libssh
# Explicitly depend on libssh to avoid interference with ssh.4 from
20	# compat7x.
21	BUILD_DEPENDS=	${LOCALBASE}/lib/libssh.so:${PORTSDIR}/security/libssh


The way pkg(8) works is that it will not pull in a library if it finds on the
system.  The libssh.so specification MATCHES /usr/lib/libssh.so so this is
NEVER imported.  See pkg with verbose on:

========================< phase : package	  >========================
===>  Building package for kde-runtime-4.14.3
actual-package-depends: dependency on /usr/lib/libssh.so not registered (normal
if it belongs to base)
file sizes/checksums  [1820]: .......... done
packing files	      [1820]: .......... done
packing directories	 [0]: . done
===========================================================================

The impact is that it fails a sanity check every time because it expects libssh
to be part of the package but it's not there.

Recommendation: Explicitly set LIB_DEPENDS by package version to force it to be
be used instead of base version.


More information about the kde-freebsd mailing list